Bladeren bron

Update changelog

shalvah 4 jaren geleden
bovenliggende
commit
b2d926435b
3 gewijzigde bestanden met toevoegingen van 9 en 2 verwijderingen
  1. 7 0
      CHANGELOG.md
  2. 1 1
      src/Matching/RouteMatcher.php
  3. 1 1
      src/Tools/Flags.php

+ 7 - 0
CHANGELOG.md

@@ -12,6 +12,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ### Removals
 
+## 2.2.1 (Saturday, 14 November 2020)
+### Fixes
+- Fixed errors with handling arrays of files (https://github.com/knuckleswtf/scribe/commit/b57eae26d048fb37833d6b47e98df47b0c5cf7b6)
+- Fixed errors with handling nested objects in arrays of objects (https://github.com/knuckleswtf/scribe/commit/13b15797e07ee2f7c3e558fc11ca6a4bddf4f264)
+- Fixed a little problem with escaped newlines in auth text (https://github.com/knuckleswtf/scribe/commit/a27d8c7aa9079b5f6b6155220639926aac2466f2)
+
+
 ## 2.2.0 (Wednesday, 11 November 2020)
 Scribe is now **much** faster! In my tests, processing an application with about a dozen routes went from 4 minutes to 3 seconds. Fixed a pain point by using amphp/parallel-functions to start/stop database transactions for all connections in parallel. (https://github.com/knuckleswtf/scribe/commit/20980712e5ed46c059d1d4a2d67aee3051ef84c4)
 

+ 1 - 1
src/Matching/RouteMatcher.php

@@ -51,7 +51,7 @@ class RouteMatcher implements RouteMatcherInterface
 
         /** @var \Dingo\Api\Routing\Router $router */
         $router = app(\Dingo\Api\Routing\Router::class);
-        $allRouteCollections = app(\Dingo\Api\Routing\Router::class)->getRoutes();
+        $allRouteCollections = $router->getRoutes();
 
         return collect($allRouteCollections)
             ->flatMap(function (RouteCollection $collection) {

+ 1 - 1
src/Tools/Flags.php

@@ -4,7 +4,7 @@ namespace Knuckles\Scribe\Tools;
 
 class Flags
 {
-    public const SCRIBE_VERSION = '2.1.0';
+    public const SCRIBE_VERSION = '2.2.1';
 
     public static $shouldBeVerbose = false;
 }