Skip to content

Releases: xenit-eu/contentgrid-spring

v0.13.0

12 Apr 10:10
efd628e
Compare
Choose a tag to compare

Changes

Warning

  • This release requires Spring Boot >= 3.2
  • BREAKING Add spring oauth2 resource server to classpath and add anonymous test autoconfiguration by @NielsCW in #205

The side effects of enabling Spring Security can be mitigated to restore previous behaviour with the following properties:

contentgrid.security.unauthenticated.allow=true
contentgrid.security.csrf.disabled=true
  • Multipart requests for creating entity & content by @NielsCW in #183
  • Make cg:entity, cg:relation & cg:content links always an array by @vierbergenlars in #191
  • Make ce-source templatable by @rschev in #203
  • Add contentgrid-spring-data-support by @NielsCW in #194
  • Jpa auditing autoconfiguration by @NielsCW in #195
  • ActuatorEndpointsWebSecurityAutoConfiguration allows access to policy- and webhooks-endpoint from remote addresses by @tgeens in #211

Maintenance

  • Add test for generated contentgrid application with the contentgrid linkrels/curies enabled by @vierbergenlars in #193
  • Use new MediaTypeConfigurationCustomizer to customize HalFormsConfiguration by @vierbergenlars in #192
  • Add spring-boot-starter-oauth2-resource-server to contentgrid-spring-data-rest tests by @NielsCW in #200
  • Audit-metadata: fix null date fields when spring security is missing from classpath by @NielsCW in #206
  • Add auditing metadata in tests by @NielsCW in #190
  • Move etag header tests to separate test file by @NielsCW in #208

Dependency updates

  • Update plugin org.springframework.boot to v3.2.4 by @renovate in #198
  • Update spring boot to v3.2.3 by @renovate in #187
  • Update plugin io.freefair.lombok to v8.6 by @renovate in #184
  • Update plugin org.ajoberstar.reckon.settings to v0.18.3 by @renovate in #185
  • Update dependency com.github.paulcwarren:spring-content-bom to v3.0.9 by @renovate in #186
  • Update plugin eu.xenit.enterprise-conventions.oss to v0.5.1 by @renovate in #188
  • Update dependency org.webjars:swagger-ui to v5.11.8 by @renovate in #189
  • Update dependency org.webjars:swagger-ui to v5.11.10 by @renovate in #196
  • Update dependency org.webjars:swagger-ui to v5.12.0 by @renovate in #197
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.2.4 by @renovate in #199
  • Update dependency gradle to v8.7 by @renovate in #201
  • Update dependency org.webjars:swagger-ui to v5.12.2 by @renovate in #204
  • Update dependency io.cloudevents:cloudevents-bom to v3 by @renovate in #202
  • Update dependency org.webjars:swagger-ui to v5.13.0 by @renovate in #207

Full Changelog: v0.12.1...v0.13.0

v0.12.2 [YANKED]

05 Apr 13:17
84aede4
Compare
Choose a tag to compare

Warning

