Skip to content

Commit e9fc7e5

Browse files
Update versioning and changelog (#403)
Update versioning and changelog for upcoming 2.0.0 release.
1 parent 317fcf5 commit e9fc7e5

File tree

7 files changed

+27
-12
lines changed

7 files changed

+27
-12
lines changed

CHANGELOG.md

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

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/#semantic-versioning-200).
55

6+
## [2.0.0] - 2023-04-28
7+
### :magic_wand: Added
8+
- [Read / Write Splitting and Load Balancing (Official Release)](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md).
9+
- [Database dialects](/docs/using-the-jdbc-driver/DatabaseDialects.md) ([PR #372](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/372) addresses [Issue #341](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/341)), which allow users to specify the database type to connect to.
10+
11+
### :bug: Fixed
12+
- Fetched the instance endpoint and added it to the host aliases for connections established using custom domains ([Issue #386](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/386)).
13+
14+
### :crab: Changed
15+
- Parsed region from ARN ([PR #392](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/392) addresses [Issue #391](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/391)).
16+
- Updated documentation on:
17+
1. how to run integration tests ([PR #396](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/396)).
18+
2. required DataSource properties ([PR #398](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/398))
19+
620
## [1.0.2] - 2023-03-31
721
### :magic_wand: Added
822
- Default list of plugins added to the parameter `wrapperPlugins` ([PR #332](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/332)).
@@ -57,6 +71,7 @@ The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take
5771
* The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
5872
* The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
5973

74+
[2.0.0]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/1.0.2...2.0.0
6075
[1.0.2]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/1.0.1...1.0.2
6176
[1.0.1]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/1.0.0...1.0.1
6277
[1.0.0]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/tag/1.0.0

benchmarks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ The benchmarks do not measure the performance of target JDBC drivers nor the per
77
## Usage
88
1. Build the benchmarks with the following command `../gradlew jmhJar`.
99
1. the JAR file will be outputted to `build/libs`
10-
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-1.0.2-jmh.jar`.
10+
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.0.0-jmh.jar`.
1111
1. you may have to update the command based on the exact version of the produced JAR file

docs/GettingStarted.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you are using the AWS JDBC Driver as part of a Gradle project, include the wr
1212

1313
```gradle
1414
dependencies {
15-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '1.0.2'
15+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.0.0'
1616
implementation group: 'org.postgresql', name: 'postgresql', version: '42.5.0'
1717
}
1818
```
@@ -26,13 +26,13 @@ You can use pre-compiled packages that can be downloaded directly from [GitHub R
2626
For example, the following command uses wget to download the wrapper:
2727

2828
```bash
29-
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/1.0.2/aws-advanced-jdbc-wrapper-1.0.2.jar
29+
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.0.0/aws-advanced-jdbc-wrapper-2.0.0.jar
3030
```
3131

3232
Then, the following command adds the AWS JDBC Driver to the CLASSPATH:
3333

3434
```bash
35-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-1.0.2.jar
35+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.0.0.jar
3636
```
3737

3838
### As a Maven Dependency
@@ -44,7 +44,7 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
4444
<dependency>
4545
<groupId>software.amazon.jdbc</groupId>
4646
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
47-
<version>1.0.2</version>
47+
<version>2.0.0</version>
4848
</dependency>
4949
</dependencies>
5050
```
@@ -55,15 +55,15 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
5555

5656
```gradle
5757
dependencies {
58-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '1.0.2'
58+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.0.0'
5959
}
6060
```
6161

6262
To add a Gradle dependency in a Kotlin syntax, use the following configuration:
6363

6464
```kotlin
6565
dependencies {
66-
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:1.0.2")
66+
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.0.0")
6767
}
6868
```
6969

docs/using-the-jdbc-driver/UsingTheJdbcDriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ If there is an unreleased feature you would like to try, it may be available in
131131
<dependency>
132132
<groupId>software.amazon.jdbc</groupId>
133133
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
134-
<version>1.0.2-SNAPSHOT</version>
134+
<version>2.0.0-SNAPSHOT</version>
135135
<scope>system</scope>
136136
<systemPath>path-to-snapshot-jar</systemPath>
137137
</dependency>

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
aws-advanced-jdbc-wrapper.version.major=1
15+
aws-advanced-jdbc-wrapper.version.major=2
1616
aws-advanced-jdbc-wrapper.version.minor=0
17-
aws-advanced-jdbc-wrapper.version.subminor=2
17+
aws-advanced-jdbc-wrapper.version.subminor=0
1818
snapshot=false

wrapper/src/test/resources/hibernate_files/hibernate-core.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies {
6161
transitive = true
6262
}
6363
testImplementation "joda-time:joda-time:2.3"
64-
testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-1.0.2.jar')
64+
testImplementation files('/app/libs/aws-advanced-jdbc-wrapper-2.0.0.jar')
6565
testImplementation dbLibs.postgresql
6666
testImplementation dbLibs.mysql
6767
testImplementation dbLibs.h2

wrapper/src/test/resources/hibernate_files/java-module.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ dependencies {
9797
// Since both the DB2 driver and HANA have a package "net.jpountz" we have to add dependencies conditionally
9898
// This is due to the "no split-packages" requirement of Java 9+
9999

100-
testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-1.0.2.jar')
100+
testRuntimeOnly files('/app/libs/aws-advanced-jdbc-wrapper-2.0.0.jar')
101101
testRuntimeOnly dbLibs.mysql
102102

103103
if ( db.startsWith( 'db2' ) ) {

0 commit comments

Comments
 (0)