attributes 1.0.0 copy "attributes: ^1.0.0" to clipboard
attributes: ^1.0.0 copied to clipboard

Decode and encode structured data type-safely from JSON. Utilities for data objects, entities and values.

1.0.0 #

✨ 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 to Entity, DataArray and DataArray
  • fromJson() and decodeJson() added to Entity and `EntityBase``

🛠 Refactoring:

  • Fix some toString() methods.
  • toEncodable() marked deprecated in DataArray and DataArray

🛠 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.2 #

🛠 Maintenance:

  • The dependency on intl updated to 0.18.0+
  • The dependency on very_good_analysis updated to 4.0.0+
  • The SDK constraint updated from '>=2.12.0 <3.0.0' to '>=2.12.0 <4.0.0'.

0.8.1 #

0.8.0 #

0.7.3 #

  • Documentation updates, no library code changes.

0.7.2 #

  • Small fix on export definitions of package:attributes/data.dart

0.7.1 #

  • Small documentation fixes, no library code changes.

0.7.0 #

0.6.0 #

0.5.0 #

  • BETA version 0.5.0 with stable null-safety

0.5.0-nullsafety.0 #

  • BETA version 0.5.0 without any breaking changes compared to 0.4.0

0.4.0-nullsafety.0 #

  • 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'
5
likes
130
pub points
28%
popularity

Publisher

verified publishernavibyte.com

Decode and encode structured data type-safely from JSON. Utilities for data objects, entities and values.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

equatable, intl, meta

More

Packages that depend on attributes