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