Version 2.0.0
Notices
This release contains BREAKING CHANGES
Changes
This release formalizes the concept of content properties
in all storage modules and allows entities to have multiple as well as nested content properties. We have also improved the accuracy and handling of content accessed via fully-qualified content URLs.
The good news: This is almost completely backward compatible. Most consumers should not see any incompatibilities while upgrading to this 2.0.0.
The bad news: In prior versions of Spring Content it was possible to store content on @Embedded
objects and access that content by placing a ContentStore
on that @Embedded object and, if using rest, matching the RestResource and StoreRestResource paths. With the formal introduction of content properties and property paths this is no longer possible. This type of content association is now accessed by placing a ContentStore on the top-level Entity and using a property path to access the nested content.
The other bad news: Spring Content REST now calls PropertyPath
-based ContentStore methods. Any annotations you may have on your ContentStore interfaces to unexport (e.g. RestResource(export=false)
) or apply security (@PreAuthorize
) now need to be moved onto the PropertyPath-based methods.
Issues Closed
PRs Merged
- Add a test to prove we can handle json content 758
- Bump s3 from 2.17.121 to 2.17.122 757
- Bump ojdbc8 from 21.4.0.0.1 to 21.5.0.0 756
- Bump to 2.0.0-SNAPSHOT 755
- Remove the unused logback classes dependency 754
- Bump spring-cloud-gcp-storage from 3.0.0 to 3.1.0 753
- Bump spring-cloud-gcp-core from 3.0.0 to 3.1.0 752
- Bump s3 from 2.17.120 to 2.17.121 751
- Bump asciidoctor-maven-plugin from 2.2.1 to 2.2.2 750
- Bump s3 from 2.17.112 to 2.17.120 749
- Use the managed version of the h2 dependency 748
- Bump s3 from 2.17.112 to 2.17.119 747
- Bump s3 from 2.17.112 to 2.17.118 746
- Bump azure-spring-boot from 3.12.0 to 3.13.0 745
- Bump s3 from 2.17.112 to 2.17.117 743
- Bump mockito-core from 3.12.4 to 4.3.0 742
- Bump s3 from 2.17.112 to 2.17.116 741
- Bump h2 from 2.0.206 to 2.1.210 in /spring-content-jpa 740
- Bump spring-boot-dependencies from 2.6.2 to 2.6.3 739
- Bump s3 from 2.17.112 to 2.17.115 738
- Property path support 737
- Bump localstack from 1.16.2 to 1.16.3 736
- Bump s3 from 2.17.112 to 2.17.114 735
- Bump s3 from 2.17.112 to 2.17.113 733
- Bump h2 from 2.0.206 to 2.1.210 732
- Bump azure-storage-blob from 12.14.2 to 12.14.3 731
- Bump s3 from 2.17.105 to 2.17.112 730
- Bump azure-storage-file-share from 12.11.2 to 12.11.3 729
- Bump poi-ooxml from 5.1.0 to 5.2.0 728
- Bump spring-cloud-gcp-storage from 2.0.7 to 3.0.0 727
Instructions
The maven coordinates for this release are as follows:-
<dependency>
<groupId>com.github.paulcwarren</groupId>
<artifactId>spring-content-XXX-boot-starter</artifactId>
<version>2.0.0</version>
</dependency>
where XXX can be:-
Storage Modules
fs
for the Spring Content Filesystem Modules3
for the Spring Content S3 Modulegcs
for the Spring Content GCS Moduleazure-storage
for Spring Content Azure Storage Modulejpa
for the Spring Content JPA Modulemongo
for the Spring Content Mongo Module
Additional Modules
-
renditions
for the Spring Content Renditions Module -
rest
for Spring Content REST Module -
cmis
for Spring Content CMIS Module -
solr
for the Spring Content Solr Module -
elasticsearch
for the Spring Content Elasticsearch Moduleand:-
-
spring-versions-jpa
for the Locking and Versioning Module
Contributors
Paul Warren
Toon Geens
Full Changelog: 1.2.7...2.0.0