equatable 2.0.6 equatable: ^2.0.6 copied to clipboard
A Dart package that helps to implement value based equality without needing to explicitly override == and hashCode.
2.0.6 #
- perf: improve equality comparison performance (#173)
- docs: improve snippet in
README
(#184) - chore: upgrade example to Dart >=3.5.0
- chore: add funding and topics to
pubspec.yaml
(#176) - chore: add performance benchmarks
- chore: fix typo in inline API docs (#170)
- refactor: simplify
toString
logic (#140) - docs: add nullable props example to
README
- refactor: update
analysis_options.yaml
(#169) - fix: add
@immutable
toEquatableMixin
(#154)
2.0.5 #
- fix: resolves
T not a subtype of type 'Comparable<dynamic>'
when computinghashCode
2.0.2 #
- fix:
Map
prop with non-comparable key
2.0.1 #
- fix:
hashCode
should be the same for equal objects (Map
fix)
2.0.0 #
- BREAKING: opt into null safety
- feat!: upgrade Dart SDK constraints to
>=2.12.0-0 <3.0.0
- feat!: upgrade Dart SDK constraints to
- BREAKING: stringify prints "null" for null properties instead of ""
- feat:
EquatableConfig.stringify
defaults totrue
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
andexample
2.0.0-nullsafety.4 #
- feat:
EquatableConfig.stringify
defaults totrue
in debug mode. - fix: support legacy equality overrides with
EquatableMixin
2.0.0-nullsafety.3 #
- chore: update dependencies
collection: ^1.15.0
meta: ^1.3.0
2.0.0-nullsafety.2 #
2.0.0-nullsafety.1 #
- BREAKING: stringify prints "null" for null properties instead of ""
2.0.0-nullsafety.0 #
- BREAKING: opt into null safety
- feat!: upgrade Dart SDK constraints to
>=2.12.0-0 <3.0.0
- docs: minor updates to
README
andexample
1.2.6 #
1.2.3 #
- docs: inline, public documentation improvements (#78).
- refactor: stricter analysis/lint rules
1.2.2 #
- Documentation badge fixes and updates
1.1.1 #
- Updates to
EquatableUtils
documentation
1.1.0 #
1.0.2 #
- Fix internal lint warnings
0.6.1 #
- Minor documentation updates
0.6.0 #
- The
props
getter override is required for bothEquatable
andEquatableMixin
- Performance Improvements
0.5.1 #
- Allow const constructors on
Equatable
class
0.5.0 #
- Removed
EquatableMixinBase
(now covered byEquatableMixin
). - Typed
EquatableMixin
fromList<dynamic>
toList<Object>
to fix linter issues withimplicit-dynamic: false
.
0.2.4 #
Additional Minor Documentation Updates
0.2.3 #
Documentation Updates
0.2.1 #
Update Dart support to >=2.0.0 <3.0.0
0.2.0 #
Add EquatableMixin
and EquatableMixinBase
0.1.10 #
Enhancements to toString
override
0.1.9 #
equatable has 0 dependencies
0.1.8 #
Support Iterable
props
0.1.7 #
Added toString
override
0.1.6 #
Documentation Updates
- Performance Tests
0.1.5 #
Additional Performance Optimizations & Documentation Updates
0.1.4 #
Performance Optimizations
0.1.3 #
Bug Fixes
0.1.2 #
Additional Updates to Documentation.
- Logo Added
0.1.1 #
Minor Updates to Documentation.
0.1.0 #
Initial Version of the library.
- Includes the ability to extend
Equatable
and not have to override==
andhashCode
.