Releases: haraka/haraka-net-utils
Releases · haraka/haraka-net-utils
1.9.3
Compare
Sorry, something went wrong.
No results found
get_public_ip: quiet, accurate handling when optional stun is absent (#109 )
1.9.2
Compare
Sorry, something went wrong.
No results found
add getHostIPs for use in helo.checks
refactor(get_mx): use sanitize() for log output (#107 )
dep(openssl-wrapper): deleted, not used
dep(punycode): removed, use url.domainToASCII
1.9.1
Compare
Sorry, something went wrong.
No results found
fix(HostPool): parse host:port via parseSockaddr (IPv6 safe)
fix(get_ips_by_host): async now throws errors
1.9.0
Compare
Sorry, something went wrong.
No results found
feat(endpoint): import from Haraka.
feat(LineSocket): import from Haraka
feat(HostPool): import from Haraka.
1.8.3
Compare
Sorry, something went wrong.
No results found
fix(ip_in_list): use Object.hasOwn so inherited properties cannot match
fix(is_local_ipv6): cover the full fe80::/10 link-local range
fix(HarakaMx.fromString): parse hostname:port with any valid port
unbracketed IPv6 literal is the full host — use [IPv6]:port to set a port
add proxy helpers #103
1.8.2
Compare
Sorry, something went wrong.
No results found
fix(get_public_ip): handle STUN errors by logging an error
nuke get_public_ip_async, get_public_ip is now async
consolidated both get_public_ip implementations into one
1.8.1
Compare
Sorry, something went wrong.
No results found
dep(stun): update to 3.2.0 (#100 )
fix(add_line_processor): add MAX_LINE_LENGTH bounds
fix(get_public_ip): assure STUN response is a valid IP
fix(get_public_ip): add null guard to config.get
test: convert runner to node:test
1.8.0
Compare
Sorry, something went wrong.
No results found
index.js
replaced this.xxx with exports.xxx
— eliminates implicit 'this' dependency that breaks when callers destructure exports
removed redundant ? true : false
same_ipv4_network: for (let i...) → for...of
get_ips_by_host: .map() → for...of with explicit branching
ipv6_reverse: function(n) callback → arrow function
ipv6_bogus: if (x) return true; return false → return x
ip_in_list: for...in → for...of over isArray ? list : Object.keys(list)
prevents iteration over inherited properties
get_mx.js
this.get_implicit_mx → exports.get_implicit_mx
get_public_ip.js
e.msg → e.message
return new Error(...) → console.error(...), now logs if STUN hangs
dep(sprintf-js): removed
deps(all): updated to latest
remove unnecessary done callbacks, update deps #95
test: improve coverage
1.7.2
Compare
Sorry, something went wrong.
No results found
deps(all): bump to latest
deps(eslint): upgrade to v9
style(prettier): moved config into package.json
1.7.1
Compare
Sorry, something went wrong.
No results found
deps: bump several versions to latest
test: fix stale IP, new err code