platform/packages/model/CHANGELOG.md
thomashii@dukefirehawk.com 16bf2ddfc6 Upgraded model
2023-05-21 08:26:04 +08:00

68 lines
811 B
Markdown

# Change Log
## 8.0.0
* Require Dart >= 3.0
## 7.1.0
* Return -1 instead of throwing exception when id is null
* Added `idAsString` to return id or "" if null
* Added `AuditableModel`
## 7.0.0
* Require Dart >= 2.17
## 6.0.0
* Require Dart >= 2.16
## 5.0.0
* Skipped release
## 4.0.0
* Skipped release
## 3.1.1
* Removed `error`
## 3.1.0
* Updated linter to `package:lints`
## 3.0.2
* Updated README
* Updated `idAsInt` to return `-1` instead of `null` for invalid id
## 3.0.1
* Updated README
## 3.0.0
* Migrated to support Dart >= 2.12 NNBD
## 2.0.0
* Migrated to work with Dart >= 2.12 Non NNBD
## 1.0.3
* `idAsInt` returns `null` when `id` is `null`.
## 1.0.2
* `idAsInt` now uses `int.tryParse`.
## 1.0.1
* Add `idAsInt`.
## 1.0.0+1
* Update constraint to work with Dart 2.