shalvah 1 year ago
parent
commit
dc63b62e5b
3 changed files with 14 additions and 1 deletions
  1. 12 0
      CHANGELOG.md
  2. 1 1
      src/Scribe.php
  3. 1 0
      tests/Strategies/UrlParameters/GetFromLaravelAPITest.php

+ 12 - 0
CHANGELOG.md

@@ -12,6 +12,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ### Removed
 
+# 4.22.0 (1 July 2023)
+## Added
+- Make included package attributes extensible ([#680](https://github.com/knuckleswtf/scribe/pull/680))
+
+## Fixed
+- Ensure example code supports multipart/form-data without files ([#685](https://github.com/knuckleswtf/scribe/pull/685))
+- Fix path traversal on Laravel 10 ([#686](https://github.com/knuckleswtf/scribe/pull/686))
+- Properly support floats in docs UI ([#693](https://github.com/knuckleswtf/scribe/pull/693))
+- Properly normalise URLs with multi-word Eloquent parameters ([#670](https://github.com/knuckleswtf/scribe/pull/670))
+- Also show empty array query parameters in Postman ([#691](https://github.com/knuckleswtf/scribe/pull/691))
+
+
 # 4.21.2 (5 June 2023)
 ## Fixed
 - Typehint interface in CustomTranslationsLoader for maximum compatibility ([#679](https://github.com/knuckleswtf/scribe/pull/679))

+ 1 - 1
src/Scribe.php

@@ -9,7 +9,7 @@ use Symfony\Component\HttpFoundation\Request;
 
 class Scribe
 {
-    public const VERSION = '4.21.2';
+    public const VERSION = '4.22.0';
 
     /**
      * Specify a callback that will be executed just before a response call is made

+ 1 - 0
tests/Strategies/UrlParameters/GetFromLaravelAPITest.php

@@ -23,6 +23,7 @@ class GetFromLaravelAPITest extends BaseLaravelTest
     public function can_infer_type_from_model_binding()
     {
         $endpoint = $this->endpointForRoute("users/{id}", TestController::class, 'withInjectedModel');
+        // Can only run on PHP 8.1
         // $endpoint = $this->endpointForRoute("categories/{category}/users/{id}/", TestController::class, 'withInjectedEnumAndModel');
         $results = $this->fetch($endpoint);