Skip to content

Releases: babyfish-ct/jimmer

v0.9.20

23 Nov 22:18
Compare
Choose a tag to compare
  1. #791, #792, #797, #798, #799
  2. Make @Key repeatable

v0.9.19

17 Nov 20:38
Compare
Choose a tag to compare

In the process of refactoring the save-command documentation, it was found that there were some minor problems in the save-command API, and improvements were made.

v0.9.17

15 Nov 23:22
Compare
Choose a tag to compare

Support SQLiteDialect

Fixed/Supported Issues: #772, #773, #774, #775, #776, #777, #778, #780, #781

Merged PRs: #784, #785

v0.9.12

10 Nov 22:57
Compare
Choose a tag to compare
  1. Important new feature for #750, an argument named group is added into @Key to support multiple unique constraints exception primary key.

  2. Issues: #748, #749, #751, #752, #757, #758, #761, #763, #764, #765, #769, #770

v0.9.9

03 Nov 00:07
Compare
Choose a tag to compare
  1. Fixed/Provided #736, #737, #739, #740, #741, #745 and #746
  2. Let where of DSL support Specification (Not only JSpecification and KSpecification)
  3. Add protected methods executeQuery, createQuery, createUpdate, createDelete into AbstractKotlinRepository

v0.9.5

30 Oct 23:38
Compare
Choose a tag to compare
  1. Fixed #734 and #735
  2. Better exception message when create isNull based on non-null expression

v0.9.4

27 Oct 21:13
Compare
Choose a tag to compare

A new feature for save command is added.

By default, this key-only object is not id-only object, so it will be consider as long association and saved recursivly.

Now, save command support a new configuration:

setKeyOnlyAsReference(A::childNodes) or setKeyOnlyAsReferenceAll().

This configuration change the default behavior, consider key-only as short association, it will be only referenced, will not be saved.

Before refer key-only object, jimmer will execute an extra select statement to convert keys to ids, so QueryReason.KEY_ONLY_AS_REFERENCE is added.

v0.9.3

26 Oct 18:27
Compare
Choose a tag to compare
  • Fixed issues #701, #725, #728.
  • Added NotUniqueKeyExceptionTranslator into jimmer example projects jimmer-sql, jimmer-sql-kt, jimmer-sql-graphql, jimmer-sql-graphql-kt.
  • Added new predicate expressionIn which is designed for expression collection, not value collection.
  • Added unaryMinus (- in kotlin) for numeric expression.

v0.9.1

20 Oct 16:37
Compare
Choose a tag to compare

v0.9.0

19 Oct 21:18
Compare
Choose a tag to compare

Breaking Change

  • JSqlClient (jimmer-sql), KSqlClient (jimmer-sql), JRepository (jimmer-spring-boot-starter), KRepository (jimmer-spring-boot-starter)

    • Delete depcarated methods such as merge(..., SaveMode) and append(...), saveAll(...), batchSave(...) and batchDelete(...)

    • For save methods whose name is not save(insert, insertIfAbsent, update, marge), the default value of AssociatedSaveMode is no longer REPLACE, it becomes

      • insert: APPEND
      • insertIfAbstent: APPEND_IF_ABSENT
      • update: UPDATE
      • merge: MERGE
  • JRepository (jimmer-spring-boot-starter), KRepository (jimmer-spring-boot-starter)

    Remove depreacate method pager and nested type Pager

  • JSqlClient (jimmer-sql), KSqlClient (jimmer-sql-kotlin)

    Add method findOneById to query non-null object, if there is no existing object, an exception will be raised

  • KSqlClient*(jimmer-sql)*

    • Add shortcut functions such as executeQuery, executeUpdate, executeDelete and findAll(..., <lambda>)

    • Add extension function exists

  • Associations (jimmer-sql), KAssociations (jimmer-sql-kotlin)

    • checkExistence is renamed to ingoreConflict

    • Add shortcut methods: insert, insertIfAbsent, replace, insertAll, insertAllIfAbsent and replaceAll

  • KWeakJoin (jimmer-sql-kotlin)

    Add a new method with a new parameter to support sub query.

  • AnnotationProcessor (jimmer-apt)

    The generated util class Objects is renamed to Immutables by default.