This repository has been archived by the owner on May 5, 2023. It is now read-only.
Releases: TooTallNate/node-agent-base
Releases · TooTallNate/node-agent-base
6.0.2
6.0.1
6.0.0
The breaking change in this release is that the AgentBase
instance's own options
property has been removed, and thus those properties are not implicitly mixed in to the opts
object in the agent's callback function. This "feature" was not relied on for anything, and did not really make sense to do, and finally it caused subtle and hard to debug bugs that will now be avoided.
Major Changes
- Remove unnecessary
ownOpts
: 83c516c - Remove
options
: 7e1a2da - Remove "options mix in" test case: 11153fe
Minor Changes
- Add
debug
: 1b115b0 - Add "after first tick" unit test: b4bce49
- Moar
debug()
: b65cc8d - Re-use SSL options in tests: 3a5dd43
- Use
interface
and more granularRequestOptions
: bd3e273 - Add
AgentLike
type: 24cafeb - Allow
stream.Duplex
return value: c350b32
Patches
- Fix
this
reference for socketfree
event: 3d57195 - Fix unnecessary
else
: 12a5c8d - Emit "free" event once: a6c3353
- Don't set
promisifiedCallback
to undefined: 56238bc - Remove
freeSocket
andsock
vars: f3d24d4 - Fixes for
@types/node
v12: 3367a2f - Use
keyof
: e5dd5f5 - Make callback return value options in
promisify()
: c7072a1
5.1.1
5.1.0
5.0.0
Major Changes
- Delete
.travis.yml
: ea18251 - Refactor to TypeScript: #31
- Delete
History.md
: 5925508 - Require Node.js >= 6: 2cb392b
Minor Changes
- Add GitHub Actions for Node CI: 12bb6ef
- Test Windows and macOS: cfb5ccd
- Add GH Actions badge to readme: 385b939
- Allow setting custom
defaultPort
: 41aea03
Patches
- Remove
https
core module patching logic: #36
4.3.0
Minor Changes
Patches
- Remove
package-lock.json
: 21c0343 - Fix failing test case on Node 10: 50f5389
- Ignore package-lock.json: c7ffe87
- Only patch
https.request()
once: #25 - Support 3-argument
.get()
methods: #27
Credits
Huge thanks to @Shinigami92, @vfernandestoptal, and @BYK for helping!