3 ms·
Ruby 3.1’s incompatible changes to its YAML module (Psych 4)
- wmichelin 5y agoAt least it's broken via a major version bump... right?
- phendrenad2 5y agoInteresting. It seems Ruby's YAML module has undergone a log4j-style progression where it gains more and more parsing modes, which leads to an ever-expanding vulnerability surface area. This is a last-ditch attempt to protect users from that by making the "safe" parser the default. But I wonder how long until the "safe" parser also supports many things other than strictly parsing YAML, and then we'll need a "super-safe" mode to set the default to.
- mc4ndr3 5y agoHoping the drop support for the YAML spec boolean value explosion. We don't need a bajillion parser rules for BOOLEAN literals. Just true or false, please.