Skip to content

Releases: zeromq/zeromq.js

v6.2.0

30 Dec 09:19
Compare
Choose a tag to compare

What's Changed

  • feat: enable Curve and Libsodium support by @aminya in #682
  • fix: update dependencies by @aminya in #685
  • build: add undefined behaviour address sanitizer feature by @aminya in #686

Full Changelog: v6.1.2...v6.2.0

v6.1.2

06 Nov 12:32
Compare
Choose a tag to compare

What's Changed

  • fix: fix zeromq on Electron Windows by delay loading node.exe by @aminya in #673

  • fix: fix compiler warnings, sign-conversion, clang-tidy issues by @aminya in #666

    • fix: fix buffer to value safe conversion
    • fix: use std::array instead of C-arrays
    • fix: use reference wrappers as ref data members
    • fix: add missing special functions for classes with destructors
    • fix: explicit conversions for getting uv handles
    • fix: use explicit conversions for msg pointers
    • fix: avoid bitwise operations on integers
    • fix: remove unnecessary static/inline keywords
    • fix: disable -Wshadow on gcc/AppleClang
    • fix: useless cast warnings
    • fix: remove to_string override for int64_t
    • fix: use int32_t for the socket type
    • fix: avoid conversion issue for max double limits
    • fix: set global variables as static
    • fix: avoid sign conversion for options/errors/timeout
    • fix: make Closable's destructor virtual
    • fix: guard force inline behind not clang
    • fix: explicit fall through in switch
    • fix: set error/status as maybe unused
    • fix: remove unnecessary macros
    • fix: silence poller UV reinterpret cast warnings
    • fix: use a lambda instead of goto
  • fix: improve TypeScript types @aminya in #671

    • fix: accept numbers in MessageLike
    • fix: export the type of the compat options in TypeScript
    • fix: make the properties of monitor optional in compat
    • fix: accept single message in send of compat mode
    • fix: use import for loading the addon
    • fix: fix linting issues in the compat layer
  • test: convert compat tests to TypeScript by @aminya in #671

  • ci: add smoke-test for various node version and package managers by @aminya in #670

Full Changelog: v6.1.1...v6.1.2

v6.1.1

23 Oct 11:29
Compare
Choose a tag to compare

What's Changed

  • fix: update cmake-ts's dependencies + fix installation failures in npm by @aminya in #669

Full Changelog: v6.1.0...v6.1.1

v6.1.0

22 Oct 08:15
Compare
Choose a tag to compare

What's Changed

  • feat: build zeromq with CMake and vcpkg by @aminya in #665
    • This removes all the node-gyp-specific build scripts replacing it with CMake, vcpkg, and project_options. This significantly improves the reliability of the builds and allows for further improvements in future releases.
    • The Visual Studio runtimes are now statically linked. So, the bundled binaries should work without needing VC++ redistributable.
    • Most of the previously failing tests are now passing.
    • Now the users can enable the draft, curve, or web socket features easily through .npmrc during installation. See the readme for more details.

Full Changelog: v6.0.8...v6.1.0

v6.0.8

03 Oct 02:40
Compare
Choose a tag to compare

What's Changed

  • fix: update dependencies to the latest by @aminya in #661
  • docs: mention Visual C++ Redistributable in the readme by @ArqTras in #661
  • docs: add more examples by @aminya in #661
  • docs: use ES Modules for examples by @aminya in #661

Full Changelog: v6.0.6...v6.0.8

v6.0.6

02 Oct 21:58
Compare
Choose a tag to compare

What's Changed

  • ci: build on Windows server 2019 for more portability with older Windows versions by @aminya in #660

Full Changelog: v6.0.4...v6.0.6

v6.0.4

24 Aug 02:05
Compare
Choose a tag to compare
  • fix: add missing prebuilds
    The last release didn't include the prebuilds. This version contains the prebuilds for darwin-arm64, darwin-x64, linux-x64, win32-ia32, and win32-x64

  • fix: add node-gyp to dependencies
    This makes sure an up-to-date Node-gyp is used if the build fallback to building from the source in case the prebuild is not available for your platform.

Full Changelog: v6.0.3...v6.0.4

v6.0.3

23 Aug 20:13
Compare
Choose a tag to compare

What's Changed

  • fix: make postinstall script production specific + check in build script dists by @aminya in #652
    This ensures that build scripts are not rebuilt during installation. The installation should directly load the prebuilds and fallback to the building from the source in case of a platform that lacks binaries.
  • fix: fix the typesVersion field for TypeScript by @aminya in #652

Full Changelog: v6.0.2...v6.0.3

v6.0.2

23 Aug 07:20
Compare
Choose a tag to compare
  • fix: add cross-env to dependencies instead of dev-dependencies
    Full Changelog: v6.0.1...v6.0.2

v6.0.1

22 Aug 22:40
Compare
Choose a tag to compare

What's Changed

  • fix: specify build_from_source using env vars by @aminya in #648
    Fixes the issue where the build failed or hangs on newer npm/yarn package managers

Full Changelog: v6.0.0...v6.0.1