Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat cs 37836] region azure eu include metadata #31

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
115 changes: 64 additions & 51 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## Version 3.12.0

### Date: 02-May-2023

- Added support for include metadata in asset, entry and query class
- Added support of Region for Azure-EU
- General code and API document improvements
- Breaking changes : PublishType Enums are updated to all CAPS
- Kotlin support removed due to build issue

---

## Version 3.11.0

### Date: 08-Feb-2023
Expand Down Expand Up @@ -131,15 +143,8 @@ Below two support from the Config class has been removed permanently
Change:

- Removed support for unsafe (HTTP) request.
- Below two breaking changes from Config class has been deprecated

```java
@Deprecated
public void setSSL(boolean isSSL)setSSL()

@Deprecated
public boolean isSSL()
```
- Deprecated setSSL(boolean isSSL)setSSL() from config class
- Deprecated isSSL() from config class

---

Expand Down Expand Up @@ -172,11 +177,11 @@ Added below function support for sync in Stack class
New Features:

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

---

Expand All @@ -187,21 +192,21 @@ New Features:
New Features:

- Stack
- added method 'ImageTransform'
- added method 'ImageTransform'
- Query
- added method 'includeContentType'
- added method 'includeContentType'
- QueryResult
- added method 'content_type'
- added method 'content_type'
- API Modifications:
- None
- None

API deprecation:

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

- Bug Fixes:
- None
- None

---

Expand All @@ -210,18 +215,18 @@ API deprecation:
### Date: 28-July-2017

- New Features:
- None
- None

- API Modifications:
- None
- None

API deprecation:

None

- Bug Fixes:
- Cache Policy bug fixed.
- Cache Policy timeout increased.
- Cache Policy bug fixed.
- Cache Policy timeout increased.

---

Expand All @@ -234,15 +239,18 @@ New Features:
- None

API Modifications:
- None

- None

API deprecation:
- Asset

- Asset

1] Removed getPublishDetails() method. Entry 1] Removed getPublishDetails() method.

Bug Fixes:
- None.

- None.

---

Expand All @@ -251,10 +259,12 @@ Bug Fixes:
### Date: 17-May-2017

New Features:
- None

- None

API Modifications:
- None

- None

API deprecation:

Expand All @@ -275,16 +285,16 @@ New Features:
Added new class Group

Entry
1] Added getAllEntries(String refKey, String refContentType) method.
2] Added getGroups(String key) method.
3] Added getGroup(String key) method.
1] Added getAllEntries(String refKey, String refContentType) method.
2] Added getGroups(String key) method.
3] Added getGroup(String key) method.

Asset
1] Added setCachePolicy(CachePolicy policy) method.
2] Added getTags() method.
1] Added setCachePolicy(CachePolicy policy) method.
2] Added getTags() method.

AssetLibrary
1] Added setCachePolicy(CachePolicy policy) method.
1] Added setCachePolicy(CachePolicy policy) method.

API Modifications:

Expand Down Expand Up @@ -320,7 +330,7 @@ environment, Config config) method.
Stack 1] Added asset() method. 2] Added assetLibrary() method.

Entry
1] Added getPublishDetails() method.
1] Added getPublishDetails() method.

API Modifications:

Expand All @@ -332,20 +342,20 @@ Conetntstack 1] Removed stack(Context context, String stackApiKey, String access
environment, boolean isEnvironmentUid) method.

Stack
1] Removed setVersion(String version) method.
2] Removed setURL(String hostName, boolean isSSL) method.
3] Removed setEnvironment(String environment, boolean isEnvironmentUid) method.
4] Removed isEnvironmentUid() method.
5] Removed getEnvironment() method.
6] Removed getVersion() method.
7] Removed getURL() method
1] Removed setVersion(String version) method.
2] Removed setURL(String hostName, boolean isSSL) method.
3] Removed setEnvironment(String environment, boolean isEnvironmentUid) method.
4] Removed isEnvironmentUid() method.
5] Removed getEnvironment() method.
6] Removed getVersion() method.
7] Removed getURL() method

Entry
1] Removed getMetadata() method.
1] Removed getMetadata() method.

Query
1] Removed afterUid() method.
2] Removed beforeUid() method.
1] Removed afterUid() method.
2] Removed beforeUid() method.

Bug Fixes:

Expand Down Expand Up @@ -379,17 +389,20 @@ Fixed API calls issue for Android 7.0 Nougat.
### Date: 22-September-2016

New Features:
- None
API Modifications:
- None

- None
API Modifications:
- None

API deprecation:
- None

- None

Bug Fixes:
- Query 1] Fixed search method issue causing improper result.
- Entry 1] Fixed includeReference method issue causing improper result. 2] Fixed fetch method which
now return response as per environment.

- Query 1] Fixed search method issue causing improper result.
- Entry 1] Fixed includeReference method issue causing improper result. 2] Fixed fetch method which
now return response as per environment.

---

Expand Down
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
buildscript {

ext.jacocoVersion = '0.8.8'

repositories {
Expand All @@ -11,14 +10,13 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4' //4.1.3
classpath 'io.github.gradle-nexus:publish-plugin:1.1.0'
// NOTE: Do not place your application dependencies here
classpath "org.jacoco:org.jacoco.core:$jacocoVersion"
}
}

apply plugin: 'io.github.gradle-nexus.publish-plugin'
apply from: "${rootDir}/scripts/publish-root.gradle"

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
28 changes: 16 additions & 12 deletions contentstack/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'jacoco'
ext {
PUBLISH_GROUP_ID = 'com.contentstack.sdk'
PUBLISH_ARTIFACT_ID = 'android'
PUBLISH_VERSION = '3.11.0'
PUBLISH_VERSION = '3.12.0-SNAPSHOT'
PUBLISH_DESCRIPTION = 'The Content Delivery SDK is used to retrieve content from your Contentstack account and deliver it to your web or mobile properties.'
PUBLISH_URL = 'https://github.com/contentstack/contentstack-android'
PUBLISH_LICENSE_NAME = 'MIT License'
Expand All @@ -23,18 +23,21 @@ def localProperties = new Properties()
localProperties.load(new FileInputStream(rootProject.file("local.properties")))

android {
compileSdkVersion 33
namespace 'com.contentstack.sdk'
compileSdk 33
buildToolsVersion '30.0.2'

defaultConfig {
minSdkVersion 19
minSdk 19
targetSdk 33
versionCode 1
versionName "1.0.0"
versionName "1.0"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
minifyEnabled false
debuggable true
testCoverageEnabled true
buildConfigField "String", "host", localProperties['host']
Expand All @@ -43,8 +46,8 @@ android {
buildConfigField "String", "environment", localProperties['env']
buildConfigField "String", "contentTypeUID", localProperties['contentType']
buildConfigField "String", "assetUID", localProperties['assetUid']
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}

release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
Expand Down Expand Up @@ -74,12 +77,13 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//testImplementation 'junit:junit:5.9.2'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.android.volley:volley:1.2.1'
androidTestImplementation 'androidx.test:core:1.5.0'
androidTestImplementation "androidx.test:runner:1.5.2"
androidTestImplementation "androidx.test:rules:1.5.0"
testImplementation 'junit:junit:5.9.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

androidTestImplementation ("androidx.test.espresso:espresso-contrib:3.5.1") {
exclude module: "protobuf-lite"
}
}
Loading