Skip to content

Commit

Permalink
[bump] version 0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schultek committed Feb 5, 2024
1 parent 9241200 commit fbdc3fc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
33 changes: 20 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
- You no longer need to use the `Database` class, you can use `Connection.open` or `Pool` directly.
- `Database` class implements postegres `Session` and `SessionExecutor` classes
- Extension methods for accessing repositories now extend `Session`
- Added the ability to create a Pool for your database
- Updated analyzer dependency to `^6.0.0`
- Updated dart sdk constraints to `>=2.17.0 <4.0.0`

**BREAKING CHANGES**
- Updated the `postgres` package to version `3.0.0`. To visit all the breaking changes see their changelog
- Removed `Database.query` method in favour of `Session.execute` method
- `Action` and `Query` now accept a Session
- Repository methods are no longer wrapped in a transaction
- Removed all fields and methods to execute a transaction in favor of `SessionExecutor.runTx`
# 0.14.0

- **BREAKING** Updated the `postgres` package to version `3.0.0` (by [@BreX900](https://github.com/BreX900)).

To visit all the breaking changes see [their changelog](https://pub.dev/packages/postgres).

- You no longer need to use the `Database` class, you can use `Connection.open` or `Pool` directly.
- `Database` class now implements `Session` and `SessionExecutor` classes from `postgres` package.
- Removed `Database.query` method in favour of `Session.execute` method.
- Extension methods for accessing repositories now extend `Session`.
- `Action` and `Query` now accept a `Session`

- **BREAKING** Generated repository methods are no longer wrapped in a transaction.

Instead, wrap your database calls in a transaction yourself, e.g. by using `db.runTx()`.

- Added the ability to create a Pool for your database-

- Updated analyzer dependency to `^6.0.0`.
- Updated dart sdk constraints to `>=3.0.0 <4.0.0`.

# 0.13.1

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stormberry
description: A strongly-typed postgres ORM to provide easy bindings between your dart classes and postgres database.
version: 0.13.1
version: 0.14.0
repository: https://github.com/schultek/stormberry
issue_tracker: https://github.com/schultek/stormberry/issues
funding:
Expand Down

0 comments on commit fbdc3fc

Please sign in to comment.