Releases: podium/cloudfront-signer
Releases · podium/cloudfront-signer
1.0.0
What's Changed
- Remove application file, insure key order in signature by @cliftonmcintosh in #3
Full Changelog: 0.2.0...1.0.0
⚠️ Breaking Changes
- Remove Application module - users must now add
CloudfrontSigner.DistributionRegistry
to their own supervision tree
Example
# In your application.ex
def start(_type, _args) do
children = [
# ... other children ...
CloudfrontSigner.DistributionRegistry
]
opts = [strategy: :one_for_one, name: YourApp.Supervisor]
Supervisor.start_link(children, opts)
end
🚀 Features
- Enforce key order in AWS Policy using Jason.OrderedObject
- Add support for Elixir version 1.15
- Add Styler for consistent code formatting
🚜 Refactor
- Remove unused Poison dependency
- Fix test expectations in CloudfrontSignerTest
- Remove test for non-existent module
- Replace Timex with DateTime
📚 Documentation
- Update README with guidance for installing via hex
- Add directions for adding registry to application supervision tree
- Improve function docs and typespecs
- Improve test documentation and formatting
0.2.0
0.2.0 replaces Poison with Jason should be compatible with newer versions of Elixir.