slingshot 1.0.6
slingshot: ^1.0.6 copied to clipboard
Shared contract for the slingshot database drivers for Dart: transaction lifecycle, repository interface, error types and native library loading.
Changelog #
1.0.6 #
Documentation only: the dartdoc of ConnectionLostException describes what happens to a transaction open when
the link drops (the next commit() or rollback() raises this exception once and ends the unit of work), and the
dartdoc of UnitOfWork.begin says that, on the Extended Protocol, the deferred BEGIN rides the same pipeline
as the first statement. No API change.
1.0.5 #
- The native library resolver also checks
<exe dir>/../lib/<file>, thedart build clibundle layout, right after the executable's own directory. A build hook (such asslingshot_postgres_assets) that bundles the library is found without copying files or setting the environment variable.
1.0.4 #
Documentation only: README rewritten, a runnable example (example/main.dart, an in-memory driver), dartdoc on
the error types, shorter pubspec description. No API change.
1.0.3 #
First release on pub.dev. Renamed from slingshot_core to slingshot, the name of the family: there is no
umbrella package, each database has its own driver package that depends on this one. The repository moved with
it. No API change: only the package name, the library import (package:slingshot/slingshot.dart) and the
dependency key change. The conformance battery, kept in the repository and not published, takes this package from pub.dev too.
1.0.2 #
Renamed from dart_db_connector_core to slingshot_core; the repository moved with it. No API change: only the package
name, the library import (package:slingshot_core/slingshot_core.dart) and the dependency key change.
1.0.1 #
Packaging only; the contract is unchanged. The conformance battery in conformance/ now depends on this
package by the same git url and tag that drivers use, so a driver can depend on both. With 1.0.0 the battery
referenced the core by relative path, which pub resolves as a different source and refuses.
1.0.0 #
First public release, consumed by git reference to the tag v1.0.0.
- Contract:
UnitOfWork<E>,Repository<T, K>. - Errors:
TransactionStateError,QueryFailedException,QueryTimeoutException,ConnectionLostException. - Native library resolution (
openDriverLibrary,LibNames,libraryFileName,detectPlatformId) and the shared ABI check (assertNativeAbiCompatible). - Conformance battery in
conformance/(runUnitOfWorkConformance), versioned with this tag.