Skip to content

2.0.0

Compare
Choose a tag to compare
@AliSoftware AliSoftware released this 21 Jul 17:11
· 439 commits to stable since this release

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

  • Fix snakeToCamelCase parameters information in README.
    Liquidsoul
    #45

Breaking Changes

  • The ParametersError enum has been replaced by the Parameters.Error nested type.
    Olivier Halligon
    #37
  • The FilterError enum has been replaced by the Filters.Error nested type.
    Olivier Halligon
    #37
  • The filters in StringFilters and NumFilters are now located under Filters.Strings and Filters.Numbers.
    Olivier Halligon
    #40
  • Removed the join filter, as it's now integrated in Stencil proper.
    David Jennes
    #10
  • Refactored the snakeToCamelCase filter to now accept an (optional) boolean parameter to control the noPrefix behaviour.
    David Jennes
    #41
  • Rename the stringToSwiftIdentifier function to swiftIdentifier to better match the other method names.
    David Jennes
    #46

New Features

  • Added the removeNewlines filter to remove newlines (and spaces) from a string.
    David Jennes
    #47
    #48