Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: eggjs/security
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.7.0
Choose a base ref
...
head repository: eggjs/security
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.0
Choose a head ref
  • 3 commits
  • 136 files changed
  • 4 contributors

Commits on Jan 13, 2025

  1. Configuration menu
    Copy the full SHA
    e340840 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2025

  1. feat: support cjs and esm both by tshy (#101)

    BREAKING CHANGE: drop Node.js < 18.19.0 support
    
    part of eggjs/egg#3644
    
    eggjs/egg#5257
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    Based on the comprehensive changes, here are the updated release notes:
    
    - **New Features**
    	- Migrated security plugin to TypeScript.
    	- Enhanced type safety for security configurations.
    	- Improved middleware and helper utilities.
    - Introduced new middleware for handling `Strict-Transport-Security`,
    `X-Frame-Options`, and `X-XSS-Protection` headers.
    	- Added support for new security configurations and helper functions.
    
    - **Breaking Changes**
    	- Renamed package from `egg-security` to `@eggjs/security`.
    	- Dropped support for Node.js versions below 18.19.0.
    	- Restructured module exports and configurations.
    	- Removed several deprecated middleware and utility functions.
    
    - **Security Improvements**
    	- Updated CSRF, XSS, and SSRF protection mechanisms.
    	- Enhanced middleware for handling security headers.
    	- Refined configuration options for various security features.
    
    - **Performance**
    	- Modernized codebase with ES module syntax.
    	- Improved type definitions and module structure.
    - Enhanced test suite with TypeScript support and better resource
    management.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    fengmk2 and coderabbitai[bot] authored Jan 17, 2025
    Configuration menu
    Copy the full SHA
    a11661f View commit details
    Browse the repository at this point in the history
  2. Release 4.0.0

    [skip ci]
    
    ## [4.0.0](v3.7.0...v4.0.0) (2025-01-17)
    
    ### ⚠ BREAKING CHANGES
    
    * drop Node.js < 18.19.0 support
    
    part of eggjs/egg#3644
    
    eggjs/egg#5257
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    Based on the comprehensive changes, here are the updated release notes:
    
    - **New Features**
    	- Migrated security plugin to TypeScript.
    	- Enhanced type safety for security configurations.
    	- Improved middleware and helper utilities.
    - Introduced new middleware for handling `Strict-Transport-Security`,
    `X-Frame-Options`, and `X-XSS-Protection` headers.
    	- Added support for new security configurations and helper functions.
    
    - **Breaking Changes**
    	- Renamed package from `egg-security` to `@eggjs/security`.
    	- Dropped support for Node.js versions below 18.19.0.
    	- Restructured module exports and configurations.
    	- Removed several deprecated middleware and utility functions.
    
    - **Security Improvements**
    	- Updated CSRF, XSS, and SSRF protection mechanisms.
    	- Enhanced middleware for handling security headers.
    	- Refined configuration options for various security features.
    
    - **Performance**
    	- Modernized codebase with ES module syntax.
    	- Improved type definitions and module structure.
    - Enhanced test suite with TypeScript support and better resource
    management.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ### Features
    
    * support cjs and esm both by tshy ([#101](#101)) ([a11661f](a11661f))
    semantic-release-bot committed Jan 17, 2025
    Configuration menu
    Copy the full SHA
    2bfc810 View commit details
    Browse the repository at this point in the history
Loading