Skip to content

Commit 066e46f

Browse files
CS-42937 : Support for Early Access Header
CS-42936 : Taxonomy document and Test
1 parent 1516e72 commit 066e46f

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

changelog.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
11
# Changelog
22

3+
## v1.3.0
4+
5+
### Jan 18, 2024
6+
7+
- New Features:
8+
- Query filter support in Taxonomy
9+
- query filter support in Entry
10+
- query filter support in Taxonomy
11+
312
## v1.2.0
413

514
### Dec 18, 2023
615

716
- New Features:
817
- Early access header support
918

10-
11-
1219
## v1.1.0
1320

1421
### Oct 31, 2023
1522

1623
- New Features:
17-
- Taxonomy
18-
- Teams
24+
- Taxonomy
25+
- Teams
1926

2027
Bug Fixes:
21-
- KeepAliveDuration
22-
- SNYK issues fixed
2328

29+
- KeepAliveDuration
30+
- SNYK issues fixed
2431

2532
## v1.0.0
2633

src/main/java/com/contentstack/cms/core/Util.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
*/
1616
public class Util {
1717

18-
// The line `public static final String SDK_VERSION = "1.2.0";`
18+
// The line `public static final String SDK_VERSION = "1.3.0";`
1919
// named `SDK_VERSION` of type `String`. The value of this constant is set to
2020
// "1.2.0".
21-
public static final String SDK_VERSION = "1.2.0";
21+
public static final String SDK_VERSION = "1.3.0";
2222

2323
static final String PRIVATE_CONSTRUCTOR = "private constructor can't be accessed outside the class";
2424
public static final Boolean RETRY_ON_FAILURE = true;

src/test/java/com/contentstack/cms/stack/TaxonomyTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class TaxonomyTest {
2525
protected static Terms terms;
2626
protected static JSONObject body;
2727

28-
// Create a JSONObject, JSONObject could be created in multiple ways.
29-
// We choose JSONParser that converts string to JSONObject
3028
static String theBody = "{\n" +
3129
" \"taxonomy\": {\n" +
3230
" \"name\": \"Taxonomy 1\",\n" +
@@ -371,7 +369,7 @@ void queryFiltersOnTaxonomy() {
371369
.setAuthtoken(TestClient.AUTHTOKEN)
372370
.setHost("api.contentstack.io")
373371
.build()
374-
.stack("blt12c1ba95c1b11e88")
372+
.stack("fakestackkey")
375373
.taxonomy();
376374
JSONObject query = new JSONObject();
377375
query.put("taxonomies.taxonomy_uid", "{ \"$in\" : [\"term_uid1\" , \"term_uid2\" ] }");

0 commit comments

Comments
 (0)