Oga v2.4 Release Notes

Release Date: 2016-09-04 // over 7 years ago
  • Serialising Large Documents

    Oga can now serialise large documents without causing the call stack to overflow thanks to the new Oga::XML::Generator class. This class can generate XML without using a stack at all.

    ๐Ÿ‘€ See issue https://gitlab.com/yorickpeterse/oga/issues/158 and commit dd138981f68a606eff5d5a01e990f04398087dc4 for more information.

    Faster retrieval of previous/next nodes

    The methods Oga::XML::Node#previous and Oga::XML::Node#next now simply return the value of an instance variable instead of calculating the ๐ŸŽ previous/next node on the fly. This greatly improves the performance of these methods at the cost of a bit of extra work when adding or removing nodes from a NodeSet.

    ๐Ÿ‘€ See commit 5a58b1413767fed4518e8a67c4eb432a31592660 for more information.