chore: release packages #86
Merged
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@korix/body-limit-plugin@0.1.1
Patch Changes
34733db: Add automatic chunked transfer encoding support to body-limit-plugin
6b5ded8: Security: Remove error details from HTTP responses and framework logs
Breaking Changes:
detailsproperty fromErrorResponseOptionstypeErrorResponseOptionsto single object type instead of union typesSecurity Improvements:
{ err }objects from framework internal logs to prevent personal information leakage.child('system')namespaceMigration:
detailsproperty usage from custom error responsesThis change prevents potential information disclosure vulnerabilities while maintaining
error occurrence monitoring through internal logs.
Updated dependencies [e10a8ce]
Updated dependencies [816f76e]
Updated dependencies [8ab7c31]
Updated dependencies [4783d3b]
Updated dependencies [040994a]
Updated dependencies [5f0249e]
Updated dependencies [066741f]
Updated dependencies [6b5ded8]
@korix/cors-plugin@0.1.1
Patch Changes
@korix/file-plugin-nodejs@0.1.1
Patch Changes
dfcb40d: Add comprehensive file plugin package for Node.js with dual functionality
Send File API (
sendFilePlugin):res.sendFile()- Send files for browser display with proper Content-Typeres.download()- Force file download with attachment disposition headerStatic File Serving (
serveStaticPlugin):040994a: Improve logging separation between framework and user logs
Framework Logging Improvements:
*.systemnamespace (application.system,request.system)kori.log(),req.log()) remain unchanged for backward compatibilityPlugin Logging Fixes:
req.log()) instead of plugin-level logger in request processingLog Namespace Changes:
application.system,request.systemapplication,request(unchanged)application.{pluginName}This change improves log observability by clearly separating framework internal operations from user application logic.
Updated dependencies [e10a8ce]
Updated dependencies [816f76e]
Updated dependencies [8ab7c31]
Updated dependencies [4783d3b]
Updated dependencies [040994a]
Updated dependencies [5f0249e]
Updated dependencies [066741f]
Updated dependencies [6b5ded8]
@korix/kori@0.1.1
Patch Changes
e10a8ce: Add RFC 6265 compliant cookie name validation
Cookie names are now validated to ensure they contain only valid characters according to RFC 6265 specification. The validation prevents cookie parsing issues by rejecting names with spaces, semicolons, control characters, and other problematic characters. This improves security and compatibility with other frameworks like Express, Fastify, and Hono.
816f76e: Add Accept header-based content negotiation for error responses
Error responses now automatically negotiate content type based on the client's Accept header:
Breaking change: ErrorResponseOptions now accepts acceptHeader parameter for content negotiation. Explicit type specification still takes precedence over content negotiation.
8ab7c31: Fix response builder race condition
Prevent multiple builds of the same KoriResponse instance to avoid stream reuse issues and ensure consistent behavior across all body types. All responses now follow one-build-only semantic.
4783d3b: Standardize HTTP header names using constants
Replace hardcoded header strings with HttpResponseHeader constants for better consistency and type safety:
040994a: Improve logging separation between framework and user logs
Framework Logging Improvements:
*.systemnamespace (application.system,request.system)kori.log(),req.log()) remain unchanged for backward compatibilityPlugin Logging Fixes:
req.log()) instead of plugin-level logger in request processingLog Namespace Changes:
application.system,request.systemapplication,request(unchanged)application.{pluginName}This change improves log observability by clearly separating framework internal operations from user application logic.
5f0249e: Standardize response methods to use method chaining pattern
Response body methods now require method chaining for setting status codes:
res.json(body, 404)→res.status(404).json(body)res.text(body, 201)→res.status(201).text(body)res.empty(304)→res.status(304).empty()res.stream(data, 200)→res.status(200).stream(data)066741f: Fix header and status code preservation in KoriResponse
setHeader('content-type', 'custom')now preserved when calling body methods likestream()orjson()status(400).empty()now preserves the status code instead of overwriting with 2046b5ded8: Security: Remove error details from HTTP responses and framework logs
Breaking Changes:
detailsproperty fromErrorResponseOptionstypeErrorResponseOptionsto single object type instead of union typesSecurity Improvements:
{ err }objects from framework internal logs to prevent personal information leakage.child('system')namespaceMigration:
detailsproperty usage from custom error responsesThis change prevents potential information disclosure vulnerabilities while maintaining
error occurrence monitoring through internal logs.
@korix/nodejs-adapter@0.1.1
Patch Changes
@korix/openapi-plugin@0.1.1
Patch Changes
@korix/openapi-scalar-ui-plugin@0.1.1
Patch Changes
2eae50b: Update @scalar/api-reference from 1.25.62 to 1.32.10
This update resolves the deprecated subdependency warning for node-domexception@1.0.0 and brings improved dependency management with modern packages.
Updated dependencies [e10a8ce]
Updated dependencies [816f76e]
Updated dependencies [8ab7c31]
Updated dependencies [4783d3b]
Updated dependencies [040994a]
Updated dependencies [5f0249e]
Updated dependencies [066741f]
Updated dependencies [6b5ded8]
@korix/pino-adapter@0.1.1
Patch Changes
@korix/security-headers-plugin@0.1.1
Patch Changes
4783d3b: Standardize HTTP header names using constants
Replace hardcoded header strings with HttpResponseHeader constants for better consistency and type safety:
Updated dependencies [e10a8ce]
Updated dependencies [816f76e]
Updated dependencies [8ab7c31]
Updated dependencies [4783d3b]
Updated dependencies [040994a]
Updated dependencies [5f0249e]
Updated dependencies [066741f]
Updated dependencies [6b5ded8]
@korix/zod-openapi-plugin@0.1.1
Patch Changes
@korix/zod-schema@0.1.1
Patch Changes
@korix/zod-validator@0.1.1
Patch Changes