Skip to content

Releases: rainbowdashlabs/sadu

v2.2.1

20 Jun 14:12
83360b1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.0...v2.2.1

v2.2.0 Release of Value Converters

27 May 09:58
c7dd962
Compare
Choose a tag to compare

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.

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

24 Feb 12:42
c8addb1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

23 Feb 14:45
a1d875a
Compare
Choose a tag to compare

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 with RowMapper<T>, which is an interface that is still compatible with the old signature via RowMapping.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

Full Changelog: v1.4.1...v2.0.0

v1.4.1

23 Jan 09:51
8e506cf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

21 Nov 22:59
435da9f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.1...v1.4.0

v1.3.1

20 Jul 21:07
34cc648
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

Release 1.3.0

06 Apr 20:52
3d2dd1c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.3.0

Release 1.2.0

28 Sep 16:24
3890aed
Compare
Choose a tag to compare

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