3.0.0 (2025-01-11)
- drop Node.js < 18.19.0 support
part of eggjs/egg#3644
-
New Features
- Added TypeScript support for the JSONP plugin
- Modernized project structure with ES module syntax
- Enhanced type definitions and configuration
- Introduced new GitHub Actions workflows for CI/CD
- Added a new class for JSONP error handling
-
Breaking Changes
- Renamed package from
egg-jsonp
to@eggjs/jsonp
- Dropped support for Node.js versions below 18.19.0
- Refactored configuration and middleware approach
- Renamed package from
-
Improvements
- Updated GitHub Actions workflows for CI/CD
- Improved security checks for JSONP requests
- Added more robust error handling
- Enhanced logging configuration
-
Dependency Updates
- Updated core dependencies
- Migrated to modern TypeScript tooling
others
- [
a9cadba
] - refactor: use async function and support egg@2 (#10) (Yiyu He <[email protected]>)
fixes
- [
d14d2d6
] - fix: rename to createJsonpBody (#9) (Yiyu He <[email protected]>)
others
- [
f7137a0
] - chore: add pkgfiles check in ci (dead-horse <[email protected]>)
fixes
- [
a19f450
] - fix: add lib into files (dead-horse <[email protected]>)
features
- [
ee98948
] - feat: add acceptJSONP and open jsonp wrap function (#8) (Gao Peng <[email protected]>)
- fix: should not throw when referrer illegal (#5)
- docs: fix License url (#4)
- test: test on node 8
- feat: support _callback and callback
- fix: refine jsonp (#1)
- feat: init jsonp