comon_orm 0.0.1-alpha.4
comon_orm: ^0.0.1-alpha.4 copied to clipboard
Prisma-inspired schema-first ORM core for Dart with schema parsing, code generation, and an in-memory runtime.
Changelog #
0.0.1-alpha.4 #
- Fixed provider CLI working directory resolution for packages installed from pub.dev (pub cache
resolution: workspaceerror).
0.0.1-alpha.3 #
- Added built-in query logging system with
QueryLoggingMiddleware,QueryLogEntry, and formatting utilities. - Added
DatabaseExecutionMiddlewareinterface for middleware that wraps query execution scope. - Added
MigrationCapableDatabaseAdapterinterface,MigrationExecutor, andMigrationReaderabstractions for runtime migration support. - Added
DirectoryMigrationReaderfor file-system-backed migration loading. - Added
GeneratedClientWriterwith schema-hash drift detection andGeneratedClientSchemaMismatchException. - Added
lib/codegen.dartandlib/migrations.dartbarrel exports for code generation and migration APIs. - Added provider CLI support infrastructure with
providerPackageExecutableFor()and filesystem-level locking. - Enhanced
ComonOrmClientwith optionalloggerparameter that auto-wiresQueryLoggingMiddleware. - Enhanced schema CLI with refactored command runner and testable
check/formatworkflow. - Expanded
DatabaseAdapterinterface withMigrationCapableDatabaseAdaptermarker.
0.0.1-alpha.2 #
- Added native provider-side upsert and
createMany(skipDuplicates)execution paths instead of transaction-heavy fallbacks. - Added include planning plus JOIN/batch eager-loading improvements across SQL adapters and generated clients.
- Added middleware decoration APIs, SQL pushdown for
distinct + cursor, and CI/pub.dev release validation updates.
0.0.1-alpha.1 #
- Added generated runtime metadata so generated clients can open adapters without re-reading
schema.prismaat normal runtime. - Added generated convenience helpers like
ComonOrm.openInMemory(), runtime schema accessors, and close support on generated clients. - Added runtime metadata bridge and datasource resolution APIs shared by adapters and generated clients.
- Updated the generator and examples toward generated-metadata-first runtime flows.
0.0.1-alpha #
- First public alpha release.
- Added schema parsing, validation, formatting, and client generation from
schema.prisma. - Added provider-agnostic query models, migration metadata helpers, and the in-memory adapter.
- Added the unified
comon_ormCLI withcheck,format,generate, andmigratecommands.