Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/aws-database-encryption-sdk-dynamodb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.4.0
Choose a base ref
...
head repository: aws/aws-database-encryption-sdk-dynamodb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.5.0
Choose a head ref
  • 9 commits
  • 460 files changed
  • 3 contributors

Commits on May 9, 2024

  1. chore(Java-Release): update release commands and use SNAPSHOT builds (#…

    josecorella authored May 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    ac9b79e View commit details

Commits on May 10, 2024

  1. feat(DynamoDbEncryption): Add GetEncryptedDataKeyDescription operation (

    rishav-karanjit authored May 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8f8471a View commit details

Commits on May 13, 2024

  1. feat: simplify structured encryption (#866)

    * feat: simplify structured encryption
    ajewellamz authored May 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a70a569 View commit details

Commits on May 17, 2024

  1. feat: improve verification (#1020)

    * feat: improve verification
    ajewellamz authored May 17, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    cbde4ef View commit details
  2. chore: reformat and enforce formatting (#1035)

    * chore: reformat and enforce formatting
    ajewellamz authored May 17, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8a76a9d View commit details

Commits on May 29, 2024

  1. chore: bump MPL to 1.4 (#1067)

    * chore: bump MPL to 1.4
    ajewellamz authored May 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    51bbab5 View commit details

Commits on May 30, 2024

  1. chore: allow Legacy to use subclass of DynamoDBEncryptor (#1073)

    ajewellamz authored May 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    135acd9 View commit details
  2. chore: verify with Dafny 4.6 (#1072)

    * chore: verify with 4.6
    ajewellamz authored May 30, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    9db6e78 View commit details

Commits on May 31, 2024

  1. chore(release): 3.5.0 (#1074)

    * chore(release): 3.5.0
    
    ## [3.5.0](v3.4.0...v3.5.0) (2024-05-30)
    
    ### Features
    
    * **DynamoDbEncryption:** Add GetEncryptedDataKeyDescription operation ([#856](#856)) ([8f8471a](8f8471a))
    * improve verification ([#1020](#1020)) ([cbde4ef](cbde4ef))
    * simplify structured encryption ([#866](#866)) ([a70a569](a70a569))
    
    ### Maintenance
    
    * allow Legacy to use subclass of DynamoDBEncryptor ([#1073](#1073)) ([135acd9](135acd9))
    * bump MPL to 1.4 ([#1067](#1067)) ([51bbab5](51bbab5))
    * **Java-Release:** update release commands and use SNAPSHOT builds ([#995](#995)) ([ac9b79e](ac9b79e))
    * reformat and enforce formatting ([#1035](#1035)) ([8a76a9d](8a76a9d))
    * verify with Dafny 4.6 ([#1072](#1072)) ([9db6e78](9db6e78))
    rishav-karanjit authored May 31, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0aee1d1 View commit details
Showing 460 changed files with 330,962 additions and 29,165 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci_codegen.yml
Original file line number Diff line number Diff line change
@@ -11,11 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
library:
[
DynamoDbEncryption,
TestVectors
]
library: [DynamoDbEncryption, TestVectors]
# Note dotnet is only used for formatting generated code
# in this workflow
dotnet-version: ["6.0.x"]
2 changes: 1 addition & 1 deletion .github/workflows/ci_duvet.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
# with respect to the specification
name: Duvet report

on:
on:
pull_request:
push:
branches:
15 changes: 6 additions & 9 deletions .github/workflows/ci_examples_java.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow performs tests in Java.
name: Java Examples

on:
on:
pull_request:
push:
branches:
@@ -12,7 +12,7 @@ on:
# (accordingly to the "nightly" parameter).
inputs:
nightly:
description: 'Run the nightly build'
description: "Run the nightly build"
required: false
type: boolean
schedule:
@@ -30,10 +30,8 @@ jobs:
strategy:
max-parallel: 1
matrix:
java-version: [ 8, 11, 16, 17 ]
os: [
macos-12
]
java-version: [8, 11, 16, 17]
os: [macos-12]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
@@ -48,12 +46,12 @@ jobs:

- uses: actions/checkout@v3
with:
submodules: recursive
submodules: recursive

- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'corretto'
distribution: "corretto"
java-version: ${{ matrix.java-version }}

- name: Setup Dafny
@@ -80,4 +78,3 @@ jobs:
# Run migration examples
gradle -p runtimes/java/Migration/PlaintextToAWSDBE test
gradle -p runtimes/java/Migration/DDBECToAWSDBE test
16 changes: 6 additions & 10 deletions .github/workflows/ci_examples_net.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow performs tests in .NET.
name: dotnet examples

on:
on:
pull_request:
push:
branches:
@@ -13,13 +13,9 @@ jobs:
if: (github.repository_owner == 'aws')
strategy:
matrix:
library: [
DynamoDbEncryption,
]
dotnet-version: [ '6.0.x' ]
os: [
macos-12,
]
library: [DynamoDbEncryption]
dotnet-version: ["6.0.x"]
os: [macos-12]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
@@ -30,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
submodules: recursive

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
@@ -42,7 +38,7 @@ jobs:
with:
dafny-version: ${{ '4.2.0' }}

- name: Download Dependencies
- name: Download Dependencies
working-directory: ./${{ matrix.library }}
run: make setup_net

16 changes: 6 additions & 10 deletions .github/workflows/ci_test_java.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow performs tests in Java.
name: Library Java tests

on:
on:
pull_request:
push:
branches:
@@ -12,7 +12,7 @@ on:
# (accordingly to the "nightly" parameter).
inputs:
nightly:
description: 'Run the nightly build'
description: "Run the nightly build"
required: false
type: boolean
schedule:
@@ -29,13 +29,9 @@ jobs:
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
library: [
DynamoDbEncryption
]
java-version: [ 8, 11, 16, 17 ]
os: [
macos-12
]
library: [DynamoDbEncryption]
java-version: [8, 11, 16, 17]
os: [macos-12]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
@@ -70,7 +66,7 @@ jobs:
- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'corretto'
distribution: "corretto"
java-version: ${{ matrix.java-version }}

- name: Build ${{ matrix.library }} implementation
35 changes: 14 additions & 21 deletions .github/workflows/ci_test_net.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow performs tests in .NET.
name: test dotnet

on:
on:
pull_request:
push:
branches:
@@ -12,7 +12,7 @@ on:
# (accordingly to the "nightly" parameter).
inputs:
nightly:
description: 'Run the nightly build'
description: "Run the nightly build"
required: false
type: boolean
schedule:
@@ -30,15 +30,9 @@ jobs:
if: (github.event_name != 'schedule' || github.repository_owner == 'aws')
strategy:
matrix:
library: [
DynamoDbEncryption,
]
dotnet-version: [ '6.0.x' ]
os: [
macos-12,
ubuntu-latest,
windows-latest
]
library: [DynamoDbEncryption]
dotnet-version: ["6.0.x"]
os: [macos-12, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
@@ -52,7 +46,7 @@ jobs:
git config --global core.longpaths true
- uses: actions/checkout@v3
with:
submodules: recursive
submodules: recursive

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
@@ -73,8 +67,8 @@ jobs:
library: ${{ matrix.library }}
diff-generated-code: false
update-and-regenerate-mpl: true
- name: Download Dependencies

- name: Download Dependencies
working-directory: ./${{ matrix.library }}
run: make setup_net

@@ -92,16 +86,16 @@ jobs:
# This works because `node` is installed by default on GHA runners
CORES=$(node -e 'console.log(os.cpus().length)')
make transpile_net CORES=$CORES
- name: Test ${{ matrix.library }} net48
if: matrix.os == 'windows-latest'
working-directory: ./${{ matrix.library }}
shell: bash
run: |
dotnet restore runtimes/net/tests
dotnet build runtimes/net/tests
make test_net FRAMEWORK=net48
dotnet restore runtimes/net/tests
dotnet build runtimes/net/tests
make test_net FRAMEWORK=net48
- name: Test ${{ matrix.library }} net6.0
working-directory: ./${{ matrix.library }}
shell: bash
@@ -113,12 +107,11 @@ jobs:
else
make test_net FRAMEWORK=net6.0
fi
- name: Test Build and Pack ${{ matrix.library}}
shell: bash
if: matrix.os != 'windows-latest'
working-directory: ./${{ matrix.library }}
run: |
dotnet build runtimes/net /p:Configuration=Release -nowarn:CS0162,CS0168
dotnet pack runtimes/net/DynamoDbEncryption.csproj --no-build /p:Configuration=Release --output build
16 changes: 8 additions & 8 deletions .github/workflows/ci_test_vector_java.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow performs test vectors in Java.
name: Library Java Test Vectors

on:
on:
pull_request:
push:
branches:
@@ -11,11 +11,11 @@ jobs:
testJava:
strategy:
matrix:
java-version: [ 8, 11, 16, 17 ]
java-version: [8, 11, 16, 17]
os: [
# Run on ubuntu image that comes pre-configured with docker
ubuntu-latest
]
# Run on ubuntu image that comes pre-configured with docker
ubuntu-latest,
]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
@@ -25,7 +25,7 @@ jobs:
uses: rrainn/dynamodb-action@v4.0.0
with:
port: 8000
cors: '*'
cors: "*"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
@@ -41,12 +41,12 @@ jobs:
- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.7.0
with:
dafny-version: '4.2.0'
dafny-version: "4.2.0"

- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'corretto'
distribution: "corretto"
java-version: ${{ matrix.java-version }}

- name: Build TestVectors implementation
15 changes: 7 additions & 8 deletions .github/workflows/ci_test_vector_net.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow performs test vectors in DotNet.
name: Library DotNet Test Vectors

on:
on:
pull_request:
push:
branches:
@@ -11,11 +11,11 @@ jobs:
testDotNet:
strategy:
matrix:
dotnet-version: [ '6.0.x' ]
dotnet-version: ["6.0.x"]
os: [
# Run on ubuntu image that comes pre-configured with docker
ubuntu-latest
]
# Run on ubuntu image that comes pre-configured with docker
ubuntu-latest,
]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
@@ -25,7 +25,7 @@ jobs:
uses: rrainn/dynamodb-action@v4.0.0
with:
port: 8000
cors: '*'
cors: "*"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
@@ -41,7 +41,7 @@ jobs:
- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.7.0
with:
dafny-version: '4.2.0'
dafny-version: "4.2.0"

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
@@ -62,4 +62,3 @@ jobs:
dotnet run
cp ../java/*.json .
dotnet run --framework net6.0
2 changes: 1 addition & 1 deletion .github/workflows/ci_todos.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow prevents TODOs in code
name: Check TODOs in code

on:
on:
pull_request:
push:
branches:
10 changes: 3 additions & 7 deletions .github/workflows/ci_tv_verification.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ on:
# (accordingly to the "nightly" parameter).
inputs:
nightly:
description: 'Run the nightly build'
description: "Run the nightly build"
required: false
type: boolean
schedule:
@@ -31,12 +31,8 @@ jobs:
matrix:
# Break up verification between namespaces over multiple
# actions to take advantage of parallelization
service: [
DDBEncryption
]
os: [
macos-12,
]
service: [DDBEncryption]
os: [macos-12]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Loading