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.
- Querystring serialization fix for objects and arrays
- TS typings
- Replaced
request
dependency withaxios
- Added parameter
pageSize
for methodslist()
andsafeList()
- Updated dependencies
- Avoid fetching secret for
local
environment.
- Fetch secret with AWS Secrets Manager using
@janiscommerce/aws-secrets-manager
.
- Internal cache for
RouterFetcher
responses - GitHub Actions for build, coverage and publish workflows
- Reinstalled
list
andsafeList
wrong defaultendpointParameters
value
list
andsafeList
acceptsendpointParameters
safeCall()
methodlist()
methodsafeList()
methodstatusCode
field toMicroServiceCallError
get()
methodpost()
methodput()
methodpatch()
methoddelete()
method
- Added a
call()
method in order to avoid knowing the HTTP Method in advance.
- Deprecated
get()
method and implemented as an alias ofcall()
- Deprecated
post()
method and implemented as an alias ofcall()
- Deprecated
put()
method and implemented as an alias ofcall()
- Deprecated
patch()
method and implemented as an alias ofcall()
- Deprecated
delete()
method and implemented as an alias ofcall()
- Fixed documentation for
patch()
method that claimed to make aDELETE
request.
- Api key prefixing Service name with
service-
.
janis-client
andx-janis-user
headers can now be injected using Session
- Now Authentication needs
JANIS_SERVICE_NAME
andJANIS_SERVICE_SECRET
env vars (BREAKING CHANGE) - Upgraded
@janiscommerce/router-fetcher
dependency (BREAKING CHANGE)
- Multiple path parameters are now replaced properly
- API Key settings removed
- Use
@janiscommerce/settings
dependency
api-key
config comes frompath/to/root/[MS_PATH]/config/.janiscommercerc.json
- Project inited
MicroService-Call
module added- Unit Tests added
- "lib/" folder into package.json files
MicroService-Call
constructs, don't need parameters anymoreMicroServiceCall-Error
changed response format.- Update Unit Tests
- Changed modules files folder into "lib/"