Skip to content

Commit 8c5b5a5

Browse files
author
Tomasz Kaczmarzyk
committed
updated changelog and README
1 parent 19910d9 commit 8c5b5a5

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
v4.0.0.M1
2+
=========
3+
* Build integrated with Spring Boot 4 M1. Spring Boot 4 will be released in November 2005 and will update to Hibernate 7 and JPA 3.2. This PR updates to spring-boot-4.0.0-M1 and deals with breaking changes from the upstream dependencies.
4+
* **BREAKING CHANGE**: Removed support for `Calendar`, `Date` in favour of java.time API (JPA 3.2)
5+
* **BREAKING CHANGE**: please be aware that new version of Hibernate may generate different queries than the previous version. In context of this library, this is noticable when generating joins. For the same set of annotations and the same request, SAR 3.x will generate `INNER` and SAR 4.x will generate `LEFT` join on implicit join table queries. This is strictly related to Hibernate internals, not SAR-specific behaviour
6+
* Developed by @sourcloud 🚀
7+
8+
19
v3.2.0
210
=======
311
* **BREAKING CHANGE**: Fixed case-insensitive specifications (`EqualIgnoreCase`, `NotEqualIgnoreCase`, `LikeIgnoreCase`, `NotLikeIgnoreCase`, `StartingWithIgnoreCase`, `EndingWithIgnoreCase`) to use database `UPPER()` function for both sides of comparison
412
* This fixes incorrect query results when database and application use different locale settings or handle special characters differently (e.g., German ß character)
513
* Please see `Case Insensitive Support` section of README.md for more details.
14+
* Developed by @jradlica 🚀
615

716
v3.1.1
817
=======

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Supports multiple data types: numbers, booleans, strings, dates, enums.
152152

153153
Usage: `@Spec(path="gender", spec=Equal.class)`.
154154

155-
The default date format used for temporal fields is `yyyy-MM-dd`. It can be overriden with a configuration parameter (see `LessThan` below). If for date-time formats which store also time (`LocalDateTime`, `OffsetDateTime`, `Instant` and `Timestamp`) only the date is provided, then the default time value (midnight - UTC time for `OffsetDateTime`) will be used for checking equality. To include all results within particular date (day) use `EqualDay` specification.
155+
The default date format used for temporal fields is `yyyy-MM-dd`. It can be overriden with a configuration parameter (see `LessThan` below). If for date-time formats which store also time (`LocalDateTime`, `OffsetDateTime`, `Instant`, etc.) only the date is provided, then the default time value (midnight - UTC time for `OffsetDateTime`) will be used for checking equality. To include all results within particular date (day) use `EqualDay` specification.
156156

157157
A negation for this specification is also available: `NotEqual`.
158158

@@ -1182,13 +1182,13 @@ List of supported conversions:
11821182
* `String -> double`
11831183
* `String -> Double`
11841184
* `String -> BigDecimal`
1185-
* `String -> Date` (default format: `yyyy-MM-dd`)
1186-
* `String -> Calendar` (default format: `yyyy-MM-dd`)
1185+
* ~~`String -> Date` (default format: `yyyy-MM-dd`)~~ (removed in 4.0.0)
1186+
* ~~`String -> Calendar` (default format: `yyyy-MM-dd`)~~ (removed in 4.0.0)
11871187
* `String -> LocalDate` (default format: `yyyy-MM-dd`)
11881188
* `String -> LocalDateTime` (default format: `yyyy-MM-dd'T'HH:mm:ss`)
11891189
* `String -> OffsetDateTime` (default format: `yyyy-MM-dd'T'HH:mm:ss.SSSXXX`)
11901190
* `String -> Instant` (default format: `yyyy-MM-dd'T'HH:mm:ss.SSSXXX`)
1191-
* `String -> Timestamp` (default format: `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
1191+
* ~~`String -> Timestamp` (default format: `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)~~ (removed in 4.0.0)
11921192
* `String -> UUID`
11931193
11941194
To use a custom format for temporal types, add `config="custom-format-value"` to `@Spec` params.
@@ -1399,7 +1399,8 @@ This project has been maintained since 2014. A lot has changed in Java and Sprin
13991399
14001400
| specification-arg-resolver version | JDK requirements | Spring requirements |
14011401
|------------------------------------|------------------|-----------------------------------------------------------------------------------------|
1402-
| `v3.X` | `17` or higher | Compiled and tested against Spring Boot `3.0.0` |
1402+
| `v4.X` | `17` or higher | Compiled and tested against Spring Boot `4.0.0.M1` |
1403+
| `v3.X` | `17` or higher | Compiled and tested against Spring Boot `3.X` |
14031404
| `v2.X` | `1.8` or higher | Compiled and tested against Spring Boot `2.7.7` |
14041405
| `v1.1.1` (or older) | `1.7` or higher | Compiled and tested against Spring Boot `1.x`; confirmed to work with Spring boot `2.x` |
14051406
@@ -1415,7 +1416,7 @@ Specification argument resolver is available in the Maven Central:
14151416
<dependency>
14161417
<groupId>net.kaczmarzyk</groupId>
14171418
<artifactId>specification-arg-resolver</artifactId>
1418-
<version>3.1.0</version>
1419+
<version>3.2.0</version>
14191420
</dependency>
14201421
```
14211422

0 commit comments

Comments
 (0)