Skip to content

Releases: callius/target-dart

0.8.1

12 Oct 21:09
6a98b04
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

Fix:

  • Nested model typing.

0.8.0

12 Oct 19:36
9706dd6
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

Breaking Changes:

  • New target_annotation_processor paradigm centered around the Validatable annotation.
    • Removed dependency on freezed.
    • Validation function, named _$of, is generated based on unnamed constructor arguments.

Before:

@ModelTemplate("Some")
abstract class SomeModel {
  // ...fields...
}

After:

@validatable
class Some {
  const Some(/* fields */);
  
  static const of = _$of;
}

Freezed data classes still work:

@freezed
@validatable
class Some with _$Some {
  const factory Some(/* fields */) = _Some;
  
  static const of = _$of;
}

0.7.1

06 Dec 01:21
d6d7ba0
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

Fix:

  • Downgrade analyzer dependency to 6.2.0.

0.7.0

06 Dec 01:09
639c9f1
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

Features:

  • Upgrade analyzer dependency to 6.3.0.

0.6.1

05 Dec 20:08
a30325e
Compare
Choose a tag to compare
0.6.1 Pre-release
Pre-release

Fix:

  • Typing for Either.bindTo.
  • Typing for Future<Either>.thenBind.

0.6.0

05 Dec 19:43
e3caaaa
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release

Features:

  • Upgrade to Dart 3.2.
  • Add Either.bindTo.
  • Add Future<Either>.thenBind.

0.5.0

18 Nov 22:57
2c7e8c2
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Features:

  • Add Either.mapAsync.
  • Add NonEmptyList.foldWithHead.
  • Rename Either.orNull to Either.getOrNull.
  • Rename Either.tap to Either.onRight.
  • Rename Either.tapLeft to Either.onLeft.
  • Remove NonEmptyList.fromList.

0.4.4

13 Nov 19:20
be740cb
Compare
Choose a tag to compare
0.4.4 Pre-release
Pre-release

Fix:

  • Implement GenericValueFailure equality.

0.4.3

12 Sep 05:59
2d35d90
Compare
Choose a tag to compare
0.4.3 Pre-release
Pre-release

Fix:

  • Downgrade analyzer dependency to 5.13.0.

0.4.2

12 Sep 04:57
Compare
Choose a tag to compare
0.4.2 Pre-release
Pre-release

Fix:

  • Remove unnecessary parentheses.
  • Add const where applicable.