Skip to content

Commit 9d1db78

Browse files
committed
Update changelog
1 parent c4d0520 commit 9d1db78

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
## [Unreleased]
22

3+
## [2.0.0.alpha1] - unreleased
4+
5+
### Breaking changes
6+
7+
- `ReversibleId` now no longer downcases the encodedid input string by default on decode, ie the `decode` option `downcase` is now `false`. In a future release the `downcase` option will be removed.
8+
9+
## [1.0.0.rc3] - 2023-10-23
10+
311
- Add an optional `max_length` argument to `ReversibleId`, thanks to [@jugglebird](https://github.com/jugglebird)
12+
- Alphabet validations to prevent whitespace and null chars
13+
- Add `Alphabet#to_a`, `Alphabet#to_s`, `Alphabet#size` and a custom `Alphabet#inspect`
14+
- Fixes to input validations
15+
- hashids are case-sensitive, as are `Alphabet`s, however `ReversibleId` was always `downcase`ing the encodedid input string on decode. A new option has been added to `decode` and `decode_hex`, `downcase`, which defaults to `true`. Thus, the default behaviour is unchanged, but you can opt out to allow mixed case encodedid decode. *Note:* In V2 this will default to `false`.
416

517
## [1.0.0.rc2] - 2023-08-07
618

0 commit comments

Comments
 (0)