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.
module:bixby-sd
implementation which provideslookup()
function matching functionality from Node'sdns.loopup()
function. Used to resolve host names via non-DNS service discovery services.Resolver#domain()
function.EnvironResolver
supports resolvingSRV
records.EnvironResolver
supports service name aliases when checking the environment for configuration.local/resolver
component implementinghttp://i.bixbyjs.org/ns/LocalResolver
interface, intended for bootstrapping network-based service discovery services.
- Renamed
http://i.bixbyjs.org/ns/Resolver
interface tomodule: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()
toResolver#search()
. - Removed
join
argument toResolver#use().
. Search domain should be set by callingResolver#search()
instead. - Renamed
LocalhostResolver
toPortResolver
. resolveUri()
yields an object with aurl
property, rather thanuri
.EnvironResolver
yields an error with codeENODATA
, rather thanENOTFOUND
when no environment-based configuration if found.EnvironResolver
throws an error when#resolve()
is called with an unsupportedrrtype
, consistent with behavior of Node'sdns
module.PortResolver
yields an error with codeENODATA
, rather thanENOTFOUND
when no environment-based configuration if found.PortResolver
throws an error when#resolve()
is called with an unsupportedrrtype
, consistent with behavior of Node'sdns
module.- Network-based resolvers are expected to implement
module:bixby-sd.ResolverService
interface, rather thanmodule:bixby-ns.Resolver
. They should@require
a$srv
record using thedomain=localhost
structured parameter to avoid a recursive dependency on thehttp://i.bixbyjs.org/ns/Resolver
interface.
LocalhostResolver
now works solely off of configuration, no longer depends on a component implementing thehttp://i.bixbyjs.org/ns/ServicesList
interface or associated@service
and@port
annotations.
services
component which implementedhttp://i.bixbyjs.org/ns/ServicesList
. Equivalent functionality has moved tobixby-ns
, but uses configuration files rather than@service
and@port
annotations.
Switch
always resolves withinlocalhost
domain. A future version will introduce support for search domains.
0.0.4 - 2024-08-26
EnvironResolver
supports "generic" environment variables (such asDATABASE_URL
) when resolving URIs.
0.0.3 - 2024-08-26
- Remove unused
@require
of'http://i.bixbyjs.org/services'
fromresolver
.
0.0.2 - 2024-08-26
EnvironResolver
now works solely off of environment variables, no longer depends on a component implementing thehttp://i.bixbyjs.org/ns/ServicesList
interface or associated@service
and@env
annotations.
HostsResolver
, which utilized components that implement the defuncthttp://i.bixbyjs.org/IService
interface. The corresponding registry which implementshttp://i.bixbyjs.org/services
is slated to be removed frombixby-common
after version 0.2.1.
0.0.1 - 2024-05-02
- Initial release.