Releases: hildjj/dohdec
Better runtime compatibility
Some runtimes don't handle import.meta.url
correctly. Move to package-extract to get version info.
Strict type checking
Turned on strict and noImplicitAny in TypeScript, then fixed all of the issues.
One thing that may be noticeable is there are now a good number of runtime assertions of incoming types. If this causes you an error that you think could be more gracefully handled, please file an issue as soon as possible.
Strict type checking
Turned on strict and noImplicitAny in TypeScript, then fixed all of the issues.
One thing that may be noticeable is there are now a good number of runtime assertions of incoming types. If this causes you an error that you think could be more gracefully handled, please file an issue as soon as possible.
Fix types
Require node 18, MIT License
- [BREAKING] now requires node v18+
- [BREAKING] Switched to the MIT License
- [FEATURE] can now disable DNSSEC validation
- [BUG] Fixed #43, -g should now work on the command line. Note that -d is required for POST to work.
- [SECURITY] Moved from the
ip
dependency, which has an unresolved CVE, toip-address
. - [CHORE] moved mock-dns-server to a separate repository
- [CHORE] moved to typedoc for doc generation
- [CHORE] moved to a hand-rolled release approach rather than lerna
- [DOCS] fixed README.md typos in example, spelled "CloudFlare" correctly, and added a link to the Tangerine project[B
Do not use @types/dns-packet
The @types/dns-packet
package does not provide enough benefit to be worth leaking its types to users of this package.
Split into CLI and library
install dohdec-cli
if you want the dohdec
CLI. dohdec
is just the library now.
Bring up to date
Major
- Added padding for both JSON and DNS formats. All requests will be multiples of 128 bytes.
- Add HTTP/2 support by switching to got
- Added typescript types
- Switched to ES6 module format. This was a BREAKING change, which required a major version bump.
- Added reverse lookups when IP addresses are specified for a name.
Minor
- Removed large punycode dependency.
- Reworked verbose mode so a restart is no longer used. Verbosity is now an integer; you can specify "-v" multiple times to get more verbose from the command line.
- Made CLI testable.
- Mocked all network traffic (including DNS-over-TLS) for testing.
Housekeeping
- Updated dependencies.
- Switched to GitHub Actions from travis.
- master -> main
- Updated linting to match my other projects.