Skip to content

Releases: xenit-eu/thunx

v0.11.0

28 Jun 09:32
ce8a797
Compare
Choose a tag to compare

What's Changed

Warning

  • BREAKING [ACC-1451] Add thunx-spring-security to check x-abac-context inside jwt by @NielsCW in #176
  1. Providing an X-ABAC-Context header or JWT claim is now required for every request. ABAC checking can be disabled completely with the following property:

     contentgrid.thunx.abac.source=none
    
  2. The ABAC Context must now be retrieved by the AbacContextSupplier bean instead of a static call to AbacContext.getCurrentAbacContex()

  3. @EnableAbac is now removed, use @Import({ AbacConfiguration.class, HttpHeaderAbacConfiguration.class }) instead

  • [ACC-768] Always set X-ABAC-Context when action is allowed by @NielsCW in #171
  • Make AbacContext package-private to avoid misuse to retrieve the ABAC Context by @vierbergenlars in #179

Maintenance

  • Json Encoder implements ThunkExpressionEncoder & ThunkExpressionDecoder interfaces by @vierbergenlars in #168
  • [ACC-1461] Refactor abac configurations to use AbacContextSupplier beans by @NielsCW in #178

Dependency Updates

  • Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.11.0 by @renovate in #152
  • Update plugin org.ajoberstar.reckon.settings to v0.18.2 by @renovate in #153
  • Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.11.1 by @renovate in #154
  • Update dependency org.testcontainers:postgresql to v1.19.4 by @renovate in #155
  • Update dependency org.springframework.cloud:spring-cloud-dependencies to v2022.0.5 by @renovate in #156
  • Update dependency gradle to v8.6 by @renovate in #157
  • Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.2.4 by @renovate in #158
  • Update dependency org.testcontainers:postgresql to v1.19.5 by @renovate in #159
  • Update plugin org.ajoberstar.reckon.settings to v0.18.3 by @renovate in #161
  • Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.2.5 by @renovate in #162
  • Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.2.7 by @renovate in #163
  • Update dependency org.testcontainers:postgresql to v1.19.6 by @renovate in #164
  • Update plugin eu.xenit.enterprise-conventions.oss to v0.5.1 by @renovate in #165
  • Update dependency org.testcontainers:postgresql to v1.19.7 by @renovate in #166
  • Update dependency gradle to v8.7 by @renovate in #167
  • Update dependency org.testcontainers:postgresql to v1.19.8 by @renovate in #169
  • Update dependency gradle to v8.8 by @renovate in #170
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.2.0 by @renovate in #146
  • Update dependency org.springframework.cloud:spring-cloud-dependencies to v2023 by @renovate in #149
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.3.0 by @renovate in #172
  • Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.14.1 by @renovate in #160
  • Update dependency com.contentgrid.opa-java-client:opa-async-java-client to v0.5.1 by @renovate in #174
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.3.1 by @renovate in #175
  • Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.3.0 by @renovate in #177

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

20 Dec 11:06
2540ab6
Compare
Choose a tag to compare

What's Changed

  • Fixes failing autoconfiguration when opa.service.url is not configured by @tgeens in #150
  • Sonar code smells cleanup by @tgeens in #151
  • Use renovate contentgrid presets by @tgeens in #145

Dependency Updates

  • Update actions/checkout action to v4 by @renovate in #137
  • Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.2.2 by @renovate in #138
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.1.4 by @renovate in #139
  • Update testcontainers-java monorepo to v1.19.1 by @renovate in #140
  • Update dependency gradle to v8.4 by @renovate in #141
  • Update plugin org.ajoberstar.reckon.settings to v0.18.1 by @renovate in #143
  • Update testcontainers-java monorepo to v1.19.3 by @renovate in #144
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.1.6 by @renovate in #142
  • Update actions/setup-java action to v4 by @renovate in #148
  • Update dependency gradle to v8.5 by @renovate in #147
  • Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.10.0 by @renovate in #136

Full Changelog: v0.9.0...v0.10.0

v0.9.0

30 Aug 07:37
65bbae2
Compare
Choose a tag to compare

New features

  • Introduce QuerydslPredicateResolver for adding additional QueryDSL Predicates as filters by @vierbergenlars in #132
  • Create a separate project for QuerydslPredicateResolver and associated machinery by @vierbergenlars in #134

Maintenance

  • Use spring-data QuerydslPredicateBuilder inside AbacQuerydslPredicateBuilder by @vierbergenlars in #131
  • Split up thunx-spring into thunx-spring-api & thunx-spring-gateway by @vierbergenlars in #135

Dependencies

  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.1.2 by @renovate in #121
  • Update dependency gradle to v8.3 by @renovate in #127
  • Upgrade to contentgrid-spring 0.7.1, which supports spring boot 3 by @vierbergenlars in #130
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.1.3 by @renovate in #133
  • Update testcontainers-java monorepo to v1.19.0 by @renovate in #129

Full Changelog: v0.8.0...v0.9.0

v0.8.0

17 Aug 09:55
6cacf0f
Compare
Choose a tag to compare

Thunx is now compatible with Spring Boot 3, support for Spring Boot 2 has been dropped.

