Download Latest Version 6.6.3 source code.tar.gz (9.0 MB)
Email in envelope

Get an email when there's a new version of SwiftGen

Home / 6.6.0
Name Modified Size InfoDownloads / Week
Parent folder
swiftgen-6.6.0.artifactbundle.zip 2022-07-31 3.4 MB
swiftgen-6.6.0.zip 2022-07-31 3.4 MB
6.6.0.tar.gz 2022-07-31 9.0 MB
6.6.0.zip 2022-07-31 9.7 MB
README.md 2022-07-31 5.8 kB
Totals: 5 Items   25.6 MB 1

Changes in core dependencies of SwiftGen

Breaking Changes

  • Strings: due to the bugfix for fallback translations, custom lookupFunctions will need to accept 3 arguments (table, key and value), up from 2 arguments (table and key).
    David Jennes #964

Deprecations

  • The Swift 4 templates are now deprecated. This means we will no longer test if the generated output is valid Swift code. We will still try to keep these up-to-date with context changes.
    David Jennes #955
  • Our spacing & trimming "hack" is now considered deprecated, and in the next major version we'll switch to Stencil's new "smart" trimming behaviour (see Stencil documentation for more information). Our built-in templates have already switched to this modern behaviour, you can try it with your own templates by using the --experimental-modern-spacing flag.
    David Jennes #977
  • XCAssets: some old properties & parameters are being deprecated. Read the migration guides for more information.
    David Jennes #978

New Features

  • Added support for --quiet/-q flag, to suppress all logs (except errors).
    Andre113 #823 #846
  • CoreData: ensure generated classes are final when model isn't abstract.
    grsouza #940
  • Added .artifactbundle release uploads to support SE-0325 Swift Plugins.
    nicorichard #913 #926
  • Strings: added support for .strings files comments. The built-in templates will now use them for comments instead of the translation of a key.
    CraigSiemens #563 #813
  • CoreData: support derived attributes.
    David Jennes #928 #961
  • Added an experimental flag --experimental-modern-spacing to enable modern spacing control, see Stencil documentation for more information. It will disable our own trimming "hack", and enable Stencil's "smart" trimming.
    David Jennes #977
  • XCAssets & Fonts: added support for SwiftUI. You can now easily access colors images, symbols and custom fonts from your SwiftUI code.
    David Jennes #979

Bug Fixes

Internal Changes

Source: README.md, updated 2022-07-31