attributes
Decode and encode structured data type-safely from JSON. Utilities for data objects, entities and values.
1.0.0
navibyte/dataflow
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 months to 12 months
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
12 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
12 releases · Jan 2021 to Aug 2023Releases
latest 12-
1.0.017 Aug 2023Release notes
Open source →✨ New (2023-08): The version 1.0.0 requiring Dart 3. When Dart 2 is required, please use the older version attributes 0.8.2 supporting Dart 2.
⚠️ Breaking changes:
🧩 Features:
toJson()added toEntity,DataArrayandDataArrayfromJson()anddecodeJson()added toEntityand `EntityBase``
🛠 Refactoring:
- Fix some toString() methods.
toEncodable()marked deprecated inDataArrayandDataArray
🛠 Maintenance:
- The SDK constraint updated from '>=2.12.0 <4.0.0' to '>=3.0.0 <4.0.0'.
- Mark utility methods with @internal.
- Remove trunk file for utils.
- Update copyright texts.
-
0.8.214 Mar 2023Release notes
Open source →🛠 Maintenance:
- The dependency on
intlupdated to 0.18.0+ - The dependency on
very_good_analysisupdated to 4.0.0+ - The SDK constraint updated from '>=2.12.0 <3.0.0' to '>=2.12.0 <4.0.0'.
- The dependency on
-
0.8.110 Mar 2022 -
0.8.002 Oct 2021Release notes
Open source →- Interfaces and class structures stabilized, no major breaking changes planned at least short-term.
- Changes on attributes:
- Changes on datatools:
-
0.7.314 Aug 2021 -
0.7.210 Aug 2021 -
0.7.110 Aug 2021 -
0.7.010 Aug 2021Release notes
Open source →- New features and large refactoring on attributes:
- structured data now handled using new DataObject and DataArray classes
- with decoding and encoding with JSON Objects and JSON Arrays
- value conversion functions enhanced
- new sample domain model classes with JSON serialization
- mini-libraries restructured
- other refactoring and smaller new features
- structured data now handled using new DataObject and DataArray classes
- Minor breaking changes on datatools:
- support for "reviver" when decoding JSON, byte stream signature changed
- Official Dart lint rules applied with recommend set
Release notes
Open source →- BETA version 0.7.0 with breaking changes
- Add new sample with domain model classes and JSON serialization #10
- Structure mini-libraries provided by the attributes package #9
- Properties, PropertyMap and PropertList refactored with new features and structure into DataElement, DataObject and DataArray classes #8
- Add empty check getters to Counted interface #7
- Separate mini library for specialized FormatException exceptions #6
- Add new value conversion functions and apply consistent naming #5
- Restructure primitive and value accessor interfaces #4
- Restructure primitive value interfaces #3
- Official Dart lint rules applied with recommend set #2
- New features and large refactoring on attributes:
-
0.6.025 Apr 2021Release notes
Open source →- This new GitHub repository named dataflow created
- with attributes and datatools packages included starting from the version 0.6.0
- previously on the geospatial repo
- Lint rules and analysis options updated
- Also
implicit-castsandimplicit-dynamicset to false requiring code changes - New features on attributes:
- refactored value accessors and mixins
- PropertyMap (type and null safe access to
Map<String, dynamicdata) enchanced - PropertyList (type and null safe access to
List<dynamicdata) introduced
Release notes
Open source →- BETA version 0.6.0 with some breaking changes
- The Github repository changed as the package actually has nothing geospatial
- Old : https://github.com/navibyte/geospatial
- New : https://github.com/navibyte/dataflow
- Still some issues on the old repo, new issues are managed on the new home
- Code history for versions 0.5.0 and before that on the old repository
- Dart packages owned by repositories after these changes:
- https://github.com/navibyte/dataflow : attributes, datatools
- https://github.com/navibyte/geospatial : geocore, geodata
- Lint rules and analysis options updated
- Also
implicit-castsandimplicit-dynamicto false requiring code changes - ValueAccessor and PropertyMap changes
- Abstract Properties class extending ValueAccessor
- extened by PropertyMap and PropertyList
- PropertyList class
- Many other smaller changes and optimizations partially due issues #8 and #19
- This new GitHub repository named dataflow created
-
0.5.003 Mar 2021 -
0.5.0-nullsafety.028 Feb 2021 pre-release -
0.4.0-nullsafety.003 Jan 2021 pre-releaseRelease notes
Open source →- Initial alpha version 0.4.0 (version starting with aligment to other packages)
- Designed for null-safety (requires sdk: '>=2.12.0-0 <3.0.0')
- Uses as dependency:
equatable(^2.0.0-nullsafety.0) - Uses as dependency:
meta(^1.3.0-nullsafety.6) - Uses as dependency:
intl(^0.17.0-nullsafety.2) - Some non-geospatial base code was moved here from
geocore, then refactored - Structure of lib/src folder:
- collection
- entity
- values
- Mini-libraries provided by the package:
- 'package:attributes/collection.dart'
- 'package:attributes/entity.dart'
- 'package:attributes/values.dart'
- The whole library is available by:
- 'package:attributes/attributes.dart'