diff --git a/packages/orm/angel_migration/CHANGELOG.md b/packages/orm/angel_migration/CHANGELOG.md index 774af50d..37e4aca9 100755 --- a/packages/orm/angel_migration/CHANGELOG.md +++ b/packages/orm/angel_migration/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.1.0 * Require Dart >= 2.18 diff --git a/packages/orm/angel_migration/pubspec.yaml b/packages/orm/angel_migration/pubspec.yaml index a3859fc8..2aea7ba0 100755 --- a/packages/orm/angel_migration/pubspec.yaml +++ b/packages/orm/angel_migration/pubspec.yaml @@ -1,14 +1,14 @@ name: angel3_migration -version: 7.1.0 +version: 8.0.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 environment: - sdk: '>=2.18.0 <3.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_orm: ^7.0.0 + angel3_orm: ^8.0.0 dev_dependencies: - lints: ^2.0.0 -# dependency_overrides: -# angel3_orm: -# path: ../angel_orm + lints: ^2.1.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 52105413..742415a9 100755 --- a/packages/orm/angel_migration_runner/CHANGELOG.md +++ b/packages/orm/angel_migration_runner/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.1.0 * Require Dart >= 2.18 diff --git a/packages/orm/angel_migration_runner/lib/src/mysql/runner.dart b/packages/orm/angel_migration_runner/lib/src/mysql/runner.dart index a2cc93a2..561ace41 100644 --- a/packages/orm/angel_migration_runner/lib/src/mysql/runner.dart +++ b/packages/orm/angel_migration_runner/lib/src/mysql/runner.dart @@ -86,6 +86,7 @@ class MySqlMigrationRunner implements MigrationRunner { "INSERT INTO migrations (batch, path) VALUES ($curBatch, '$k')") .catchError((e) { _log.severe('Failed to insert into "migrations" table.', e); + throw Exception(e); }); return result.affectedRows.toInt(); diff --git a/packages/orm/angel_migration_runner/lib/src/mysql/schema.dart b/packages/orm/angel_migration_runner/lib/src/mysql/schema.dart index e2143b9c..20ab4ad0 100644 --- a/packages/orm/angel_migration_runner/lib/src/mysql/schema.dart +++ b/packages/orm/angel_migration_runner/lib/src/mysql/schema.dart @@ -22,6 +22,7 @@ class MySqlSchema extends Schema { var sql = compile(); var result = await ctx.execute(sql).catchError((e) { _log.severe('Failed to run query: [ $sql ]', e); + throw Exception(e); }); affectedRows = result.affectedRows.toInt(); }).catchError((e) { diff --git a/packages/orm/angel_migration_runner/lib/src/postgres/schema.dart b/packages/orm/angel_migration_runner/lib/src/postgres/schema.dart index f5a06275..2a1d4aa0 100755 --- a/packages/orm/angel_migration_runner/lib/src/postgres/schema.dart +++ b/packages/orm/angel_migration_runner/lib/src/postgres/schema.dart @@ -20,6 +20,7 @@ class PostgresSchema extends Schema { var sql = compile(); var result = await ctx.query(sql).catchError((e) { _log.severe('Failed to run query: [ $sql ]', e); + throw Exception(e); }); return result.affectedRowCount; }); diff --git a/packages/orm/angel_migration_runner/pubspec.yaml b/packages/orm/angel_migration_runner/pubspec.yaml index 3b825786..f45942c9 100755 --- a/packages/orm/angel_migration_runner/pubspec.yaml +++ b/packages/orm/angel_migration_runner/pubspec.yaml @@ -1,23 +1,23 @@ name: angel3_migration_runner -version: 7.1.0 +version: 8.0.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' dependencies: - angel3_migration: ^7.0.0 - angel3_orm: ^7.0.0 - args: ^2.1.0 + angel3_migration: ^8.0.0 + angel3_orm: ^8.0.0 + args: ^2.4.0 charcode: ^1.3.0 postgres: ^2.6.0 - mysql_client: ^0.0.26 + mysql_client: ^0.0.27 mysql1: ^0.20.0 - logging: ^1.1.0 + logging: ^1.2.0 dev_dependencies: - lints: ^2.0.0 -# dependency_overrides: -# angel3_orm: -# path: ../angel_orm -# angel3_migration: -# path: ../angel_migration + lints: ^2.1.0 +dependency_overrides: + angel3_orm: + path: ../angel_orm + angel3_migration: + path: ../angel_migration diff --git a/packages/orm/angel_orm/CHANGELOG.md b/packages/orm/angel_orm/CHANGELOG.md index 4ac7d715..cb4e48ef 100644 --- a/packages/orm/angel_orm/CHANGELOG.md +++ b/packages/orm/angel_orm/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.1.0 * Require Dart >= 2.18 diff --git a/packages/orm/angel_orm/pubspec.yaml b/packages/orm/angel_orm/pubspec.yaml index ae06f0c7..b4aa7fca 100644 --- a/packages/orm/angel_orm/pubspec.yaml +++ b/packages/orm/angel_orm/pubspec.yaml @@ -1,28 +1,28 @@ name: angel3_orm -version: 7.1.0 +version: 8.0.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 environment: - sdk: '>=2.18.0 <3.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: charcode: ^1.3.0 - intl: ^0.17.0 - meta: ^1.3.0 - string_scanner: ^1.1.0 + intl: ^0.18.0 + meta: ^1.9.0 + string_scanner: ^1.2.0 optional: ^6.1.0 - logging: ^1.0.0 + logging: ^1.2.0 dev_dependencies: - angel3_model: ^7.0.0 - angel3_serialize: ^7.0.0 - angel3_serialize_generator: ^7.0.0 - build_runner: ^2.1.1 - test: ^1.17.4 - lints: ^2.0.0 -# dependency_overrides: -# angel3_serialize: -# path: ../../serialize/angel_serialize -# angel3_serialize_generator: -# path: ../../serialize/angel_serialize_generator -# angel3_model: -# path: ../../model \ No newline at end of file + angel3_model: ^8.0.0 + angel3_serialize: ^8.0.0 + angel3_serialize_generator: ^8.0.0 + build_runner: ^2.4.0 + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_serialize: + path: ../../serialize/angel_serialize + angel3_serialize_generator: + path: ../../serialize/angel_serialize_generator + angel3_model: + path: ../../model \ No newline at end of file diff --git a/packages/orm/angel_orm_generator/CHANGELOG.md b/packages/orm/angel_orm_generator/CHANGELOG.md index 63d04b08..fc5d9bec 100644 --- a/packages/orm/angel_orm_generator/CHANGELOG.md +++ b/packages/orm/angel_orm_generator/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.2.0-beta.1 * [Breaking] Require Dart >= 2.19 diff --git a/packages/orm/angel_orm_generator/lib/angel3_orm_generator.dart b/packages/orm/angel_orm_generator/lib/angel3_orm_generator.dart index a853cf9d..da7b45f1 100644 --- a/packages/orm/angel_orm_generator/lib/angel3_orm_generator.dart +++ b/packages/orm/angel_orm_generator/lib/angel3_orm_generator.dart @@ -1,4 +1,3 @@ -//export 'src/mongodb_orm_generator.dart'; export 'src/migration_generator.dart'; export 'src/orm_build_context.dart'; export 'src/orm_generator.dart'; diff --git a/packages/orm/angel_orm_generator/pubspec.yaml b/packages/orm/angel_orm_generator/pubspec.yaml index 5c181b34..dbea1de2 100644 --- a/packages/orm/angel_orm_generator/pubspec.yaml +++ b/packages/orm/angel_orm_generator/pubspec.yaml @@ -1,54 +1,54 @@ name: angel3_orm_generator -version: 7.2.0-beta.1 +version: 8.0.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 environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_model: ^7.0.0 - angel3_serialize: ^7.0.0 - angel3_orm: ^7.0.0 - angel3_serialize_generator: ^7.2.0-beta.1 - analyzer: ^5.3.0 - inflection3: ^0.5.3+1 - build: ^2.0.1 - build_config: ^1.0.0 - code_builder: ^4.0.0 - dart_style: ^2.0.1 - meta: ^1.3.0 + angel3_model: ^8.0.0 + angel3_serialize: ^8.0.0 + angel3_orm: ^8.0.0 + angel3_serialize_generator: ^8.0.0 + analyzer: ^5.13.0 + inflection3: ^0.5.3+2 + build: ^2.4.0 + build_config: ^1.1.0 + code_builder: ^4.4.0 + dart_style: ^2.3.0 + meta: ^1.9.0 path: ^1.8.0 - recase: ^4.0.0 - source_gen: ^1.0.0 - collection: ^1.15.0 - logging: ^1.0.0 + recase: ^4.1.0 + source_gen: ^1.3.0 + collection: ^1.17.0 + logging: ^1.2.0 optional: ^6.0.0 dev_dependencies: - angel3_framework: ^7.0.0 - angel3_migration: ^7.0.0 - build_runner: ^2.0.1 + angel3_framework: ^8.0.0 + angel3_migration: ^8.0.0 + build_runner: ^2.4.0 postgres: ^2.4.0 - test: ^1.21.0 - lints: ^2.0.0 -#dependency_overrides: -# angel3_container: -# path: ../../container/angel_container -# angel3_framework: -# path: ../../framework -# angel3_http_exception: -# path: ../../http_exception -# angel3_model: -# path: ../../model -# angel3_route: -# path: ../../route -# angel3_mock_request: -# path: ../../mock_request -# angel3_serialize: -# path: ../../serialize/angel_serialize -# angel3_serialize_generator: -# path: ../../serialize/angel_serialize_generator -# angel3_orm: -# path: ../angel_orm -# angel3_migration: -# path: ../angel_migration + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_container: + path: ../../container/angel_container + angel3_framework: + path: ../../framework + angel3_http_exception: + path: ../../http_exception + angel3_model: + path: ../../model + angel3_route: + path: ../../route + angel3_mock_request: + path: ../../mock_request + angel3_serialize: + path: ../../serialize/angel_serialize + angel3_serialize_generator: + path: ../../serialize/angel_serialize_generator + angel3_orm: + path: ../angel_orm + angel3_migration: + path: ../angel_migration \ No newline at end of file diff --git a/packages/orm/angel_orm_mysql/pubspec.yaml b/packages/orm/angel_orm_mysql/pubspec.yaml index 1cd47353..dadbcc49 100644 --- a/packages/orm/angel_orm_mysql/pubspec.yaml +++ b/packages/orm/angel_orm_mysql/pubspec.yaml @@ -1,35 +1,35 @@ name: angel3_orm_mysql -version: 7.1.0-beta.1 +version: 8.0.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 environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_orm: ^7.0.0 - logging: ^1.1.0 + angel3_orm: ^8.0.0 + logging: ^1.2.0 mysql1: ^0.20.0 mysql_client: ^0.0.27 optional: ^6.1.0 dev_dependencies: - angel3_orm_generator: ^7.1.0-beta.1 - angel3_orm_test: ^7.2.0-beta.1 - build_runner: ^2.0.1 + angel3_orm_generator: ^8.0.0 + angel3_orm_test: ^8.0.0 + build_runner: ^2.4.0 test: ^1.24.0 - lints: ^2.0.0 + lints: ^2.1.0 dependency_overrides: -# angel3_serialize: -# path: ../../serialize/angel_serialize -# angel3_serialize_generator: -# path: ../../serialize/angel_serialize_generator -# angel3_model: -# path: ../../model + angel3_serialize: + path: ../../serialize/angel_serialize + angel3_serialize_generator: + path: ../../serialize/angel_serialize_generator + angel3_model: + path: ../../model angel3_orm_test: path: ../angel_orm_test -# angel3_orm: -# path: ../angel_orm + angel3_orm: + path: ../angel_orm angel3_orm_generator: path: ../angel_orm_generator -# angel3_migration: -# path: ../angel_migration + angel3_migration: + path: ../angel_migration diff --git a/packages/orm/angel_orm_mysql/test/orm_debug.dart b/packages/orm/angel_orm_mysql/test/orm_debug.dart index 4df4e5e0..d1ebebe4 100644 --- a/packages/orm/angel_orm_mysql/test/orm_debug.dart +++ b/packages/orm/angel_orm_mysql/test/orm_debug.dart @@ -1,8 +1,5 @@ -import 'package:angel3_orm_test/angel3_orm_test.dart'; import 'package:logging/logging.dart'; -import 'common.dart'; - void main() async { //hierarchicalLoggingEnabled = true; Logger.root diff --git a/packages/orm/angel_orm_postgres/CHANGELOG.md b/packages/orm/angel_orm_postgres/CHANGELOG.md index f2db2f79..ed836eba 100644 --- a/packages/orm/angel_orm_postgres/CHANGELOG.md +++ b/packages/orm/angel_orm_postgres/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.1.0-beta.1 * Require Dart >= 2.19 diff --git a/packages/orm/angel_orm_postgres/pubspec.yaml b/packages/orm/angel_orm_postgres/pubspec.yaml index a0dbdea7..93db07d4 100644 --- a/packages/orm/angel_orm_postgres/pubspec.yaml +++ b/packages/orm/angel_orm_postgres/pubspec.yaml @@ -1,32 +1,34 @@ name: angel3_orm_postgres -version: 7.1.0-beta.1 +version: 8.0.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 environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_orm: ^7.0.0 - logging: ^1.1.0 + angel3_orm: ^8.0.0 + logging: ^1.2.0 pool: ^1.5.0 postgres: ^2.6.1 postgres_pool: ^2.1.6 dev_dependencies: - belatuk_pretty_logging: ^5.0.0 - angel3_orm_generator: ^7.1.0-beta.1 - angel3_orm_test: ^7.2.0-beta.1 + belatuk_pretty_logging: ^6.0.0 + angel3_orm_generator: ^8.0.0 + angel3_orm_test: ^8.0.0 test: ^1.24.0 - lints: ^2.0.0 + lints: ^2.1.0 dependency_overrides: -# angel3_serialize: -# path: ../../serialize/angel_serialize -# angel3_model: -# path: ../../model + angel3_serialize: + path: ../../serialize/angel_serialize + angel3_serialize_generator: + path: ../../serialize/angel_serialize_generator + angel3_model: + path: ../../model angel3_orm_test: path: ../angel_orm_test - angel3_orm_genrator: + angel3_orm_generator: path: ../angel_orm_generator -# angel3_orm: -# path: ../angel_orm -# angel3_migration: -# path: ../angel_migration + angel3_orm: + path: ../angel_orm + angel3_migration: + path: ../angel_migration diff --git a/packages/orm/angel_orm_service/CHANGELOG.md b/packages/orm/angel_orm_service/CHANGELOG.md index c4d3ec1e..14562707 100644 --- a/packages/orm/angel_orm_service/CHANGELOG.md +++ b/packages/orm/angel_orm_service/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.0.0 * Require Dart >= 2.17 diff --git a/packages/orm/angel_orm_service/pubspec.yaml b/packages/orm/angel_orm_service/pubspec.yaml index 85ef2d2e..65becdd0 100644 --- a/packages/orm/angel_orm_service/pubspec.yaml +++ b/packages/orm/angel_orm_service/pubspec.yaml @@ -1,51 +1,51 @@ name: angel3_orm_service -version: 7.0.0 +version: 8.0.0 description: Service implementation that wraps over Angel3 ORM Query classes. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_service environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_framework: ^7.0.0 - angel3_orm: ^7.0.0 + angel3_framework: ^8.0.0 + angel3_orm: ^8.0.0 postgres: ^2.4.0 optional: ^6.0.0 dev_dependencies: - angel3_migration: ^7.0.0 - angel3_migration_runner: ^7.0.0 - angel3_orm_generator: ^7.0.0 - angel3_orm_postgres: ^7.0.0 - angel3_serialize: ^7.0.0 - build_runner: ^2.0.4 - logging: ^1.0.1 - test: ^1.21.0 - lints: ^2.0.0 -# dependency_overrides: -# angel3_container: -# path: ../../container/angel_container -# angel3_framework: -# path: ../../framework -# angel3_http_exception: -# path: ../../http_exception -# angel3_model: -# path: ../../model -# angel3_route: -# path: ../../route -# angel3_mock_request: -# path: ../../mock_request -# angel3_serialize: -# path: ../../serialize/angel_serialize -# angel3_serialize_generator: -# path: ../../serialize/angel_serialize_generator -# angel3_orm_test: -# path: ../angel_orm_test -# angel3_orm: -# path: ../angel_orm -# angel3_orm_generator: -# path: ../angel_orm_generator -# angel3_orm_postgres: -# path: ../angel_orm_postgres -# angel3_migration: -# path: ../angel_migration -# angel3_migration_runner: -# path: ../angel_migration_runner + angel3_migration: ^8.0.0 + angel3_migration_runner: ^8.0.0 + angel3_orm_generator: ^8.0.0 + angel3_orm_postgres: ^8.0.0 + angel3_serialize: ^8.0.0 + build_runner: ^2.4.0 + logging: ^1.2.0 + test: ^1.24.0 + lints: ^2.1.0 +dependency_overrides: + angel3_container: + path: ../../container/angel_container + angel3_framework: + path: ../../framework + angel3_http_exception: + path: ../../http_exception + angel3_model: + path: ../../model + angel3_route: + path: ../../route + angel3_mock_request: + path: ../../mock_request + angel3_serialize: + path: ../../serialize/angel_serialize + angel3_serialize_generator: + path: ../../serialize/angel_serialize_generator + angel3_orm_test: + path: ../angel_orm_test + angel3_orm: + path: ../angel_orm + angel3_orm_generator: + path: ../angel_orm_generator + angel3_orm_postgres: + path: ../angel_orm_postgres + angel3_migration: + path: ../angel_migration + angel3_migration_runner: + path: ../angel_migration_runner diff --git a/packages/orm/angel_orm_test/CHANGELOG.md b/packages/orm/angel_orm_test/CHANGELOG.md index 3bf41c85..bdbb50d6 100644 --- a/packages/orm/angel_orm_test/CHANGELOG.md +++ b/packages/orm/angel_orm_test/CHANGELOG.md @@ -1,12 +1,16 @@ # Change Log +## 8.0.0 + +* Require Dart >= 3.0 + ## 7.2.0-beta.1 -* [Breaking] Require Dart >= 2.19 +* Require Dart >= 2.19 ## 7.1.0 -* [Breaking] Require Dart >= 2.18 +* Require Dart >= 2.18 ## 7.0.2 diff --git a/packages/orm/angel_orm_test/pubspec.yaml b/packages/orm/angel_orm_test/pubspec.yaml index 06d61f1b..2aca930a 100644 --- a/packages/orm/angel_orm_test/pubspec.yaml +++ b/packages/orm/angel_orm_test/pubspec.yaml @@ -1,44 +1,44 @@ name: angel3_orm_test -version: 7.2.0-beta.1 +version: 8.0.0 description: Common tests for Angel3 ORM. Reference implmentation of the generated ORM files. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_test environment: sdk: '>=3.0.0 <4.0.0' dependencies: - angel3_migration: ^7.0.0 - angel3_model: ^7.0.0 - angel3_orm: ^7.0.0 - angel3_serialize: ^7.0.0 + angel3_migration: ^8.0.0 + angel3_model: ^8.0.0 + angel3_orm: ^8.0.0 + angel3_serialize: ^8.0.0 io: ^1.0.0 test: ^1.24.0 - collection: ^1.15.0 + collection: ^1.17.0 optional: ^6.1.0 dev_dependencies: - angel3_orm_generator: ^7.1.0-beta.1 - angel3_framework: ^7.0.0 - build_runner: ^2.0.1 - lints: ^2.0.0 + angel3_orm_generator: ^8.0.0 + angel3_framework: ^8.0.0 + build_runner: ^2.4.0 + lints: ^2.1.0 dependency_overrides: -# angel3_container: -# path: ../../container/angel_container -# angel3_framework: -# path: ../../framework -# angel3_http_exception: -# path: ../../http_exception -# angel3_model: -# path: ../../model -# angel3_route: -# path: ../../route -# angel3_mock_request: -# path: ../../mock_request -# angel3_serialize: -# path: ../../serialize/angel_serialize -# angel3_serialize_generator: -# path: ../../serialize/angel_serialize_generator -# angel3_orm: -# path: ../angel_orm -# angel3_migration: -# path: ../angel_migration + angel3_container: + path: ../../container/angel_container + angel3_framework: + path: ../../framework + angel3_http_exception: + path: ../../http_exception + angel3_model: + path: ../../model + angel3_route: + path: ../../route + angel3_mock_request: + path: ../../mock_request + angel3_serialize: + path: ../../serialize/angel_serialize + angel3_serialize_generator: + path: ../../serialize/angel_serialize_generator + angel3_orm: + path: ../angel_orm + angel3_migration: + path: ../angel_migration angel3_orm_generator: path: ../angel_orm_generator