Skip to content

Commit

Permalink
Mention Hash#inspect changes in NEWS.md
Browse files Browse the repository at this point in the history
This will likely cause some incompatibilities in various projects
we should try to make it as clear as possible for the next preview
release.
  • Loading branch information
byroot committed Oct 7, 2024
1 parent ef7d7ee commit 9ee0e11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
from test.rb:2:in `<main>'
```
* `Hash#inspect` rendering have been changed. [[Bug #20433]]
* Symbol keys are displayed using the modern symbol key syntax: `"{user: 1}"`
* Other keys now have spaces around `=>`: `'{"user" => 1}'`, while previously they didn't: `'{"user"=>1}'`
## Stdlib compatibility issues
## C API updates
Expand Down Expand Up @@ -180,6 +184,7 @@ See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/log
[Bug #20218]: https://bugs.ruby-lang.org/issues/20218
[Feature #20265]: https://bugs.ruby-lang.org/issues/20265
[Feature #20429]: https://bugs.ruby-lang.org/issues/20429
[Bug #20433]: https://bugs.ruby-lang.org/issues/20433
[Feature #20443]: https://bugs.ruby-lang.org/issues/20443
[Feature #20497]: https://bugs.ruby-lang.org/issues/20497
[Feature #20624]: https://bugs.ruby-lang.org/issues/20624

0 comments on commit 9ee0e11

Please sign in to comment.