Skip to content

Latest commit

 

History

History
86 lines (51 loc) · 2.11 KB

CHANGELOG.md

File metadata and controls

86 lines (51 loc) · 2.11 KB

1.4.2 (2024-03-16)

Bug fix

  • Removed tsconfig.json from .npmignore.

1.4.1 (2024-03-16)

Bug fix

  • Added dist-text to .npmignore.

1.4.0 (2024-03-16)

BREAKING CHANGES

  • Migration to ESM.
  • Requires node >= v18.14.0.

1.3.0 (2022-10-06)

BREAKING CHANGES

  • CORS must have Origin header.
  • Preflight CORS request must have at least Access-Control-Request-Method or Access-Control-Request-Headers.
  • Renamed corsOptions.methods to corsOptions.allowedMethods.
  • Renamed corsOptions.credentials to corsOptions.allowCredentials.

See docs for more info.

1.2.0 (2022-10-04)

BREAKING CHANGES

  • Restored preflightContinue options.

1.1.0 (2022-10-03)

Bug fix

  • Fixed cors function in case it's called during the OPTIONS method.

BREAKING CHANGES

  • Removed corsAsync.

1.0.5 (2022-10-03)

Bug fix

  • Expanded types of HTTP requests. Added NodeRequest and NodeResponse types.

1.0.4 (2022-10-03)

Bug fix

  • Fixed passing options.

1.0.3 (2022-10-03)

Bug fix

  • Fixed tsconfig.

1.0.2 (2022-10-03)

Bug fix

  • Fixed only README.

1.0.1 (2022-10-03)

Bug fix

  • Fixed only README and reference to github repo inside package.json.