Releases: xenit-eu/contentgrid-spring
v0.13.0
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]
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
Bugfixes
- Handle exceptions during processing audit messages by @vierbergenlars in #182
Full Changelog: v0.12.0...v0.12.1
[YANKED] v0.12.0
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
- Add system to audit log operations by @vierbergenlars in #169
- Add publication of audit events to AMQP with CloudEvents by @vierbergenlars in #172
- Add system properties to audit event by @rschev in #178
- Add exception handler for errors when filter query parameter can not be converted by @vierbergenlars in #179
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
v0.11.0
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
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
Breaking changes
- Update link-relation urls from contentgrid.com to contentgrid.cloud by @vierbergenlars in #128
Features
- Add ordered predicates (<, <=, >, >=) by @vierbergenlars in #127
- Use jakarta bean validation on entities by @vierbergenlars in #125
- Use RFC7807 problem details for reporting errors by @vierbergenlars in #126
- Improve problem reporting for entity that is still referenced by required relations when it is deleted by @vierbergenlars in #129
- Update validation & unique constraint problem details type to reference that it is an input problem by @vierbergenlars in #130
Fixes
- Fix database isolation in tests by @vierbergenlars in #124
Full Changelog: v0.8.2...v0.9.0
v0.8.2
Features
- Add HAL-FORMS templates for modifying relations by @vierbergenlars in https://github.com/xenit-eu/contentgrid-spring/pull/122µ
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
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