Skip to content

Releases: krzysztofzablocki/Sourcery

0.4.4

20 Dec 19:05
Compare
Choose a tag to compare

New Features

  • Enum cases also have annotation support

Internal changes

  • Improved handling of global and local typealiases.

0.4.3

19 Dec 16:33
Compare
Choose a tag to compare

New Features

  • Add upperFirst stencil filter

0.4.2

19 Dec 15:25
Compare
Choose a tag to compare

Bug Fixes

  • Fixes a bug with flattening inherits, implements for protocols implementing other protocols
  • Improve rawType logic for Enums

New Features

  • Annotations can now be declared also with sections e.g. sourcery:begin: attribute1, attribute2 = 234
  • Adds scanning class variables as static

Internal changes

  • Refactored models
  • Improved performance of annotation scanning

0.4.1

18 Dec 07:25
Compare
Choose a tag to compare
  • Implements inherits, implements, based reflection on each Type
  • Flattens inheritance, e.g. Foo implements Decodable, then FooSubclass also implements it
  • Stop parsing private variables as they wouldn't be accessible to code-generated code

0.4.0

17 Dec 14:16
Compare
Choose a tag to compare
  • improve detecting raw type
  • add isGeneric

0.3.9

16 Dec 22:50
Compare
Choose a tag to compare
  • Enables support for scanning extensions of unknown type, providing partial metadata via types.based or types.all reflection

0.3.8

16 Dec 21:45
Compare
Choose a tag to compare
  • Adds real type reflection into Variable, not only it's name
  • Resolves known typealiases

0.3.7

16 Dec 18:01
Compare
Choose a tag to compare
  • Fixes a bug that caused Sourcery to drop previous type information when encountering generated code, closes #33

0.3.6

15 Dec 21:29
Compare
Choose a tag to compare
  • Fixes bug in escaping path
  • Fixes missing protocol variant in kind

0.3.5

15 Dec 20:50
Compare
Choose a tag to compare
  • added support for type/variable source annotations
  • added property kind to Type, it contains info whether this is struct, class or enum entry
  • improved detecting enums with rawType
  • Automatically skips .swift files that were generated with Sourcery