This repository has been archived by the owner on Sep 6, 2018. It is now read-only.
Releases: SwiftGen/SwiftGenKit
Releases · SwiftGen/SwiftGenKit
2.1.1
Bug Fixes
- Fixes an issue in High Sierra where the output of the processed Catalog Entries was not ordered alphabetically.
Yusuke Kuroiwa
Francisco Diaz
#57
2.1.0
Bug Fixes
- Fonts: fix an issue where SwiftGen would fallback to the full font file path instead of using the relative path to the search location.
David Jennes
#52
New Features
- XCAssets: Added support for named colors.
David Jennes
#51
2.0.0
Due to the removal of legacy code, there are a few breaking changes in this new version that affect both template writers as well as developers. We've provided a migration guide to help you through these changes, which you can find here:
Migration Guide for 2.0
Bug Fixes
- Fixed color's hex value rounding error.
Yusuke Onishi
#19 - Improved format string regex to handle escaped "%"s that precede a variable.
Tamas Lustyik
#29
Breaking Changes
- Removed deprecated variables. See SwiftGenKit#5 for more information.
David Jennes
#35
#42
New Features
- Throw an error if a format string has mismatching types for the same placeholder position.
David Jennes
#44 - Added support for multiple string tables.
David Jennes
#41 - Storyboards now provide a
platform
identifier (iOS, macOS, tvOS, watchOS).
David Jennes
#45 - Added support for multiple color palettes.
David Jennes
#40
Internal Changes
- Fix swiftlint errors on enum names not conforming to the Swift 3 syntax.
Liquidsoul
#31 - Switch to a DOM-based XML parser.
David Jennes
#18
#38 - Images: switch back from
actool
to an internal parser to fix numerous issues with the former.
David Jennes
#43 - Refactor the colors parser into a generic parser that will invoke the correct type-specific parser based on the file extension. This allows us to support multiple input files.
David Jennes
#40 - Refactor all parsers to conform to a
Parser
protocol to unify the interfaces.
David Jennes
#46
1.1.0
Bug Fixes
- Don't convert colors to the calibrated RGB color space if it isn't needed.
David Jennes
#23
New Features
- More variables have been deprecated, while new variables have been added.
David Jennes
#5
#13
#27
#33- The
strings
,structuredStrings
andtableName
have been replaced bytables
, which is an array of string tables, each with aname
and astrings
property. - For each string, the
params
variable and it's subvariables (such asnames
,count
, ...) have been replaced bytypes
, which is an array of types. enumName
,sceneEnumName
andsegueEnumName
have been replaced byparam.enumName
,param.sceneEnumName
andparam.segueEnumName
respectively. Templates should provide a default value for these in case the variables are empty.
- The
- Added the
path
variable to the fonts context (so that we can use it to genrateInfo.plist
entries and such).
Olivier Halligon
#25
Internal Changes
- Switch from Travis CI to Circle CI, clean up the Rakefile in the process.
David Jennes
#10
#28 - We can now re-generate the contexts used for testing by using the "Generate Contexts" Xcode scheme.
David Jennes
#14 - Documented the input & output of each parser.
David Jennes
#24
1.0.1
Internal Changes
- Update
PathKit
dependency to 0.8.0
1.0.0
Bug Fixes
- Asset catalog parser: ignore unsupported types (such as appiconset).
David Jennes
#7