Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b576a4b
:package: improving code
Aug 5, 2021
8900bce
:package: livePreview implemented
Aug 16, 2021
1fbd2fe
:package: livePreview implemented
Aug 16, 2021
98824ca
Update Stack.java
ishaileshmishra Oct 11, 2021
79c14db
:bug: livePreview updated
Oct 12, 2021
499b17c
Merge remote-tracking branch 'origin/master' into feature/live_preview
ishaileshmishra Oct 14, 2021
acf42c4
:sparkle: livePreview added
ishaileshmishra Oct 14, 2021
bb4e7a0
Live preview support
ishaileshmishra Oct 19, 2021
5ec9d27
vulnerability issues fixed
ishaileshmishra Oct 21, 2021
3709cec
issues resolved from Stack.java
ishaileshmishra Oct 26, 2021
12093c5
Asset, AssetLibrary, ContentType and models
ishaileshmishra Oct 26, 2021
7cfc177
Entry and Query and models
ishaileshmishra Oct 26, 2021
8413dfa
sonar vulnerabilities fixes
ishaileshmishra Oct 27, 2021
ff718b3
sonar vulnerabilities fixes
ishaileshmishra Oct 27, 2021
5f167f6
sonar vulnerabilities blt removed
ishaileshmishra Oct 27, 2021
bf219ec
sonar vulnerability fixed
ishaileshmishra Oct 27, 2021
bd1ae88
sonar vulnerability fixed
ishaileshmishra Oct 27, 2021
39b154f
sonar vulnerability fixed
ishaileshmishra Oct 27, 2021
5ea1bdc
Entry and Query and models
ishaileshmishra Oct 28, 2021
63ecc02
sonarlint vulnerability rules
ishaileshmishra Oct 28, 2021
4829d1d
Unused QueryResultsCallBack callback
ishaileshmishra Oct 28, 2021
4283b95
redundant code removed
ishaileshmishra Oct 28, 2021
db90d62
improved cognitive complexity
ishaileshmishra Oct 28, 2021
b5370f6
branch and sonar vulnerability issues fixed
ishaileshmishra Oct 28, 2021
2e15ddc
branching & sonar vulnerability
ishaileshmishra Oct 28, 2021
a1813b3
readme updated
ishaileshmishra Oct 28, 2021
dc59a7d
:sparkles: regular update
ishaileshmishra Oct 28, 2021
156629e
Update README.md
ishaileshmishra Oct 29, 2021
06693af
readme updated
ishaileshmishra Dec 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@
# src/test/java/com/contentstack/test/SyncTestCase.java
# Language Support for Java(TM) by Red Hat extension for Visual Studio Code - https://marketplace.visualstudio.com/items?itemName=redhat.java

src/main/java/com/contentstack/sdk/models
.idea
.project
.classpath
factoryConfiguration.json

.vscode
### Eclipse ###
.metadata
.env
.env/
bin/
tmp/
*.tmp
.vscode
*.bak
*.swp
*~.nib
Expand Down Expand Up @@ -89,7 +91,7 @@ local.properties

# Generated files
.idea/**/contentModel.xml

