Skip to content
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

New Release #209

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
27 changes: 0 additions & 27 deletions .changeset/tiny-years-bake.md

This file was deleted.

28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @evervault/sdk

## 6.3.0

### Minor Changes

- 720476d: Extend Relay outbound/forward proxy support in Node to include the ability to filter requests by path using `decryptionDomains`.

Requests can be filtered at the path level by appending an absolute or wildcard path to the decryption domains option, following similar wildcard logic to the domains
themselves. For example:

```js
// Existing behaviour will be observed, proxying requests to the host 'api.com'.
const ev = new Evervault('app_uuid', 'api_key', {
decryptionDomains: ['api.com'],
});

// Will only proxy requests to host 'api.com' which have a path starting with '/users/'.
const ev = new Evervault('app_uuid', 'api_key', {
decryptionDomains: ['api.com/users/*'],
});

// Will only proxy requests to host 'api.com' which have an exact path of '/settings'.
const ev = new Evervault('app_uuid', 'api_key', {
decryptionDomains: ['api.com/settings'],
});
```

This change is compatible with the existing hostname wildcard behaviour of `decryptionDomains`.

## 6.2.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evervault/sdk",
"version": "6.2.3",
"version": "6.3.0",
"description": "Node.js SDK for Evervault",
"main": "lib/index.js",
"typings": "types/index.d.ts",
Expand Down
Loading