8000 Merge branch 'develop' into feature/core-v4 · laravel-json-api/laravel@a32db83 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a32db83

Browse files
committed
Merge branch 'develop' into feature/core-v4
2 parents 48d9110 + 4f86051 commit a32db83

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd
2929
tools: composer:v2
3030
coverage: none
31-
ini-values: error_reporting=E_ALL
31+
ini-values: error_reporting=E_ALL, zend.assertions=1
3232

3333
- name: Set Laravel Version
3434
run: composer require "laravel/framework:^${{ matrix.laravel }}" --no-update

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
33
All notable changes to this project will be documented in this file. This project adheres to
44
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
55

6+
## Unreleased
7+
8+
## [3.2.0] - 2023-11-08
9+
10+
### Added
11+
12+
- Exceptions converted to JSON:API errors when debug mode is on now include all previous exceptions.
13+
14+
### Changed
15+
16+
- Registering routes no longer results in the server instance being thread-cached. This more accurately reflects
17+
production environments, where routes would be cached so there would be no thread-cached JSON:API server when handling
18+
a HTTP request. This means tests (and development environments where routes are not cached) more accurately behave in
19+
the same way as production environments.
20+
- Exceptions thrown during the encoding process are no longer caught and re-thrown as previous exceptions. This is due
21+
to the number of questions we receive from developers who do not check previous exceptions, despite exception messages
22+
stating that there is a previous exception to look at.
23+
24+
## [3.1.0] - 2023-07-20
25+
26+
### Added
27+
28+
- [core#12](https://github.com/laravel-json-api/core/pull/12) Add `ulid()` method to the `ID` field class.
29+
630
## [3.0.0] - 2023-02-14
731

832
### Changed

src/Routing/Registrar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function server(string $name): PendingServerRegistration
5757
{
5858
return new PendingServerRegistration(
5959
$this->router,
60-
$this->servers->server($name)
60+
$this->servers->once($name),
6161
);
6262
}
6363
}

0 commit comments

Comments
 (0)
0