cqrs 6.0.0 cqrs: ^6.0.0 copied to clipboard
A library for convenient communication with CQRS-compatible backends, using queries and commands.
6.0.0 #
- Stable null-safe release.
- Breaking: Bump minimum Dart version to 2.12.
5.0.0 #
- Revert to 4.1.1
- Breaking: Add
propertyName
field inValidationError
. - Breaking: Remove deprecated
success
parameter fromCommandResult
constructor.
5.0.0-nullsafety.1 #
- Add
propertyName
field inValidationError
.
5.0.0-nullsafety.0 #
- Breaking: Migrate to null-safety.
- Breaking: Bump minimum Dart version to 2.12 prerelease.
- Breaking: Remove deprecated
success
parameter fromCommandResult
constructor.
4.1.1 #
- Fix exception thrown when the query result is
null
.
4.1.0 #
- Add
success
andfailed
constructors inCommandResult
. - Add
failed
getter inCommandResult
. - Make
success
field inCommandResult
a getter. This is compatible with how the backend works. - Deprecate
success
param inCommandResult
constructor.
4.0.0+2 #
- Refresh pub listing.
4.0.0 #
- Complete rewrite of a library with breaking changes.
- Add
headers
parameter inrun
andget
methods. - Add
hasError
method inCommandResult
. - Pass HTTP client directly to
CQRS
constructor instead as a factory method. package:cqrs/contracts.dart
utility library to use in contracts.
3.0.2 #
- Add possibility to add custom headers
3.0.1 #
- Fix the returned null value directly from query
3.0.0 #
- Remove deprecated @virtual annotations
- Rename
toJsonMap
totoJson
- Fix readme
2.0.1+1 #
- Update readme
2.0.1 #
- Fix validation errors
2.0.0 #
- Remove normalizeDate function
- Add @virtual annotations
1.0.6 #
- From now
CQRSException
implementsException
1.0.5 #
- Overload
toString()
onCQRSException
in case of treating it likedynamic
1.0.4 #
- Fix command result JSON validation.
1.0.3 #
- Query
resultFactory
only argumentdecodedJson
is now ofdynamic
type. It's due to a fact, that it can be more than a map, i.e. an array of maps.
1.0.2 #
- Removed useless oauth dependency. Now this package depends only on http.