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

chore: update releaserc to include pom.xml file #357

Merged
merged 9 commits into from
Oct 14, 2021
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ target/

## semantic-release
package-lock.json
package.json
node_modules/
pom.xml.versionsBackup
33 changes: 23 additions & 10 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
## SPDX-License-Identifier: Apache-2.0
{
"branches": ["master"],
"plugins": [
Expand All @@ -9,16 +11,21 @@
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "fix", "section": "Fixes"},
{"type": "chore", "section": "Maintenance"},
{"type": "docs", "section": "Maintenance"},
{"type": "revert", "section": "Bug Fixes"},
{"type": "revert", "section": "Fixes"},
{"type": "style", "hidden": true},
{"type": "refactor", "hidden": true},
{"type": "perf", "hidden": true},
{"type": "test", "hidden": true}
]
}
},
"releaseRules": [
{"type": "docs", "release": "patch"},
{"type": "revert", "release": "patch"},
{"type": "chore", "release": "patch"}
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
Expand All @@ -28,10 +35,10 @@
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "fix", "section": "Fixes"},
{"type": "chore", "section": "Maintenance"},
{"type": "docs", "section": "Maintenance"},
{"type": "revert", "section": "Bug Fixes"},
{"type": "revert", "section": "Fixes"},
{"type": "style", "hidden": true},
{"type": "refactor", "hidden": true},
{"type": "perf", "hidden": true},
Expand All @@ -40,13 +47,19 @@
}
}],
["@semantic-release/changelog", {
"changelogFile": "./CHANGELOG.md"
"changelogFile": "./CHANGELOG.md",
"changelogTitle": "# Changelog"
}],
["@semantic-release/exec", {
"prepareCmd": "mvn versions:set -DnewVersion=${nextRelease.version} \
-DautoVersionSubmodules=true && find README.md -type f \
-exec sed -i '' 's/<version>.*<\\/version>/<version>${nextRelease.version}<\\/version>/g' {} \\;"
}],
["@semantic-release/git", {
"assets": ["./CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
"assets": ["./CHANGELOG.md", "./pom.xml", "./README.md"],
"message": "AWS Encryption SDK ${nextRelease.version} Release \n\n${nextRelease.notes}"
}],
"@semantic-release/github"
#@semantic-release/github"
],
"repositoryUrl": "https://github.com/josecorella/test-semantic-release-pr",
"repositoryUrl": "https://github.com/aws/aws-encryption-sdk-java",
}
40 changes: 20 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 2.3.3 -- 2021-08-26
### 2.3.3 -- 2021-08-26

### Maintenance

Expand All @@ -23,7 +23,7 @@
* CI: Compilation with OpenJDK11 and validation with other JDKs
([#293](https://github.com/aws/aws-encryption-sdk-java/pull/293))

## 2.3.2 -- 2021-07-20
### 2.3.2 -- 2021-07-20

### Maintenance

Expand All @@ -47,11 +47,11 @@
* chore: Add support policy
([#274](https://github.com/aws/aws-encryption-sdk-java/pull/274))

## 2.3.1 -- 2021-06-29
### 2.3.1 -- 2021-06-29

* fix: read project properties from package's own ClassLoader [(PR #269)](https://github.com/aws/aws-encryption-sdk-java/pull/269)

## 2.3.0 -- 2021-06-16
### 2.3.0 -- 2021-06-16

* feat: AWS KMS multi-Region Key support

Expand All @@ -66,14 +66,14 @@
for more details about how the AWS Encryption SDK interoperates
with AWS KMS multi-Region keys.

## 2.2.0 -- 2021-05-27
### 2.2.0 -- 2021-05-27

* feat: Improvements to the message decryption process.

See https://github.com/aws/aws-encryption-sdk-java/security/advisories/GHSA-55xh-53m6-936r


## 2.0.0 -- 2020-09-24
### 2.0.0 -- 2020-09-24

* feat!: Updates to the AWS Encryption SDK. 4678ffa

Expand All @@ -84,11 +84,11 @@ Key committing suites are now default. CommitmentPolicy requires commitment by d

See: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration.html

## 1.7.0 -- 2020-09-24
### 1.7.0 -- 2020-09-24

* feat: Updates to the AWS Encryption SDK. a6be12a

## 1.6.2 -- 2020-05-26
### 1.6.2 -- 2020-05-26

### Patches
* Validate final frame length does not exceed the frame size in the message header [PR #166](https://github.com/aws/aws-encryption-sdk-java/pull/166)
Expand All @@ -98,7 +98,7 @@ See: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration
* Update AWS Java SDK version from 1.11.561 to 1.11.704. [PR #186](https://github.com/aws/aws-encryption-sdk-java/pull/186)
* Upgrade Bouncy Castle from 1.61 to 1.65 [PR #179](https://github.com/aws/aws-encryption-sdk-java/pull/179)

## 1.6.1 -- 2019-10-29
### 1.6.1 -- 2019-10-29

### Deprecation Warnings
* Deprecated `AwsCrypto.encryptString()` and `AwsCrypto.decryptString()`.
Expand All @@ -121,15 +121,15 @@ See: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration
[#131](https://github.com/aws/aws-encryption-sdk-java/pull/131),
and [#132](https://github.com/aws/aws-encryption-sdk-java/pull/132).

## 1.6.0 -- 2019-05-31
### 1.6.0 -- 2019-05-31

### Minor Changes
* Remove dependency on Apache Commons Codec 1.12.
* Use Base64 encoder from Bouncy Castle.
* Introduce and use utility methods for Base64 encoding/decoding so that
switching the codec provider needs to be done only in one place next time.

## 1.5.0 -- 2019-05-30
### 1.5.0 -- 2019-05-30

### Minor Changes
* Added dependency on Apache Commons Codec 1.12.
Expand All @@ -142,12 +142,12 @@ See: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration
* Upgrade Mockito from 2.23.4 to 2.28.1.
* Upgrade Apache Commons Lang from 3.4 to 3.9.

## 1.4.1 -- 2019-05-10
### 1.4.1 -- 2019-05-10

### Patches
* Cast ByteBuffer to Buffer prior to using some methods so that it works properly in Java 8.

## 1.4.0 -- 2019-05-10
### 1.4.0 -- 2019-05-10

### Minor Changes
* Increased BouncyCastle dependency version to 1.61
Expand All @@ -156,7 +156,7 @@ See: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration
### Maintenance
* Increased Mockito test dependency version to 2.23.4

## 1.3.6 -- 2018-12-10
### 1.3.6 -- 2018-12-10

### Patches
* Fixed typos in Exception messages (excryption -> encryption) #78
Expand All @@ -168,7 +168,7 @@ See: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration
* Added JML specs in #72
* Ensure that KeyBlob treats field lengths as unsigned shorts #71

## 1.3.5
### 1.3.5

### Minor Changes

Expand All @@ -178,39 +178,39 @@ See: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration
region not servicable by that MKP, the exception will now be thrown on first
use of the MK, rather than at getMasterKey time.

## 1.3.4
### 1.3.4

### Minor Changes

* Removed the KMS client cache, which could result in a memory leak when
decrypting certain malformed ciphertexts. This may reduce performance slightly
in some scenarios.

## 1.3.3
### 1.3.3

### Minor Changes
* Move the `aws-encryption-sdk-java` repository from `awslabs` to `aws`.
* Log a warning when an unsupported asymmetric algorithm is used with `JceMasterKey`
* Make `JceMasterKey` case insensitive
* Fix bare aliases not using default region

## 1.3.2
### 1.3.2

### Minor Changes
* Frame size restriction removed again
* Support Builders for use with AWS KMS
* Fix estimateCipherText when used with cached data keys
* Do not automatically set a default region in KmsMasterKeyProvider

## 1.3.1
### 1.3.1

### Minor changes

* Frame sizes are once again required to be aligned to 16 bytes
This restriction was relaxed in 1.3.0, but due to compatibility concerns
we'll put this restriction back in for the time being.

## 1.3.0
### 1.3.0

### Major changes

Expand Down