angel3_orm_generator 8.2.1 copy "angel3_orm_generator: ^8.2.1" to clipboard
angel3_orm_generator: ^8.2.1 copied to clipboard

Code generators for Angel3 ORM. Generates query builder classes.

Change Log #

8.2.1 #

  • Updated repository link

8.2.0 #

  • Updated lints to 3.0.0
  • Fixed linter warnings

8.1.0 #

  • Upgraded to analyzer 6.2.x

8.0.0 #

  • Require Dart >= 3.0

7.2.0-beta.1 #

  • [Breaking] Require Dart >= 2.19
  • Use @SerializableField properties in Query.parseRow

7.1.2 #

  • Fixed #88 due to change in analyzer 5.3.x

7.1.1 #

  • Temporily locked analyzer to 5.2.x to resolve undocumented breaking changes in 5.3.x.

7.1.0 #

  • [Breaking] Require Dart >= 2.18
  • Upgraded to analyzer 5.x.x
  • Replaced deprecated element2 with element

7.0.2 #

  • Fixed deprecated assignVar and assignConst

7.0.1 #

  • Fixed issue #82: Removed casting for numeric fields

7.0.0 #

  • Require Dart >= 2.17
  • Fixed issue #75: Generated Code of ORM does not compile

6.2.0 #

  • Fixed issue #68: Support for non-nullable type
  • Generate default value based on defaultValue in the @Column annotation

6.1.0 #

  • Updated to analyzer 4.x.x

6.0.1 #

  • Fixed timestamp or date field to DateTime mapping
  • Fixed double or float field to double mapping

6.0.0 #

  • Require Dart >= 2.16

5.0.0 #

  • Skipped release

4.3.0 #

  • Added where.raw()

4.2.0 #

  • Added select(List fields)

4.1.3 #

  • Fixed issue #24, incorrect class casting
  • Fixed @belongsTo to generate correct table creation query

4.1.2 #

  • Updated linter to package:lints

4.1.1 #

  • Fixed NumericSqlExpressionBuilder to handle nullable field
  • Fixed @belongsTo and ManyToMany code generation
  • Fixed copyFrom to handle nullable relationship

4.1.0 #

  • Upgraded to support analyzer 2.0.0 major release

4.0.2 #

  • Fixed NNBD issues

4.0.1 #

  • Added useNullSafetySyntax: true to DartEmitter
  • Updated *Migration class generator to produce NNBD code
  • Updated *Query class generator to produce NNBD code
  • Updated *QueryWhere class generator to produce NNBD code
  • Updated *QueryValues class generator to produce NNBD code

4.0.0 #

  • Fixed BuildContext cast error

4.0.0-beta.5 #

  • Fixed ColumnType incorrect constructor

4.0.0-beta.4 #

  • Fixed build.yaml
  • Updated generated code to use angel3 packages

4.0.0-beta.3 #

  • Updated README
  • Fixed NNBD issues

4.0.0-beta.2 #

  • Updated home page link

4.0.0-beta.1 #

  • Migrated to support Dart >= 2.12 NNBD

3.0.0 #

  • Migrated to work with Dart >= 2.12 Non NNBD

2.1.0-beta.2 #

  • Support for custom SQL expressions.

2.1.0-beta.1 #

  • OrmBuildContext caching is now local to a Builder, so watch should finally always run when required. Should resolve ##85.

2.1.0-beta #

  • Relationships have always generated subqueries; now these subqueries are available as Query objects on generated classes.
  • Support explicitly-defined join types for relations.

2.0.5 #

  • Remove ShimFieldImpl check, which broke relations.
  • Fix bug where primary key type would not be emitted in migrations.
  • Fix ManyToMany ignoring primary key types.

2.0.4 #

  • Fix reviveColumn and element finding to properly detect all annotations now.

2.0.3 #

  • Remove targets in build.yaml.

2.0.2 #

  • Change build_config range to ">=0.3.0 <0.5.0".

2.0.1 #

  • Gracefully handle null in enum fields.
  • Add take to wherever skip is used.

2.0.0+2 #

  • Widen analyzer dependency range.

2.0.0+1 #

  • Restore build.yaml, which at some point, got deleted.

2.0.0 #

  • parse -> tryParse where used.

2.0.0-dev.7 #

  • Handle @ManyToMany.
  • Handle cases where the class is not a Model.
    • Stop assuming things have id, etc.
  • Resolve a bug where the indexType of @Column annotations. would not be found.
  • Add cascade: true to drops for hasOne/hasMany/ManyToMany migrations.
  • Support enum default values in migrations.

2.0.0-dev.6 #

  • Fix bug where an extra field would be inserted into joins and botch the result.
  • Narrow analyzer dependency.

2.0.0-dev.5 #

  • Implement cast-based double support.
  • Finish ListSqlExpressionBuilder.

2.0.0-dev.4 #

  • List generation support.

2.0.0-dev.3 #

  • Add JSON/JSONB support for Maps.

2.0.0-dev.2 #

  • Changes to work with package:angel_orm@2.0.0-dev.15.

2.0.0-dev.1 #

  • Generate migration files.

2.0.0-dev #

  • Dart 2 updates, and more.

1.0.0-alpha+6 #

  • DateTime is now CAST on insertion and update operations.

1.0.0-alpha+3 #

Implemented @hasOne, with tests. Still missing @hasMany. belongsToMany will likely be scrapped.

1.0.0-alpha+2 #

  • Added support for belongsTo relationships. Still missing hasOne, hasMany, belongsToMany.

1.0.0-alpha+1 #

  • Closed ##12. insertX and updateX now use rc.camelCase, instead of rc.snakeCase.
  • Closed ##13. Added limit and offset properties to XQuery.
  • Closed ##14. Refined the or method (it now takes an XQueryWhere), and removed and and not.
  • Closed ##16. Added sortAscending and sortDescending to XQuery.
  • Closed ##17. delete now uses toSql from XQuery.
  • Closed ##18. XQuery now supports union and unionAll.