Skip to content

Latest commit

 

History

History
86 lines (73 loc) · 3.91 KB

CHANGELOG.md

File metadata and controls

86 lines (73 loc) · 3.91 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.

Added

  • module:bixby-sd implementation which provides lookup() function matching functionality from Node's dns.loopup() function. Used to resolve host names via non-DNS service discovery services.
  • Resolver#domain() function.
  • EnvironResolver supports resolving SRV records.
  • EnvironResolver supports service name aliases when checking the environment for configuration.
  • local/resolver component implementing http://i.bixbyjs.org/ns/LocalResolver interface, intended for bootstrapping network-based service discovery services.

Changed

  • Renamed http://i.bixbyjs.org/ns/Resolver interface to module:bixby-sd.Resolver.
  • Resolver resolves host names using the most specific subzone, rather than any zone the name is within, allowing for authoritative delegation.
  • Renamed Resolver#join() to Resolver#search().
  • Removed join argument to Resolver#use().. Search domain should be set by calling Resolver#search() instead.
  • Renamed LocalhostResolver to PortResolver.
  • resolveUri() yields an object with a url property, rather than uri.
  • EnvironResolver yields an error with code ENODATA, rather than ENOTFOUND when no environment-based configuration if found.
  • EnvironResolver throws an error when #resolve() is called with an unsupported rrtype, consistent with behavior of Node's dns module.
  • PortResolver yields an error with code ENODATA, rather than ENOTFOUND when no environment-based configuration if found.
  • PortResolver throws an error when #resolve() is called with an unsupported rrtype, consistent with behavior of Node's dns module.
  • Network-based resolvers are expected to implement module:bixby-sd.ResolverService interface, rather than module:bixby-ns.Resolver. They should @require a $srv record using the domain=localhost structured parameter to avoid a recursive dependency on the http://i.bixbyjs.org/ns/Resolver interface.

[0.0.6] - 2024-08-30

Changed

  • LocalhostResolver now works solely off of configuration, no longer depends on a component implementing the http://i.bixbyjs.org/ns/ServicesList interface or associated @service and @port annotations.

Removed

  • services component which implemented http://i.bixbyjs.org/ns/ServicesList. Equivalent functionality has moved to bixby-ns, but uses configuration files rather than @service and @port annotations.

[0.0.5] - 2024-08-26

Changed

  • Switch always resolves within localhost domain. A future version will introduce support for search domains.

0.0.4 - 2024-08-26

Added

  • EnvironResolver supports "generic" environment variables (such as DATABASE_URL) when resolving URIs.

0.0.3 - 2024-08-26

Fixed

  • Remove unused @require of 'http://i.bixbyjs.org/services' from resolver.

0.0.2 - 2024-08-26

Changed

  • EnvironResolver now works solely off of environment variables, no longer depends on a component implementing the http://i.bixbyjs.org/ns/ServicesList interface or associated @service and @env annotations.

Removed

  • HostsResolver, which utilized components that implement the defunct http://i.bixbyjs.org/IService interface. The corresponding registry which implements http://i.bixbyjs.org/services is slated to be removed from bixby-common after version 0.2.1.

0.0.1 - 2024-05-02

  • Initial release.