SwiftGen v6.2.1 Release Notes

Release Date: 2020-07-05 // almost 3 years ago
  • ๐Ÿ“š There are no major changes in this release, although JSON & Plist template writers may want to read the small migration guide to prepare for upcoming context changes.

    ๐Ÿ—„ Deprecations

    • ๐Ÿš€ JSON & Plist: if you wrote your own templates, know that the documents property of a file has been deprecated in favour of document. The old documents property will be removed in the next major release.
      David Jennes

    ๐Ÿ› Bug Fixes

    • 0๏ธโƒฃ Prevent generating default.profraw (code coverage) files.
      David Jennes
    • JSON/Plist/YAML: Fix issue with homogeneous Arrays in the Inline templates (such as [String]).
    • ๐ŸŽ Avoid breaking the system swift installation when installing SwiftGen via Homebrew on macOS 10.14.4 or higher.
      David Jennes

    Internal Changes

    • ๐Ÿ”ง Parsers are now executed in parallel, making SwiftGen faster when multiple parsers are used. Note: only applies when using a configuration file.
      Marcelo Fabri
    • ๐Ÿ“œ Use JSONSerialization instead of Yams for parsing JSONs, making the json parser faster.
      Marcelo Fabri
    • ๐Ÿ“‡ JSON/Plist/YAML: Lazily evaluate metadata of documents, making SwiftGen faster if the metadata field is never used in a template.
      Marcelo Fabri