Skip to content

v2.14.30

Latest

Choose a tag to compare

@ohler55 ohler55 released this 26 Nov 00:04
· 41 commits to develop since this release

What's Changed

  • Speed up Ox.sax_parse by not rescanning the String on each refill by @Watson1978 in #472
  • Speed up Ox.load in hash mode by keeping the marked arrays in a table by @Watson1978 in #473
  • Speed up hash_no_attrs by interning element names directly by @Watson1978 in #474
  • Fix an exception from the SAX input IO coming back as a TypeError by @ThomasSevestre in #476
  • Speed up hash mode by interning element names directly by @Watson1978 in #475
  • CI: Drop old Ruby versions for Ubuntu 26.04 by @Watson1978 in #477
  • Fix slow parsing of names built to collide in the name cache by @Watson1978 in #478
  • Fix dumping raised exceptions and Range subclasses in object mode by @Watson1978 in #479
  • fix out-of-bounds read in structname2obj on a trailing colon by @shamsManna in #480
  • fix signed overflow reading long digit strings in as_i, and by @shamsManna in #481
  • fix use-after-free of element names deeper than 32 in ox_sax_parse by @shamsManna in #482
  • fix use-after-free of circular reference targets in mark_pi_cb by @shamsManna in #483
  • free the document copy in Ox.load and friends when the parse raises by @shamsManna in #484
  • fix use-after-free of the sax drive through a kept Ox::Sax::Value by @shamsManna in #485
  • fix stack buffer overflow in add_element :trace output by @shamsManna in #486
  • fix a character reference to NUL cutting off the rest of the value by @shamsManna in #487
  • fix read_element over-read on a tolerant unquoted attribute value by @shamsManna in #488
  • free the name of an empty element in Ox::Builder pop by @abdul-khaliq-khalid in #489
  • fix Ox::Sax::Value#as_s decoding the value again on each call by @shamsManna in #490
  • CI: add Ruby 4.0 and the ARM64 runners to the test matrix by @mrhoribu in #492
  • Convert Time without passing time_t to Ruby on 32-bit time_t builds by @mrhoribu in #493
  • fix use-after-free of a popped element in hash mode end_element by @shamsManna in #494
  • fix out-of-bounds read in form_attr interning the stack buffer by @abdul-khaliq-khalid in #495
  • fix read_element over-read on a tolerant end tag cut off before its '>' by @Nishuuzz in #496
  • fix read_instruction over-read when the instruction ends in '?' with no '>' by @Nishuuzz in #497

New Contributors

Full Changelog: v2.14.29...v2.14.30