Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 2.1.1 [skip-ci] #187

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 1, 2024

🌱 A new release!

2.1.1 (2024-07-16)

The MongoDB Node.js team is pleased to announce version 2.1.1 of the kerberos package!

Release Notes

Fix segfault when running kerberos on systems with 1.x OpenSSL versions and Node.js 18+

Kerberos depends on OpenSSL and Node.js always bundles a copy of OpenSSL. Unfortunately an incompatiblity arises when Node's SSL version is not compatible with the version that the system kerberos library was built with.

Kerberos will now load the system library by default with runtime dynamic linking. This enables us to specify that kerberos use the SSL version it was built against (RTLD_DEEPBIND) so it does not adopt the symbols available in Node.js' address space.

Starting in Node 18+ these Node's SSL symbols are from OpenSSL 3+, whereas on RHEL 8 the system SSL library is 1.1.1k.

Add Spectre Mitigation and Control Flow Guard

On Windows only, we have added the SpectreMitigation and /guard:cf flags, thanks to a contribution from @rzhao271! If you are building on Windows yourself you may need to install Spectre-mitigated libraries for Visual Studio. Those using the prebuilds should not need any changes.

MacOS universal builds

In a previous PR we made our MacOS prebuilds be universal binaries so the same build works on both M1 and Intel. This PR moves the universal build flags under a condition so that when building a static library only the platform being built for is included.

Bug Fixes

Documentation

We invite you to try the kerberos library immediately, and report any issues to the NODE project.


@github-actions github-actions bot force-pushed the release-please--branches--main--components--kerberos branch 3 times, most recently from ea2c6cb to 3705dcd Compare July 16, 2024 17:46
@nbbeeken nbbeeken force-pushed the release-please--branches--main--components--kerberos branch from 3705dcd to 63aa32c Compare August 6, 2024 15:29
@nbbeeken nbbeeken changed the title chore(main): release 2.1.2-alpha.0 [skip-ci] chore(main): release 2.1.1 [skip-ci] Aug 6, 2024
@nbbeeken
Copy link
Collaborator

nbbeeken commented Aug 6, 2024

run release_notes

@nbbeeken nbbeeken force-pushed the release-please--branches--main--components--kerberos branch from 63aa32c to d669f42 Compare August 6, 2024 17:06
@nbbeeken nbbeeken merged commit c2acb18 into main Aug 6, 2024
8 checks passed
@nbbeeken nbbeeken deleted the release-please--branches--main--components--kerberos branch August 6, 2024 17:26
Copy link
Contributor Author

github-actions bot commented Aug 6, 2024

🤖 Created releases:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant