Skip to content

Commit

Permalink
chore: Update driver version for the 1.1.0 release (#235)
Browse files Browse the repository at this point in the history
Summary
- Updated driver version for the 1.1.0 release.

Description
- Driver version updated in gradle.properties and README.md.
- Updated CHANGELOG.md for the release.
  • Loading branch information
crystall-bitquill authored Jun 29, 2022
1 parent 48d4ad2 commit 14f9664
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 29 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ All notable changes to this project will be documented in this file.
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).


## [1.1.0] - 2022-06-03
## [1.1.0] - 2022-06-29

### Added
* Secrets Manager Plugin and corresponding unit tests have been added.
* [Secrets Manager Support](https://github.com/awslabs/aws-mysql-jdbc#aws-secrets-manager-plugin).

### Changed
* Upgraded the driver to use AWS Java SDK v.2.17.165.

### Fixed
* Resolved an issue related to `abort`, `close`, and `isClosed` by filtering out methods that do not require failover. [Issue 206](https://github.com/awslabs/aws-mysql-jdbc/issues/206).
* Resolved an issue where `max_allowed_packet` on the server wasn't being respected by the driver. [Issue 191](https://github.com/awslabs/aws-mysql-jdbc/issues/191).
* Resolved a concurrency issue with the Aurora toplogy cache. [Issue 188](https://github.com/awslabs/aws-mysql-jdbc/discussions/188).
* Resolved an issue where non-network errors were not propagated during failover.

## [1.0.0] - 2022-03-01
Expand Down
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ The AWS JDBC Driver for MySQL can be installed from pre-compiled packages that c

**Example - Direct download with wget**
```bash
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.0.0/aws-mysql-jdbc-1.0.0.jar
cp aws-mysql-jdbc-1.0.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.0.0.jar
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.0/aws-mysql-jdbc-1.1.0.jar
cp aws-mysql-jdbc-1.1.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.0.jar
```

**Upgrading to a newer version with wget**

To upgrade the driver, replace the .jar file of your earlier driver with the new `.jar` file. After replacing the `.jar` file, update the CLASSPATH to include the name of the new file. For example, to upgrade to version 1.0.0:
To upgrade the driver, replace the .jar file of your earlier driver with the new `.jar` file. After replacing the `.jar` file, update the CLASSPATH to include the name of the new file. For example, to upgrade to version 1.1.0:
```bash
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.0.0/aws-mysql-jdbc-1.0.0.jar
cp aws-mysql-jdbc-1.0.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.0.0.jar
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.0/aws-mysql-jdbc-1.1.0.jar
cp aws-mysql-jdbc-1.1.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.0.jar
```

#### As a Maven dependency
Expand All @@ -52,20 +52,20 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
<dependency>
<groupId>software.aws.rds</groupId>
<artifactId>aws-mysql-jdbc</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
</dependencies>
```

**Upgrading to a newer version with Maven**

To upgrade to a newer version of the driver, replace the version number identified in the `pom.xml` file with the newer driver version. For example, to upgrade to version 1.0.0, modify the file to include:
To upgrade to a newer version of the driver, replace the version number identified in the `pom.xml` file with the newer driver version. For example, to upgrade to version 1.1.0, modify the file to include:
```xml
<dependencies>
<dependency>
<groupId>software.aws.rds</groupId>
<artifactId>aws-mysql-jdbc</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
</dependencies>
```
Expand All @@ -76,16 +76,16 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
**Example - Gradle**
```gradle
dependencies {
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.0.0'
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.0'
}
```

**Upgrading to a newer version with Gradle**

To upgrade to a newer version of the driver, replace the version number identified in the application's ```build.gradle``` file with the newer driver version. For example, to upgrade to version 1.0.0:
To upgrade to a newer version of the driver, replace the version number identified in the application's ```build.gradle``` file with the newer driver version. For example, to upgrade to version 1.1.0:
```gradle
dependencies {
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.0.0'
implementation group: 'software.aws.rds', name: 'aws-mysql-jdbc', version: '1.1.0'
}
```

Expand All @@ -95,9 +95,9 @@ To use the driver with an IDE (for example, IntelliJ), download the `.jar` file
**Example - IntelliJ**

```bash
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.0.0/aws-mysql-jdbc-1.0.0.jar
cp aws-mysql-jdbc-1.0.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.0.0.jar
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.0/aws-mysql-jdbc-1.1.0.jar
cp aws-mysql-jdbc-1.1.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.0.jar
```

After downloading the `.jar` file and updating the CLASSPATH, add the driver information to your `Project`:
Expand All @@ -117,9 +117,9 @@ After downloading the `.jar` file and updating the CLASSPATH, add the driver inf
To upgrade to a newer version of the driver, download the updated driver, and add it to your CLASSPATH:

```bash
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.0.0/aws-mysql-jdbc-1.0.0.jar
cp aws-mysql-jdbc-1.0.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.0.0.jar
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.0/aws-mysql-jdbc-1.1.0.jar
cp aws-mysql-jdbc-1.1.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.0.jar
```

Then, follow the steps listed above to update your project to the latest version.
Expand All @@ -131,9 +131,9 @@ To use the driver with the DBeaver database client, download the `.jar` file, co
**Example - DBeaver**

```bash
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.0.0/aws-mysql-jdbc-1.0.0.jar
cp aws-mysql-jdbc-1.0.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.0.0.jar
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.0/aws-mysql-jdbc-1.1.0.jar
cp aws-mysql-jdbc-1.1.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.0.jar
```

After downloading the .jar file and adding it to your CLASSPATH, add the driver information to the DBeaver client:
Expand Down Expand Up @@ -169,9 +169,9 @@ After adding driver information, you can create new connections that use the AWS
To upgrade to a newer version of the driver, download the updated driver, and add it to your CLASSPATH:

```bash
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.0.0/aws-mysql-jdbc-1.0.0.jar
cp aws-mysql-jdbc-1.0.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.0.0.jar
wget https://github.com/awslabs/aws-mysql-jdbc/releases/download/1.1.0/aws-mysql-jdbc-1.1.0.jar
cp aws-mysql-jdbc-1.1.0.jar /home/userx/libs/
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-mysql-jdbc-1.1.0.jar
```
Then, follow the steps listed above to update your DBeaver client settings.

Expand All @@ -184,7 +184,7 @@ If there is an unreleased feature you would like to try, it may be available in
<dependency>
<groupId>software.aws.rds</groupId>
<artifactId>aws-mysql-jdbc</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<scope>system</scope>
<systemPath>path-to-snapshot-jar</systemPath>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spotbugs.version=4.0.0

# Build properties
com.mysql.cj.build.driver.version.major=1
com.mysql.cj.build.driver.version.minor=0
com.mysql.cj.build.driver.version.minor=1
com.mysql.cj.build.driver.version.subminor=0
com.mysql.cj.build.driver.displayName=Amazon Web Services (AWS) JDBC Driver for MySQL
com.mysql.cj.build.driver.name=aws-mysql-connector-java
Expand Down

0 comments on commit 14f9664

Please sign in to comment.