Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5111819
feat: add encrypt query functionality and update dependencies
coderdan Oct 10, 2025
e95452c
feat: update cipherstash-client and add query term types
coderdan Oct 19, 2025
91d8729
chore: set git-fetch-with-cli to true
coderdan Oct 19, 2025
1c3d24a
feat: Update dependencies and refactor encryption handling
coderdan Oct 19, 2025
baf4cfc
refactor: added encryptQuery, update existing query tests
coderdan Oct 19, 2025
f43c8f1
wip: JSON query support
coderdan Oct 20, 2025
5c4d615
feat: refactor types and context handling in encryption and decryptio…
coderdan Oct 20, 2025
cb6d0c2
feat: enhance query handling with new operators and improve test cove…
coderdan Oct 21, 2025
6ee7e47
feat: add git fetch configuration and update cipherstash-client to us…
coderdan Oct 21, 2025
b22684f
feat: update query handling to support JSON operators and refactor re…
coderdan Oct 21, 2025
e5f6269
v0.18.0-0
invalid-email-address Oct 21, 2025
30d612a
chore: use github cipherstash-client
calvinbrewer Oct 21, 2025
0c92bcc
v0.18.0-1
invalid-email-address Oct 21, 2025
4d64847
fix(ci): add temp build creds
calvinbrewer Oct 21, 2025
5e5327d
Merge branch 'feat/query-api' of https://github.com/cipherstash/jseql…
calvinbrewer Oct 21, 2025
f9fbcd7
v0.18.0-2
invalid-email-address Oct 21, 2025
8e1511a
fix(ci): load key
calvinbrewer Oct 21, 2025
de56405
Merge branch 'feat/query-api' of https://github.com/cipherstash/jseql…
calvinbrewer Oct 21, 2025
575fbb9
v0.18.0-3
invalid-email-address Oct 21, 2025
8b396b0
fix(ci): load key
calvinbrewer Oct 21, 2025
d598a75
v0.18.0-4
invalid-email-address Oct 21, 2025
5bd7175
fix(ci): use ssh agent step
calvinbrewer Oct 21, 2025
0d87274
Merge branch 'feat/query-api' of https://github.com/cipherstash/jseql…
calvinbrewer Oct 21, 2025
d134d39
v0.18.0-5
invalid-email-address Oct 21, 2025
24d7719
fix(ci): pass secrets to build
calvinbrewer Oct 21, 2025
1f3e710
Merge branch 'feat/query-api' of https://github.com/cipherstash/jseql…
calvinbrewer Oct 21, 2025
4ce19b0
v0.18.0-6
invalid-email-address Oct 21, 2025
cc62d49
fix(ci): known hosts
calvinbrewer Oct 21, 2025
dbc38a1
Merge branch 'feat/query-api' of https://github.com/cipherstash/jseql…
calvinbrewer Oct 21, 2025
bff02e9
v0.18.0-7
invalid-email-address Oct 21, 2025
2369861
fix(ci): windows git config
calvinbrewer Oct 21, 2025
d7e8231
v0.18.0-8
invalid-email-address Oct 21, 2025
7f9f105
feat(ci): publish next tag if pre release
calvinbrewer Oct 21, 2025
1f1e4f4
v0.18.0-9
invalid-email-address Oct 21, 2025
34379ec
fix(query): rename OreLeft to OreFull for consistency in Query enum
coderdan Oct 23, 2025
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
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[net]
git-fetch-with-cli = true
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ on:
required: false
type: string
default: ''
secrets:
CIPHERSTASH_SUITE_PRIVATE_SSH_KEY:
required: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the intent to revert the SSH changes before merging? Ideally we'd avoid using unpublished versions of cipherstash-client and don't need to support private GitHub dependencies.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like CI isn't running against this PR because the test workflow file is invalid (missing a secret): https://github.com/cipherstash/protectjs-ffi/actions/runs/18696048330.


jobs:
matrix:
Expand Down Expand Up @@ -78,12 +81,25 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ inputs.ref }}
- name: Enable Long Paths (Windows)
if: runner.os == 'Windows'
shell: bash
run: git config --system core.longpaths true
- name: Setup Neon Environment
id: neon
uses: ./.github/actions/setup
with:
use-cross: ${{ matrix.cfg.script == 'cross' }}
platform: ${{ matrix.cfg.platform }}
- name: Setup SSH Agent
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.CIPHERSTASH_SUITE_PRIVATE_SSH_KEY }}
- name: Configure SSH for GitHub
shell: bash
run: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Update Version
if: ${{ inputs.update-version }}
shell: bash
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
permissions:
contents: write
uses: ./.github/workflows/build.yml
secrets:
CIPHERSTASH_SUITE_PRIVATE_SSH_KEY: ${{ secrets.CIPHERSTASH_SUITE_PRIVATE_SSH_KEY }}
with:
ref: ${{ needs.setup.outputs.ref }}
tag: ${{ needs.setup.outputs.tag }}
Expand Down Expand Up @@ -141,5 +143,15 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
for p in ./dist/*.tgz ; do
npm publish --access public $p
# Extract version from package tarball
version=$(tar -xOf "$p" package/package.json | jq -r '.version')

# Check if this is a prerelease version (contains hyphen)
if [[ "$version" == *-* ]]; then
echo "Publishing prerelease version $version with tag 'next'"
npm publish --access public --tag next "$p"
else
echo "Publishing stable version $version"
npm publish --access public "$p"
fi
done
Loading