Releases: rainbowdashlabs/sadu
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
v1.4.0
What's Changed
- Rename postgres module in README by @Dominik48N in #102
- Add test suite for projects using sadu by @rainbowdashlabs in #107
- Display which statement of an update query produced an error. by @Simzahn001 in #115
- Postgres mapper test and bugfixes by @rainbowdashlabs in #111
- Implement configurable query splitting for mariadb, mysql and sqlite. Fix #124 by @Simzahn001 in #127
- Release 1.4.0 by @rainbowdashlabs in #110
New Contributors
- @Dominik48N made their first contribution in #102
- @Simzahn001 made their first contribution in #115
Full Changelog: v1.3.1...v1.4.0
v1.3.1
What's Changed
- Add check for unkown higher database version by @rainbowdashlabs in #85
- Fix/auto mapping by @rainbowdashlabs in #94
- Change License to LGPL-3.0 by @rainbowdashlabs in #98
- Add static query adapter by @rainbowdashlabs in #99
- Next Release 1.3.1 by @rainbowdashlabs in #96
Full Changelog: v1.3.0...v1.3.1
Release 1.3.0
What's Changed
- [support LocalDate in Row and ParamBuilder] by @doriancodes in #26
- [replace runtime exception class] by @doriancodes in #25
- [replace VersionInfo with SqlVersion] by @BaLiKfromUA in #28
- Consumer for hikari config 20 by @Goldmensch in #29
- Implement context sensitive
SqlUpdaterBuilder
by @Goldmensch in #27 - [Support LocalTime in Row and ParamBuilder] by @BaLiKfromUA in #31
- Added support for LocalDateTime in Row and ParamBuilder by @yannicklamprecht in #46
- Added support for ZonedDateTime in Row and ParamBuilder by @yannicklamprecht in #47
- Added support for OffsetDateTime and OffsetTime in Row and ParamBuild… by @yannicklamprecht in #48
- task: update gradle wrapper by @yannicklamprecht in #50
- Adding a null check to the UUIDConverter.java by @Baaasty in #51
- Add update hooks by @rainbowdashlabs in #82
- Release 1.3.0 by @rainbowdashlabs in #59
New Contributors
- @doriancodes made their first contribution in #26
- @BaLiKfromUA made their first contribution in #28
- @Goldmensch made their first contribution in #29
- @yannicklamprecht made their first contribution in #46
- @Baaasty made their first contribution in #51
Full Changelog: v1.2.0...v1.3.0
Release 1.2.0
Default Mapper
Default Mapper for the java base types were added. You can access the via Mapper.getDefaultMapper()
a1d103a
Enum support
You can now directly set and get enum values connected to string columns.
9e82e1e
Check return type
Annotations to ensure a good program flow in builders were added.
9b23948
Typo fixes
A lot of typos were fixed in the documentation.
3c29508