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

Remove Hash module and Text.hash() #133

Merged
merged 15 commits into from
Feb 6, 2025
Merged

Conversation

rvanasa
Copy link
Collaborator

@rvanasa rvanasa commented Feb 6, 2025

Alternative to #129.

Depends on #130.

The reasoning for removing Text.hash() is that we want to discourage using the djb2 algorithm for hashing Text values, but replacing this with a new implementation would be a silent breaking change. As a result, we're opting to remove this function and defer the choice of hash algorithm to the developer via Mops packages.

@rvanasa rvanasa requested a review from a team as a code owner February 6, 2025 16:53
Copy link

github-actions bot commented Feb 6, 2025

No description provided.

crusso
crusso previously approved these changes Feb 6, 2025
@rvanasa rvanasa mentioned this pull request Feb 6, 2025
@rvanasa rvanasa changed the title Remove Hash module Remove Hash module and Text.hash() Feb 6, 2025
Base automatically changed from types-module to main February 6, 2025 18:28
@rvanasa rvanasa dismissed crusso’s stale review February 6, 2025 18:28

The base branch was changed.

@rvanasa rvanasa enabled auto-merge (squash) February 6, 2025 18:32
@crusso crusso self-requested a review February 6, 2025 18:33
@rvanasa rvanasa merged commit 9eac551 into main Feb 6, 2025
6 checks passed
@rvanasa rvanasa deleted the remove-hash-module-alternative branch February 6, 2025 18:34
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.

2 participants