diff --git a/CHANGELOG.md b/CHANGELOG.md index e9d98827..ee262a5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,7 @@ * Updated: angel3_orm * Updated: angel3_orm_generator * Updated: angel3_migration -* Updated: angel3_migration_generator +* Updated: angel3_migration_runner * Updated: angel3_orm_postgresql * Updated: angel3_orm_mysql * Updated: angel3_orm_service diff --git a/packages/orm/angel_migration/CHANGELOG.md b/packages/orm/angel_migration/CHANGELOG.md index 37e4aca9..27f9ba60 100755 --- a/packages/orm/angel_migration/CHANGELOG.md +++ b/packages/orm/angel_migration/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.0.0 * Require Dart >= 3.0 diff --git a/packages/orm/angel_migration/lib/src/column.dart b/packages/orm/angel_migration/lib/src/column.dart index 8d92038f..01d4cf74 100755 --- a/packages/orm/angel_migration/lib/src/column.dart +++ b/packages/orm/angel_migration/lib/src/column.dart @@ -20,14 +20,10 @@ class MigrationColumn extends Column { MigrationColumn(ColumnType type, {bool isNullable = true, - int length = 255, + super.length, IndexType indexType = IndexType.standardIndex, dynamic defaultValue}) - : super( - type: type, - length: length, - isNullable: isNullable, - defaultValue: defaultValue) { + : super(type: type, isNullable: isNullable, defaultValue: defaultValue) { _nullable = isNullable; _index = indexType; _defaultValue = defaultValue; diff --git a/packages/orm/angel_migration/pubspec.yaml b/packages/orm/angel_migration/pubspec.yaml index 2ace5f9d..e6dfe0da 100755 --- a/packages/orm/angel_migration/pubspec.yaml +++ b/packages/orm/angel_migration/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_migration -version: 8.0.0 +version: 8.1.0 description: Database migration runtime for Angel3 ORM. Use this package to define schemas. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration @@ -8,7 +8,7 @@ environment: dependencies: angel3_orm: ^8.0.0 dev_dependencies: - lints: ^2.1.0 + lints: ^3.0.0 # dependency_overrides: # angel3_orm: # path: ../angel_orm diff --git a/packages/orm/angel_migration_runner/CHANGELOG.md b/packages/orm/angel_migration_runner/CHANGELOG.md index 742415a9..258630b0 100755 --- a/packages/orm/angel_migration_runner/CHANGELOG.md +++ b/packages/orm/angel_migration_runner/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.0.0 * Require Dart >= 3.0 diff --git a/packages/orm/angel_migration_runner/example/todo.dart b/packages/orm/angel_migration_runner/example/todo.dart index bf097dfb..af112445 100644 --- a/packages/orm/angel_migration_runner/example/todo.dart +++ b/packages/orm/angel_migration_runner/example/todo.dart @@ -1,6 +1,3 @@ -/// These are straightforward migrations. -/// -/// You will likely never have to actually write these yourself. import 'package:angel3_migration/angel3_migration.dart'; class UserMigration implements Migration { diff --git a/packages/orm/angel_migration_runner/pubspec.yaml b/packages/orm/angel_migration_runner/pubspec.yaml index 3eb566f6..02f8e0a5 100755 --- a/packages/orm/angel_migration_runner/pubspec.yaml +++ b/packages/orm/angel_migration_runner/pubspec.yaml @@ -1,10 +1,11 @@ name: angel3_migration_runner -version: 8.0.0 +version: 8.1.0 description: Command-line based database migration runner for Angel3's ORM. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration_runner environment: sdk: '>=3.0.0 <4.0.0' +publish_to: none dependencies: angel3_migration: ^8.0.0 angel3_orm: ^8.0.0 @@ -15,7 +16,7 @@ dependencies: mysql1: ^0.20.0 logging: ^1.2.0 dev_dependencies: - lints: ^2.1.0 + lints: ^3.0.0 # dependency_overrides: # angel3_orm: # path: ../angel_orm diff --git a/packages/orm/angel_orm/CHANGELOG.md b/packages/orm/angel_orm/CHANGELOG.md index cb4e48ef..cb0c0f15 100644 --- a/packages/orm/angel_orm/CHANGELOG.md +++ b/packages/orm/angel_orm/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.0.0 * Require Dart >= 3.0 diff --git a/packages/orm/angel_orm/lib/src/builder.dart b/packages/orm/angel_orm/lib/src/builder.dart index b8eea6a4..bd929eda 100644 --- a/packages/orm/angel_orm/lib/src/builder.dart +++ b/packages/orm/angel_orm/lib/src/builder.dart @@ -30,8 +30,7 @@ class NumericSqlExpressionBuilder String? _raw; T? _value; - NumericSqlExpressionBuilder(Query query, String columnName) - : super(query, columnName); + NumericSqlExpressionBuilder(super.query, super.columnName); @override bool get hasValue => _hasValue; @@ -123,8 +122,7 @@ class EnumSqlExpressionBuilder extends SqlExpressionBuilder { String? _raw; int? _value; - EnumSqlExpressionBuilder(Query query, String columnName, this._getValue) - : super(query, columnName); + EnumSqlExpressionBuilder(super.query, super.columnName, this._getValue); @override bool get hasValue => _hasValue; @@ -187,8 +185,7 @@ class StringSqlExpressionBuilder extends SqlExpressionBuilder { bool _hasValue = false; String? _op = '=', _raw, _value; - StringSqlExpressionBuilder(Query query, String columnName) - : super(query, columnName); + StringSqlExpressionBuilder(super.query, super.columnName); @override bool get hasValue => _hasValue; @@ -291,8 +288,7 @@ class BooleanSqlExpressionBuilder extends SqlExpressionBuilder { String? _op = '=', _raw; bool? _value; - BooleanSqlExpressionBuilder(Query query, String columnName) - : super(query, columnName); + BooleanSqlExpressionBuilder(super.query, super.columnName); @override bool get hasValue => _hasValue; @@ -346,8 +342,7 @@ class DateTimeSqlExpressionBuilder extends SqlExpressionBuilder { String? _raw; - DateTimeSqlExpressionBuilder(Query query, String columnName) - : super(query, columnName); + DateTimeSqlExpressionBuilder(super.query, super.columnName); NumericSqlExpressionBuilder get year => _year ??= NumericSqlExpressionBuilder(query, 'year'); @@ -468,8 +463,7 @@ abstract class JsonSqlExpressionBuilder extends SqlExpressionBuilder { String? _op; String? _raw; - JsonSqlExpressionBuilder(Query query, String columnName) - : super(query, columnName); + JsonSqlExpressionBuilder(super.query, super.columnName); JsonSqlExpressionBuilderProperty operator [](K name) { var p = _property(name); @@ -550,8 +544,7 @@ abstract class JsonSqlExpressionBuilder extends SqlExpressionBuilder { } class MapSqlExpressionBuilder extends JsonSqlExpressionBuilder { - MapSqlExpressionBuilder(Query query, String columnName) - : super(query, columnName); + MapSqlExpressionBuilder(super.query, super.columnName); @override JsonSqlExpressionBuilderProperty _property(String name) { @@ -568,8 +561,7 @@ class MapSqlExpressionBuilder extends JsonSqlExpressionBuilder { } class ListSqlExpressionBuilder extends JsonSqlExpressionBuilder { - ListSqlExpressionBuilder(Query query, String columnName) - : super(query, columnName); + ListSqlExpressionBuilder(super.query, super.columnName); @override List? _encodeValue(List? v) => v; //[json.encode(v)]; diff --git a/packages/orm/angel_orm/pubspec.yaml b/packages/orm/angel_orm/pubspec.yaml index ee86b5bf..87e877a4 100644 --- a/packages/orm/angel_orm/pubspec.yaml +++ b/packages/orm/angel_orm/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_orm -version: 8.0.0 +version: 8.1.0 description: Runtime support for Angel3 ORM. Includes base classes for queries. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm @@ -7,7 +7,7 @@ environment: sdk: '>=3.0.0 <4.0.0' dependencies: charcode: ^1.3.0 - intl: ^0.18.0 + intl: ^0.19.0 meta: ^1.9.0 string_scanner: ^1.2.0 optional: ^6.1.0 @@ -18,7 +18,7 @@ dev_dependencies: angel3_serialize_generator: ^8.0.0 build_runner: ^2.4.0 test: ^1.24.0 - lints: ^2.1.0 + lints: ^3.0.0 # dependency_overrides: # angel3_serialize: # path: ../../serialize/angel_serialize diff --git a/packages/orm/angel_orm_generator/CHANGELOG.md b/packages/orm/angel_orm_generator/CHANGELOG.md index 8b930979..7cec11ce 100644 --- a/packages/orm/angel_orm_generator/CHANGELOG.md +++ b/packages/orm/angel_orm_generator/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.2.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.1.0 * Upgraded to `analyzer` 6.2.x diff --git a/packages/orm/angel_orm_generator/pubspec.yaml b/packages/orm/angel_orm_generator/pubspec.yaml index 643535eb..7fa1e2d5 100644 --- a/packages/orm/angel_orm_generator/pubspec.yaml +++ b/packages/orm/angel_orm_generator/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_orm_generator -version: 8.1.0 +version: 8.2.0 description: Code generators for Angel3 ORM. Generates query builder classes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_generator @@ -27,9 +27,8 @@ dev_dependencies: angel3_framework: ^8.0.0 angel3_migration: ^8.0.0 build_runner: ^2.4.0 - postgres: ^2.4.0 test: ^1.24.0 - lints: ^2.1.0 + lints: ^3.0.0 #dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/orm/angel_orm_mysql/CHANGELOG.md b/packages/orm/angel_orm_mysql/CHANGELOG.md index 70ffd023..aa5a628f 100644 --- a/packages/orm/angel_orm_mysql/CHANGELOG.md +++ b/packages/orm/angel_orm_mysql/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.0.0 * Require Dart >= 3.0 diff --git a/packages/orm/angel_orm_mysql/pubspec.yaml b/packages/orm/angel_orm_mysql/pubspec.yaml index 805a9778..7798f605 100644 --- a/packages/orm/angel_orm_mysql/pubspec.yaml +++ b/packages/orm/angel_orm_mysql/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_orm_mysql -version: 8.0.0 +version: 8.1.0 description: MySQL support for Angel3 ORM. Includes functionality for querying and transactions. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_mysql @@ -16,7 +16,7 @@ dev_dependencies: angel3_orm_test: ^8.0.0 build_runner: ^2.4.0 test: ^1.24.0 - lints: ^2.1.0 + lints: ^3.0.0 # dependency_overrides: # angel3_serialize: diff --git a/packages/orm/angel_orm_postgres/CHANGELOG.md b/packages/orm/angel_orm_postgres/CHANGELOG.md index ed836eba..b9c56aa3 100644 --- a/packages/orm/angel_orm_postgres/CHANGELOG.md +++ b/packages/orm/angel_orm_postgres/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed linter warnings + ## 8.0.0 * Require Dart >= 3.0 diff --git a/packages/orm/angel_orm_postgres/pubspec.yaml b/packages/orm/angel_orm_postgres/pubspec.yaml index 4df3d071..9c82b49f 100644 --- a/packages/orm/angel_orm_postgres/pubspec.yaml +++ b/packages/orm/angel_orm_postgres/pubspec.yaml @@ -1,8 +1,9 @@ name: angel3_orm_postgres -version: 8.0.0 +version: 8.1.0 description: PostgreSQL support for Angel3 ORM. Includes functionality for querying and transactions. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_postgres +publish_to: none environment: sdk: '>=3.0.0 <4.0.0' dependencies: @@ -12,11 +13,11 @@ dependencies: postgres: ^2.6.1 postgres_pool: ^2.1.6 dev_dependencies: - belatuk_pretty_logging: ^6.0.0 + belatuk_pretty_logging: ^6.1.0 angel3_orm_generator: ^8.0.0 angel3_orm_test: ^8.0.0 test: ^1.24.0 - lints: ^2.1.0 + lints: ^3.0.0 # dependency_overrides: # angel3_serialize: # path: ../../serialize/angel_serialize