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

Fix NodeJS compatibilty across different versions #94

Merged
merged 8 commits into from
Jun 12, 2024

Conversation

piotr-roslaniec
Copy link
Contributor

@piotr-roslaniec piotr-roslaniec commented Apr 29, 2024

Type of PR:

  • Bugfix

Required reviews:

  • 1

What this does:

  • Diagnoses and fixes an issue where @nucypher/nucypher-core would not work for Node.js 18+ users
  • These lines contains the actual fix
  • This PR contains @nucypher/nucypher-core:0.14.5 release. The version bump from 0.14.1 to 0.14.5 is the aftermath of previous try-and-fail attempts at building a correct package. Functionally, these versions (0.14.1-5) are the same. A 0.14.5 tag has been created.

Notes for reviewers:

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.42%. Comparing base (d54ffbe) to head (18d5d6d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   23.23%   23.42%   +0.19%     
==========================================
  Files          18       18              
  Lines        3504     3475      -29     
==========================================
  Hits          814      814              
+ Misses       2690     2661      -29     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@piotr-roslaniec piotr-roslaniec changed the title Test NodeJS compatibilty across different versions Fix NodeJS compatibilty across different versions Jun 12, 2024
@piotr-roslaniec piotr-roslaniec marked this pull request as ready for review June 12, 2024 08:33
Copy link
Member

@manumonti manumonti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👌

Copy link
Member

@derekpierre derekpierre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎸

@@ -1,6 +1,6 @@
{
"name": "@nucypher/nucypher-core",
"version": "0.14.1",
"version": "0.14.5",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an aside: @KPrasch , nucypher is still using nucypher-core 0.13.0 - https://github.com/nucypher/nucypher/blob/v7.4.x/pyproject.toml#L9. Is it time to update that? From the nucypher-core changelog, there doesn't seem to be a compatibility problem for nodes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there are any breaking of functional issues. IIRC, the difference between 0.13.x and 0.14.x is only related to WASM bindings.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speaking of the changelog - it could be good to update it for versions 0.14.1 -> 0.14.5 even if it is to say "Fixed packaging issue".

@piotr-roslaniec piotr-roslaniec merged commit dfab175 into nucypher:main Jun 12, 2024
13 checks passed
@piotr-roslaniec piotr-roslaniec deleted the node-lts branch June 12, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure support for the LTS versions of NodeJs
4 participants