leancode_contracts_generator 0.16.1
leancode_contracts_generator: ^0.16.1 copied to clipboard
Dart contracts client generator for a CQRS API.
0.16.1 #
- Include fully qualified names in DTO classes
0.16.0 #
- Support
LeanCode.ContractsGeneratorv4.0.0-alpha.1 - Allow arbitrary flags to be passed to .NET generator
- Restore support for
KnownType::DateTime
0.15.0 #
- Remove support for
override_generator_version - Invoke .NET generator as a
dotnet tool - Move .NET generator version configuration to .NET tool manifest
0.14.0 #
- Upgrade dependencies, support analyzer 7.3
0.13.0 #
- Support
LeanCode.ContractsGeneratorv3.0.0- Support
leancode_pipe
- Support
0.12.0 #
- BREAKING: Bump
package:protobufto 3.0.0 - BREAKING: Bump Dart SDK to 3.0.0
0.11.0 #
- BREAKING: Bump Dart SDK to 2.19
- Generate type name for
EquatableMixin'sprops
0.10.0 #
- Support
LeanCode.ContractsGeneratorv2.0.0-alpha.4- BREAKING: Remove support for
KnownType::Date,KnownType::Time, andKnownType::DateTime - Support attributes on enum variants
- Support .NET7
- BREAKING: Remove support for
0.9.0 #
- Fix double trailing commas. More trailing commas will appear with statements.
- BREAKING: Bump Dart SDK to 2.17
0.8.1 #
- Fix missing type cast in result factories
0.8.0 #
- Annotate statements with
ContractsSerializableinstead of plainJsonSerializable - BREAKING: Generated
Commands,Querys, andOperations now require all constructor parameters to be provided
0.7.0 #
- Add verbose CLI logging under the
--verbose/-vflag - Sort generated statements according to namespace
- Add support for
KnownType::Binary - Add support for
KnownType::Operation - BREAKING: Bump
LeanCode.ContractsGeneratortov2.0.0-alpha.1
0.6.1 #
- Add missing result factory mapping for
DateTimeOffset
0.6.0 #
- Support
LeanCode.ContractsGeneratorv1.0.0 - BREAKING:
KnownType::DateTimeOffsetis now correctly (de)serialized to a dedicatedDateTimeOffsettype frompackage:leancode_contracts. See the type's definition for more info about conversions betweenDateTime,DateOnly,TimeOnly, andDateTimeOffset.
0.5.0 #
- BREAKING: generates contracts now depend on
package:leancode_contracts - BREAKING:
package:contracts_generatorhas been discontinued and replaced withpackage:leancode_contracts_generator - BREAKING: generated contracts use
QueryandCommandfrompackage:cqrsinstead ofIRemoteQueryandIRemoteCommand - BREAKING: Generate
DateOnlyinstead ofDateTimewhere appropriate
Migration from v0.4.x to v0.5.0:
- Remove
contracts_generatorand installleancode_contracts_generator:dart pub remove contracts_generator && dart pub add leancode_contracts_generator --dev - Add
leancode_contractspackage:dart pub add leancode_contracts - If you ever imported generated contracts for a contract type (such as
TimeOnly) you will now have to importpackage:leancode_contracts/leancode_contracts.dart - Optional: if you are not using them directly, you can remove dependency on
package:equatable,package:cqrs, andpackage:json_annotation
0.4.3 #
- Remove dependency on
package:build_test
0.4.2 #
- Require
cqrs: ^6.2.0and remove unused generated import
0.4.1 #
- Generated contracts now ignore the linter
0.4.0 #
- Breaking: Drop support for
json_serializable: ^4.0.0 - Allow overriding generator version with
input.override_generator_version - Support
LeanCode.ContractsGeneratorv0.1.0-alpha10- Drop support for
System.decimal
- Drop support for
- Breaking: Remove
toJsonmethod on generic DTOs
0.3.0 #
- Breaking: require .NET 6
- Add support for
CommandResult - Add support for
TimeOnlyandDateOnly - Correctly deserialize
TimeSpan
0.2.4 #
- Relax
json_serializableversion requirement (now4.x.x,5.x.x, and6.x.xare accepted)
0.2.3 #
- Relax
json_serializableversion requirement (now both4.x.xand5.x.xis accepted)
0.2.2 #
- Attributes are now generated as dartdoc unless there exists a known mapping to an existing dart annotation. For now
@[Dd]eprecatedis the only known mapping
0.2.1 #
- Rename identifiers that would cause syntax errors
- Improve error reporting
0.2.0+2 #
- Bump
LeanCode.ContractsGeneratortov0.1.0-alpha3
0.2.0+1 #
- Republish missing commits
0.2.0 #
- BREAKING: Add support for
projectandpathinput methods in config file - Add directives config option
- Fix incorrect field renaming
- Stopped generating redundant dart doc from constructor parameters
- Annotate generic classes with
genericArgumentFactories: true
0.1.0 #
- Initial release
0.0.1 #
- Big Bang