-
-
Notifications
You must be signed in to change notification settings - Fork 17
Sync Inertia updates and add DevTools support #643
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
27 commits
Select commit
Hold shift + click to select a range
f4748dc
Raise the Guzzle 7 floor to 7.15.2
binaryfire ecc4b98
Declare direct collections dependencies
binaryfire e988e8b
Port the remaining Inertia SSR gateway tests
binaryfire 8c63ef6
Align the Inertia SSR state isolation test with upstream
binaryfire 9a94266
Match upstream member order in SsrException
binaryfire f25a6f2
Add Inertia DevTools support
binaryfire 09bd5b0
Normalize HTTP client request data without extra walks or caller muta…
binaryfire 5f9df98
Resolve Inertia props nested in JsonSerializable objects
binaryfire d6924e7
Load deferred props from groups named after global functions
binaryfire 4c43569
Escape HTML tags in the initial Inertia page JSON
binaryfire 3da0ea2
Document RequestException on the HTTP client's verb methods
binaryfire 066cc4e
Configure Inertia SSR requests through the HTTP client
binaryfire 7c8a55c
Redact Inertia DevTools URLs without rewriting them
binaryfire 4d0c2c5
Surface Inertia DevTools index failures and limit tabless entries
binaryfire c5f445f
Keep Inertia DevTools share sources with the shared props
binaryfire c677fd7
Show Inertia match-on props as deep merges only when they merge
binaryfire a2fa588
Add read-only sessions
binaryfire 1826b22
Sync the test client's session with read-only requests and redirects
binaryfire 08f2dd8
Read the session without saving it on Inertia DevTools entry routes
binaryfire ca67efb
Assert once-shared middleware keys record no share source
binaryfire 9c924a5
Inject the DevTools id before a closing body tag of any case
binaryfire 893f648
Write DevTools entry files under the index lock
binaryfire 63e9c30
Record DevTools pages and entry structure as they were sent
binaryfire 9f0ed14
Pin the prune interval in the DevTools prune test
binaryfire 16cd5c5
Note that the DevTools gate does not limit recording
binaryfire 7f3f772
Redact DevTools entry URLs whole under a configured key
binaryfire ea40c98
Drop a stale Content-Length after adding the DevTools tag
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Read-only requests still copy session-backed authentication state into the test parent, so
Auth::logout()can persist in the test even though the session was not saved. Preserve the parent state for session-backed guards when synchronizing a read-only request.Prompt for AI agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping this as is. The test client matches Laravel here: guard state carries across a test's requests whether or not the session was saved, so a logout makes later requests guests. Only session data depends on whether the session is saved. Logging in or out on a read-only route can't persist anything in a real app, so it isn't a pattern the test client needs to model.