You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* New Strings template (available via `-t dot-syntax`), allowing string keys containing dots (like foo.bar.baz) to be organized as a hierarchy and accessible via dot syntax.
684
+
* New Strings template (available via `-t dot-syntax`), allowing string keys containing dots (like foo.bar.baz) to be organized as a hierarchy and accessible via dot syntax.
* Update Swift 3 templates to use lowercase enums.
@@ -680,14 +701,12 @@ Note: The next minor version will focus on bringing more documentation for all t
680
701
681
702
### Important Notes
682
703
683
-
* Some keys for various templates have changed to provide more flexibility and enable some new features in the templates. As a result, **if you created your own custom templates, they might not all be totally compatible with SwiftGen 3.0.0** (hence the new major version).
704
+
- Some keys for various templates have changed to provide more flexibility and enable some new features in the templates. As a result, **if you created your own custom templates, they might not all be totally compatible with SwiftGen 3.0.0** (hence the new major version).
684
705
Please read the [Custom Templates documentation](documentation/Templates.md) to find out the new Stencil context keys and update your custom templates accordingly.
685
706
686
707
_If you're using one of the bundled templates, all of them have been updated appropriately._
687
708
688
-
* Also **if you use Swift 3**, and thus use the `-t swift3` flag to use the Swift 3 templates, be advised those has been modified
689
-
to take the latest Swift 3 modifications into account (including naming convensions) so your code might need to be updated
690
-
according to match the latest Swift 3 recommendations.
709
+
- Also **if you use Swift 3**, and thus use the `-t swift3` flag to use the Swift 3 templates, be advised those has been modified to take the latest Swift 3 modifications into account (including naming convensions) so your code might need to be updated according to match the latest Swift 3 recommendations.
691
710
692
711
## 2.0.0
693
712
@@ -752,10 +771,10 @@ stop working as expected. That's the main reason why the version has been bumped
752
771
* Added support for TXT (`colors.txt`) files to have named value.
@@ -894,8 +914,8 @@ SwiftGen now comes bundled with some alternate templates, especially `colors-raw
894
914
### New Features: Templates
895
915
896
916
*`SwiftGen` now uses [Stencil](https://github.com/kylef/Stencil) template engine to produce the generated code.
897
-
* This means that the generate code will be easier to improve
898
-
* This also means that **you can use your own templates** to generate code that better suits your needs and preferences, using `swiftgen … --template FILE …`
917
+
* This means that the generate code will be easier to improve.
918
+
* This also means that **you can use your own templates** to generate code that better suits your needs and preferences, using `swiftgen … --template FILE …`.
899
919
900
920
### Fixes
901
921
@@ -935,7 +955,7 @@ SwiftGen now comes bundled with some alternate templates, especially `colors-raw
0 commit comments