Skip to content

Releases: peak-ai/ais-service-discovery-js

v1.0.0

10 Jan 12:30
8f9ead2
Compare
Choose a tag to compare

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

01 Jul 08:09
11b0221
Compare
Choose a tag to compare
Merge pull request #12 from peak-ai/sns-message-attributes

Adds support for SNS MessageAttributes

v0.1.0 - API Changes

11 Oct 14:05
Compare
Choose a tag to compare

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 in Attributes. Now we use the InstanceId (see updated readme for Cloudformation example).