shalvah vor 3 Jahren
Ursprung
Commit
7a3d9feec5

+ 22 - 5
CHANGELOG.md

@@ -4,14 +4,31 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project aims to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## <Version> (<Release date>)
-### Fixes
-- Load BelongsTo relations correctly. ([#417](https://github.com/knuckleswtf/scribe/pull/#417)))
+### Fixed
 
-### Changes
+### Modified
 
-### Additions
+### Added
 
-### Removals
+### Removed
+
+## 3.23.0 (31 January 2022)
+### Added
+- Try loading an example URL parameter from the database ([409](https://github.com/knuckleswtf/scribe/pull/409))
+
+### Fixed
+- Load `BelongsTo` relations correctly. ([#417](https://github.com/knuckleswtf/scribe/pull/417))
+- Load relations correctly on factory-generated models. ([#419](https://github.com/knuckleswtf/scribe/pull/419))
+
+## 3.22.0 (26 January 2022)
+### Added
+- `@apiResourceAdditional` tag for setting extra attributes on API Resources ([414](https://github.com/knuckleswtf/scribe/pull/414))
+
+### Modified
+- Print multiple fields in `required_if` ([406](https://github.com/knuckleswtf/scribe/pull/406))
+
+### Fixed
+- JS theme error ([ce94c03966ebf97a20442b2a92dda3db9c6c52d5](https://github.com/knuckleswtf/scribe/commit/ce94c03966ebf97a20442b2a92dda3db9c6c52d5))
 
 ## 3.22.0 (26 January 2022)
 ### Added

+ 1 - 0
src/Extracting/Strategies/UrlParameters/GetFromLaravelAPI.php

@@ -71,6 +71,7 @@ class GetFromLaravelAPI extends Strategy
 
                     // Try to fetch an example ID from the database
                     try {
+                        // todo: add some database tests
                         $example = $argumentInstance::first()->id ?? null;
                     } catch (\Throwable $e) {
                         $example = null;

+ 1 - 1
src/Tools/Globals.php

@@ -4,7 +4,7 @@ namespace Knuckles\Scribe\Tools;
 
 class Globals
 {
-    public const SCRIBE_VERSION = '3.22.0';
+    public const SCRIBE_VERSION = '3.23.0';
 
     public static bool $shouldBeVerbose = false;