Shalvah 2 months ago
parent
commit
d536a897f0
3 changed files with 8 additions and 2 deletions
  1. 7 0
      CHANGELOG.md
  2. 0 1
      src/Commands/GenerateDocumentation.php
  3. 1 1
      src/Scribe.php

+ 7 - 0
CHANGELOG.md

@@ -12,6 +12,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ### Removed
 
+## 5.1.0 (25 February 2025)
+### Added
+- Support for streamed responses in response calls [790ad94e512](https://github.com/knuckleswtf/scribe/commit/790ad94e512d987feae6f0443835d8cf8de64f53)
+
+### Fixed
+- Fixed use of `URL::useOrigin` vs `URL::forceRootURL` [956e9bf418](https://github.com/knuckleswtf/scribe/commit/956e9bf418f5fc06fe70009e476b1e8524aff5b1)
+
 ## 5.0.1 (20 February 2025)
 ### Fixed
 - Fix bug in wrongly trying to determine required fields for array of strings [#951](https://github.com/knuckleswtf/scribe/pull/951)

+ 0 - 1
src/Commands/GenerateDocumentation.php

@@ -121,7 +121,6 @@ class GenerateDocumentation extends Command
         // Force root URL so it works in Postman collection
         $baseUrl = $this->docConfig->get('base_url') ?? config('app.url');
 
-        /* @phpstan-ignore-next-line */
         try {
             // Renamed from forceRootUrl in Laravel 11.43 or so
             URL::useOrigin($baseUrl);

+ 1 - 1
src/Scribe.php

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