stormberry 0.12.1
stormberry: ^0.12.1 copied to clipboard
A strongly-typed postgres ORM to provide easy bindings between your dart classes and postgres database.
0.12.1 #
- Support generic type converters.
0.12.0 #
- Support self-joins. Models can now have relations to itself.
- Added
valueproperty toQueryParamsto supply custom query parameters. - Added
@BindTo()annotation to resolve ambiguous field relations.
0.11.0 #
- Fixed wrong column types in update query.
- Improved handling of auto-increment ids.
- Added
ModelMetaannotation to customize generated entity classes.
0.10.0 #
- [BREAKING] Switched to generating
partfiles for each model.- Migrate by adding
part <myfile>.schema.darton top of each model file.
- Migrate by adding
- [BREAKING] Changed how Views are defined.
- The
@Model()annotation now only defines the names of existing views asSymbols:@Model(views: [#Full, #Reduced, #Other]). - Field modifications are done by annotating the specific field with either
@HiddenIn(#MyView),@ViewedIn(#MyView, as: #OtherView)and@TransformedIn(#MyView, by: MyTransformer()).
- The
- The CLI supports setting connection values via command args or prompts missing values.
- Views are now virtual (queries) and not written to the database. This enables more flexibility for queries and fixes some migration issues.
- All query inputs are now properly parameterized to prevent sql injections.
- [BREAKING] The
on conflictclause for inserts is removed. Inserts now fail when a given key already exists. - Added proper testing.
0.9.2 #
- Fixed bug with email encoding.
0.9.1 #
- Fixed bug with one-to-many relations.
- Added
DB_SOCKETenvironment connection variable.
0.9.0 #
- Added support for enum serialization in models (by @TimWhiting)
- Api and documentation fixes
0.8.0 #
- Added support for serialization through custom annotations
- Improved migration cli and added support for manual migration output to .sql files
- Fixed bug with default views and value decoding
0.7.0 #
- Added
@AutoIncrement()annotation for auto incrementing values - Added support for multiple schemas when using the migration tool
- Fixed escaping of strings
0.6.4 #
- Fix data encoding
0.6.3 #
- Move QueryParams to public library
0.6.2 #
- Allow models to inherit fields from other classes
0.6.1 #
- Fix deep insert bug
0.6.0 #
- Update dependencies
- Cleanup lints
0.5.0 #
- Internal rewrite (again)
- Added documentation to README
0.4.0 #
- Rewrote view system
- Internal refactoring
0.3.0 #
- Update dependencies
0.2.3 #
- Fix encoding bug
0.2.2 #
- Update tool: Read json schema location from build.yaml
0.2.1 #
- Added delete actions
0.2.0 #
- Refactor and cleanup, first published version
- Added first README draft
0.1.1 #
- Use joins only for many-to-many
- Fix some generation bugs
0.1.0 #
- Initial development release