Skip to content

Commit 07bd915

Browse files
✨ v1.10.0 release
1 parent 3c5bf7c commit 07bd915

File tree

6 files changed

+95
-70
lines changed

6 files changed

+95
-70
lines changed

CHANGELOG.md

Lines changed: 75 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# CHANGELOG
22

3+
## Version 1.10.0
4+
5+
### Date: 16-May-2022
6+
7+
- High increase in memory consumption & thread count when updated to the 1.9.0 version
8+
- Setting Proxy in config [#52](https://github.com/contentstack/contentstack-java/issues/52)
9+
- Adding query parameter for the Live Preview
10+
- Enhancement in logger for the different class ( Suggested through a pull request ) [#51](https://github.com/contentstack/contentstack-java/pull/51)
11+
12+
---
13+
14+
## Version 1.9.0
15+
16+
### Date: 16-Mar-2022
17+
18+
- Entry uid bug fixed #45
19+
- Static logger implemented #43
20+
- Scope based dependencies
21+
22+
---
323

424
## Version 1.8.1
525

@@ -9,7 +29,7 @@
929
- Static logger implemented #43
1030
- Scope based dependencies
1131

12-
------------------------------------------------
32+
---
1333

1434
## Version 1.8.0
1535

@@ -22,7 +42,7 @@
2242
- Removed deprecated code/Non-working code marked deprecated
2343
- Few breaking changes added.
2444

25-
------------------------------------------------
45+
---
2646

2747
## Version 1.7.0
2848

@@ -32,24 +52,24 @@
3252
- Bug #32 issue resolved removed e.printStackTrace()
3353
- Instead stacktrace used logger.error()
3454

35-
------------------------------------------------
55+
---
3656

3757
## Version 1.6.0
3858

3959
### Date: 05-APR-2021
4060

4161
- **Query** : query.includeEmbeddedItems() method support added
42-
- **Entry** : entry.includeEmbeddedItems() method support added
62+
- **Entry** : entry.includeEmbeddedItems() method support added
4363

44-
------------------------------------------------
64+
---
4565

4666
## Version 1.5.7
4767

4868
### Date: 20-Feb-2021
4969

5070
Document updated
5171

52-
------------------------------------------------
72+
---
5373

5474
## Version 1.5.6
5575

@@ -60,7 +80,7 @@ Document updated
6080
New Features:
6181
• None
6282

63-
------------------------------------------------
83+
---
6484

6585
## Version 1.5.5
6686

@@ -81,7 +101,7 @@ Language Enum:
81101
New Features:
82102
• None
83103

84-
------------------------------------------------
104+
---
85105

86106
## Version 1.5.4
87107

@@ -94,15 +114,15 @@ New Features:
94114
[Asset] - Publish fallback method added, includeDimension method added
95115
[Assets] - Publish fallback method added
96116

97-
------------------------------------------------
117+
---
98118

99119
## Version 1.5.3
100120

101121
### Date: 28-July-2020
102122

103-
- **Build Issue** Build update issue fixed
123+
- **Build Issue** Build update issue fixed
104124

105-
------------------------------------------------
125+
---
106126

107127
## Version 1.5.2
108128

@@ -112,15 +132,15 @@ New Features:
112132
- **Query** : Query.locale() documentation
113133
- **CSHttpConnection** : StandardCharsets.UTF_8 Support Added
114134

115-
------------------------------------------------
135+
---
116136

117137
## Version 1.5.1
118138

119139
### Date: 13-Jan-2020
120140

121-
- **Dependency Vulnerability** Java Github reported vulnerable issue on dependency logj
141+
- **Dependency Vulnerability** Java Github reported vulnerable issue on dependency logj
122142

123-
------------------------------------------------
143+
---
124144

125145
## Version 1.5.0
126146

@@ -131,15 +151,15 @@ New Features:
131151
- **Query**: Updated support of whereIn(String KEY, Query queryObject)
132152
- **Query**: Updated support of whereNotIn(String KEY, Query queryObject)
133153

134-
------------------------------------------------
154+
---
135155

136156
## Version 1.4.2
137157

138158
### Date: 03-Sept-2019
139159

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

142-
------------------------------------------------
162+
---
143163

144164
## Version 1.4.1
145165

@@ -148,7 +168,7 @@ New Features:
148168
- **Query** - Added support for whereIn(String key) and whereNotIn(String key) methods
149169
- **CSAppConstants** - Removed google internet connection check from CSAppConstants
150170

151-
------------------------------------------------
171+
---
152172

153173
## Version 1.4.0
154174

@@ -162,15 +182,15 @@ New Features:
162182
- **Query** - Added method for locale in Query.
163183
- **Query** - Removed deprecated method for includeSchema in Query
164184

165-
------------------------------------------------
185+
---
166186

167187
## Version 1.3.3
168188

169189
### Date: 21-June-2019
170190

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

173-
------------------------------------------------
193+
---
174194

175195
## Version 1.3.2
176196

@@ -179,7 +199,7 @@ New Features:
179199
- **Code Improvement** Removed println
180200
- **Code Improvement** Added support for Logger
181201

182-
------------------------------------------------
202+
---
183203

184204
## Version 1.3.1
185205

@@ -188,69 +208,69 @@ New Features:
188208
- **Change**: include reference bug fixed
189209
- **Added testcase** report for v1.3.1
190210

191-
------------------------------------------------
211+
---
212+
213+
## Version 1.3.0
192214

193-
## Version 1.3.0
215+
### Date: Apr-12-2019
194216

195-
### Date: Apr-12-2019
217+
Change: Added support of below methods in SDK
218+
219+
```
220+
getContentTypes() in Stack class
221+
fetch in ContentType class
222+
```
196223

197-
Change: Added support of below methods in SDK
198-
199-
```
200-
getContentTypes() in Stack class
201-
fetch in ContentType class
202-
```
203-
204224
Below two support from the Config class has been removed permanently
205225

206-
- public void setSSL(boolean isSSL)setSSL()
207-
- public boolean isSSL()
208-
209-
------------------------------------------------
226+
- public void setSSL(boolean isSSL)setSSL()
227+
- public boolean isSSL()
228+
229+
---
210230

211231
## Version 1.2.1
212232

213233
### Date: 14-Mar-2019
214234

215235
- Note: Bug Fixes and code clean up:
216-
236+
217237
Date: 20-Feb-2019
218238
Maven integration
219-
Folder structure modified.
220-
221-
------------------------------------------------
239+
Folder structure modified.
240+
241+
---
222242

223243
## Version 1.2.0
224244

225-
### Date: 15-Dec-2017
245+
### Date: 15-Dec-2017
226246

227247
- New Features:
228248

229249
```
230-
Entry- added method ‘addParam’
231-
Query- added method 'addParam'
250+
Entry- added method ‘addParam’
251+
Query- added method 'addParam'
232252
Asset- added method 'addParam'
233-
```
253+
```
254+
255+
---
234256

235-
------------------------------------------------
236-
237257
## Version 1.1.0
238258

239-
### Date: 10-Nov-2017
259+
### Date: 10-Nov-2017
240260

241261
- New Features:
242262

243-
```
244-
Stack- added method 'ImageTransform'
245-
Query- added method 'includeContentType'
246-
QueryResult- added method 'contentType'
247263
```
264+
Stack- added method 'ImageTransform'
265+
Query- added method 'includeContentType'
266+
QueryResult- added method 'contentType'
267+
```
268+
269+
---
248270

249-
------------------------------------------------
250-
251-
### API deprecation
271+
### API deprecation
252272

253-
- Query
254-
- Deprecated method 'includeSchema'
273+
- Query
274+
- Deprecated method 'includeSchema'
255275

256-
------------------------------------------------
276+
---

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2012 - 2021 Contentstack
3+
Copyright (c) 2012 - 2022 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.contentstack.sdk</groupId>
77
<artifactId>java</artifactId>
8-
<version>1.9.0</version>
8+
<version>1.10.0</version>
99
<packaging>jar</packaging>
1010
<name>contentstack-java</name>
1111
<description>Java SDK for Contentstack Content Delivery API</description>
1212
<url>https://github.com/contentstack/contentstack-java/</url>
1313

1414

1515
<properties>
16-
<sdk.version.snapshot>1.9.0-SNAPSHOT</sdk.version.snapshot>
17-
<sdk.version.release>1.9.0</sdk.version.release>
16+
<sdk.version.snapshot>1.10.0-SNAPSHOT</sdk.version.snapshot>
17+
<sdk.version.release>1.10.0</sdk.version.release>
1818
<maven.compiler.target>1.8</maven.compiler.target>
1919
<maven.compiler.source>1.8</maven.compiler.source>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/com/contentstack/sdk/CSConnectionRequest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public void sendRequest() {
8383
connection.setController(controller);
8484
connection.setHeaders(header);
8585
connection.setInfo(requestInfo);
86-
//connection.setEndpoint(this.endpoint);
8786
connection.setAPIService(this.service);
8887
connection.setCallBackObject(resultCallBack);
8988
if (urlQueries != null && urlQueries.size() > 0) {

src/main/java/com/contentstack/sdk/Config.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ public void setBranch(String branch) {
4343
* <br><br><b>Example:</b><br><br>
4444
* <code>
4545
* java.net.Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("proxyHost", "proxyPort"));
46-
* java.net.Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("sl.theproxyvpn.io", 80)); Config
47-
* config = new Config() config.setProxy(proxy)
46+
* java.net.Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("sl.theproxyvpn.io", 80));
47+
* Config config = new Config();
48+
* config.setProxy(proxy);
4849
* </code>
4950
*/
5051
public void setProxy(Proxy proxy) {

src/main/java/com/contentstack/sdk/Constants.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
public class Constants {
1616

1717
private static final Logger logger = Logger.getLogger(Constants.class.getSimpleName());
18-
protected static final String SDK_VERSION = "1.9.0";
18+
protected static final String SDK_VERSION = "1.10.0";
1919
protected static final String ENVIRONMENT = "environment";
2020
protected static final String CONTENT_TYPE_UID = "content_type_uid";
2121
protected static final String SYNCHRONISATION = "stacks/sync";
@@ -37,7 +37,6 @@ public class Constants {
3737
protected static final String OPTIONS = "$options";
3838

3939

40-
4140
protected Constants() {
4241
logger.warning("Not Allowed");
4342
}
@@ -68,8 +67,10 @@ public enum REQUEST_CONTROLLER {
6867
/**
6968
* Parse date calendar.
7069
*
71-
* @param date the date
72-
* @param timeZone the time zone
70+
* @param date
71+
* the date
72+
* @param timeZone
73+
* the time zone
7374
* @return the calendar
7475
*/
7576
public static Calendar parseDate(String date, TimeZone timeZone) {
@@ -99,11 +100,15 @@ public static Calendar parseDate(String date, TimeZone timeZone) {
99100
/**
100101
* Parse date calendar.
101102
*
102-
* @param date the date
103-
* @param dateFormat the date format
104-
* @param timeZone the time zone
103+
* @param date
104+
* the date
105+
* @param dateFormat
106+
* the date format
107+
* @param timeZone
108+
* the time zone
105109
* @return the calendar
106-
* @throws ParseException the parse exception
110+
* @throws ParseException
111+
* the parse exception
107112
*/
108113
public static Calendar parseDate(String date, String dateFormat, TimeZone timeZone) throws ParseException {
109114
Calendar cal = Calendar.getInstance();

0 commit comments

Comments
 (0)