Mark Paluch
fd0df72892
Prepare 5.5 RC1 (2025.0.0).
...
See #2038
2025-04-22 11:23:52 +02:00
Michael Reiche
d3f73323d4
Allow null arguments in method calls to DyanmicProxyable repositories. ( #2040 )
...
Closes #2025 .
Signed-off-by: mikereiche <michael.reiche@couchbase.com >
2025-03-17 14:39:46 -07:00
Mark Paluch
c4f6fe53c3
Prepare 5.5 M2 (2025.0.0).
...
See #2034
2025-03-14 09:30:46 +01:00
Mark Paluch
8e6cb9dbe2
Prepare 5.5 M1 (2025.0.0).
...
See #2004
2025-02-14 12:22:20 +01:00
Jens Schauder
3e295a9e80
Adapt to API changes in Spring Framework.
...
The constructor for DefaultTransaction now requires a name and `nested` flag.
Closes #2016
2025-01-08 15:37:48 +01:00
Mark Paluch
1549f8b31f
Extend license header copyright years to 2025.
...
See #2015
2025-01-08 10:04:51 +01:00
Mark Paluch
eb6621411a
Prepare 5.4 GA (2024.1.0).
...
See #1998
2024-11-15 14:10:37 +01:00
Mark Paluch
49e704c4ea
Prepare 5.4 RC1 (2024.1.0).
...
See #1964
2024-10-18 12:46:44 +02:00
Michael Reiche
3d7e10ec5f
Add compatibility in doc. ( #1995 )
...
Closes #1901 .
2024-10-17 17:21:14 -07:00
Michael Reiche
b751bdd12a
Update QueryDSL doc. ( #1994 )
...
Closes #1993 .
2024-10-17 14:29:27 -07:00
Michael Reiche
bc0c757df3
Remove dependency on javax.inject from querydsl. ( #1992 )
...
To use querydsl, the spring application will need to add a dependency
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>${querydsl}</version>
<classifier>jakarta</classifier>
<scope>provided</scope>
</dependency>
And explicitly specify CouchbasseAnnotationProcessor
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>annotation-processing</id>
<phase>generate-sources</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<proc>only</proc>
<annotationProcessors>
<annotationProcessor>org.springframework.data.couchbase.repository.support.CouchbaseAnnotationProcessor</annotationProcessor>
</annotationProcessors>
<generatedTestSourcesDirectory>target/generated-test-sources</generatedTestSourcesDirectory>
<compilerArgs>
<arg>-Aquerydsl.logInfo=true</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
Closes #1989 .
2024-10-17 10:17:08 -07:00
Michael Reiche
f4f808a9f4
Fix javadoc in couchbase cache. ( #1985 )
...
Closes #1984 .
2024-10-10 11:06:17 -07:00
Michael Reiche
52a386b517
Fix to sdc_1944 to handle null SecurityContext. ( #1981 )
...
Closes #1944 .
2024-10-09 18:25:21 -07:00
Michael Reiche
98d39b153f
Propagate SecurityContext into @Transactional methods. ( #1979 )
...
Closes #1944 .
2024-10-09 17:46:32 -07:00
Michael Reiche
2ff18ebc2b
Fix number of parameters in string based @Query queries. ( #1978 )
...
Closed #1977 .
2024-10-09 17:23:54 -07:00
Michael Reiche
d0a2d7e6d2
Allow primitive repository args for DynamicProxyable repositories.. ( #1972 )
...
Closes #1965 .
2024-10-03 14:13:23 -07:00
Michael Reiche
9cf484440b
Fix auditing. ( #1971 )
...
Closes #1967 .
2024-10-03 13:38:07 -07:00
Michael Reiche
10ffd42284
Add transcoder support on Cache get, putIfAbsent. ( #1970 )
...
Closes #1966 .
2024-10-03 13:17:44 -07:00
Michael Reiche
78ee99afbf
Fix test for being inside a transaction. ( #1969 )
...
Closes #1968 .
2024-10-03 09:37:09 -07:00
Jens Schauder
16456d3a22
Prepare 5.4 M1 (2024.1.0).
...
See #1943
2024-09-13 12:39:15 +02:00
Mark Paluch
8d5a3d88fe
Bundle Javadoc with Antora documentation site.
...
Closes #1953
2024-07-31 14:57:10 +02:00
Mark Paluch
d6b68bb80d
Prepare 5.3 GA (2024.0.0).
...
See #1938
2024-05-17 11:49:11 +02:00
Michael Reiche
de2db4b7a2
Handle list argument for findById, deletedById for DynamicInvocationHandler. ( #1940 )
...
Closes #1939 .
2024-05-06 16:06:04 -07:00
Mark Paluch
aa2f8f1855
Prepare 5.3 RC1 (2024.0.0).
...
See #1924
2024-04-12 10:50:28 +02:00
Michael Reiche
3bb7ea45b1
Restore nullable arg. ( #1935 )
...
Closes #1929 .
2024-04-10 18:05:55 -07:00
Michael Reiche
a7ccfb314a
Exclude javax.inject and CouchbaseAnnotationProcessor to exit gracefully without. ( #1934 )
...
CouchbaseAnnotationProcessor will provide a warning and skip generation
if javax.inject is not present.
2024-04-10 17:35:27 -07:00
Michael Reiche
25aaac47e2
Store BigDecimal and BigInteger as Numbers like the Java SDK does. ( #1933 )
...
Also be able to read BigDecimal and BigInteger that were written as String.
Also does not lose precision by converting BigDecimal to double in the transcoder.
Closes #1611 .
2024-04-08 16:50:39 -07:00
Mark Paluch
fc3021dfcb
Prepare 5.3 M2 (2024.0.0).
...
See #1904
2024-03-15 11:07:10 +01:00
Michael Reiche
ff5ba5fd23
Make CrudMethodMetadataPostProcessor public and make factory getTargetRepository() not final. ( #1913 )
...
This is to ease extending spring-data-couchbase.
Closes #1877 .
2024-03-04 15:50:41 -05:00
Michael Reiche
86747412e0
Eliminate split packages. ( #1912 )
...
Closes #1906 .
2024-02-28 15:57:53 -05:00
Michael Reiche
3298a2cb5d
Change AuditingEventListener Constructor Signature. ( #1908 )
...
Closes #1884 .
2024-02-22 19:49:27 -05:00
Christoph Strobl
663816c2df
Prepare 5.3 M1 (2024.0.0).
...
See #1865
2024-02-16 14:37:01 +01:00
Michael Reiche
e0a5e1eadd
Bump Couchbase Java SDK to 3.5.2 in 5.3.0. ( #1897 )
...
Closes #1896 .
2024-01-22 16:20:16 -05:00
Vipul Gupta
56a750d1ab
Added functionality to add customConverters. ( #1886 )
...
* Added functionality to add customConverters.
Added functionality to register custom converters in the list + cleaned up the code a little and.
* Review chages.
Function name changed and restored to old implementation
* Documentation Changes.
2024-01-12 12:28:57 -05:00
Vipul Gupta
6e175722aa
Propagated CouchbaseCustomConverters bean into MappingConverter ( #1885 )
...
* Propagated CouchbaseCustomConverters bean into MappingConverter.
Just a polishing fix to propagate CouchbaseCustomConversions directly to MappingCouchbaseConverter -> AbstractCouchbaseConverter , So that we won't have to set it explicitly.
* Removed unnecessary constructor.
2024-01-10 18:34:44 -05:00
Mark Paluch
359ade2e7b
Extend license header copyright years to 2024.
...
See #1890
2024-01-02 14:42:27 +01:00
Michael Reiche
96540b715a
Fix regression - unable to store and read properties of type Object. ( #1883 )
...
Closes #1875 .
2023-12-21 16:47:14 -08:00
Mark Paluch
9b292aedb7
Adopt tests to Spring Data Commons changes.
...
Closes #1874
2023-12-08 11:50:57 +01:00
Tigran Babloyan
c0feffab42
Mark CouchbaseAnnotationProcessor for auto-discovery. ( #1871 )
...
Closes #1870
2023-11-28 11:00:36 -08:00
Runbing
99ceae379a
Fixed the URL for the Spring Data Commons documentation.
...
I fixed an incorrect URL in the **antora.yml file** that was preventing it from linking to the Spring Data Commons documentation.
Closes #1869
2023-11-20 11:30:40 +01:00
Michael Reiche
3e805c10e6
Use scope and collection in transaction in findByQuery.count(). ( #1868 )
...
Closes #1862 .
2023-11-17 16:09:31 -08:00
Tigran Babloyan
4ebfecca17
Fixed issue with querying documents annotated with @Collection with QuerydslPredicateExecutor. ( #1867 )
...
Closes #1866
2023-11-17 12:51:25 -08:00
Mark Paluch
6b13404851
Prepare 5.2 GA (2023.1.0).
...
See #1849
2023-11-17 14:28:30 +01:00
Michael Reiche
19fddc939f
Provide Default CouchbaseCustomConversions with Enum Converters. ( #1856 )
...
Closes #1837 .
2023-10-24 17:32:41 -07:00
John Blum
ad496403e2
Prepare 5.2 RC1 (2023.1.0).
...
See #1831
2023-10-13 08:43:56 -07:00
Michael Reiche
afaf2ec97c
Don't use String version of enum parameters. ( #1846 )
...
Just use the converted value as-is (in case of boolean or Number) enum value.
Closes #1837 .
2023-10-11 15:38:39 -07:00
Michael Reiche
247164c6c2
Remove unused test file. ( #1845 )
...
Closes #1766 .
2023-10-10 15:31:41 -07:00
Michael Reiche
0abf846755
Fix ThreadLocal Issue with Repository Save. ( #1840 )
...
The issue was introduced when the Mono.deferContextual() was added to
determine if the save() is in a transaction. It may be executing in a
different thread when the PseudoArgs (scope, collection, and options)
are retrieved ThreadLocal. This change ensures scope and collection
are retrieved, but options are ignored and discarded.
Closes #1838 .
2023-10-09 18:19:50 -07:00
Mark Paluch
fa726c22b9
Prepare 5.2 M3 (2023.1.0).
...
See #1813
2023-09-15 11:29:22 +02:00
Michael Reiche
62bee5cfb4
Allow non-exact argument type matching for DynamicProxyable. ( #1819 )
...
Allow non-exact (isAssignableFrom) argument matching for methods
called by DyanmicProxyable. If there are exactly two candidates,
and one returns an Iterable and the other returns a List, use
the method that returns the List. This is due to
CouchbaseRepository defining findAll() methods as List<?>, while
PagingAndSortyRepository defines findAll() to return an Iterable.
This needs to be addressed separately.
Closes #1818 .
2023-09-11 19:13:55 -07:00