Skip to content

Conversation

@jcbsfilho
Copy link
Collaborator

@jcbsfilho jcbsfilho commented Dec 5, 2025

PR Description

Summary

This PR includes multiple improvements and fixes across the codebase, focusing on Node.js polyfills, Storage API enhancements, and developer experience improvements.

Changes

Impact

These changes enhance compatibility with various content types, improve error reporting, add framework support, and optimize performance across the library.

pablodiehl and others added 18 commits November 7, 2025 10:36
According to the security scan #5, the PEM cleanup in the JWS package had a performance issue.
This PR is going to solve this problem.
[skip ci]
### [2.2.4-stage.1](v2.2.3...v2.2.4-stage.1) (2025-11-10)

### Bug Fixes

* improve performance of pem cleanup in the jws package (#311) ([4e24b26](4e24b26))
* fix: correct connector attribute type and registered in factory

- Changed connector attribute from Number() to String() to match API requirements
- Registered CustomPagesProcessConfigStrategy in factory for proper config processing

* fix: update schema validation types and requirements

* fix: update transformToConfig to use shared transformedPayload

* test: update test expectations to match new data structure format
[skip ci]
### [2.2.4-stage.2](v2.2.4-stage.1...v2.2.4-stage.2) (2025-11-11)

### Bug Fixes

* cmd manifest transform (#312) ([18b516a](18b516a))
[skip ci]
### [2.2.4-stage.3](v2.2.4-stage.2...v2.2.4-stage.3) (2025-11-11)

### Bug Fixes

* add required field validation for config schema (#313) ([b223cfd](b223cfd))
…fix cache settings (#314)

* feat: improve validation error messages with detailed formatting

- Added structured error display showing error number, message, path, and missing properties
- Limited output to first 3 errors with counter for remaining errors
- Enhanced readability with visual separators and emoji indicators

* fix: make tieredCache topology conditionally required

- Changed topology field to be optional when tieredCache is disabled
- Added schema validation requiring topology only when enabled is true
- Updated cache processing logic to conditionally include topology in payload
[skip ci]
## [2.3.0-stage.1](v2.2.4-stage.3...v2.3.0-stage.1) (2025-11-13)

### Features

* improve validation error messages with detailed formatting and fix cache settings (#314) ([f6a53cf](f6a53cf))
* feat: add SvelteKit preset with custom adapter and cache implementation

- Added SvelteKit preset configuration with storage, functions, and application rules
- Implemented custom SvelteKit adapter for Azion platform deployment
- Added cache module with lookup, save, and isCacheable functions
- Created worker.js with asset handling and server-side rendering support
- Updated package exports to include SvelteKit preset and cache modules
- Added SvelteKit-specific files to package distribution lists

* feat: implement cache API with build-specific storage and prerendered page handling

* feat: add immutable assets rule and update static file extensions for SvelteKit

* docs: add SvelteKit preset documentation and README section
[skip ci]
## [2.3.0-stage.2](v2.3.0-stage.1...v2.3.0-stage.2) (2025-11-18)

### Features

* add SvelteKit preset with custom adapter (#315) ([b46122b](b46122b))
…pport (#317)

- Added asyncStorage global polyfill with snapshot method implementation for AsyncLocalStorage
- Implemented zlib polyfill with inflateSync function using browserify-zlib
- Registered new polyfills in unenv preset configuration with proper aliases
[skip ci]
## [2.3.0-stage.3](v2.3.0-stage.2...v2.3.0-stage.3) (2025-11-21)

### Features

* add AsyncLocalStorage snapshot polyfill and zlib inflateSync support (#317) ([e507301](e507301))
…320)

* fix: export all zlib methods from unenv polyfill

* fix: add buffer polyfill with latin1Slice and utf8Slice methods

* feat: add Web Crypto API exports to crypto polyfill

* refactor: replace custom util polyfills with unenv implementation

* feat: add base64url encoding support to buffer polyfill

* feat: add Date.toString polyfill for proper Date object identification

* feat: add SanitizeWorker plugin to escape non-BMP Unicode characters in worker

- Added SanitizeWorker esbuild plugin to escape Unicode characters
outside the Basic Multilingual Plane
- Plugin processes output files and converts characters with
code points >= 0x10000 to escaped format
- Integrated plugin into bundler plugin system with AZ_ENABLE_SANITIZE_WORKER
environment variable control (experimental plugin)
- Added logging to report number of escaped characters per file
[skip ci]
## [2.3.0-stage.4](v2.3.0-stage.3...v2.3.0-stage.4) (2025-11-28)

### Bug Fixes

* adjust Node.js Polyfills and add Unicode Character Sanitization (#320) ([8bd151e](8bd151e))
…age API (#323)

* fix: add support for ArrayBuffer and Uint8Array content types in Storage API

- Updated ContentObjectStorage type to support ArrayBuffer, ReadableStream, Uint8Array, and string
- Modified storage polyfill to handle ArrayBuffer with Buffer.from conversion
- Added automatic conversion of string content to Uint8Array in API methods
- Updated runtime storage to work with binary content types directly
- Removed content field from createObject API response
- Enhanced retryWithBackoff utility with debug logging support

* docs: standardize JSDoc type annotations in Storage API
[skip ci]
## [2.3.0-stage.5](v2.3.0-stage.4...v2.3.0-stage.5) (2025-12-03)

### Bug Fixes

* add support for ArrayBuffer and Uint8Array content types in Storage API (#323) ([2623b63](2623b63))
@jcbsfilho jcbsfilho marked this pull request as ready for review December 5, 2025 12:37
@jcbsfilho jcbsfilho requested a review from a team as a code owner December 5, 2025 12:37
@jcbsfilho jcbsfilho merged commit 826497f into main Dec 5, 2025
5 checks passed
@pablodiehl
Copy link
Collaborator

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

6 participants