File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## v2.3.0
4+
5+ ### Date: 29-Sep-2025
6+
7+ - Added AU and GCP-EU region support
8+
39## v2.2.0
410
5- ### Date: 01 -Sep-2025
11+ ### Date: 22 -Sep-2025
612
713- Async/await support added
814
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ public enum ContentstackRegion: String {
4040 case azure_eu = " azure-eu "
4141 /// This region is for GCP-NA Cloud
4242 case gcp_na = " gcp-na "
43+ /// This region is for GCP-EU Cloud
44+ case gcp_eu = " gcp-eu "
45+ /// Australia (AU) region
46+ case au = " au "
4347}
4448/// The cache policies allow you to define the source from where the SDK will retrieve the content.
4549public enum CachePolicy {
Original file line number Diff line number Diff line change @@ -42,6 +42,13 @@ final class ContentstackTests: XCTestCase {
4242 XCTAssertEqual ( stack. region, ContentstackRegion . gcp_na)
4343 XCTAssertNil ( stack. branch)
4444 }
45+
46+ func testStack_AUHostRegion_ReturnStackWithAUValue ( ) {
47+ let stack = makeStackSut ( region: . au)
48+ XCTAssertEqual ( stack. host, " au-cdn.contentstack.com " )
49+ XCTAssertEqual ( stack. region, ContentstackRegion . au)
50+ XCTAssertNil ( stack. branch)
51+ }
4552
4653 func testStack_NewHost_ReturnStackWithNewHost ( ) {
4754 let host = " api.contentstack.com "
You can’t perform that action at this time.
0 commit comments