Skip to content

Commit

Permalink
CS-42937 : Support for Early Access Header
Browse files Browse the repository at this point in the history
CS-42936 : Taxonomy document and Test
  • Loading branch information
ishaileshmishra committed Jan 16, 2024
1 parent 8d9c5db commit 55f0ea2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
19 changes: 13 additions & 6 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
# Changelog

## v1.3.0

### Jan 18, 2024

- New Features:
- Query filter support in Taxonomy
- query filter support in Entry
- query filter support in Taxonomy

## v1.2.0

### Dec 18, 2023

- New Features:
- Early access header support



## v1.1.0

### Oct 31, 2023

- New Features:
- Taxonomy
- Teams
- Taxonomy
- Teams

Bug Fixes:
- KeepAliveDuration
- SNYK issues fixed

- KeepAliveDuration
- SNYK issues fixed

## v1.0.0

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/contentstack/cms/core/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
*/
public class Util {

// The line `public static final String SDK_VERSION = "1.2.0";`
// The line `public static final String SDK_VERSION = "1.3.0";`
// named `SDK_VERSION` of type `String`. The value of this constant is set to
// "1.2.0".
public static final String SDK_VERSION = "1.2.0";
public static final String SDK_VERSION = "1.3.0";

static final String PRIVATE_CONSTRUCTOR = "private constructor can't be accessed outside the class";
public static final Boolean RETRY_ON_FAILURE = true;
Expand Down
4 changes: 1 addition & 3 deletions src/test/java/com/contentstack/cms/stack/TaxonomyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ class TaxonomyTest {
protected static Terms terms;
protected static JSONObject body;

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

0 comments on commit 55f0ea2

Please sign in to comment.