Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

Latest commit

 

History

History
130 lines (97 loc) · 5.57 KB

CHANGELOG.md

File metadata and controls

130 lines (97 loc) · 5.57 KB

SwiftGenKit CHANGELOG


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

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

Breaking Changes

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 and tableName have been replaced by tables, which is an array of string tables, each with a name and a strings property.
    • For each string, the params variable and it's subvariables (such as names, count, ...) have been replaced by types, which is an array of types.
    • enumName, sceneEnumName and segueEnumName have been replaced by param.enumName, param.sceneEnumName and param.segueEnumName respectively. Templates should provide a default value for these in case the variables are empty.
  • Added the path variable to the fonts context (so that we can use it to genrate Info.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

New Features

Internal Changes

Pre-1.0.0

See SwitftGen's own CHANGELOG pre SwiftGen 4.2 version, before the refactoring that led us to split the code in frameworks