Skip to content

Releases: zeromq/zeromq.js

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

v6.0.0

13 Aug 04:41
Compare
Choose a tag to compare

What's Changed

Complete rewrite of ZeroMQ.js with a modern and safe API.
http://zeromq.github.io/zeromq.js/

Reaching this point has been a significant achievement, with many people contributing over the years. We are excited to announce the stable v6 version of zeromq.js.

This release includes all the changes from 6.0.0-beta.1 to 6.0.0-beta-20. Here's a complete list of the changes:

  • Link to the electron nteract application by @SimonBiggs in #293
  • Add Node.js 11 test by @interpretor in #309
  • Merge ZeroMQ-NG back into ZeroMQ.js by @rolftimmermans in #343
  • Worker thread and Node 13 support by @rolftimmermans in #350
  • Create issue templates by @rolftimmermans in #353
  • Improved typings compatibility by @russaa in #371
  • Fix use-after free by @aminya in #444
  • Fix building on Windows by @aminya in #444
  • Prebuild for Node, Electron or on x86 by @aminya in #444
  • Add debug build by @aminya in #444
  • Fix the tests and ci by @aminya in #444
  • chore: add github actions for prebuilding by @aminya in #459
  • Improve README and add a CONTRIBUTING page by @willingc in #468
  • Add eslint-config-atomic, update eslint, organize scripts by @aminya in #469
  • Update dependencies - Run tests in GitHub Actions by @aminya in #474
  • Run lint on the whole project by @aminya in #511
  • fix: update dependencies by @aminya in #510
  • fix: enable the cpp exception in the release build by @aminya in #513
  • Remove the non-deterministic module export modification in native.ts by @Eximius in #391
  • fix: fix the openssl_fips build error + ci: update CI versions by @aminya in #517
  • Rewrite the build script by @aminya in #519
  • Separate GC tests from the rest by @aminya in #520
  • feat: improve the architecture handling the build system by @aminya in #522
  • feat: add support for MacOS Arm by @aminya in #522
  • feat: Windows 32 bit by @aminya in #522
  • fix: use absolute paths for the action inputs by @aminya in #525
  • fix: remove the inputs for the action by @aminya in #527
  • ci: add prebuilds for Musl Linux (Alpine, CentOS, etc.) by @aminya in #528
  • fix: compile the build typescript files for production by @aminya in #531
  • feat: upgrade libzmq to the latest dev version by @aminya in #512
  • Fix for Electron v21 and up. by @Bartel-C8 in #532
  • Update the typings compatibility scripts/tests by @aminya in #535
  • fix: fork and fix the node-gyp-build issues by @aminya in #536
  • fix: use downlevel-dts for generating old types by @aminya in #538
  • chore: remove unused dependencies by @aminya in #539
  • fix: fix the spawning errors in node-gyp-build by @aminya in #537
  • fix: statically link libsodium by @aminya in #540
  • fixes for macos-arm-deps script by @aminya in #543
  • fix: install arm brew on MacOS Arm to install libsodium by @aminya in #542
  • chore: remove unused scripts by @aminya in #544
  • docs: fix and automate the documentation generation by @aminya in #545
  • docs: fix the docs issues by @aminya in #549
  • Fix: Detect Electron version at runtime by @Bartel-C8 in #546
  • test: Run mocha tests with Electron by @Bartel-C8 in #547
  • Update node-addon-api to v6 by @DonJayamanne in #563
  • ci: build on Ubuntu 20.04 to support older GlibCXX by @aminya in #571
  • Fix: Remove libsodium dependency (for now). by @Bartel-C8 in #554
  • fix: rename the bin files to avoid conflicts with node-gyp-build by @aminya in #589
  • docs: Fix link to API docs by @rotu in #611
  • fix: update dependencies with minor changes by @aminya in #615
  • fix: update libzmq to the latest version by @aminya in #572
  • Build improvements and fixes by @aminya in #616
  • fix: update node-gyp-build for Windows fixes by @aminya in #617
  • fix: fix the Windows prebuilds + fix some of the test failures by @aminya in #618
  • test: fix the ipc endpoint tests by @aminya in #620
  • test: update weak-napi's dependencies by @aminya in #623
  • fix expose GC in the tests by @aminya in #623
  • Fix various failing tests by @aminya in #624
  • ci: use ARM64 Macos 14 runner for ARM builds by @aminya in #627
  • fix: update dev-dependencies by @aminya in #628
  • Remove integration with travis and greenkeeper by @rotu in #629
  • test: use WeakRef instead of weak-napi for GC tests by @aminya in #631
  • chore: add debugging configuration for VsCode by @aminya in #631
  • Remove cross-compilation arch flags for MacOS by @rotu in #622
  • bump ci actions versions by @rotu in #630
  • fix: reduce production build dependencies by @aminya in #635
  • feat: support build options via npmrc by @aminya in #633
  • chore: update author names + remove license headers by @aminya in #636
  • Export SocketType from compat by @DiefBell in #643

Full Changelog: v5.1.0...v6.0.0