prefixed_ids icon indicating copy to clipboard operation
prefixed_ids copied to clipboard

CHANGED: Updated hash generation to use Sqids rather than HashIds

Open tarellel opened this issue 11 months ago • 1 comments

Summary:

Convert prefixed_ids from using hashids to use Sqids as its new hashing library.

Context:

https://github.com/peterhellberg/hashids.rb

Hashids has been rebranded to 🦑 Sqids, and there is a Ruby implementation of it that I suggest you use instead of Hashids.rb

Notes:

Since this is a possible breaking change, particularly with salting; even if the changes aren't significantly large it probably deserves a minor/major version bump as well.

tarellel avatar May 03 '25 18:05 tarellel

Yeah, I already started this a while back but held off because it's not backwards compatible. All links using prefixed IDs will be broken and I think we need to be careful with that.

excid3 avatar May 06 '25 12:05 excid3