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 ofdocument
. The olddocuments
property will be removed in the next major release.
David Jennes
#702
#732
๐ Bug Fixes
- 0๏ธโฃ Prevent generating
default.profraw
(code coverage) files.
David Jennes
#722 - JSON/Plist/YAML: Fix issue with homogeneous
Array
s in the Inline templates (such as[String
]).
#687
@fjtrujy - ๐ Avoid breaking the system swift installation when installing SwiftGen via Homebrew on macOS 10.14.4 or higher.
David Jennes
#686
#730
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
#699 - ๐ Use
JSONSerialization
instead ofYams
for parsing JSONs, making thejson
parser faster.
Marcelo Fabri
#698 - ๐ JSON/Plist/YAML: Lazily evaluate
metadata
of documents, making SwiftGen faster if themetadata
field is never used in a template.
Marcelo Fabri
#700
- ๐ JSON & Plist: if you wrote your own templates, know that the