cover
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
Expand Down Expand Up @@ -264,3 +266,6 @@ gradle-app.setting
java.iml
src/main/resources/
/.idea/
/src/main/java/com/contentstack/sdk/models/
/.vscode/
/.vscode/
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
threshold: medium
threshold: medium
5 changes: 3 additions & 2 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Authors
- [Contentstack](https://www.contentstack.com/)
- [Shailesh-Mishra](shailesh.mishra@contentstack.com)
- [ishaileshmishra](shailesh.mishra@contentstack.com)
- [shaileshmishra](mshaileshr@contentstack.com)
- [admin](dev@contentstack.com)
207 changes: 130 additions & 77 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,66 @@
# CHANGELOG

## Version 2.0.0

### Date: 01-Nov-2021

- Added support for live preview
- Added support for branching
- Removed old version of jsoup dependency
- Code improved as per sonar vulnerability guidelines
- Removed deprecated code/Non-working code marked deprecated
- Few breaking changes added.

## Version 1.7.0
###### Date: 12-JUL-2021

### Date: 12-JUL-2021

- Added support for utils function gql.jsonToHtml()
- Bug #32 issue resolved removed e.printStackTrace()
- Instead stacktrace used logger.error()

------------------------------------------------

## Version 1.6.0
###### Date: 05-APR-2021

### Date: 05-APR-2021

- **Query** : query.includeEmbeddedItems() method support added
- **Entry** : entry.includeEmbeddedItems() method support added

------------------------------------------------

## Version 1.5.7
###### Date: 20-Feb-2021

### Date: 20-Feb-2021

Document updated

------------------------------------------------

## Version 1.5.6
###### Date: 27-Jan-2021
Document updated

### Date: 27-Jan-2021

Document updated

New Features:
• None

------------------------------------------------

## Version 1.5.5
###### Date: 22-Jan-2021
Bug fix: Error contains information like

### Date: 22-Jan-2021

Bug fix: Error contains information like

- Error message
- Error code
- Error Details

Language Enum:

- GERMEN changed to GERMAN
- Deprecated Language Enum
- Deprecated LanguageCode Enum
Expand All @@ -48,7 +71,9 @@ New Features:
------------------------------------------------

## Version 1.5.4
###### Date: 08-DEC-2020

### Date: 08-DEC-2020

Publish content fallback
New Features:
• [Entry] - Publish fallback method added
Expand All @@ -59,132 +84,160 @@ New Features:
------------------------------------------------

## Version 1.5.3
###### Date: 28-July-2020
- **Build Issue** Build update issue fixed

### Date: 28-July-2020

- **Build Issue** Build update issue fixed

------------------------------------------------

## Version 1.5.2
###### Date: 23-July-2020
- **Bump Issue** : Bump Issue: log4j-core from 2.5 to 2.13.2
- **Query** : Query.locale() documentation
- **CSHttpConnection** : StandardCharsets.UTF_8 Support Added

### Date: 23-July-2020

- **Bump Issue** : Bump Issue: log4j-core from 2.5 to 2.13.2
- **Query** : Query.locale() documentation
- **CSHttpConnection** : StandardCharsets.UTF_8 Support Added

------------------------------------------------

## Version 1.5.1
###### Date: 13-Jan-2020
- **Dependency Vulnerability** Java Github reported vulnerable issue on dependency logj


### Date: 13-Jan-2020

- **Dependency Vulnerability** Java Github reported vulnerable issue on dependency logj

------------------------------------------------

## Version 1.5.0
###### Date: 15-Nov-2019
- **Stack**: Added support for function getContentType()
- **ContentType**: updated function fetch()
- **Query**: Updated support of whereIn(String KEY, Query queryObject)
- **Query**: Updated support of whereNotIn(String KEY, Query queryObject)

### Date: 15-Nov-2019

- **Stack**: Added support for function getContentType()
- **ContentType**: updated function fetch()
- **Query**: Updated support of whereIn(String KEY, Query queryObject)
- **Query**: Updated support of whereNotIn(String KEY, Query queryObject)

------------------------------------------------

## Version 1.4.2
###### Date: 03-Sept-2019
- **Config** - Added support for Region in Config.

### Date: 03-Sept-2019

- **Config** - Added support for Region in Config.

------------------------------------------------

## Version 1.4.1
###### Date: 21-August-2019
- **Query** - Added support for whereIn(String key) and whereNotIn(String key) methods
- **CSAppConstants** - Removed google internet connection check from CSAppConstants

------------------------------------------------

### Date: 21-August-2019

- **Query** - Added support for whereIn(String key) and whereNotIn(String key) methods
- **CSAppConstants** - Removed google internet connection check from CSAppConstants

## Version 1.4.0
###### Date: 26-July-2019
- **Entry** - Added support for includeReferenceContentTypeUid support in Entry.
- **Query** - Added support for includeReferenceContentTypeUid support in Query.
- **Entry** - setLanguage and getLanguage Deprecated in Entry.
- **Query** - language deprecated in Query
- **Entry** - Added method for getLocale and setLocale(String locale) in Entry
- **Query** - Added method for locale in Query.
- **Query** - Removed deprecated method for includeSchema in Query

------------------------------------------------

## Version 1.4.0

### Date: 26-July-2019

- **Entry** - Added support for includeReferenceContentTypeUid support in Entry.
- **Query** - Added support for includeReferenceContentTypeUid support in Query.
- **Entry** - setLanguage and getLanguage Deprecated in Entry.
- **Query** - language deprecated in Query
- **Entry** - Added method for getLocale and setLocale(String locale) in Entry
- **Query** - Added method for locale in Query.
- **Query** - Removed deprecated method for includeSchema in Query

------------------------------------------------

## Version 1.3.3
###### Date: 21-June-2019
- **HOTFIX**: Override response hot-fix

### Date: 21-June-2019

- **HOTFIX**: Override response hot-fix

------------------------------------------------

## Version 1.3.2
### Date: 13-May-2019
- **Code Improvement** Removed println
- **Code Improvement** Added support for Logger

### Date: 13-May-2019

- **Code Improvement** Removed println
- **Code Improvement** Added support for Logger

------------------------------------------------

## Version 1.3.1
###### Date: May-02-2019
- **Change**: include reference bug fixed
- **Added testcase** report for v1.3.1

### Date: May-02-2019

------------------------------------------------
- **Change**: include reference bug fixed
- **Added testcase** report for v1.3.1

------------------------------------------------

## Version 1.3.0
###### Date: Apr-12-2019
Change: Added support of below methods in SDK

### Date: Apr-12-2019

Change: Added support of below methods in SDK

```
getContentTypes() in Stack class
fetch in ContentType class
```
```
getContentTypes() in Stack class
fetch in ContentType class
```

Below two support from the Config class has been removed permanently
Below two support from the Config class has been removed permanently

- public void setSSL(boolean isSSL)setSSL()
- public boolean isSSL()

------------------------------------------------

## Version 1.2.1
###### Date: 14-Mar-2019
- Note: Bug Fixes and code clean up:
--------------------------------
## Version 1.2.1

### Date: 14-Mar-2019

- Note: Bug Fixes and code clean up:

Date: 20-Feb-2019
Date: 20-Feb-2019
Maven integration
Folder structure modified.

------------------------------------------------
## Version 1.2.0
###### Date: 15-Dec-2017

## Version 1.2.0

### Date: 15-Dec-2017

- New Features:
```
Entry- added method ‘addParam’
Query- added method 'addParam'
Asset- added method 'addParam'
```

```
Entry- added method ‘addParam’
Query- added method 'addParam'
Asset- added method 'addParam'
```

------------------------------------------------

## Version 1.1.0
###### Date: 10-Nov-2017
## Version 1.1.0

### Date: 10-Nov-2017

- New Features:

```
Stack- added method 'ImageTransform'
Query- added method 'includeContentType'
QueryResult- added method 'contentType'
```
```
Stack- added method 'ImageTransform'
Query- added method 'includeContentType'
QueryResult- added method 'contentType'
```

------------------------------------------------

#### API deprecation:
### API deprecation

- Query
- Deprecated method 'includeSchema'
------------------------------------------------

------------------------------------------------
Loading