Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Nov 15, 2020
1 parent cb3fa1f commit e58849a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Removals

## 2.3.0 (Sunday, 15 November 2020)
### Changes
- Create and bind the current request globally in ApiResource strategy so accessing `request()` works (https://github.com/knuckleswtf/scribe/commit/cb3fa1fa4c09447c65650a4ad7dff9e969f344c8)
- Bind the form request in route in FormRequest strategy (https://github.com/knuckleswtf/scribe/commit/de67b760daf149fbfbf379531567eb89ea6ae198)

## 2.2.1 (Saturday, 14 November 2020)
### Fixes
- Fixed errors with handling arrays of files (https://github.com/knuckleswtf/scribe/commit/b57eae26d048fb37833d6b47e98df47b0c5cf7b6)
Expand Down
2 changes: 1 addition & 1 deletion src/Extracting/Strategies/Responses/ResponseCalls.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ protected function callLaravelOrLumenRoute(Request $request): \Symfony\Component
$kernel->terminate($request, $response);
} else {
// Handle the request using the Lumen application.
/** @var \Laravel\Lumen\Application $kernel */
/** @var \Laravel\Lumen\Application $app */
$app = app();
$app->bind('request', function () use ($request) {
return $request;
Expand Down
2 changes: 1 addition & 1 deletion src/Extracting/Strategies/Responses/UseApiResourceTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function getApiResourceResponse(array $tags, Route $route, array $already
/** @var Response $response */
$response = $resource->toResponse(
// Set the route properly so it works for users who have code that checks for the route.
$request->setRouteResolver(function () use ($request, $route) {
$request->setRouteResolver(function () use ($route) {
return $route;
})
);
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.2.1';
public const SCRIBE_VERSION = '2.3.0';

public static $shouldBeVerbose = false;
}

0 comments on commit e58849a

Please sign in to comment.