Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Nov 14, 2020
1 parent e678a1e commit b2d9264
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/Matching/RouteMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private function getAllRoutes(bool $usingDingoRouter)

/** @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) {
Expand Down
2 changes: 1 addition & 1 deletion src/Tools/Flags.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Flags
{
public const SCRIBE_VERSION = '2.1.0';
public const SCRIBE_VERSION = '2.2.1';

public static $shouldBeVerbose = false;
}

0 comments on commit b2d9264

Please sign in to comment.