Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d064009
separate changelogs
rishav-karanjit Apr 27, 2026
74c2cc4
empty commit
rishav-karanjit Apr 27, 2026
5832a24
formatting
rishav-karanjit Apr 27, 2026
9769275
revert this: for testing allow running semantic release in this branch
rishav-karanjit Apr 28, 2026
05fde8f
chore(java): empty commit
rishav-karanjit Apr 28, 2026
95c0871
fix(java): empty commit
rishav-karanjit Apr 28, 2026
a167631
feat(java): empty commit JAVA BREAKING CHANGE: something
rishav-karanjit Apr 28, 2026
0b22f20
chore(release): 3.10.0
semantic-release-bot Apr 28, 2026
89abb22
feat(java): empty commit
rishav-karanjit Apr 28, 2026
1c6bc41
m
rishav-karanjit Apr 28, 2026
524cb6e
chore(release): 4.0.0
semantic-release-bot Apr 28, 2026
0df1a8b
fix(net): something
rishav-karanjit Apr 28, 2026
e2b6992
feat(net): empty commit
rishav-karanjit Apr 28, 2026
465bd22
chore(release): 4.0.0
semantic-release-bot Apr 28, 2026
888a8ed
feat(java): empty commit
rishav-karanjit Apr 28, 2026
303df10
chore(release): 4.1.0
semantic-release-bot Apr 28, 2026
c4b96aa
Revert "chore(release): 4.1.0"
rishav-karanjit Apr 28, 2026
53f2ffc
Revert "chore(release): 4.0.0"
rishav-karanjit Apr 28, 2026
d384d7e
Revert "chore(release): 4.0.0"
rishav-karanjit Apr 28, 2026
8a7bd1e
Revert "chore(release): 3.10.0"
rishav-karanjit Apr 28, 2026
4bab441
feat(java): starting dummy commit to tag release
rishav-karanjit Apr 28, 2026
4496979
feat(java): next is major version
rishav-karanjit Apr 28, 2026
c2e24bf
chore(release): 4.0.0
semantic-release-bot Apr 28, 2026
227fb50
feat(dotnet): java mv did not affect net
rishav-karanjit Apr 28, 2026
9cd9c1d
chore(release): 3.11.0
semantic-release-bot Apr 28, 2026
88e4af3
feat(dotnet): next is major version
rishav-karanjit Apr 28, 2026
01fd8fd
chore(net): revert pining
rishav-karanjit Apr 28, 2026
2a34e9d
chore(release): 4.0.0
semantic-release-bot Apr 28, 2026
5c0c57a
feat(java): NET mv did not affect java
rishav-karanjit Apr 28, 2026
d8578ae
chore(release): 4.1.0
semantic-release-bot Apr 28, 2026
aca3a04
Revert 4bab441..d8578ae
rishav-karanjit Apr 28, 2026
51a608a
Revert "revert this: for testing allow running semantic release in th…
rishav-karanjit Apr 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 88 additions & 35 deletions .releaserc.cjs → .releaserc-java.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,20 @@ const Runtimes = {
module.exports = {
branches: ["main"],
repositoryUrl: "git@github.com:aws/aws-database-encryption-sdk-dynamodb.git",
tagFormat: "v${version}-java",
plugins: [
// Check the commits since the last release
[
"@semantic-release/commit-analyzer",
{
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["BREAKING-CHANGE", "BREAKING-CHANGES"],
noteKeywords: [
"JAVA-BREAKING-CHANGE",
"JAVA-BREAKING-CHANGES",
"JAVA BREAKING CHANGE",
"JAVA BREAKING CHANGES",
],
},
presetConfig: {
types: [
Expand All @@ -79,9 +85,14 @@ module.exports = {
],
},
releaseRules: [
{ type: "docs", release: "patch" },
{ type: "revert", release: "patch" },
{ type: "chore", release: "patch" },
// go is in main but not in prod. Mentioning go as we do make PR scoping Go in this repo
// python is not in main and not in prod. Mentioning python for defensive coding.
{ scope: "python", release: false },
{ scope: "dotnet", release: false },
{ scope: ".net", release: false },
{ scope: "net", release: false },
{ scope: "go", release: false },
{ scope: "rust", release: false },
],
},
],
Expand All @@ -91,7 +102,12 @@ module.exports = {
{
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["BREAKING-CHANGE", "BREAKING-CHANGES"],
noteKeywords: [
"JAVA-BREAKING-CHANGE",
"JAVA-BREAKING-CHANGES",
"JAVA BREAKING CHANGE",
"JAVA BREAKING CHANGES",
],
},
presetConfig: {
types: [
Expand All @@ -107,13 +123,12 @@ module.exports = {
section: "Features -- Java",
hidden: false,
},
{
type: "feat",
scope: "rust",
section: "Features -- Rust",
hidden: false,
},

{ type: "feat", scope: ".net", hidden: true },
{ type: "feat", scope: "net", hidden: true },
{ type: "feat", scope: "dotnet", hidden: true },
{ type: "feat", scope: "python", hidden: true },
{ type: "feat", scope: "go", hidden: true },
{ type: "feat", scope: "rust", hidden: true },
{
type: "fix",
scope: "dafny",
Expand All @@ -126,13 +141,12 @@ module.exports = {
section: "Fixes -- Java",
hidden: false,
},
{
type: "fix",
scope: "rust",
section: "Fixes -- Rust",
hidden: false,
},

{ type: "fix", scope: ".net", hidden: true },
{ type: "fix", scope: "net", hidden: true },
{ type: "fix", scope: "dotnet", hidden: true },
{ type: "fix", scope: "python", hidden: true },
{ type: "fix", scope: "go", hidden: true },
{ type: "fix", scope: "rust", hidden: true },
{
type: "chore",
scope: "dafny",
Expand All @@ -145,12 +159,12 @@ module.exports = {
section: "Maintenance -- Java",
hidden: false,
},
{
type: "chore",
scope: "rust",
section: "Maintenance -- Rust",
hidden: false,
},
{ type: "chore", scope: ".net", hidden: true },
{ type: "chore", scope: "net", hidden: true },
{ type: "chore", scope: "dotnet", hidden: true },
{ type: "chore", scope: "python", hidden: true },
{ type: "chore", scope: "go", hidden: true },
{ type: "chore", scope: "rust", hidden: true },
{
type: "chore",
section: "Miscellaneous",
Expand All @@ -168,12 +182,11 @@ module.exports = {
section: "Maintenance -- Java",
hidden: false,
},
{
type: "docs",
scope: "rust",
section: "Maintenance -- Rust",
hidden: false,
},
{ type: "docs", scope: ".net", hidden: true },
{ type: "docs", scope: "dotnet", hidden: true },
{ type: "docs", scope: "python", hidden: true },
{ type: "docs", scope: "go", hidden: true },
{ type: "docs", scope: "rust", hidden: true },
{
type: "revert",
scope: "dafny",
Expand All @@ -186,10 +199,50 @@ module.exports = {
section: "Fixes -- Java",
hidden: false,
},
{ type: "revert", scope: ".net", hidden: true },
{ type: "revert", scope: "dotnet", hidden: true },
{ type: "revert", scope: "python", hidden: true },
{ type: "revert", scope: "go", hidden: true },
{ type: "revert", scope: "rust", hidden: true },
{
type: "feat",
section: "Features -- All Languages",
hidden: false,
},
{ type: "fix", section: "Fixes -- All Languages", hidden: false },
{
type: "chore",
section: "Maintenance -- All Languages",
hidden: false,
},
{
type: "docs",
section: "Maintenance -- All Languages",
hidden: false,
},
{
type: "revert",
scope: "rust",
section: "Fixes -- Rust",
section: "Fixes -- All Languages",
hidden: false,
},
{
type: "style",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{
type: "refactor",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{
type: "perf",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{
type: "test",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{ type: "style", section: "Miscellaneous", hidden: false },
Expand All @@ -204,7 +257,7 @@ module.exports = {
[
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.md",
changelogFile: "CHANGELOG-java.md",
changelogTitle: "# Changelog",
},
],
Expand All @@ -231,7 +284,7 @@ module.exports = {
"@semantic-release/git",
{
assets: [
"CHANGELOG.md",
"CHANGELOG-java.md",
...Object.values(Runtimes).flatMap((r) => Object.keys(r)),
],
message:
Expand Down
96 changes: 89 additions & 7 deletions .releaserc-net.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,16 @@ module.exports = {
{
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["DOTNET-BREAKING-CHANGE", "DOTNET-BREAKING-CHANGES"],
noteKeywords: [
"DOTNET-BREAKING-CHANGE",
"DOTNET-BREAKING-CHANGES",
"DOTNET BREAKING CHANGE",
"DOTNET BREAKING CHANGES",
"NET-BREAKING-CHANGE",
"NET-BREAKING-CHANGES",
"NET BREAKING CHANGE",
"NET BREAKING CHANGES",
],
},
presetConfig: {
types: [
Expand All @@ -81,9 +90,12 @@ module.exports = {
],
},
releaseRules: [
{ type: "docs", release: "patch" },
{ type: "revert", release: "patch" },
{ type: "chore", release: "patch" },
// go is in main but not in prod. Mentioning go as we do make PR scoping Go in this repo
// python is not in main and not in prod. Mentioning python for defensive coding.
{ scope: "python", release: false },
{ scope: "java", release: false },
{ scope: "go", release: false },
{ scope: "rust", release: false },
],
},
],
Expand All @@ -93,7 +105,16 @@ module.exports = {
{
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["DOTNET-BREAKING-CHANGE", "DOTNET-BREAKING-CHANGES"],
noteKeywords: [
"DOTNET-BREAKING-CHANGE",
"DOTNET-BREAKING-CHANGES",
"DOTNET BREAKING CHANGE",
"DOTNET BREAKING CHANGES",
"NET-BREAKING-CHANGE",
"NET-BREAKING-CHANGES",
"NET BREAKING CHANGE",
"NET BREAKING CHANGES",
],
},
presetConfig: {
types: [
Expand All @@ -109,6 +130,10 @@ module.exports = {
section: "Features -- DotNet",
hidden: false,
},
{ type: "feat", scope: "java", hidden: true },
{ type: "feat", scope: "python", hidden: true },
{ type: "feat", scope: "go", hidden: true },
{ type: "feat", scope: "rust", hidden: true },
{
type: "fix",
scope: "dafny",
Expand All @@ -121,6 +146,10 @@ module.exports = {
section: "Fixes -- DotNet",
hidden: false,
},
{ type: "fix", scope: "java", hidden: true },
{ type: "fix", scope: "python", hidden: true },
{ type: "fix", scope: "go", hidden: true },
{ type: "fix", scope: "rust", hidden: true },
{
type: "chore",
scope: "dafny",
Expand All @@ -133,6 +162,10 @@ module.exports = {
section: "Maintenance -- DotNet",
hidden: false,
},
{ type: "chore", scope: "java", hidden: true },
{ type: "chore", scope: "python", hidden: true },
{ type: "chore", scope: "go", hidden: true },
{ type: "chore", scope: "rust", hidden: true },
{
type: "docs",
scope: "dafny",
Expand All @@ -145,6 +178,10 @@ module.exports = {
section: "Maintenance -- DotNet",
hidden: false,
},
{ type: "docs", scope: "java", hidden: true },
{ type: "docs", scope: "python", hidden: true },
{ type: "docs", scope: "go", hidden: true },
{ type: "docs", scope: "rust", hidden: true },
{
type: "revert",
scope: "dafny",
Expand All @@ -157,6 +194,51 @@ module.exports = {
section: "Fixes -- DotNet",
hidden: false,
},
{ type: "revert", scope: "java", hidden: true },
{ type: "revert", scope: "python", hidden: true },
{ type: "revert", scope: "go", hidden: true },
{ type: "revert", scope: "rust", hidden: true },
{
type: "feat",
section: "Features -- All Languages",
hidden: false,
},
{ type: "fix", section: "Fixes -- All Languages", hidden: false },
{
type: "chore",
section: "Maintenance -- All Languages",
hidden: false,
},
{
type: "docs",
section: "Maintenance -- All Languages",
hidden: false,
},
{
type: "revert",
section: "Fixes -- All Languages",
hidden: false,
},
{
type: "style",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{
type: "refactor",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{
type: "perf",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{
type: "test",
section: "Miscellaneous -- All Languages",
hidden: false,
},
{ type: "style", section: "Miscellaneous", hidden: false },
{ type: "refactor", section: "Miscellaneous", hidden: false },
{ type: "perf", section: "Miscellaneous", hidden: false },
Expand All @@ -169,7 +251,7 @@ module.exports = {
[
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.md",
changelogFile: "CHANGELOG-net.md",
changelogTitle: "# Changelog",
},
],
Expand Down Expand Up @@ -213,7 +295,7 @@ module.exports = {
"@semantic-release/git",
{
assets: [
"CHANGELOG.md",
"CHANGELOG-net.md",
...Object.values(Runtimes).flatMap((r) => Object.keys(r)),
...Object.values(Runtimes.net).flatMap((r) => r.assemblyInfo),
],
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ generate_properties_file:
setup_semantic_release:
npm i --no-save semantic-release @semantic-release/changelog semantic-release-replace-plugin conventional-changelog-conventionalcommits @semantic-release/git

run_semantic_release:
run_java_semantic_release:
mv .releaserc-java.cjs .releaserc.cjs
npx semantic-release --no-ci
mv .releaserc.cjs .releaserc-java.cjs

run_net_semantic_release:
mv .releaserc.cjs .releaserc-main.cjs
mv .releaserc-net.cjs .releaserc.cjs
npx semantic-release --no-ci
mv .releaserc.cjs .releaserc-net.cjs
mv .releaserc-main.cjs .releaserc.cjs

dry_run_semantic_release:
dry_run_java_semantic_release:
mv .releaserc-java.cjs .releaserc.cjs
npx semantic-release --dry-run
mv .releaserc.cjs .releaserc-java.cjs

dry_run_net_semantic_release:
mv .releaserc.cjs .releaserc-main.cjs
mv .releaserc-net.cjs .releaserc.cjs
npx semantic-release --dry-run
mv .releaserc.cjs .releaserc-net.cjs
mv .releaserc-main.cjs .releaserc.cjs
mv .releaserc.cjs .releaserc-net.cjs
Loading