-
Notifications
You must be signed in to change notification settings - Fork 3
Commit 4fda1c1
committed
chore(release): 1.5.0 [skip ci]
# [1.5.0](v1.4.2...v1.5.0) (2025-08-28)
### Features
* serverless architecture support with performance improvements ([#382](#382)) ([733f267](733f267)), closes [#381](#381)
### BREAKING CHANGES
* None - existing functionality remains unchanged
* refactor: Simplify serverless architecture and use @rollup/plugin-typescript
- Replaced rollup-plugin-typescript2 with @rollup/plugin-typescript
- Removed redundant serverless build configurations
- Kept only the lightweight serverless version (244KB minified)
- Simplified file naming: removed '.lite' suffix from serverless builds
- Updated documentation to reflect simplified architecture
- Fixed TypeScript plugin configuration for proper declaration file generation
* fix: Update serverless tests to pass correctly
- Fixed BSON serialization in mock resource loader to use actual BSON library
- Updated test expectations to match mock data values
- Handled parsePhoneNumber errors properly for invalid input
- Added console.error suppression during tests
- Fixed UK number type test to handle FIXED_LINE_OR_MOBILE response
All tests now pass successfully (52 passed).
* fix: update test imports and biome configuration
- Fixed serverless test to use parsePhoneNumberWithError instead of parsePhoneNumber
- Updated biome.json with proper linting rules and globals
- Cleaned up rollup configuration formatting
- Fixed Node.js import protocol in src/index.ts
* docs: add serverless documentation to README
- Added serverless feature to features list
- Created comprehensive serverless section with examples
- Included examples for AWS Lambda, Cloudflare Workers, and Vercel Edge
- Added resource deployment instructions
- Added performance optimization tips
- Referenced detailed SERVERLESS.md for more information
* feat: replace @rollup/plugin-typescript with rollup-plugin-esbuild
- Replaced @rollup/plugin-typescript with rollup-plugin-esbuild for faster builds
- Converted rollup configs to CommonJS format to avoid bundleConfigAsCjs issues
- Added esbuild dependency with proper configuration
- Updated build scripts to use .cjs config files
- All tests passing and builds working correctly
- Removed old ESM config files
* feat: improve build system with structured scripts and exports
- Added separate build:main and build:serverless commands
- Main build command now runs build:all (both main and serverless)
- Added build:types command for TypeScript declaration generation
- Added watch:serverless command for development
- Added proper package.json exports field for better ESM/CJS support
- Added serverless entry point at ./serverless for easier imports
- Added TypeScript as dev dependency for declaration generation
- All scripts now use yarn consistently
- All tests passing with 52 test cases
* chore: update pkgs
* feat: enhance CI workflows with comprehensive GitHub job summaries
- Added detailed job summaries with release numbers, tags, and build info
- CI workflow now displays current version, latest tag, commit count, and branch
- Release workflow shows production release information with installation instructions
- Added build step to ensure artifacts are generated during CI
- Enhanced release detection to show version changes and release types
- Added recent tags display for better version tracking
- Improved formatting with emojis and markdown for better readability
Features:
- 📦 Build information (version, tags, commits, branch, SHA)
- 🧪 Test results status
- 📁 Generated files listing
- 🚀 Release information (version changes, installation commands)
- 🏷️ Recent tags display (last 10 versions)
* feat: improve CI/CD workflows with enhanced release tracking
- Added semantic release output capture and parsing
- Extract version and tag information from release process
- Improved job summaries with conditional release information
- Added PR information display for pull request events
- Enhanced release detection with grep patterns
- Added NPM and GitHub release links in summaries
- Better formatting and organization of job summaries
- Added workflow metadata (run ID, number, actor, event)
CI Workflow:
- Conditionally shows pre-release info for develop branch
- Displays CI test pass status for other branches
- Shows PR details when triggered by pull requests
Release Workflow:
- Captures semantic-release output for analysis
- Extracts version and tag from successful releases
- Provides direct links to NPM package and GitHub release
- Clear messaging for both successful and skipped releases
* fix: correct npm package link in README badges to use scoped package name1 parent 733f267 commit 4fda1c1Copy full SHA for 4fda1c1
File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments