Releases: rainbowdashlabs/sadu
v2.3.0
What's Changed
- Add row mapping annotation and auto discovery by @rainbowdashlabs in #213
- Release 2.3.0 by @rainbowdashlabs in #215
Full Changelog: v2.2.6...v2.3.0
v2.2.6
What's Changed
- Throw exception when the return type of a RowMapper is Row or ResultSet by @rainbowdashlabs in #212
Full Changelog: v2.2.5...v2.2.6
v2.2.5
What's Changed
- Feature: Lock connection in post and pre update hook by @rainbowdashlabs in #210
- Feature: Allow to inject a connection into a config by @rainbowdashlabs in #208
- Release 2.2.5 by @rainbowdashlabs in #209
Full Changelog: v2.2.4...v2.2.5
v2.2.4
What's Changed
- Update dependencies by @rainbowdashlabs in #201
- Release 2.2.4 by @rainbowdashlabs in #206
Full Changelog: v2.2.2...v2.2.4
v2.2.2
What's Changed
- Fix connection leak on multi transaction mode by @rainbowdashlabs in #195
Full Changelog: v2.2.1...v2.2.2
v2.2.1
What's Changed
- Switch wrong search path creation on postgresql by @rainbowdashlabs in #185
- Do not attempt to format a string if no replacements are provided c8c9363
- Release 2.2.1 by @rainbowdashlabs in #187
Full Changelog: v2.2.0...v2.2.1
v2.2.0 Release of Value Converters
What's Changed
this release contains a newly added ValueReader class, which allows reading all kind of types from a ResultSet. Pre defined Value Reader can be accessed via the StandardValueReader class. Value readers for all date and time classes are present
Adapters for missing date and time classes were added.
The Adapters and ValueReaders for certain types are now grouped in ValueConverters accessible via the StandardValueConverters class. Those implement the Adapter and ValueReader class allowing them to be used for reading and writing values at the same time. Have a look at #182 for further information and examples.
- Fix NullPointerException in getUuidFromString by @aerulion in #180
- Feature: ValueReader & ValueConverter by @rainbowdashlabs in #182
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Feature: generated keys by @rainbowdashlabs in #170
- Add database configuration and schema provider interfaces by @rainbowdashlabs in #169
- Release 2.1.0 by @rainbowdashlabs in #171
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Changelog:
2.0.0 has several breaking changes. A general cleanup was performed to align the package structure and allow usage of java modules.
The old queries module was removed and replaced by a new query format. See the migration guide for further information.
Package Changes
- Everything inside the core module was moved from de.sadu to de.sadu.core
- Everything inside the mariadb module was moved from de.sadu to de.sadu.mariadb
- Everything inside the sqlite module was moved from de.sadu to de.sadu.sqlite
- Everything inside the mysql module was moved from de.sadu to de.sadu.mysql
- Everything inside the postgresql module was moved from de.sadu to de.sadu.postgresql
- Everything inside the testing module was moved from de.sadu.tests to de.sadu.testing
- The Row class was moved from de.sadu.wrapper.util to de.sadu.mapper.wrapper
Module changes
- Removed queries module
- Added new queries module #42
- Every module now declares a module-info.java and defines its module
Class changes
- Added RowMapping class.
- A RowMapper is now a RowMapping as well. This should be compatible with the old signature already.
General changes
- Setting a config in the SqlUpdater is no longer possible. The Updater wasnt using the query builder anyway, so it had no effect at all.
- All instances where
ThrowingFunction<? extends T, Row, SQLException>
was used to map a row was replaced withRowMapper<T>
, which is an interface that is still compatible with the old signature viaRowMapping.create(ThrowingFunction)
or via signature match, which is identical - Bumped base java version from 15 to 17
Dendency changes
- Annotations from jsr305 were replaced with jetbrains annotations
Documentation
- Documentation and package-info were added to a wide amount of packages
- Docs are now available at sadu.docs.chojo.dev
What's Changed
- chore(deps): update dependency gradle to v8.6 by @renovate in #156
- fix(deps): update junit to v5.10.2 by @renovate in #157
- fix(deps): update junit5 monorepo to v5.10.2 by @renovate in #158
- fix(deps): update dependency org.xerial:sqlite-jdbc to v3.45.1.0 by @renovate in #155
- fix(deps): update testcontainers-java monorepo to v1.19.4 by @renovate in #153
- fix(deps): update testcontainers-java monorepo to v1.19.5 by @renovate in #160
- Sadu Queries 2 by @rainbowdashlabs in #42
- Migrate to 2.0.0 by @rainbowdashlabs in #162
- fix(deps): update slf4j monorepo to v2.0.12 by @renovate in #159
- Feature/cleanup by @rainbowdashlabs in #163
- Feature: expose exceptions by @rainbowdashlabs in #164
- Update dependency org.postgresql:postgresql to v42.7.2 by @renovate in #166
- Release 2.0.0 by @rainbowdashlabs in #161
Full Changelog: v1.4.1...v2.0.0
v1.4.1
What's Changed
- Allow to inject classloader by @rainbowdashlabs in #147
- Release 1.4.1 by @rainbowdashlabs in #152
Full Changelog: v1.4.0...v1.4.1