Skip to content

Latest commit

 

History

History
291 lines (149 loc) · 15 KB

CHANGELOG.md

File metadata and controls

291 lines (149 loc) · 15 KB

3.1.4 (2024-04-01)

3.1.3 (2024-03-23)

3.1.2 (2024-03-14)

Bug Fixes

  • allow readonly locale variables as arguments and update packages (994249c)

3.1.1 (2024-03-10)

3.1.0 (2024-03-06)

Features

  • add "languageCountry" and optional "country" match types (1aae7fd)

3.0.0 (2024-03-05)

Features

  • major update for improved extensibility and simplicity (38011b3)

BREAKING CHANGES

  • This commit introduces several breaking changes to improve the library's extensibility and simplicity:
  • resolveAcceptLanguage is now a named import for better dual (CommonJS/ESM) compatibility.
  • resolveAcceptLanguage now accepts an options argument.
  • The ResolveAcceptLanguage class has been replaced with resolveAcceptLanguage used with the { returnMatchType: true } option.
  • Introduced a new match type, languageSpecificLocale, for more intelligent matches. See the README for more details.
  • Renamed match types for consistency: localeBased to locale, languageBased to language, and relatedLocaleBased to relatedLocale.

2.2.0 (2024-03-03)

Bug Fixes

  • correct ESM paths for dual CJS/ESM compatibility (9702fd3)

2.1.23 (2024-02-26)

Bug Fixes

  • eslint: resolve import issue for JS files (c6153ff)

2.1.19 to 2.1.22 (2022-02-25)

Bug Fixes

  • resolve dual CJS/ESM package compatibility that broke at version 2.1.18 (5d857f8)

2.1.18 (2024-02-25)

2.1.17 (2024-02-11)

2.1.16 (2024-01-28)

2.1.15 (2024-01-16)

2.1.14 (2024-01-07)

2.1.13 (2024-01-01)

2.1.12 (2023-12-24)

2.1.11 (2023-12-16)

2.1.10 (2023-12-09)

2.1.9 (2023-12-02)

2.1.8 (2023-11-25)

2.1.7 (2023-11-18)

2.1.6 (2023-11-11)

2.1.5 (2023-11-04)

2.1.4 (2023-10-28)

2.1.3 (2023-10-21)

2.1.2 (2023-10-13)

2.1.1 (2023-10-09)

2.1.0 (2023-09-30)

Features

  • add support for es-419 when used in the HTTP header (c4491aa)

2.0.19 (2023-09-23)

2.0.18 (2023-09-16)

2.0.17 (2023-09-09)

2.0.16 (2023-09-02)

2.0.15 (2023-08-26)

2.0.14 (2023-08-18)

2.0.13 (2023-08-11)

2.0.12 (2023-08-05)

2.0.11 (2023-07-29)

2.0.10 (2023-07-22)

2.0.9 (2023-07-15)

2.0.8 (2023-07-09)

2.0.7 (2023-07-01)

2.0.6 (2023-06-24)

2.0.5 (2023-06-17)

2.0.4 (2023-06-09)

2.0.3 (2023-06-02)

2.0.2 (2023-05-26)

2.0.1 (2023-05-20)

2.0.0 (2023-05-13)

Features

  • improved typing on the ResolveAcceptLanguage class (d033696), closes #7 #8

BREAKING CHANGES

  • The class constructor now requires a default locale and all methods have been changed (refer to the upgrade guide).

1.1.56 (2023-05-09)

Bug Fixes

  • fix inferred return type related to #7 (0f50fc6)

1.1.55 (2023-05-08)

Features

  • improve type inference (issue #7) (d40083f)

1.1.54 (2023-05-06)

1.1.53 (2023-04-30)

1.1.52 (2023-04-24)

1.1.51 (2023-04-16)

1.1.50 (2023-04-08)

1.1.49 (2023-04-01)

1.1.48 (2023-03-25)

1.1.47 (2023-03-18)

1.1.46 (2023-03-11)

1.1.45 (2023-03-04)

1.1.44 (2023-02-25)

1.1.43 (2023-02-18)

1.1.42 (2023-02-11)

1.1.41 (2023-02-03)

1.1.40 (2023-01-28)

1.1.39 (2023-01-21)

1.1.38 (2023-01-15)

1.1.37 (2023-01-10)

1.1.36 (2022-12-31)

1.1.35 (2022-12-26)

1.1.34 (2022-12-19)

Bug Fixes

  • correctly parse quality values of 1 as short floating points (2439a06)

1.1.33 (2022-12-19)

1.1.32 (2022-12-11)

1.1.31 (2022-12-04)

1.1.30 (2022-11-28)

1.1.29 (2022-11-18)

1.1.28 (2022-11-13)

1.1.27 (2022-11-06)

1.1.26 (2022-10-27)

1.1.25 (2022-10-20)

1.1.24 (2022-10-16)

1.1.23 (2022-10-09)

1.1.22 (2022-10-02)

1.1.21 (2022-09-25)

1.1.20 (2022-09-15)

1.1.19 (2022-09-09)

1.1.18 (2022-08-30)

1.1.17 (2022-08-23)

1.1.16 (2022-08-14)

Bug Fixes

  • add missing ESLint plugin:import/typescript (3ffb35f)
  • remove overly intrusive ESLint rules (86815d0)

1.1.15 (2022-08-10)

Bug Fixes

  • add end of line config for tsc (85a76d7)
  • associate the TypeScript ESLint config with its correct file types (98c3cfb)

1.1.14 (2022-08-01)

1.1.13 (2022-07-25)

1.1.12 (2022-07-23)

1.1.11 (2022-07-17)

1.1.10 (2022-07-10)

1.1.9 (2022-07-03)

1.1.8 (2022-06-30)

1.1.7 (2022-06-18)

1.1.6 (2022-06-11)

1.1.5 (2022-06-04)

1.1.4 (2022-05-29)

1.1.3 (2022-05-21)

1.1.2 (2022-05-14)

Bug Fixes

  • update the build script with the correct logical sequence (ddd61e6)

1.1.1 (2022-05-06)

1.1.0 (2022-05-01)

Features

  • allow to control exactly the behavior depending on the type of match (dee6429)

1.0.2 (2021-03-14) to 1.0.59 (2022-04-24)

  • minor changes while keeping dev dependencies up to date (commits)

1.0.1 Initial release (2021-03-14)