Skip to content

v8.0.0 - breaking change for http unix socket use

Latest
Compare
Choose a tag to compare
@jeffbski jeffbski released this 20 Aug 01:04
· 9 commits to master since this release

Updated for security vulnerabilities with [email protected] and braces.

Breaking change in using latest axios with a unix socket URL

As part of the axios update, the syntax for using a socket with an http URL in axios has changed so you must specify the protocol and server

For example:

http://unix:SOCKETPATH:http://server/foo/bar

instead of just using only the path (no protocol and no server)

http://unix:SOCKETPATH:/foo/bar

Due to this change, I have updated my tests, docs, bumped the major version.