df_generate_dart_models_core 0.11.0
df_generate_dart_models_core: ^0.11.0 copied to clipboard
A package that provides core dependencies for models generated with df_generate_dart_models.
Changelog #
0.11.0 #
- Released @ 6/2026 (UTC)
- New:
tableName: String?on@GenerateDartModel— explicit override for the DBML table name. When null, the table name is derived from the class name (Model prefix/suffix stripped, snake-cased) with no automatic pluralisation - New:
schema: String?on@GenerateDartModel— DBML emission gate. Models without a schema are skipped; distinct schema values are emitted to their own<schema>.dbml. Pass a project-wide const so the schema name has a single source of truth - New:
referencesFromRecord()accepts aStringliteral (references: 'ModelUser') in addition to aTypeliteral. Cross-package references no longer need an import chain just to satisfy the analyzer's Type API - Regenerated meta-model
.g.dartfiles carry the new fields and thestatic const tableName+$values/$primaryKey/$foreignKeysmetadata constants on the correspondingFieldNamesclasses
0.10.0 #
- Released @ 6/2026 (UTC)
- New:
Field.fieldPathacceptsString('profile.id'),Iterable<String>(['profile', 'id']), ornull; multi-segment paths produce deep null-aware accessors (json?['profile']?['id']) - New:
FieldTypesconstants class for prefix-vocabulary strings (FieldTypes.pgUuid,sqliteEpochms,fsTimestamp, …) - New:
FieldUtils.normalisePathexposed publicly - New:
Fieldslot field type changed toObject?forfieldPathandreferences - Removed:
equatable,sqlType,onDelete,unique,referencesColumn,fallback,unknownEnumValue,includeInJson/SqlMap/FirestoreMap,converterslots (deferred to template/inheritance) - Fix:
DartField.fieldPathno longer recurses infinitely throughFieldUtils.fieldPathOrNull - Pulls in df_gen_core 0.8.0 with mapper robustness fixes
0.9.25 #
- Released @ 5/2026 (UTC)
- Update version
0.9.24 #
- Released @ 5/2026 (UTC)
- Update and format
- AI updates
0.9.23 #
- Released @ 12/2025 (UTC)
- Update dependencies
0.9.22 #
- Released @ 12/2025 (UTC)
- Update dependencies