Releases: peak-ai/ais-service-discovery-js
Releases · peak-ai/ais-service-discovery-js
v1.0.0
Update AWS SDK usage to v3
- This package now uses the AWS SDK v3 for all implementations of the AWS SDK.
- This is a non-breaking change to current usages of ais-service-discovery-js, however it removes AWS SDK v2 as a dependency and therefore if your project relies on that package via peer-dependency, you may find you need to install it separately.
v0.2.0
Merge pull request #12 from peak-ai/sns-message-attributes Adds support for SNS MessageAttributes
v0.1.0 - API Changes
Note: This release contains several small api changes.
- Handlers have been renamed to instances
- Instances (previously handlers) are now mandatory
You used to be able to do:
await ServiceDiscovery.request('namespace.service', request);
Which didn't really do anything. So now you have to do:
await ServiceDiscovery.request('namespace.service->instance', request);
- InstanceIds now used in Cloudformation to find the correct instance. Previously we used
handler
metadata field inAttributes
. Now we use theInstanceId
(see updated readme for Cloudformation example).