All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.7.5 - 2024-09-29
- Bumped minimum Go version to 1.23.
- Bumped Dogma to v0.14.3.
0.7.4 - 2024-08-17
- Bumped Dogma to v0.14.0.
0.7.3 - 2024-07-16
- Added support for
Disable()
method indogmatiq/dogma
v0.13.1.
0.7.2 - 2024-07-11
- Added experimental
memoryprojection
package.
0.7.1 - 2024-04-01
- Updated tests to use Dogma v0.13.0.
0.7.0 - 2024-01-17
- [BC] Changed
resource.RepositoryAware.ResourceRepository()
to accept acontext.Context
- Fixed issue where
sqlprojection.Options
related to driver selection were ignored - Fixed issue with SQL driver auto-selection that prevent a database connection from being returned to the pool
0.6.5 - 2023-04-09
This release updates the projectionkit
implementation to adhere to Dogma
v0.12.0 interfaces.
0.6.4 - 2023-03-22
- Added support for DynamoDB projections in the new
dynamoprojection
package - Added
resource.Repository
interface - Added
boltprojection.ResourceRepository
- Added
sqlprojection.ResourceRepository
- The
sqlprojection
MySQL driver no longer uses compressed table rows for the OCC table
0.6.3 - 2021-01-29
- Fix MySQL driver detection on old versions of MariaDB
0.6.2 - 2020-12-18
sqlprojection.CreateSchema()
no longer returns an error if the schema already exists
0.6.1 - 2020-12-11
- Add
sqlprojection.CreateSchema()
andDropSchema()
0.6.0 - 2020-12-11
As of this release the various SQL projection drivers no longer depend on
specific Go database/sql
driver implementations. They should each work with
any underlying database/sql
driver that supports the database's native query
placeholder format (?
for MySQL, $1
for everything else).
- [BC] Add
CreateSchema()
andDropSchema()
methods tosqlprojection.Driver
- [BC] Add
IsCompatibleWith()
method tosqlprojection.Driver
- Add
sqlprojection.Option
- Add
sqlprojection.SelectDriver()
- [BC] Rename
boltdb
package toboltprojection
- [BC] Rename
sql
package tosqlprojection
- [BC]
sqlprojection.New()
no longer returns an error - [BC]
sqlprojection.New()
now accepts functional options instead of a single driver boltprojection.New()
andsqlprojection.New()
now explicitly accept anil
database
- [BC] Remove the
sql/mysql
package - [BC] Remove the
sql/postgres
package - [BC] Remove the
sql/sqlite
package - [BC] Removed
sqlprojection.MustNew()
- [BC] Removed
sqlprojection.NewDriver()
0.5.1 - 2020-11-14
- Add support for
github.com/jackc/pgx
PostgreSQL driver - Add
sql.NoCompactBehavior
andboltdb.NoCompactBehavior
embeddable structs
0.5.0 - 2020-11-13
- [BC] Update to Dogma v0.10.0
- [BC] Add
sql.MessageHandler.Compact()
- [BC] Add
boltdb.MessageHandler.Compact()
0.4.0 - 2020-06-29
- Add
sql.MustNew()
0.3.2 - 2020-02-28
- Add test fixtures for BoltDB and SQL based message handlers
- Add the
resource
package for manually manipulating resource versions
0.3.1 - 2019-12-24
- Add the
boltdb
package for building BoltDB-based projections
0.3.0 - 2019-10-31
- Add
mysql.IsCompatibleWith()
- Add
postgres.IsCompatibleWith()
- Add
sqlite.IsCompatibleWith()
- Bump EngineKit to v0.8.0
- Fix
driver.New()
to build correctly when CGO is disabled
0.2.0 - 2019-10-19
- Add
sql.NewDriver()
function, which returns the appropriate driver for supported*sql.DB
instances - [BC] Return an error from
sql.New()
- [BC] Add driver parameter to
sql.New()
0.1.0 - 2019-10-14
- Initial release