sadu

Sql and damn utilitites. The successor of the sql-util.

LGPL-3.0 License

Stars
33

Bot releases are hidden (Show)

sadu - v2.3.0 Latest Release

Published by rainbowdashlabs about 2 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v2.2.6...v2.3.0

sadu - v2.2.6

Published by rainbowdashlabs about 2 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v2.2.5...v2.2.6

sadu - v2.2.5

Published by rainbowdashlabs 2 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v2.2.4...v2.2.5

sadu - v2.2.4

Published by rainbowdashlabs 2 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v2.2.2...v2.2.4

sadu - v2.2.2

Published by rainbowdashlabs 2 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v2.2.1...v2.2.2

sadu - v2.2.1

Published by rainbowdashlabs 4 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v2.2.0...v2.2.1

sadu - v2.2.0 Release of Value Converters

Published by rainbowdashlabs 5 months ago

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: https://github.com/rainbowdashlabs/sadu/compare/v2.1.0...v2.2.0

sadu - v2.1.0

Published by rainbowdashlabs 8 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v2.0.0...v2.1.0

sadu - v2.0.0

Published by rainbowdashlabs 8 months ago

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: https://github.com/rainbowdashlabs/sadu/compare/v1.4.1...v2.0.0

sadu - v1.4.1

Published by rainbowdashlabs 9 months ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v1.4.0...v1.4.1

sadu - v1.4.0

Published by rainbowdashlabs 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v1.3.1...v1.4.0

sadu - v1.3.1

Published by rainbowdashlabs about 1 year ago

What's Changed

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v1.3.0...v1.3.1

sadu - Release 1.3.0

Published by rainbowdashlabs over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/rainbowdashlabs/sadu/compare/v1.2.0...v1.3.0

sadu - Release 1.2.0

Published by rainbowdashlabs about 2 years ago

Release 1.2.0

Default Mapper
Default Mapper for the java base types were added. You can access the via Mapper.getDefaultMapper()
https://github.com/RainbowDashLabs/sadu/pull/15/commits/a1d103a5594dfb231eb845970176208d55d1dce1

Enum support
You can now directly set and get enum values connected to string columns.
https://github.com/RainbowDashLabs/sadu/pull/15/commits/9e82e1ee3151ab0d93c2c4835e245cd02c621f35

Check return type
Annotations to ensure a good program flow in builders were added.
https://github.com/RainbowDashLabs/sadu/pull/15/commits/9b239484f1f5b7607eda686e8c8f215b0d65b527

Typo fixes
A lot of typos were fixed in the documentation.
https://github.com/RainbowDashLabs/sadu/pull/15/commits/3c29508daec72a27fa9ee1842ae5dbc5acd42a41