model_interfaces 0.3.4 model_interfaces: ^0.3.4 copied to clipboard
Common interfaces for your models that have IDs, titles, etc.
0.3.4 #
- Added
MultilingualString.getFirstNonEmpty()
.
0.3.3 #
- Added
Iterable<WithId>.getById()
,.getByIds()
,.ids
, and.mapByIds()
, deprecated the corresponding static methods onWithId
.
0.3.2 #
- Added
MultilingualString
. - In
Range
, renamed all methods containing 'overlap' to 'intersect' as it is the preferred math term for ranges overlapping deeper than their endpoints. Added deprecated forwarders for the old methods.
0.3.1 #
- Const constructor in
WithId
.
0.3.0 #
- BREAKING: Added
ancestorIdsDownstream
andancestorIdsUpstream
toWithAncestorIds
. - Deprecated
WithAncestorIds.ancestorIds
. - Added
WithSlug
,WithIdSlug
,WithIdSlugTitle
. - Moved many instance methods to extensions so implementing is possible instead of extending.
- Renamed methods in
Range
to be more precise. The older ones are deprecated. Added instance method equivalents.
0.2.0 #
- BREAKING:
WithHomogenousParent.withAncestors
is now non-static and returns anIterable
. - BREAKING:
Normalizable.toJsons
returns anIterable
instead of aList
. - Added
Normalizable.toJsonList
. - Added
growable
param toNormalizable.toJsons
. - Using
total_lints
, fixed issues, fixed formatting. - Re-licensed under MIT-0.
- Improved doc comments.
0.1.4 #
WithId.mapByIds
acceptsIterable
.
0.1.3 #
Range
is now non-abstract.
0.1.2 #
- Added
Range
.
0.1.1 #
- Added
WithHomogenousParent
.
0.1.0 #
- BREAKING:
WithIdTitle
constructor uses positional arguments.
0.0.5 #
- Added
WithAncestorIds
. - Added
WithIdHomogenousChildrenParent
. - Added
WithIdTitleHomogenousChildrenParent
. - Changed
Normalizable.toJsons()
fromIterable
toList
.
0.0.4 #
- Added
Normalizable
.
0.0.3 #
- Added
WithId.mapByIds()
.
0.0.2 #
- Accept
Iterable
instead ofList
for many inputs. - Added
WithChildren<C>
. - Added
WithParent<P>
. - Added
WithIdChildrenParent<I, C, P>
. - Added
WithIdTitleChildrenParent<I, C, P>
.
0.0.1 #
- Initial release.