Skip to content

Latest commit

 

History

History
119 lines (93 loc) · 3.78 KB

CHANGELOG.md

File metadata and controls

119 lines (93 loc) · 3.78 KB

Changelog

All notable changes to the esi-service project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

7.0.0 - 2023-11-12

BREAKING CHANGES

  • Dropped Node.js 12 support.
  • Dropped Node.js 14 support.
  • Dropped Node.js 16 support.

Added

  • Support for v1 axios versions.
  • Node.js 18 support.
  • Node.js 20 support.

6.1.0 - 2022-02-26

Added

  • Support for axios versions up to 0.26

6.0.0 - 2021-11-06

BREAKING CHANGES

  • Dropped Node.js 10 support.

Added

  • Node.js 16 support.

5.0.0 - 2021-01-05

BREAKING CHANGES

  • Updated the minimum version of peerDependency 'axios' to 0.21.1.
  • Added 'debug' and 'http-status-codes' to peerDependencies.

Added

  • A debug parameter to both CacheController and PublicESIService for debug logging.
  • Node.js 14 support.

4.0.0 - 2020-04-19

BREAKING CHANGES

  • Dropped Node.js 8 support.
  • Dropped Node.js 11 support.

Added

  • Ability to do a raw request to the ESI with custom config options, this request will not use caching and return the AxiosResponse object.
  • Full headers to cached data, this will increase the cache size, but allows for custom interaction with headers.

Changed

  • Allow any axios 0.19 version to be used.

3.2.2 - 2019-08-26

Changed

  • expiry and etag values will be removed from cached requests when they are not in the response when the cache updates.

Fixed

  • Interface Exports.

3.2.1 - 2019-08-25

Added

  • Exports of the interfaces used in this package.

3.2.0 - 2019-08-25

Added

  • Possibility to provide default cache expiry times for URLs or domains.
  • Code documentation.

3.1.1 - 2019-06-28

Added

  • Debug logging when cache is used to retrieve data.

3.1.0 - 2019-06-02

Changed

  • Changed typings of fetchESIData function, it will never return undefined.

3.0.0 - 2019-06-02

BREAKING CHANGES

  • Fixed typings for IResponseCache to reflect actual behaviour: not every index returns an ICacheObject.

Changed

  • Responses are now always saved in the response cache, even without cache headers.

2.0.0 - 2019-05-31

BREAKING CHANGES

  • Module will not work with Axios <= 0.18.0

Changed

  • Updated dependencies.
  • Added Axios as peerdependency.

1.0.2 - 2019-04-29

Changed

  • Adjusted typings for the onRouteWarning function because its text parameter is never undefined.

1.0.1 - 2019-04-29

Fixed

  • Wrong debug names.

1.0.0 - 2019-04-29

Added