Skip to content

Latest commit

 

History

History
116 lines (89 loc) · 2.95 KB

CHANGELOG.md

File metadata and controls

116 lines (89 loc) · 2.95 KB

Changelog

All notable changes to this project will be documented in this file.

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

[Unreleased]

[4.3.4] - 2021-11-22

Fixed

  • Querystring serialization fix for objects and arrays

[4.3.3] - 2021-11-19

Added

  • TS typings

Changed

  • Replaced request dependency with axios

[4.3.2] - 2021-09-20

Added

  • Added parameter pageSize for methods list() and safeList()

Changed

  • Updated dependencies

[4.3.1] - 2021-04-14

Added

  • Avoid fetching secret for local environment.

[4.3.0] - 2021-03-26

Added

  • Fetch secret with AWS Secrets Manager using @janiscommerce/aws-secrets-manager.

[4.2.0] - 2020-12-15

Added

  • Internal cache for RouterFetcher responses
  • GitHub Actions for build, coverage and publish workflows

[4.1.2] - 2020-06-19

Fixed

  • Reinstalled

[4.1.1] - 2020-06-19

Fixed

  • list and safeList wrong default endpointParameters value

[4.1.0] - 2020-05-05

Added

  • list and safeList accepts endpointParameters

[4.0.0] - 2020-05-05

Added

  • safeCall() method
  • list() method
  • safeList() method
  • statusCode field to MicroServiceCallError

Removed

  • get() method
  • post() method
  • put() method
  • patch() method
  • delete() method

[3.1.0] - 2020-02-14

Added

  • Added a call() method in order to avoid knowing the HTTP Method in advance.

Changed

  • Deprecated get() method and implemented as an alias of call()
  • Deprecated post() method and implemented as an alias of call()
  • Deprecated put() method and implemented as an alias of call()
  • Deprecated patch() method and implemented as an alias of call()
  • Deprecated delete() method and implemented as an alias of call()

Fixed

  • Fixed documentation for patch() method that claimed to make a DELETE request.

[3.0.1] - 2019-10-22

Fixed

  • Api key prefixing Service name with service-.

[3.0.0] - 2019-10-08

Added

  • janis-client and x-janis-user headers can now be injected using Session

Changed

  • Now Authentication needs JANIS_SERVICE_NAME and JANIS_SERVICE_SECRET env vars (BREAKING CHANGE)
  • Upgraded @janiscommerce/router-fetcher dependency (BREAKING CHANGE)

Fixed

  • Multiple path parameters are now replaced properly

Removed

  • API Key settings removed

[2.0.0] - 2019-08-07

Added

  • Use @janiscommerce/settings dependency

Changed

  • api-key config comes from path/to/root/[MS_PATH]/config/.janiscommercerc.json

[1.0.0] - 2019-06-21

Added

  • Project inited
  • MicroService-Call module added
  • Unit Tests added
  • "lib/" folder into package.json files

Changed

  • MicroService-Call constructs, don't need parameters anymore
  • MicroServiceCall-Error changed response format.
  • Update Unit Tests
  • Changed modules files folder into "lib/"