leancode_contracts_generator 0.6.0 leancode_contracts_generator: ^0.6.0 copied to clipboard
Dart contracts client generator for a CQRS API.
0.6.0 #
- Support
LeanCode.ContractsGenerator
v1.0.0
- BREAKING:
KnownType::DateTimeOffset
is now correctly (de)serialized to a dedicatedDateTimeOffset
type 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_generator
has been discontinued and replaced withpackage:leancode_contracts_generator
- BREAKING: generated contracts use
Query
andCommand
frompackage:cqrs
instead ofIRemoteQuery
andIRemoteCommand
- BREAKING: Generate
DateOnly
instead ofDateTime
where appropriate
Migration from v0.4.x
to v0.5.0
:
- Remove
contracts_generator
and installleancode_contracts_generator
:dart pub remove contracts_generator && dart pub add leancode_contracts_generator --dev
- Add
leancode_contracts
package: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.0
and 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.ContractsGenerator
v0.1.0-alpha10
- Drop support for
System.decimal
- Drop support for
- Breaking: Remove
toJson
method on generic DTOs
0.3.0 #
- Breaking: require .NET 6
- Add support for
CommandResult
- Add support for
TimeOnly
andDateOnly
- Correctly deserialize
TimeSpan
0.2.4 #
- Relax
json_serializable
version requirement (now4.x.x
,5.x.x
, and6.x.x
are accepted)
0.2.3 #
- Relax
json_serializable
version requirement (now both4.x.x
and5.x.x
is accepted)
0.2.2 #
- Attributes are now generated as dartdoc unless there exists a known mapping to an existing dart annotation. For now
@[Dd]eprecated
is the only known mapping
0.2.1 #
- Rename identifiers that would cause syntax errors
- Improve error reporting
0.2.0+2 #
- Bump
LeanCode.ContractsGenerator
tov0.1.0-alpha3
0.2.0+1 #
- Republish missing commits
0.2.0 #
- BREAKING: Add support for
project
andpath
input 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