comon_orm 0.0.1-alpha.4 copy "comon_orm: ^0.0.1-alpha.4" to clipboard
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: workspace error).

0.0.1-alpha.3 #

  • Added built-in query logging system with QueryLoggingMiddleware, QueryLogEntry, and formatting utilities.
  • Added DatabaseExecutionMiddleware interface for middleware that wraps query execution scope.
  • Added MigrationCapableDatabaseAdapter interface, MigrationExecutor, and MigrationReader abstractions for runtime migration support.
  • Added DirectoryMigrationReader for file-system-backed migration loading.
  • Added GeneratedClientWriter with schema-hash drift detection and GeneratedClientSchemaMismatchException.
  • Added lib/codegen.dart and lib/migrations.dart barrel exports for code generation and migration APIs.
  • Added provider CLI support infrastructure with providerPackageExecutableFor() and filesystem-level locking.
  • Enhanced ComonOrmClient with optional logger parameter that auto-wires QueryLoggingMiddleware.
  • Enhanced schema CLI with refactored command runner and testable check/format workflow.
  • Expanded DatabaseAdapter interface with MigrationCapableDatabaseAdapter marker.

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.prisma at 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_orm CLI with check, format, generate, and migrate commands.
9
likes
160
points
38
downloads

Documentation

Documentation
API reference

Publisher

verified publisherserezhia.ru

Weekly Downloads

Prisma-inspired schema-first ORM core for Dart with schema parsing, code generation, and an in-memory runtime.

Repository (GitHub)
View/report issues
Contributing

Topics

#orm #prisma #codegen #schema #database

License

MIT (license)

Dependencies

crypto, meta

More

Packages that depend on comon_orm