Skip to content

Adds advanced examples and reorganizes structure#86

Merged
johnnyt merged 1 commit intomainfrom
75-advanced-examples
Feb 1, 2026
Merged

Adds advanced examples and reorganizes structure#86
johnnyt merged 1 commit intomainfrom
75-advanced-examples

Conversation

@johnnyt
Copy link
Member

@johnnyt johnnyt commented Feb 1, 2026

  • Adds streaming_file.exs demonstrating memory-efficient encryption of large files with progress tracking
  • Adds caching_cmm.exs showing cache performance benefits (2x speedup) and re-keying behavior
  • Adds required_encryption_context.exs enforcing mandatory encryption context keys for compliance scenarios
  • Reorganizes examples into 01_basics/, 02_advanced/, and 03_aws_kms/ subdirectories for better discoverability
  • Updates examples/README.md with category navigation
  • Fixes Client module to support Caching CMM in dispatch clauses (was missing from encryption/decryption material dispatchers)

Closes #75

- Adds streaming_file.exs demonstrating memory-efficient
  encryption of large files with progress tracking
- Adds caching_cmm.exs showing cache performance benefits
  (2x speedup) and re-keying behavior
- Adds required_encryption_context.exs enforcing mandatory
  encryption context keys for compliance scenarios
- Reorganizes examples into 01_basics/, 02_advanced/, and
  03_aws_kms/ subdirectories for better discoverability
- Updates examples/README.md with category navigation
- Fixes Client module to support Caching CMM in dispatch
  clauses (was missing from encryption/decryption material
  dispatchers)

Closes #75
@johnnyt johnnyt merged commit 5fb30db into main Feb 1, 2026
1 check passed
@johnnyt johnnyt deleted the 75-advanced-examples branch February 1, 2026 17:40
@codecov
Copy link

codecov bot commented Feb 1, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/aws_encryption_sdk/client.ex 0.00% 2 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #86      +/-   ##
==========================================
- Coverage   92.74%   92.61%   -0.13%     
==========================================
  Files          40       40              
  Lines        1433     1435       +2     
==========================================
  Hits         1329     1329              
- Misses        104      106       +2     
Files with missing lines Coverage Δ
lib/aws_encryption_sdk/client.ex 93.10% <0.00%> (-3.33%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Advanced Feature Examples (Streaming, Caching, Required EC)

1 participant