source_gen 0.4.8-dev source_gen: ^0.4.8-dev copied to clipboard
Automatic sourcecode generation for Dart
0.4.8 #
-
Added support for
Symbol
andType
in annotations. -
Improved error output when unable to create an instance from an annotation.
0.4.7+2 #
- Upgrade to
analyzer '^0.27.1'
and removed a work-around for a fixedanalyzer
issue.
0.4.7+1 #
- Upgrade to
analyzer '^0.27.0'
.
0.4.7 #
JsonSerializableGenerator
now supports classes with read-only properties.
0.4.6 #
-
JsonSerializable
: AddedJsonKey
annotation. -
Improved output of generation errors and stack traces.
-
Require
analyzer '^0.26.2'
.
0.4.5+1 #
- Handle
null
values forList
properties.
0.4.5 #
JsonSerializable
: add support forList
values.
0.4.4+1 #
- Updated
README.md
to highlight thebuild_system
package and deemphasize Dart Ediotr.
0.4.4 #
-
Added
omitGenerateTimestamp
andfollowLinks
named args tobuild
. -
Added
followLinks
togenerate
.
0.4.3+1 #
- Update tests to use a more reliable method to find the current package root.
0.4.3 #
-
Require Dart
1.12
. -
Add implicit support for
.packages
. If the file exists, it is used. If not, we fall back to using thepackages
directory. -
Support the latest releases of
analyzer
anddart_style
packages.
0.4.2 #
- Use
fromJson
if it's defined in a child field.
0.4.0+1 #
- Support the latest release of
analyzer
andargs
.
0.4.0 #
- Analysis no longer parses function bodies. This greatly speeds up generation, but it could break any usage that needs function bodies.
0.3.0+2 #
- Fixed
README.md
.
0.3.0+1 #
- Updates for move to
dart-lang
org on GitHub.
0.3.0 #
-
BREAKING Returning a descriptive value from
generate
. -
BREAKING Fixed incorrectly named argument
omitGenerateTimestamp
. -
JsonSerializable
: Handledynamic
andvar
as field types.
0.2.4 #
- Added
associatedFileSet
toGenerator
. Allows a generator to specify that changes to any file in a directory next to a Dart source file can initiate a generation run.
0.2.3 #
-
Use
async *
. Requires SDK >=1.9.0-dev.10
-
Protect against crash during code format.
0.2.2 #
-
Added
omitGenerateTimestamp
(incorrectly spelled) named argument togenerate
method. -
Generator.generate
is now called with theLibraryElement
, too.
0.2.1 #
-
Fixed critical bug affecting annotation matching. #35
-
Started using published
dart_style
package.
0.2.0+1 #
- Updated
README.md
with new examples. - Fixed sub-bullet indenting in
CHANGELOG.md
.
0.2.0 #
- BREAKING Moved and renamed JSON serialization classes.
- Added a
JsonLiteral
generator. - Improved handling and reporting of Generator errors.
JsonGenerator
- Learned how to use constructor arguments.
- Learned how to properly handle
DateTime
.
0.1.1 #
- Support for parametrized annotations.
- Add named arguments to
JsonGenerator
.
0.1.0+1 #
README.md
updates.
0.1.0 #
- BREAKING
Generator.generate
is now async – returnsFuture<String>
- Big update to
README.md
.
0.0.1 #
- Ready for experimentation.
0.0.0+1 #
- First play release.