This release contains serious issues, making it unfit to build applications with:

  • Actuators for policy and webhooks are broken (fixed in #211)

Changes

  • Multipart requests for creating entity & content by @NielsCW in #183
  • Make cg:entity, cg:relation & cg:content links always an array by @vierbergenlars in #191
  • Make ce-source templatable by @rschev in #203
  • Add contentgrid-spring-data-support by @NielsCW in #194
  • Jpa auditing autoconfiguration by @NielsCW in #195
  • Add spring oauth2 resource server to classpath and add anonymous test autoconfiguration by @NielsCW in #205

Maintenance

  • Add test for generated contentgrid application with the contentgrid linkrels/curies enabled by @vierbergenlars in #193
  • Use new MediaTypeConfigurationCustomizer to customize HalFormsConfiguration by @vierbergenlars in #192
  • Add spring-boot-starter-oauth2-resource-server to contentgrid-spring-data-rest tests by @NielsCW in #200
  • Audit-metadata: fix null date fields when spring security is missing from classpath by @NielsCW in #206
  • Add auditing metadata in tests by @NielsCW in #190
  • Move etag header tests to separate test file by @NielsCW in #208

Dependency updates

  • Update plugin org.springframework.boot to v3.2.4 by @renovate in #198
  • Update spring boot to v3.2.3 by @renovate in #187
  • Update plugin io.freefair.lombok to v8.6 by @renovate in #184
  • Update plugin org.ajoberstar.reckon.settings to v0.18.3 by @renovate in #185
  • Update dependency com.github.paulcwarren:spring-content-bom to v3.0.9 by @renovate in #186
  • Update plugin eu.xenit.enterprise-conventions.oss to v0.5.1 by @renovate in #188
  • Update dependency org.webjars:swagger-ui to v5.11.8 by @renovate in #189
  • Update dependency org.webjars:swagger-ui to v5.11.10 by @renovate in #196
  • Update dependency org.webjars:swagger-ui to v5.12.0 by @renovate in #197
  • Update dependency org.springframework.boot:spring-boot-dependencies to v3.2.4 by @renovate in #199
  • Update dependency gradle to v8.7 by @renovate in #201
  • Update dependency org.webjars:swagger-ui to v5.12.2 by @renovate in #204
  • Update dependency io.cloudevents:cloudevents-bom to v3 by @renovate in #202
  • Update dependency org.webjars:swagger-ui to v5.13.0 by @renovate in #207

Full Changelog: v0.12.1...v0.12.2

v0.12.1

14 Feb 12:49
0a30d70
Compare
Choose a tag to compare

Bugfixes

Full Changelog: v0.12.0...v0.12.1

[YANKED] v0.12.0

12 Feb 12:57
465f1fc
Compare
Choose a tag to compare

This release has been yanked because of a critical reliability issue

Requests with an Accept: application/json (or equivalent) header receive unwanted data in the body.

Additional data like {"timestamp":"2024-02-14T09:43:12.086+00:00","status":200,"error":"OK","path":"/profile"} is written after the response, after which the connection is closed uncleanly.

What's Changed

Maintenance

  • Add optimistic locking in tests by @NielsCW in #175
  • Optimistic locking: enable invoicing-application-tests related to spring-content by @NielsCW in #181
  • maven publication settings by @vierbergenlars in #173
  • Fix comment in tests for setting an association with PUT by @tgeens in #174
  • Use Spring @Transaction annotation instead of jakarta.transaction by @tgeens in #177

Dependency updates

  • Update dependency gradle to v8.6 by @renovate in #176
  • Update spring boot to v3.2.2 by @renovate in #171
  • Update dependency com.github.paulcwarren:spring-content-bom to v3.0.8 by @renovate in #180

New Contributors

Full Changelog: v0.11.1...v0.12.0

v0.11.1

16 Jan 09:03
0bbed3a
Compare
Choose a tag to compare

Fixes

  • Add autoconfig to load contentgrid-spring-swagger-ui controller by @tgeens in #170

Dependency Updates

  • Update dependency com.contentgrid.thunx:thunx-bom to v0.10.0 by @renovate in #165
  • Update spring boot to v3.2.1 by @renovate in #166
  • Update plugin org.ajoberstar.reckon.settings to v0.18.2 by @renovate in #167

Full Changelog: v0.11.0...v0.11.1

v0.11.0

20 Dec 10:27
baecda0
Compare
Choose a tag to compare

What changed

  • Created contentgrid-spring-swagger-ui by @tgeens in #156
  • Security autoconfiguration should back off with user-defined SecurityFilterChain by @tgeens in #159

Maintenance

  • Cleanup sonar smell S2119 - replacing usage of 'Random' to create placeholder with random UUID by @tgeens in #157
  • Fix more sonar smells by @tgeens in #158
  • Swagger UI publication fail by @tgeens in #163
  • Cleanup deprecated jwt-auth-manager-resolver usage by @tgeens in #162

Dependency Updates

  • Update dependency org.webjars:swagger-ui to v5 by @renovate in #161
  • Add JWT test with valid signature, but fake issuer claim by @tgeens in #164

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

v0.10.0

05 Dec 10:00
c8ce1df
Compare
Choose a tag to compare

What's Changed

  • Add HAL FORMS data type support for Boolean and Instant by @tgeens in #141
  • Map Instant to datetime instead of datetime-local by @tgeens in #142
  • Make order of properties consistent in 'search' hal template by @rschev in #146
  • Actuator security autoconfig by @tgeens in #148
  • Add multi-tenant oauth2 resource server auto-configuration by @tgeens in #151
  • Fixed actuator security matcher scope by @tgeens in #152
  • Add -parameters compile flag for Spring Framework 6.1/Spring Boot 3.2 compatability by @tgeens in #154
  • Reduce log level for unknown types from warn to trace by @tgeens in #155

Maintenance

  • Use renovate contentgrid presets by @tgeens in #144
  • Remove eclipse plugin from autoconfig project by @tgeens in #147

Dependencies

  • Update actions/checkout digest to 8ade135 by @renovate in #132
  • Update spring boot to v3.1.4 by @renovate in #131
  • Update dependency org.testcontainers:postgresql to v1.19.1 by @renovate in #133
  • Update dependency gradle to v8.4 by @renovate in #135
  • Update dependency com.github.paulcwarren:spring-content-bom to v3.0.6 by @renovate in #134
  • Update actions/checkout digest to b4ffde6 by @renovate in #136
  • Update plugin org.ajoberstar.reckon.settings to v0.18.1 by @renovate in #138
  • Update spring boot to v3.1.5 by @renovate in #137
  • Update plugin io.spring.dependency-management to v1.1.4 by @renovate in #139
  • Remove dependency org.testcontainers:postgresql version pin by @renovate in #140
  • Update spring boot to v3.1.6 by @renovate in #143
  • Update dependency gradle to v8.5 by @renovate in #149
  • Update actions/setup-java action to v4 by @renovate in #150
  • Update dependency com.github.paulcwarren:spring-content-bom to v3.0.7 by @renovate in #153
  • Update spring boot to v3.2.0 by @renovate in #145

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

v0.9.0

20 Sep 13:28
00abae6
Compare
Choose a tag to compare

Breaking changes

  • Update link-relation urls from contentgrid.com to contentgrid.cloud by @vierbergenlars in #128

Features

Fixes

Full Changelog: v0.8.2...v0.9.0

v0.8.2

12 Sep 14:01
1ee4471
Compare
Choose a tag to compare

Features

Changed

  • Events: Do not expose entity name in payload, use full class name in entity header by @vierbergenlars in #123

Full Changelog: v0.8.1...v0.8.2

v0.8.1

04 Sep 09:15
d12f7b9
Compare
Choose a tag to compare

Features

  • Add case-insensitive predicate by @vierbergenlars in #117
  • Support one-to-many redirect with pseudo-inverse relation using a plain Column by @vierbergenlars in #118
  • Add conditional annotations to load less when running as initcontainer by @rschev in #119

Fixes

  • Ensure that relations that are not exported are not shown in the create and edit forms by @vierbergenlars in #120

Full Changelog: v0.8.0...v0.8.1