Skip to content

Commit 0b23eec

Browse files
authored
Preparing for 1.4.3 release
Also added region codes: RKT, SHJ, RUH, EBB, EBL
1 parent 3df5403 commit 0b23eec

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6-
## Unreleased
6+
## 1.4.3 - 2024-07-01
77

88
### Added
99
- Cloud only: added support for Global Active Tables. This includes new requests and structs:
@@ -14,7 +14,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
1414
- Replica
1515
as well as additional replica-related information in TableResult
1616
- Latest Oracle Cloud Infrastructure regions and region codes: TYO, ABH, DAC, DOH,
17-
IZQ, UKY, XSP
17+
IZQ, UKY, XSP, RKT, SHJ, RUH, EBB, EBL
1818
- Added support for array_collect() and count(distinct) in queries. These
1919
require server side support which is only available in Oracle NoSQL releases
2020
23.3 and higher and will not be immediately available in the cloud service

nosqldb/common/region.go

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ const (
7979
RegionMEJeddah1 Region = "me-jeddah-1"
8080
// RegionMEDubai1 represents the region for Saudi Arabia East (Dubai).
8181
RegionMEDubai1 Region = "me-dubai-1"
82+
// RegionMERiyadh1 represents the region for Riyadh
83+
RegionMERiyadh1 Region = "me-riyadh-1"
8284
// RegionMXQueretaro1 represents the region for Mexico (Queretaro).
8385
RegionMXQueretaro1 Region = "mx-queretaro-1"
8486
// RegionMXMonterrey1 represents the region for Mexico (Monterrey).
@@ -199,6 +201,13 @@ const (
199201
// RegionEUJovanovac1 represents the dedicated region for Rome
200202
RegionEUDCCRome1 Region = "eu-dcc-rome-1"
201203

204+
// OC23 REGIONS
205+
206+
// RegionUSSomerset1 represents the US somerset region
207+
RegionUSSomerset1 Region = "us-somerset-1"
208+
// RegionUSThames1 represents the US thames region
209+
RegionUSThames1 Region = "us-thames-1"
210+
202211
// OC24 REGIONS
203212

204213
// RegionEUDCCZurich1 represents the dedicated region for Zurich
@@ -226,6 +235,13 @@ const (
226235
// RegionUSDCCSWJordan1 represents the dedicated region for SWJordan2
227236
RegionUSDCCSWJordan2 Region = "us-dcc-swjordan-2"
228237

238+
// OC29 REGIONS
239+
240+
// RegionMEAbudhabi2 represents the region for abudhabi 2
241+
RegionMEAbudhabi2 Region = "me-abudhabi-2"
242+
// RegionMEAbudhabi4 represents the region for abudhabi 4
243+
RegionMEAbudhabi4 Region = "me-abudhabi-4"
244+
229245
// OC31 REGIONS
230246

231247
// RegionAPHobsonville1 represents the dedicated region for Hobsonville
@@ -249,11 +265,13 @@ var realm = map[string]string{
249265
"oc20": "oraclecloud20.com",
250266
"oc21": "oraclecloud21.com",
251267
"oc22": "psn-pco.it",
268+
"oc23": "oraclecloud23.com",
252269
"oc24": "oraclecloud24.com",
253270
"oc25": "nricloud.jp",
254271
"oc26": "oraclecloud26.com",
255272
"oc27": "oraclecloud27.com",
256273
"oc28": "oraclecloud28.com",
274+
"oc29": "oraclecloud29.com",
257275
"oc31": "sovereigncloud.nz",
258276
}
259277

@@ -278,6 +296,7 @@ var regionRealm = map[Region]string{
278296
RegionAPMelbourne1: "oc1",
279297
RegionMEJeddah1: "oc1",
280298
RegionMEDubai1: "oc1",
299+
RegionMERiyadh1: "oc1",
281300
RegionMXQueretaro1: "oc1",
282301
RegionMXMonterrey1: "oc1",
283302
RegionILJerusalem1: "oc1",
@@ -341,6 +360,9 @@ var regionRealm = map[Region]string{
341360

342361
RegionEUDCCRome1: "oc22",
343362

363+
RegionUSSomerset1: "oc23",
364+
RegionUSThames1: "oc23",
365+
344366
RegionEUDCCZurich1: "oc24",
345367

346368
RegionAPDCCTokyo1: "oc25",
@@ -352,6 +374,9 @@ var regionRealm = map[Region]string{
352374

353375
RegionUSDCCSWJordan2: "oc28",
354376

377+
RegionMEAbudhabi2: "oc29",
378+
RegionMEAbudhabi4: "oc29",
379+
355380
RegionAPHobsonville1: "oc31",
356381
}
357382

@@ -389,6 +414,7 @@ var shortNameRegion = map[string]Region{
389414
"yyz": RegionCAToronto1,
390415
"jed": RegionMEJeddah1,
391416
"dxb": RegionMEDubai1,
417+
"ruh": RegionMERiyadh1,
392418
"qro": RegionMXQueretaro1,
393419
"mty": RegionMXMonterrey1,
394420
"mtz": RegionILJerusalem1,
@@ -425,12 +451,16 @@ var shortNameRegion = map[string]Region{
425451
"doh": RegionMEDCCDoha1,
426452
"beg": RegionEUJovanovac1,
427453
"nap": RegionEUDCCRome1,
454+
"ebb": RegionUSSomerset1,
455+
"ebl": RegionUSThames1,
428456
"avz": RegionEUDCCZurich1,
429457
"tyo": RegionAPDCCTokyo1,
430458
"uky": RegionAPDCCOsaka1,
431459
"ahu": RegionMEAbudhabi3,
432460
"ozz": RegionUSDCCSWJordan1,
433461
"drs": RegionUSDCCSWJordan2,
462+
"rkt": RegionMEAbudhabi2,
463+
"shj": RegionMEAbudhabi4,
434464
"izq": RegionAPHobsonville1,
435465
}
436466

0 commit comments

Comments
 (0)