angel3_orm 8.4.0
angel3_orm: ^8.4.0 copied to clipboard
Runtime support for Angel3 ORM. Includes base classes for queries.
Change Log #
8.4.0 #
- Require Dart >= 3.8
- Updated
lintsto 6.0.0 - Updated dependencies to the latest release
8.3.2 #
- Updated
intlto 0.20.0
8.3.1 #
- Added support for string to bool conversion in the query results
8.3.0 #
- Set
createdAtandupdatedAtdefault to CURRENT_TIMESTAMP
8.2.0 #
- Require Dart >= 3.3
- Updated
lintsto 4.0.0
8.1.1 #
- Updated repository link
8.1.0 #
- Updated
lintsto 3.0.0 - Fixed linter warnings
8.0.0 #
- Require Dart >= 3.0
7.1.0 #
- Require Dart >= 2.18
7.0.1 #
- Reduced debugging verbosity
7.0.0 #
- Require Dart >= 2.17
6.1.0 #
- Fixed issue #68: Support for non-nullable type
- Added
defaultValueto@Columnannotation
6.0.1 #
- Added
mapToDateTime
6.0.0 #
- Require Dart >= 2.16
5.0.0 #
- Skipped release
4.1.0 #
- Added
MySQLDialectto handle MySQL database specific features - Updated
insertandupdatequery to support database without writable CTE
4.0.6 #
- Fixed multiple
orderByerror
4.0.5 #
- Added
where.raw() - Added
select(List fields)
4.0.4 #
- Changed default varchar size to 255
- Changed default primary key to serial
4.0.3 #
- Removed debugging messages
4.0.2 #
- Updated linter to
package:lints - Set
createdAtandupdatedAtto current datetime as default
4.0.1 #
- Fixed expressions parsing error
- Fixed json data type error
- Added debug logging to sql query execution
4.0.0 #
- Updated
Optionalpackage
4.0.0-beta.4 #
- Added
hasSizetoColumnType
4.0.0-beta.3 #
- Updated README
- Fixed NNBD issues
4.0.0-beta.2 #
- Fixed static analysis warning
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.3 #
- Remove parentheses from
ASwhen renaming rawexpressions.
2.1.0-beta.2 #
- Add
expressionstoQuery, to support custom SQL expressions that are read as normal fields.
2.1.0-beta.1 #
- Calls to
leftJoin, etc. alias all fields in a child query, to preventambiguous column a0.iderrors.
2.1.0-beta #
- Split the formerly 600+ line
src/query.dartup into separate files. - BREAKING: Add a required
QueryExecutorargument totransactioncallbacks. - Make
JoinBuildertaketoas aString Function(). This will allow ORM queries to reference their joined subqueries. - Removed deprecated
Join,toSql,sanitizeExpression,isAscii. - Always put
ORDER BYbeforeLIMIT. and,or,notinQueryWhereinclude parentheses.- Add
joinTypetoRelationshipclass.
2.0.2 #
- Place
LIMITandOFFSETafterORDER BY.
2.0.1 #
- Apply
package:pedanticfixes. @PrimaryKey()no longer defaults toserial, allowing its type to be inferenced.
2.0.0 #
- Add
isNull,isNotNullgetters to builders.
2.0.0-dev.24 #
- Fix a bug that caused syntax errors on
ORDER BY. - Add
patterntolikeon string builder.sanitizeis optional. - Add
RawSql.
2.0.0-dev.23 #
- Add
@ManyToManyannotation, which builds many-to-many relations.
2.0.0-dev.22 #
compileInsertwill explicitly never emit a key not belonging to the associated query.
2.0.0-dev.21 #
- Add tableName to query
2.0.0-dev.20 #
- Join updates.
2.0.0-dev.19 #
- Implement cast-based
doublesupport. - Finish
ListSqlExpressionBuilder.
2.0.0-dev.18 #
- Add
ListSqlExpressionBuilder(still in development).
2.0.0-dev.17 #
- Add
EnumSqlExpressionBuilder.
2.0.0-dev.16 #
- Add
MapSqlExpressionBuilderfor JSON/JSONB support.
2.0.0-dev.15 #
- Remove
Column.defaultValue. - Deprecate
toSqlandsanitizeExpression. - Refactor builders so that strings are passed through
2.0.0-dev.14 #
- Remove obsolete
@belongsToMany.
2.0.0-dev.13 #
- Push for consistency with orm_gen @
2.0.0-dev.
2.0.0-dev.12 #
- Always apply
toSqlescapes.
2.0.0-dev.11 #
- Remove
limit(1)except ongetOne
2.0.0-dev.10 #
- Add
withFieldstocompile()
2.0.0-dev.9 #
- Permanent preamble fix
2.0.0-dev.8 #
- Escapes
2.0.0-dev.7 #
- Update
toSql - Add
isTrueandisFalse
2.0.0-dev.6 #
- Add
delete,insertandupdatemethods toQuery.
2.0.0-dev.4 #
- Add more querying methods.
- Add preamble to
Query.compile.
2.0.0-dev.3 #
- Brought back old-style query builder.
- Strong-mode updates, revised
Join.
2.0.0-dev.2 #
- Renamed
ORMtoOrm. Ormnow requires a database type.
2.0.0-dev.1 #
- Restored all old PostgreSQL-specific annotations. Rather than a smart runtime, having a codegen capable of building ORM's for multiple databases can potentially provide a very fast ORM for everyone.
2.0.0-dev #
- Removed PostgreSQL-specific functionality, so that the ORM can ultimately target all services.
- Created a better
Joinmodel. - Created a far better
Querymodel. - Removed
lib/server.dart
1.0.0-alpha+10 #
- Split into
angel_orm.dartandserver.dart. Prevents DDC failures.
1.0.0-alpha+7 #
- Added a
@belongsToManyannotation class. - Resolved ##20. The
PostgreSQLConnectionPoolkeeps track of which connections have been opened now.
1.0.0-alpha+6 #
DateTimeSqlExpressionBuilderwill no longer automatically insert quotation marks around names.
1.0.0-alpha+5 #
- Corrected a typo that was causing the aforementioned test failures.
==becomes=.
1.0.0-alpha+4 #
- Added a null-check in
lib/src/query.dart##L24to (hopefully) prevent it from crashing on Travis.
1.0.0-alpha+3 #
- Added
isIn,isNotIn,isBetween,isNotBetweentoSqlExpressionBuilderand its subclasses. - Added a dependency on
package:meta.