Repository navigation
Sync upstream updates: JSON:API resources, database writes and test speedups #744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a59fc36
Dispatch MigrationFailed when a migration throws
binaryfire e3fa451
Enforce the email address length limit on both validation paths
binaryfire a6fd6c9
Preserve canonical JSON API identities and association metadata
binaryfire f0e824a
Preserve migration failures when notification listeners throw
binaryfire 68d88da
Clarify related resource variables in JSON API resolution
binaryfire a26bd0b
Add URI origin inspection
binaryfire 710f1ab
Cover reconnection after a lost transaction commit
binaryfire ceccbdc
Honor the integer key alias across schema and identity handling
binaryfire e7c1353
Preserve JSON sessions containing invalid UTF-8
binaryfire ed427e2
Preserve PostgreSQL extension-owned views and tables during resets
binaryfire 55f9556
Preserve validation semantics while retaining safe database batching
binaryfire cb36fb7
Avoid backtracking in decimal validation
binaryfire 425623d
Add blank checks to fluent strings
binaryfire 77d2a26
Resolve automatic write columns after applying model scopes
binaryfire f29db78
Protect literal PHAR archive boundaries on POSIX
binaryfire d53e27d
Avoid reporting manually failed jobs as successful
binaryfire 12951e9
Avoid unnecessary hashing work and real waits in tests
binaryfire 09ccf7d
Preserve migration failures when listener reporting also fails
binaryfire 5a05c67
Keep PostgreSQL metadata filters within their owning catalogs
binaryfire 09ae77c
Preserve JSON API relationship occurrence state and discovery ownership
binaryfire b9ac775
Preserve database rule overrides and typed JSON presence candidates
binaryfire 674258c
Compare MariaDB JSON booleans without string or numeric coercion
binaryfire 070ccb9
Align Foundation URI dependency with the origin helper
binaryfire 0c79a74
Isolate integer role key coverage from custom UUID role fixtures
binaryfire 4ba9a9c
Make response preparation comparisons independent of clock boundaries
binaryfire cfeaecf
Respect exported bcrypt rounds in Testbench configuration assertions
binaryfire 6dc8615
Merge 0.4 validation improvements into the upstream update branch
binaryfire 15d30d0
Preserve JSON API metadata values and bounded relationship expansion
binaryfire 34e1b82
Own migration reporter test files through the test lifecycle
binaryfire 9361c0c
Honor response JSON options when comparing relationship metadata
binaryfire File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Hypervel\Database\Events; | ||
|
|
||
| use Hypervel\Database\Migrations\Migration; | ||
| use Throwable; | ||
|
|
||
| class MigrationFailed extends MigrationEvent | ||
| { | ||
| /** | ||
| * Create a new event instance. | ||
| * | ||
| * @param Throwable $exception the exception that caused the migration to fail | ||
| */ | ||
| public function __construct( | ||
| Migration $migration, | ||
| string $method, | ||
| ?string $name, | ||
| public Throwable $exception, | ||
| ) { | ||
| parent::__construct($migration, $method, $name); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.