Dependencies

  • Upgrade to spring boot 3 by @vierbergenlars in #125
  • Update dependency com.contentgrid.opa-java-client:opa-async-java-client to v0.4.1 by @renovate in #126
  • Update dependency com.contentgrid.opa-java-client:opa-async-java-client to v0.5.0 by @renovate in #128

Full Changelog: v0.7.1...v0.8.0

v0.7.1

17 Aug 07:43
10d4eaa
Compare
Choose a tag to compare

The 0.7.x release series will be the last one to support Spring Boot 2.

Fixed

  • Ensure same variable name is used in WHERE clause as in SELECT/FROM by @vierbergenlars in #124

Dependencies

  • Update dependency gradle to v8.2.1 by @renovate in #120
  • Clean up api-integration-tests dependencies by @tgeens in #122
  • Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3 by @renovate in #115

Full Changelog: v0.7.0...v0.7.1

v0.7.0

10 Jul 14:13
3c47797
Compare
Choose a tag to compare

Changes

Maintenance

  • Update testcontainers-java monorepo to v1.18.2 by @renovate in #108
  • Update testcontainers-java monorepo to v1.18.3 by @renovate in #109
  • Update dependency org.springframework.boot:spring-boot-dependencies to v2.7.13 by @renovate in #111
  • Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.4.3 by @renovate in #112
  • Update dependency gradle to v8.2 by @renovate in #114
  • Update dependency org.springframework.cloud:spring-cloud-dependencies to v2021.0.8 by @renovate in #113

Full Changelog: v0.6.2...v0.6.3

v0.6.2

23 May 12:04
192cc5e
Compare
Choose a tag to compare

Maintenance

Dependency Updates

  • Bump com.contentgrid.spring:contentgrid-spring-data-rest from 0.4.1 to 0.4.2 by @dependabot in #85
  • Bump org.testcontainers:testcontainers-bom from 1.17.6 to 1.18.0 by @dependabot in #87
  • Bump org.testcontainers:postgresql from 1.17.6 to 1.18.0 by @dependabot in #86
  • Bump org.springframework.boot:spring-boot-dependencies from 2.7.10 to 2.7.11 by @dependabot in #89
  • Bump org.springframework.cloud:spring-cloud-dependencies from 2021.0.6 to 2021.0.7 by @dependabot in #90
  • Bump org.testcontainers:testcontainers-bom from 1.18.0 to 1.18.1 by @dependabot in #101
  • Bump org.testcontainers:postgresql from 1.18.0 to 1.18.1 by @dependabot in #102
  • Update actions/checkout action to v3 by @renovate in #99
  • Update plugin org.ajoberstar.reckon to v0.18.0 by @renovate in #93
  • Update actions/setup-java action to v3 by @renovate in #97
  • Update plugin eu.xenit.enterprise-conventions.oss to v0.4.0 by @renovate in #104
  • Update dependency org.springframework.boot:spring-boot-dependencies to v2.7.12 by @renovate in #105
  • Update dependency net.javacrumbs.json-unit:json-unit-assertj to v2.38.0 by @renovate in #106
  • Update dependency gradle to v7.6.1 by @renovate in #92
  • Update dependency gradle to v8 by @renovate in #95

Full Changelog: v0.6.1...v0.6.2

v0.6.1

27 Mar 11:20
1b29041
Compare
Choose a tag to compare

Internals

  • Expose read-only request attributes by @tgeens in #82

Dependencies

  • Bump net.javacrumbs.json-unit:json-unit-assertj from 2.36.1 to 2.37.0 by @dependabot in #83
  • Bump org.springframework.boot:spring-boot-dependencies from 2.7.9 to 2.7.10 by @dependabot in #84

Full Changelog: v0.6.0...v0.6.1

v0.6.0

08 Mar 17:30
37400d3
Compare
Choose a tag to compare

What's Changed

  • BREAKING: Move baseline to Java 17 and use Gradle toolchains by @tgeens in #77
  • Add opa-aysync-java-client to public BOM by @tgeens in #76
  • Add integration tests by @tgeens in #78

Dependencies

  • Bump eu.xenit.enterprise-conventions.oss from 0.3.0-rc.2 to 0.3.0 by @dependabot in #72
  • Bump net.javacrumbs.json-unit:json-unit-assertj from 2.36.0 to 2.36.1 by @dependabot in #71
  • Bump org.springframework.boot:spring-boot-dependencies from 2.6.12 to 2.7.9 by @dependabot in #79
  • Bump org.springframework.cloud:spring-cloud-dependencies from 2021.0.4 to 2021.0.6 by @dependabot in #81
  • Bump org.testcontainers:postgresql from 1.17.3 to 1.17.6 by @dependabot in #80

Full Changelog: v0.5.0...v0.6.0

v0.5.0

16 Dec 09:56
80a0f95
Compare
Choose a tag to compare

Changed

  • Completed thunx-expression json-encoding/decoding operators by @tgeens in #59
  • Typed querydsl paths and check leaf is an attribute, not a relation by @tgeens in #61
  • Adds support for non-Long entity ids by @tgeens in #63
  • Check pre- and post-conditions on .invokeSave(entity) by @tgeens in #64

Dependencies

Full Changelog: v0.4.2...v0.4.3