Skip to content

Commit cccd0b4

Browse files
committed
Preparing for release
1 parent f14f0f7 commit cccd0b4

File tree

3 files changed

+49
-3
lines changed

3 files changed

+49
-3
lines changed

CHANELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# 5.2.4
2+
3+
## Housekeeping
4+
1. Built against Spring Data 2.3.0, not changes needed.
5+
6+
## Bug fixes
7+
1. [Missing LSI Indexes Projection Settings](https://github.com/boostchicken/spring-data-dynamodb/issues/19)
8+
2. [Failed to register dynamoDBMapperRef](https://github.com/boostchicken/spring-data-dynamodb/issues/25)
9+
3. [Limit and Consistent Reads only works on GSIs](https://github.com/boostchicken/spring-data-dynamodb/issues/23)
10+
11+
## New Features
12+
1. [Ability to apply filter expressions to a Query](https://github.com/boostchicken/spring-data-dynamodb/issues/27)
13+
14+
With static parameters
15+
```
16+
@Query(fields = "leaveDate", limit = 1, filterExpression = "contains(#field, :value)",
17+
expressionMappingNames = {@ExpressionAttribute(key = "#field", value = "name")},
18+
expressionMappingValues = {@ExpressionAttribute(key=":value", value = "projection")})
19+
List<User> findByPostCode(String postCode);
20+
```
21+
22+
With dynamic parameters from methods
23+
```
24+
@Query(fields = "leaveDate", limit = 1, filterExpression = "contains(#field, :value)",
25+
expressionMappingNames = {@ExpressionAttribute(key = "#field", value = "name")},
26+
expressionMappingValues = {@ExpressionAttribute(key=":value", parameterName = "projection")})
27+
List<User> findByPostCode(@Param("postCode") String postCode, @Param("projection") String projection);
28+
```
29+
2. [Support for Nested Repositories](https://github.com/boostchicken/spring-data-dynamodb/pull/24)
30+
```
31+
@EnableDynamoDBRepositories(basePackages = "org.socialsignin.spring.data.dynamodb.domain.sample", considerNestedRepositories = true)
32+
```

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Download the JAR though [Maven Central](http://mvnrepository.com/artifact/io.git
3434
<dependency>
3535
<groupId>io.github.boostchicken</groupId>
3636
<artifactId>spring-data-dynamodb</artifactId>
37-
<version>5.2.3</version>
37+
<version>5.2.4</version>
3838
</dependency>
3939
```
4040

@@ -167,12 +167,12 @@ API changes will follow SEMVER and loosly the Spring Framework releases.
167167
| 4.5.x | >= 1.4.0 && < 2.0 | >= 4.3 && < 5.0 | Ingalls |
168168
| 5.0.x | >= 2.0 && < 2.1 | >= 5.0 && < 5.1 | Kay-SR1 |
169169
| 5.1.x | == 2.1 | >= 5.1 | Lovelace-SR1 |
170-
| 5.2.x | >= 2.2 | >= 5.2 | Moore-RELEASE |
170+
| 5.2.x | >= 2.2 | >= 5.2 | Moore-RELEASE, Nuemann-RELASE |
171171

172172

173173
`spring-data-dynamodb` depends directly on `spring-data` as also `spring-context`, `spring-data` and `spring-tx`.
174174

175-
`compile` and `runtime` dependencies are kept to a minimum to allow easy integartion, for example into
175+
`compile` and `runtime` dependencies are kept to a minimum to allow easy integration, for example into
176176
Spring-Boot projects.
177177

178178
## History

src/changes/changes.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@
2323
<author>boostchicken</author>
2424
</properties>
2525
<body>
26+
<release version="5.2.4" description="Feature Release">
27+
<action dev="boostchicken" type="add" issue="29" date="2020-05-24">
28+
Added Filter Expression Support
29+
</action>
30+
<action dev="felixwimpyw" type="fix" issue="25" date="2020-05-24">
31+
Failed to register dynamoDBMapperRef
32+
</action>
33+
<action dev="majusko" type="fix" issue="19" date="2020-05-24">
34+
Missing Local index projection settings
35+
</action>
36+
<action dev="majusko" type="add" issue="24" date="2020-05-24">
37+
Nested Repository Support
38+
</action>
39+
</release>
2640
<release version="5.2.3" description="Security Release">
2741
<action dev="boostchicken" type="fix" issue="10" date="2020-02-24">
2842
Update Hibernate Validator to fix CVE

0 commit comments

Comments
 (0)