Releases: babyfish-ct/jimmer
v0.8.130
-
Fix/Support #502, #3, #507, #511, #512, #513, #519, #521, #522, #523, #524, #525, #528, #530, #537, #531, #539, #541, #550, #551, #557
-
ScalarProvider
becomes interface, a new classAbstractScalarProvider
is provided. -
Fixed bug raised when both paging query and global filter are used.
-
inlist
predicates is changed. the max values become1000
(the limit or oracle, longer list will be splited to parts joined withor
), new configurationjimmer.in-list-padding-enabled
andjimmer.in-list-to-any-equality.enabled
is provided. -
Better join type deciding for dynamic predicate.
-
Replace jackson serializataion/deserialization of immutable objects, now it allows user to use any advanced feature of jackson.
-
Types decorated by
@Embeddable
and@Immutable
can be mapped by DTO language. -
Avoid to use
ctx.getBeansOfType
of spring framework which ignores the exceptions during object creating. -
Let nullable properties of input DTO support 4 modifiers: fixed, static, dynamic, fuzzy.
-
Logical deleted flag is automatically excluded from
allScalars
(Both fetcher and DTO language) -
User annotation
@ExcludedFromAllScalars
which allows any properties can be excluded fromallScalars
(Both fetcher and DTO language)
v0.8.116
-
SqlClient supports zoneId configuration, which can parse date data based on the time zone of the database instead of the time zone of the current JVM
-
Formula company attributes support associated attributes, see the following two examples (take kt as an example)
@Formulat(depenedencies = ["authors"])
val authorCount: Int
get() = authors.size()
@Formula(dependencies = ["authors.firstName", "authors.lastName"])
val authorNames: List<String>
get() = authors.map { "${it.firstName} ${it.lastName}" }
-
Support ImmutableCompanion for kotlin
@Entity
interface TreeNode {
... omit properties...
companion object: ImmutableCompanion
}
If you declare this companion object with the selection as an immutable interface, you can build the immutable object using the golang struct initialization style
val treeNode = TreeNode {
name = "etc"
childNodes = listOf(
TreeNode {
name = "host"
},
TreeNode {
name = "man.conf"
}
)
}
The corresponding example 'kotlin/jimmer-core-kt' has been modified
-
Fixed the bug that embeddable does not use flat mode in specification of DTO language
-
Kotlin can only be ToOne and Embeddable syntactic sugar
Previous code
store().apply { name = "MANING" website = "https://www.maning.com" }
Code now
store {
name = "MANING"
website = "https://www.maning.com"
}
- Update the Discord Link to a link that does not expire
v0.8.114
- Fix/Provide #449, #451,#452, #453, #466, #468, #469, #471, #473, #474, #476
- Fix a bug of jimmer-graphql
- Properties in embeddable type can be handled by both ObjectFetcher and DTO language
- Nested
flat
is supported in DTO language - Partial embeddable type is supported by save-command
- Formula property of entity can depend on nested properties of embeddable type
- Embeddable type supports formula properties
@JoinTable
supportscascadeDeletedBySource
andcascadeDeletedByTarget
- DTO language supports interface implementation
v0.8.104
- Fix/Support #427,#428,#433,#434,#436, #443, #444, #447, #448
- Let
eq
andne
of kotlin accept nullable value - Imporove GraphQL,
DataFetchingEnvironment
can be used to create jimmer fetcher JoinTable.inverseColumnName
->JoinTable.inverseJoinColumnName
- Pretty nested class name for Generated DTO Type
- Better code generator for multiple-props recursion DTO
- Support multiple datasources
- Change behavior of DissociateAction.LAX
- Smarter behavior for
Order.makeOrders
- Big change of documentation
- Home page changed
v0.8.92
-
Support array mapping for H2 and Postgres, Postgres requires
@Column(sqlElementType = '...')
-
Fix issue/Support #370, #381, #386, #390, #391, #392, #393, #394, #395, #422, #411, #405, #421
-
Add
@JoinTable.LogcalDeletedFilter
-
Add
@JoinTable.JoinTableFilter
-
Add
@JoinTable.deletedWhenEndpointIsLogicallyDeleted
-
Support database which does not support tuple expression. Eg, SQL server
-
Add optioanl dependency
jimmer-client-swagger
, If it is runtime classpath, Jimmer's OpenAPI implementation will use the embedded CSS and JS, not extranl CSS/JS links. -
Add global properties
jimmer.client.controller-nullity-checked
, it is enabled, it will validate argumenents of REST methods in restrict mode -
The
count
of(K)ConigurableTypedRootQuery
is changed tofetchUnlimitedCount
-
Support
org.babyfish.jimmer.Page<T>
,
Fetch jimmer page: fetchPage(pageIndex, pageSize)
Fetch spring page: fetchPage(pageIndex, pageSize, SpringPageFactory.create())
JRepository.pager
is deprecated -
Redesign the recursive query (Big change)
-
Support merge command(save command without dissociation)
-
Fetcher.allTableFields()
changed, if a foreign key base property has its @idview property, fetch the idview property. -
Add
allReferenceFields()
into fetcher, add#allReferences
into DTO language. -
Let Draft directly support getters and setters for associated ids even if there is no @idview property
-
The kotlin extension function
fetchPage
is renamed tofetchSpringPage
Big change version 0.8.77
Big change version 0.8.77, Please view QuickView
of documentation
v0.8.44
0.8.42
- Refactor logical deletion, now it does not requires multi-view cache
- Refactor filter, now it can filter fields of other tables.
- Support
CachableFilter.getAffectedSourceIds
andTransisentResolver.getAffectedSourceIds
- Add
LAX
andCHECK
into DisssociationAction - Refactor DTO language, remove inheritance, add sepcification, unsafe input and export statement
- Allow to create DTO files in any projects. (previous version must be the project which defines the entity types)
- Add new demo
example/java/data-authorization
v0.8.23
High-quality documentation is supported