Skip to content

Releases: krzysztofzablocki/Sourcery

1.9.0

06 Oct 11:47
Compare
Choose a tag to compare
  • Update StencilSwiftKit to fix SPM resolving issue when building as a Command Plugin #1023
  • Adds new --cacheBasePath option to SourceryExecutable to allow for plugins setting a default cache #1093
  • Adds new --dry option to SourceryExecutable to check output without file system modifications #1097
  • Changes parser to new SwiftSyntax Parser
  • Drops dylib dependency

1.8.2

28 Jul 10:25
Compare
Choose a tag to compare

What's Changed

1.8.1

24 Apr 06:19
9616fad
Compare
Choose a tag to compare

What's Changed

  • Support compiling project with Swift 5.5 by @liamnichols in #1049
  • Revert to using 'swift build' with sandbox disabled for 'rake build' by @liamnichols in #1057
  • Updated Stencil to 0.14.2

Full Changelog: 1.8.0...1.8.1

1.8.0

28 Mar 15:27
Compare
Choose a tag to compare

New Features

  • Adds xcframework key to target object in configuration file to enable processing of swiftinterface

Fixes

  • Fixed issues generating Swift Templates when using Xcode 13.3 #1040
  • Modifications to included files of Swift Templates now correctly invalidate the cache - #889

Internal Changes

  • Swift 5.6 and Xcode 13.3 is now required to build the project
  • lib_internalSwiftSyntaxParser is now statically linked enabling better support when installing through SPM and Mint #1037

1.7.0

26 Feb 12:13
Compare
Choose a tag to compare

New Features

  • Adds fileName to Type and exposes path as well
  • Adds support for parsing async methods, closures and variables

Fixes

  • correct parsing of rawValue initializer in enum cases, fixes #1010
  • Use name or path parameter to parse groups to avoid duplicated group creation, fixes #904, #906

1.6.1

09 Dec 15:21
Compare
Choose a tag to compare

Fixes

  • correct parsing of rawValue initializer in enum cases, fixes #1010

New Features

  • Added CLI-Only subspec to Sourcery.podspec #997
  • Added documentation comment parsing for all declarations #1002
  • Updates Yams to 4.0.6
  • Enables universal binary

1.6.0

26 Sep 15:20
Compare
Choose a tag to compare
  • Update dependencies to fix build on Xcode 13 and support Swift 5.5 #989
  • Improves performance in large codebases (it's more than 50% faster than 1.5.0)
  • Skips hidden files / directories and doesn't step into packages
  • added after-auto: generation mode to inline codegen
  • Fixes unstable ordering of TypeName.attributes
  • Fixing Type.uniqueMethodFilter(_:_:) so it compares return types of methods as well.

1.5.0

21 Jul 07:50
Compare
Choose a tag to compare

Features

  • Adds support for variadic parameters in functions
  • Adds support for parsing property wrappers
  • Added titleCase filter that turns somethingNamedLikeThis into Something Named Like This

Fixes

  • correct passing force-parse argument to specific file parsers and renames it to forceParse to align with other naming
  • corrects isMutable regression on protocol variables #964
  • Added multiple targets to link
  • Fix groups creation

1.4.2

12 May 12:13
Compare
Choose a tag to compare

Fixes

  • Fix a test failing on macOS 11.3
  • Fix generation of inline:auto annotations in files with other inline annotations.
  • Fixes modifier access for things like isLazy, isOptional, isConvienceInitializer, isFinal
  • Fixes isMutable on subscripts
  • Fixes open access parsing
  • Removes symlinks in project, since these can confuse Xcode
  • Fixes inout being incorrectly parsed for closures

New Feature

  • Updated to Swift / SwiftSyntax 5.4
  • Added ability to parse inline code generated by sourcery if annotation ends with argument provided in --force-parse option

1.4.1

20 Apr 14:06
Compare
Choose a tag to compare

New Feature

Fixes

  • Adds trim option for Stencil template leading / trailing whitespace and replaces newline tag markers with normal newline after that
  • Fixes broken output for files with inline annotations from multiple templates