Releases: krzysztofzablocki/Sourcery
Releases · krzysztofzablocki/Sourcery
1.9.1
What's Changed
- Add support for public protocols in AutoMockable template by @gspiers in #1100
- Add support for async and throwing properties to AutoMockable template by @gspiers in #1101
- Added support for actors by @bscothern-Cricut in #1112
- Fixed a typo from my last PR by @bscothern-Cricut in #1114
- Add .pre-commit-hooks.yaml by @Cyberbeni in #1115
- Fixed parsing of extensions and nested types in swiftinterface files by @till0xff in #1113
- Improves performance
New Contributors
- @gspiers made their first contribution in #1100
- @bscothern-Cricut made their first contribution in #1112
Full Changelog: 1.9.0...1.9.1
1.9.0
- Update StencilSwiftKit to fix SPM resolving issue when building as a Command Plugin #1023
- Adds new
--cacheBasePath
option toSourceryExecutable
to allow for plugins setting a default cache #1093 - Adds new
--dry
option toSourceryExecutable
to check output without file system modifications #1097 - Changes parser to new SwiftSyntax Parser
- Drops dylib dependency
1.8.2
What's Changed
- Add a flag to parse serially by @erichoracek in #1063
- Update .swift-version to 5.5 by @liamnichols in #1070
- Build .swifttemplate in release mode by @jimmya in #1075
- Added
deletingLastComponent
to string filter by @markst in #1076
1.8.1
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
New Features
- Adds
xcframework
key totarget
object in configuration file to enable processing ofswiftinterface
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
1.6.1
1.6.0
- 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
Features
- Adds support for variadic parameters in functions
- Adds support for parsing property wrappers
- Added
titleCase
filter that turnssomethingNamedLikeThis
intoSomething Named Like This
Fixes
- correct passing
force-parse
argument to specific file parsers and renames it toforceParse
to align with other naming - corrects
isMutable
regression on protocol variables #964 - Added multiple targets to link
- Fix groups creation
1.4.2
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