Skip to content

Releases: hildjj/dohdec

Better runtime compatibility

09 Sep 15:46
v6.0.4
3ae63ff
Compare
Choose a tag to compare

Some runtimes don't handle import.meta.url correctly. Move to package-extract to get version info.

Strict type checking

06 Sep 15:47
v6.0.3
851d4da
Compare
Choose a tag to compare

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

06 Sep 15:34
v6.0.2
984a887
Compare
Choose a tag to compare

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

06 Sep 12:14
v6.0.1
9fd922c
Compare
Choose a tag to compare

Fix the type signatures for the lookup() functions.

Require node 18, MIT License

05 Sep 18:40
v6.0.0
53be53a
Compare
Choose a tag to compare
  • [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, to ip-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

13 Dec 21:32
a09b000
Compare
Choose a tag to compare

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

14 Oct 22:29
0cfe5e7
Compare
Choose a tag to compare

install dohdec-cli if you want the dohdec CLI. dohdec is just the library now.

Bring up to date

03 Oct 17:45
v4.0.0
0cb24a6
Compare
Choose a tag to compare

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.