Repository navigation
V2 - #1
Merged
Merged
V2#1
Conversation
- Added support for API routes in the application structure, allowing for dedicated handling of API requests. - Implemented `apiRoute` function to define API routes with a handler. - Created middleware to handle API requests, ensuring proper session management and CSRF verification. - Enhanced request context to support API-specific needs, including handling raw request bodies and headers. - Updated existing build and development processes to accommodate new API directory structure. - Introduced tests for API dispatching and module definitions to ensure reliability and correctness.
- Introduced `backendOnly` option in AppRuntimeConfig to support pure API apps. - Added CORS middleware to handle cross-origin requests. - Implemented `fromFastifyPlugin` to adapt Fastify plugins into Devora modules. - Created a disposable registry for managing cleanup on module reloads. - Enhanced scaffolding for API-only applications with appropriate configurations. - Added tests for middleware and dispose registry functionalities. - Updated package dependencies for CORS support.
…ispose hook - Introduced `getStaticParams()` for dynamic routes to enable static site generation (SSG) and incremental static regeneration (ISR). - Added `resolveStaticRoutePath()` function to substitute dynamic segments with actual values. - Enhanced `renderStatic()` to accept `params` for dynamic routes during rendering. - Implemented `moduleDisposePlugin` to handle cleanup of resources before module reloads in development. - Updated documentation to reflect changes in the static-params API and module disposal mechanism. - Added tests for the new module dispose plugin functionality.
- Add `confirmAction` utility for user confirmation prompts in CLI. - Introduce `gitHelpers` for executing git commands and handling results. - Create `resolveSplitTarget` to resolve application paths for split and sync operations. - Implement `split` command to convert directories into git submodules with initial history. - Add `status` command to report sync state across split-off applications. - Implement `sync` command for fetching and pushing changes between main and submodule repositories. - Enhance client-side hydration with `hydrateCsr` and `hydrateIslands` for improved streaming support. - Introduce `renderStreaming` for streaming responses in server-rendered routes. - Add tests for render streaming and client-side hydration behaviors.
… improve error handling - Refactor the `split` command to use `git subtree split` for extracting commit history instead of copying files to a temporary directory. - Update logging messages to reflect the new process and clarify user instructions. - Ensure the temporary split branch is deleted after use, regardless of success or failure. - Improve error messages for clarity when pushing to the remote repository. - Update the `status` command to use the correct app names when suggesting sync commands. - Fix bugs in the module registration process to prevent naming collisions among sibling plugins. - Enhance the handling of dynamic routes to prevent cache poisoning and ensure proper parameter validation. - Implement a cache clearing mechanism for streaming modules to avoid stale resolutions during development. - Add tests for the `resolveSplitTarget` and `nameForSplitTarget` functions to ensure correct behavior and fix previously undiscovered bugs.
- Fixed caching issue where rejected island imports would permanently poison the cache, causing stale errors on retries. - Addressed hanging connections due to unresolved Suspense boundaries by implementing a timeout mechanism. - Ensured backpressure handling in streaming responses to prevent unbounded memory usage with slow clients. - Corrected CSP nonce handling to properly apply to `script-src-elem` directives, preventing inline script blocking. - Enhanced session cookie signing to include the cookie name, ensuring distinct signatures for isolated apps. - Implemented request body size limits to prevent DoS attacks from unbounded request buffering. - Validated domain inputs for proxy generation to prevent configuration injection vulnerabilities. - Added tests to cover the above fixes and ensure robustness against similar issues in the future.
✅ Deploy Preview for devora-dashboard ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
Since the session-signing change invalidates every existing session, write this into the PR description and into a real changelog/release notes entry: what changed, why, and "if you were logged in before this deploy, you'll need to log in again." This is the one behavior-changing item worth being explicit about, not buried in a list of 11 fixes. |
✅ Deploy Preview for devora-admin ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for devorajs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Since the session-signing change invalidates every existing session, write this into the PR description and into a real changelog/release notes entry: what changed, why, and "if you were logged in before this deploy, you'll need to log in again." This is the one behavior-changing item worth being explicit about, not buried in a list of 11 fixes.