angel3_orm_generator 7.1.1
angel3_orm_generator: ^7.1.1 copied to clipboard
Code generators for Angel3 ORM. Generates query builder classes.
Change Log #
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
withelement
7.0.2 #
- Fixed deprecated
assignVar
andassignConst
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
andManyToMany
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
toDartEmitter
- 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 aBuilder
, sowatch
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
inbuild.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 whereverskip
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.
- Stop assuming things have
- 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 nowCAST
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 missinghasOne
,hasMany
,belongsToMany
.
1.0.0-alpha+1 #
- Closed ##12.
insertX
andupdateX
now userc.camelCase
, instead ofrc.snakeCase
. - Closed ##13. Added
limit
andoffset
properties toXQuery
. - Closed ##14. Refined the
or
method (it now takes anXQueryWhere
), and removedand
andnot
. - Closed ##16. Added
sortAscending
andsortDescending
toXQuery
. - Closed ##17.
delete
now usestoSql
fromXQuery
. - Closed ##18.
XQuery
now supportsunion
andunionAll
.