Add some info for already merged PRs.
This commit is contained in:
@@ -2,6 +2,19 @@
|
||||
|
||||
*** Work In Progress — Will be consolidated once the release is ready ***
|
||||
|
||||
Breaking:
|
||||
|
||||
* IB #423: Renamed `storyboards` to `ib`, to support future functionality.
|
||||
* Config #424: Commands now can have multiple outputs, each having an `output` path, a `templateName`/`templatePath` and `params`.
|
||||
* Config #424: `output` is deprecated (see `output`), same with `templateName`, `templatePath` and `params`.
|
||||
* Config #424: `paths` has been renamed to `inputs` (so `paths` is deprecated).
|
||||
|
||||
Improvements:
|
||||
|
||||
* #411: SPM (partially, it builds) and Mint support.
|
||||
* #379: Json, Plist and YAML support.
|
||||
* #475: Stencil 0.12 (from 0.10), which adds variable subscripting, `indent` filter, better error reporting, etc...
|
||||
|
||||
# SwiftGen 5.1 Migration Guide
|
||||
|
||||
## Template functionality changes
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
|
||||
*** Work In Progress — Will be consolidated once the release is ready ***
|
||||
|
||||
Breaking:
|
||||
|
||||
* Strings #257: don't normalize keys anymore (this can lead to dupe keys for string keys such as `abcNews` and `ABCNews`). It's up to the user to fix their strings files.
|
||||
|
||||
Improvements:
|
||||
|
||||
* XCAssets #453: added `isNamespaced` property to groups.
|
||||
|
||||
# SwiftGenKit 2.0 (SwiftGen 5.0) Migration Guide
|
||||
|
||||
If you're migrating from SwiftGenKit 1.x to SwiftGenKit 2.0 — which is the case if you are migrating from SwiftGen 4.x to SwiftGen 5.0 — then you should be aware of the following changes in variable names generated in the output context by SwiftGenKit, and adapt your custom templates accordingly to change the name of the variables you use.
|
||||
|
||||
@@ -2,11 +2,25 @@
|
||||
|
||||
*** Work In Progress — Will be consolidated once the release is ready ***
|
||||
|
||||
Breaking:
|
||||
|
||||
* #420: Removed Swift 2 templates. Because it's old.
|
||||
* IB #423: Renamed `storyboards` to `ib`, so user template search paths changed.
|
||||
* XCAssets #453: All groups are no longer namespaced by default. To enable behaviour again: `forceProvidesNamespaces`
|
||||
* #409: All templates now have `swiftlint:disable all` at the top, so you no longer need to ignore the generated files, although this is still recommended.
|
||||
* #416 and #475: new Stencil/StencilSwiftKit, so new features for template writers.
|
||||
* XCAssets #480: no longer generate `allXXX` constants by default. Can be turned on again with `allValues` flag.
|
||||
* XCAssets #480: removed `noAllValues` parameter, replaced by `allValues` parameter.
|
||||
* XCAssets #482: removed deprecated `allValues` constant
|
||||
* XCAssets #482: changed x-platform image alias default from `Image` to `AssetImageTypeAlias`.
|
||||
* IB #419: Split up the templates into one for scenes and one for segues (in preparation for future templates for accessibility labels, ...).
|
||||
* IB #419: Added a handy initializer on `SegueType` for use in `prepareForSegue`.
|
||||
|
||||
Improvements:
|
||||
|
||||
* IB #485: Templates now handle the "Inherit module from target", you may not need the `--param module=...` anymore.
|
||||
* Fonts #394: Added a `registerAllCustomFonts` function.
|
||||
* XCAssets #444: `NSDataAsset` support.
|
||||
|
||||
# Templates 2.1 Migration Guide
|
||||
|
||||
|
||||
Reference in New Issue
Block a user