All Versions
64
Latest Version
Avg Release Cycle
69 days
Latest Release
-

Changelog History
Page 4

  • v0.10.1 Changes

    • When installing Sourcery via CocoaPods, the unneeded file.zip is not kept in Pods/Sourcery/ anymore (freeing ~12MB on each install of Sourcery made via CocoaPods!).
  • v0.10.0 Changes

    ๐Ÿ†• New Features

    • โž• Added test for count Stencil filter
    • โž• Added new reversed Stencil filter
    • โž• Added new isEmpty Stencil filter
    • โž• Added new sorted and sortedDescending Stencil filters. This can sort arrays by calling e.g. protocol.allVariables|sorted:"name"
    • โž• Added new toArray Stencil filter
    • โž• Added a console warning when a yaml is available but any parameter between 'sources', templates', 'forceParse', 'output' are provided

    Internal changes

    • โž• Add release to Homebrew rake task
    • ๐Ÿ›  Fixed Swiftlint warnings
    • ๐Ÿ›  Fixed per file generation if there is long (approx. 150KB) output inside sourcery:file annotation
    • 0๏ธโƒฃ Do not generate default.profraw
    • โœ‚ Remove filters in favor of same filters from StencilSwiftKit
  • v0.9.0 Changes

    ๐Ÿ†• New Features

    • โž• Added support for file paths in config parameter
    • โž• Added isDeinitializer property for methods
    • ๐Ÿ‘Œ Improved config file validation and error reporting
    • Various improvements for AutoMockable template:
      • support methods with reserved keywords name
      • support methods that throws
      • improved generated declarations names

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed single file generation not skipping writing the file when there is no generated content

    Internal changes

    • โšก๏ธ Updated dependencies for Swift 4
    • โšก๏ธ Update internal ruby dependencies
  • v0.8.0 Changes

    ๐Ÿ†• New Features

    • โž• Added support in AutoHashable for static variables, [Hashable] array and [Hashable: Hashable] dictionary
    • โž• Added definedInType property for Method and Variable
    • โž• Added extensions filter for stencil template
    • โž• Added include support in Swift templates
    • Swift templates now can throw errors. You can also throw just string literals.
    • โž• Added support for TypeName in string filters (except filters from StencilSwiftKit).

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed linker issue when using Swift templates
    • โšก๏ธ Updated AutoMockable to exclude generated code collisions
    • ๐Ÿ›  Fixed parsing of default values for variables that also have a body (e.g. for didSet)
    • ๐Ÿ›  Fixed line number display when an error occur while parsing a Swift template
    • ๐Ÿ›  Fixed rsync issue on SourceryRuntime.framework when using Swift templates
    • ๐Ÿ›  Fixed auto:inline for nested types (this concerns the first time the code is inserted)

    Internal changes

    • ๐Ÿ›  Fix link for template in docs
    • ๐Ÿ›  Fix running Sourcery in the example app
    • โž• Add step to update internal boilerplate code during the release
  • v0.7.2 Changes

    Internal changes

    • โž• Add Version.swift to represent CLI tool version
  • v0.7.1 Changes

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed regression in parsing templates from config file
    • โœ‚ Removed meaningless isMutating property for Variable

    Internal changes

    • ๐Ÿ‘Œ Improvements in release script
    • โšก๏ธ Updated boilerplate code to reflect latest changes
  • v0.7.0 Changes

    ๐Ÿ†• New Features

    • โž• Added inout flag for MethodParameter
    • โž• Added parsing mutating and final attributes with convenience isMutating and isFinal properties
    • โž• Added support for include Stencil tag
    • โž• Added support for excluded paths

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed inserting generated code inline automatically at wrong position
    • ๐Ÿ›  Fixed regression in AutoEquatable & AutoHashable template with private computed variables

    Internal changes

    • ๐Ÿš€ Internal release procedure improvements
    • ๐Ÿ‘Œ Improved TemplatesTests scheme running
    • ๐Ÿ›  Fixed swiftlint warnings (version 0.19.0)
  • v0.6.1 Changes

    ๐Ÿ†• New Features

    • 0๏ธโƒฃ Paths in config file are now relative to config file path by default, absolute paths should start with /
    • ๐Ÿ‘Œ Improved logging and error reporting, added --quiet CLI option, added runtime errors for using invalid types in implementing and inheriting
    • โž• Added support for includes in EJS templates (for example: <%- include('myTemplate.js') %>)
    • โž• Add the lowerFirst filter for Stencil templates.
    • โž• Added isRequired property for Method
    • ๐Ÿ‘Œ Improved parsing of closure types
    • ๐Ÿš€ Check if Current Project Version match version in podspec in release task
    • ๐Ÿ‘Œ Improved swift templates performance
    • โž• Added // sourcery:file annotation for source code

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed detecting computed properties
    • ๐Ÿ›  Fixed typo in isConvenienceInitialiser property
    • ๐Ÿ›  Fixed creating cache folder when cache is disabled
    • ๐Ÿ›  Fixed parsing multiple enum cases annotations
    • ๐Ÿ›  Fixed parsing inline annotations when there is an access level or attribute
    • ๐Ÿ›  Fixed parsing required attribute
    • ๐Ÿ›  Fixed typo in guides/Writing templates.md

    Internal changes

    • ๐Ÿ‘Œ Improved AutoMockable.stencil to support protocols with init methods
    • ๐Ÿ‘Œ Improved AutoCases.stencil to use let instead of computed var
    • โšก๏ธ Updated StencilSwiftKit to 1.0.2 which includes Stencil 0.9.0
    • โž• Adding docset to release archive
    • โž• Add tests for bundled stencil templates
    • ๐Ÿšš Moved to CocoaPods 1.2.1
    • Made Array.parallelMap's block non-escaping
  • v0.6.0 Changes

    ๐Ÿ†• New Features

    • โž• Added some convenience accessors for classic, static and instance methods, and types and contained types grouped by names
  • v0.5.9 Changes

    ๐Ÿ†• New Features

    • โž• Added flag to check if TypeName is dictionary
    • โž• Added support for multiple sources and templates paths, sources, templates and output paths now should be provided with --sources, --templates and --output options
    • โž• Added support for YAML file configuration
    • โž• Added generation of non-swift files using sourcery:file annotation

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed observing swift and js templates
    • ๐Ÿ›  Fixed parsing generic array types
    • ๐Ÿ›  Fixed using dictionary in annotations