swift-protobuf v1.8.0 Release Notes

Release Date: 2020-01-28 // almost 2 years ago
  • ๐Ÿ†• New features/interfaces:

    • โž• Add Message binary decoding support from ContiguousBytes (#914)
    • ๐Ÿ‘‰ Make things generic over ContiguousBytes and @inlinable (#915, #921)

    Notable changes:

    • ๐Ÿ‘‰ Use heap-based storage only when a Protobuf has a singular transitive recursion (#900)
    • ๐Ÿ‘‰ Use raw pointers instead of typed pointers (#918)
    • โž• Add missing CaseIterable support for nested enums (#923)
    • Guard against TextFormat encoding of unknowns from overflowing the stack (#927)

    ๐ŸŽ Performance related changes:

    • ๐ŸŽ JSON/TextFormat submessage encoding performance improvements (#916)
    • Avoid collecting unknown fields while scanning for message (#924)
    • Minor code cleanup for JSON additions (#935)