Skip to content

Releases: felangel/equatable

v2.0.7

21 Nov 18:13
834d167
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.6...v2.0.7

v2.0.6

21 Nov 04:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.5...v2.0.6

v3.0.0-dev.1

16 Oct 02:49
Compare
Choose a tag to compare
v3.0.0-dev.1 Pre-release
Pre-release
  • feat: use covariant in operator== override for improved type safety
  • chore: add macros to topics in pubspec.yaml

v3.0.0-dev.0

16 Oct 02:08
Compare
Choose a tag to compare
v3.0.0-dev.0 Pre-release
Pre-release
  • BREAKING feat!: rewrite using macros

    Before

    class Person extends Equatable {
      const Person({required this.name});
      final String name;
    
      @override
      List<Object> get props => [name];
    }

    After

    @Equatable()
    class Person {
      const Person({required this.name});
      final String name;
    }

v2.0.5

19 Aug 13:56
2117551
Compare
Choose a tag to compare
  • fix: resolves T not a subtype of type 'Comparable<dynamic>' when computing hashCode

v2.0.4

19 Aug 02:48
cf498ac
Compare
Choose a tag to compare
  • fix: use SplayTreeSet to resolve inconsistent hashCode for properties of type Set (#142)

v2.0.3

14 Jun 21:48
a9ef485
Compare
Choose a tag to compare
  • fix: revert EquatableMixin == to use Object (#122)

v2.0.2

20 May 04:13
Compare
Choose a tag to compare
  • fix: Map prop with non-comparable key

v2.0.1

20 May 04:13
Compare
Choose a tag to compare
  • fix: hashCode should be the same for equal objects (Map fix)

v2.0.0

02 Mar 05:38
d7f5053
Compare
Choose a tag to compare
  • BREAKING: opt into null safety
    • feat!: upgrade Dart SDK constraints to >=2.12.0-0 <3.0.0
  • BREAKING: stringify prints "null" for null properties instead of ""
  • feat: EquatableConfig.stringify defaults to true in debug mode.
  • fix: support legacy equality overrides with EquatableMixin
  • fix: iterable equality comparisons (#101)
  • fix: stringify instance with long properties (#94)
  • chore: update dependencies
    • collection: ^1.15.0
    • meta: ^1.3.0
  • docs: minor updates to README and example