Releases: krzysztofzablocki/Sourcery
Releases · krzysztofzablocki/Sourcery
2.1.4
Note
What's Changed
- Added generic requirements and generic parameters to Subscript by @leonspok in #1242
- Added isAsync and throws to Subscript by @leonspok in #1249
- Initialise Subscript's returnTypeName with TypeSyntax, not String by @leonspok in #1250
- [#1251] Swifty generated variable names + fixed generated mocks compi… by @rokridi in #1252
- Update AutoMockable.expected by @art-divin in #1253
- Release Automation by @art-divin in #1254
Full Changelog: 2.1.3...2.1.4
2.1.3
What's Changed
- EJSTemplates: make
typealias
es accessible from templates by @djbe in #1208 - Use sortedKeys option for JSON encoder by @plu in #1219
- [Bugfix] - Automockable Protocol with a property of type AnyPublisher by @paul1893 in #1220
- [#1223] throw throwable error after updating calls count and received… by @rokridi in #1224
- Fix linux tests by @art-divin in #1225
- Added release automation for brew by @art-divin in #1227
- Updated XcodeProj to 8.16.0 by @art-divin in #1228
- Reduced counts of collisions for cache srf filenames by @pavel-trafimuk in #1231
- Fixed missing attributes in optional closure type name by @leonspok in #1237
- Fixed incorrect parsing of consequently declared "@" symbols by @art-divin in #1239
- Support for variadic types as method arguments by @art-divin in #1241
- Support method overriding in AutoMockable by @art-divin in #1240
- Add dynamic method modifier support by @art-divin in #1244
- Introduce package access level by @art-divin in #1245
- Update SwiftStencilKit & Stencil by @art-divin in #1246
New Contributors
- @djbe made their first contribution in #1208
- @rokridi made their first contribution in #1224
- @leonspok made their first contribution in #1237
Full Changelog: 2.1.2...2.1.3
2.1.2
Now Sourcery supports Docker on Linux! More info: https://github.com/krzysztofzablocki/Sourcery/blob/master/LINUX.md#using-sourcery-with-docker. Thanks @jpsim for your contribution 🤝
What's Changed
- Update xcodeproj dependency by @art-divin in #1209
- Set fixed version for StencilSwiftKit by @art-divin in #1210
- Add Dockerfile by @jpsim in #1211 ❤️
- Update docker.yml by @art-divin in #1212
- Bump SPM version to support Swift 5.9 by @jimmya in #1213
Full Changelog: 2.1.1...2.1.2
2.1.1
What's Changed
- Separate EJSTemplate.swift for swift test and for swift build -c release by @art-divin in #1203
- Added CHANGELOG entry for #1203 by @art-divin in #1204
Full Changelog: 2.1.0...2.1.1
2.1.0
What's Changed
- Made protocol compositions available for EJS templates. by @fabianmuecke in #1192
- Linux Support by @art-divin in #1188
- Add support for opaque type (some keyword) to function parameter type in AutoMockable.stencil by @paul1893 in #1197
- Revert logic in
cacheKey
calculation introduced in #1163 by @art-divin in #1200 - chore(deps): bump activesupport from 5.2.7 to 6.1.7.6 by @dependabot in #1193
- chore(deps): bump nokogiri from 1.13.3 to 1.15.4 by @dependabot in #1199
New Contributors
- @fabianmuecke made their first contribution in #1192
Full Changelog: 2.0.3...2.1.0
2.0.3
What's Changed
- Update
SwiftTemplate
's cacheKey to use hash instead of modification date for included files by @liamnichols in #1161 - Update SwiftTemplate to make possible to edit Package.swift by @k-o-d-e-n in #1163
- Artifact bundle by @InkyTsar in #1155
- Added "SourceryLib" product to Package.swift by @art-divin in #1170
- [CI] fix failing doc generation by @art-divin in #1173
- [CI] fix failing CI integrations by @art-divin in #1175
- Replaced CharacterSet with String for finding new lines in StringView.swift by @art-divin in #1171
- Property wrapper and macros annotations support by @art-divin in #1172
- Fix enum case with rawValue includes trailing comment by @art-divin in #1176
- Fixed parsing of multibyte enum case' identifier with associated value by @art-divin in #1178
- Fix relative path of artifactbundle by @erichoracek in #1182
- Support contained types as variable type name by @art-divin in #1179
- Add support for existential type (any) to AutoMockable.stencil by @paul1893 in #1169
- Add SPM config support by @jimmya in #1184
- [Tests] fixed failing TemplatesTests after #1169 by @art-divin in #1187
- Add support to any keyword for function return type to AutoMockable.stencil by @paul1893 in #1186
- Create swift.yml by @art-divin in #1189
New Contributors
- @k-o-d-e-n made their first contribution in #1163
- @InkyTsar made their first contribution in #1155
- @art-divin made their first contribution in #1170
- @paul1893 made their first contribution in #1169
Full Changelog: 2.0.2...2.0.3
2.0.2
2.0.1
What's Changed
- Support for type method mocking by @otusweb in #1124
- Don't generate invocations vars for methods with non-escaping closures in AutoMockable template by @voidless in #1126
- Handle UTF-8 offsets as such by @vincentisambart in #1130
- Bump Yams to 5.0.3 by @pchmelar in #1133
- Fixed non-ASCII characters handling in source code parsing #1130
- Improved performance by about 20%
- sourcery:auto inline fragments will appear on the body definition level
- added baseIndentation/base-indentation option that will be taken into as default adjustment when using those fragments
- add support for type methods to AutoMockable
New Contributors
- @otusweb made their first contribution in #1124
- @voidless made their first contribution in #1126
- @vincentisambart made their first contribution in #1130
- @pchmelar made their first contribution in #1133
Full Changelog: 1.9.2...2.0.1
1.9.2
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