Skip to content

Commit 4049d10

Browse files
authored
V1.3.0
1 parent 20358ed commit 4049d10

File tree

64 files changed

+2573
-911
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2573
-911
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
22

33
# Changelog
44

5+
## [1.3.0]
6+
7+
### Added
8+
9+
- Answer Section Enhancements
10+
- **`answerAsObject(T resultType)`**: Deserializes the HTTP response directly into an object
11+
of the specified type (T).
12+
- **`answerAsList(Class<T> elementType)`**: Deserializes the HTTP response into a set of the
13+
specified type (T).
14+
- **`answerAsSet(Class<T> elementType)`** Deserializes HTTP response content directly into
15+
a set of a specified class.
16+
- **`answerAsMap(Class<K> keyType, Class<V> valueType)`**: Deserializes the HTTP response
17+
into a map with specified key and value types (K and V).
18+
19+
20+
- Arrange Section Enhancements
21+
- **` arrangeJson(T content)`**: A new generic method for setting JSON content in the request
22+
body for PUT, POST, and PATCH requests.
23+
24+
### Improved
25+
26+
- Content Assertion Methods **`assertContentEquals()`**:
27+
- Enhanced to normalize both the actual and expected response content using Unicode
28+
Normalization Form C (NFC).
29+
- This ensures consistent text representation across Unicode formats, improving reliability when
30+
comparing text-based content with potential Unicode variations.
31+
- The following methods are affected:
32+
- `assertContentEquals(String expectedString)`
33+
- `assertContentEquals(Class<T> expectedClass, T expectedResponse)`,
34+
- `assertContentEquals(Class<T> expectedClass, List<T> expectedResponse)`
35+
- `assertContentEquals(Class<T> expectedClass, Set<T> expectedResponse)`
36+
- `assertContentEquals(Class<K> keyClass, Class<V> valueClass, Map<K, V> expectedResponse)`
37+
38+
---
39+
540
## [1.2.1]
641

742
### Improved

0 commit comments

Comments
 (0)