-
Notifications
You must be signed in to change notification settings - Fork 42
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
Make DefaultEncryptionService use libsodium #555
Conversation
🦋 Changeset detectedLatest commit: 44b1ab6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
inngest-js/packages/middleware-encryption/MIGRATION.md Lines 1 to 66 in 80e45b5
|
Warning Holding merge until Python is also ready. |
d91a730
to
003d393
Compare
A user has added the prerelease/inngest label, so this PR will be published to npm with the tag You can install this prerelease version with: npm install inngest@pr-555 The last release was built and published from 17e7107. |
A user has added the prerelease/middleware-encryption label, so this PR will be published to npm with the tag You can install this prerelease version with: npm install @inngest/middleware-encryption@pr-555 The last release was built and published from 44b1ab6. |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @inngest/middleware-encryption@1.0.0 ### Major Changes - [#555](#555) [`4469bff`](4469bff) Thanks [@goodoldneon](https://github.com/goodoldneon)! - ## Breaking changes - Default to using [LibSodium](https://libsodium.gitbook.io/doc) - Changed field-level event encryption - Custom encryption services now require identifiers ## Features - Added strategies for AES and LibSodium For information on how to migrate, see [MIGRATION.md](https://github.com/inngest/inngest-js/blob/main/packages/middleware-encryption/MIGRATION.md). Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Summary
Change
DefaultEncryptionService
in@inngest/middleware-encryption
to use libsodium. This is a breaking change.Standardizing our SDKs' encryption middlewares on libsodium allows for easy interoperability. For example, our TypeScript SDK could send an encrypted event to our Python SDK.
Todo
Checklist
Added a docs PR that references this PRN/A Documented in-package