sqlrite 0.1.6__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. {sqlrite-0.1.6 → sqlrite-0.1.7}/.github/workflows/release.yml +40 -11
  2. {sqlrite-0.1.6 → sqlrite-0.1.7}/Cargo.lock +5 -5
  3. {sqlrite-0.1.6 → sqlrite-0.1.7}/Cargo.toml +1 -1
  4. {sqlrite-0.1.6 → sqlrite-0.1.7}/PKG-INFO +1 -1
  5. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/package.json +1 -1
  6. {sqlrite-0.1.6 → sqlrite-0.1.7}/pyproject.toml +1 -1
  7. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/python/Cargo.toml +1 -1
  8. {sqlrite-0.1.6 → sqlrite-0.1.7}/.github/workflows/ci.yml +0 -0
  9. {sqlrite-0.1.6 → sqlrite-0.1.7}/.github/workflows/release-pr.yml +0 -0
  10. {sqlrite-0.1.6 → sqlrite-0.1.7}/.github/workflows/rust.yml +0 -0
  11. {sqlrite-0.1.6 → sqlrite-0.1.7}/.gitignore +0 -0
  12. {sqlrite-0.1.6 → sqlrite-0.1.7}/CODE_OF_CONDUCT.md +0 -0
  13. {sqlrite-0.1.6 → sqlrite-0.1.7}/LICENSE +0 -0
  14. {sqlrite-0.1.6 → sqlrite-0.1.7}/MAINTAINERS +0 -0
  15. {sqlrite-0.1.6 → sqlrite-0.1.7}/Makefile +0 -0
  16. {sqlrite-0.1.6 → sqlrite-0.1.7}/README.md +0 -0
  17. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/index.html +0 -0
  18. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/package-lock.json +0 -0
  19. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/src/App.svelte +0 -0
  20. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/src/app.css +0 -0
  21. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/src/main.ts +0 -0
  22. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/src/vite-env.d.ts +0 -0
  23. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/svelte.config.js +0 -0
  24. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/tsconfig.json +0 -0
  25. {sqlrite-0.1.6 → sqlrite-0.1.7}/desktop/vite.config.ts +0 -0
  26. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/_index.md +0 -0
  27. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/architecture.md +0 -0
  28. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/design-decisions.md +0 -0
  29. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/desktop.md +0 -0
  30. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/embedding.md +0 -0
  31. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/file-format.md +0 -0
  32. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/getting-started.md +0 -0
  33. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/pager.md +0 -0
  34. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/release-plan.md +0 -0
  35. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/release-secrets.md +0 -0
  36. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/roadmap.md +0 -0
  37. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/smoke-test.md +0 -0
  38. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/sql-engine.md +0 -0
  39. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/storage-model.md +0 -0
  40. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/supported-sql.md +0 -0
  41. {sqlrite-0.1.6 → sqlrite-0.1.7}/docs/usage.md +0 -0
  42. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/README.md +0 -0
  43. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/c/Makefile +0 -0
  44. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/c/hello.c +0 -0
  45. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/go/go.mod +0 -0
  46. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/go/hello.go +0 -0
  47. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/nodejs/hello.mjs +0 -0
  48. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/python/hello.py +0 -0
  49. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/rust/quickstart.rs +0 -0
  50. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/wasm/Makefile +0 -0
  51. {sqlrite-0.1.6 → sqlrite-0.1.7}/examples/wasm/index.html +0 -0
  52. {sqlrite-0.1.6 → sqlrite-0.1.7}/images/SQLRite - Desktop.png +0 -0
  53. {sqlrite-0.1.6 → sqlrite-0.1.7}/images/SQLRite Data Structures.png +0 -0
  54. {sqlrite-0.1.6 → sqlrite-0.1.7}/images/SQLRite Simple SQL Execution High Level Diagram.png +0 -0
  55. {sqlrite-0.1.6 → sqlrite-0.1.7}/images/SQLRite Simple SQL INSERT Execution High Level Diagram (Insert Row).png +0 -0
  56. {sqlrite-0.1.6 → sqlrite-0.1.7}/images/SQLRite Simple SQL INSERT Execution High Level Diagram.png +0 -0
  57. {sqlrite-0.1.6 → sqlrite-0.1.7}/images/SQLRite_logo.png +0 -0
  58. {sqlrite-0.1.6 → sqlrite-0.1.7}/images/architecture.png +0 -0
  59. {sqlrite-0.1.6 → sqlrite-0.1.7}/rust-toolchain.toml +0 -0
  60. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/AST.delete.example +0 -0
  61. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/AST.insert.exemple +0 -0
  62. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/AST.select.example +0 -0
  63. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/AST.update.example +0 -0
  64. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/CREATE TABLE sqlrite_schema.sql +0 -0
  65. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/CREATE_TABLE with duplicate.sql +0 -0
  66. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/CREATE_TABLE.sql +0 -0
  67. {sqlrite-0.1.6 → sqlrite-0.1.7}/samples/INSERT.sql +0 -0
  68. {sqlrite-0.1.6 → sqlrite-0.1.7}/scripts/bump-version.sh +0 -0
  69. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/go/README.md +0 -0
  70. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/go/conn.go +0 -0
  71. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/go/go.mod +0 -0
  72. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/go/rows.go +0 -0
  73. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/go/sqlrite.go +0 -0
  74. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/go/sqlrite_test.go +0 -0
  75. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/go/stmt.go +0 -0
  76. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/python/README.md +0 -0
  77. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/python/src/lib.rs +0 -0
  78. {sqlrite-0.1.6 → sqlrite-0.1.7}/sdk/python/tests/test_sqlrite.py +0 -0
  79. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/connection.rs +0 -0
  80. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/error.rs +0 -0
  81. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/lib.rs +0 -0
  82. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/main.rs +0 -0
  83. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/meta_command/mod.rs +0 -0
  84. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/repl/mod.rs +0 -0
  85. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/db/database.rs +0 -0
  86. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/db/mod.rs +0 -0
  87. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/db/secondary_index.rs +0 -0
  88. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/db/table.rs +0 -0
  89. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/executor.rs +0 -0
  90. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/mod.rs +0 -0
  91. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/cell.rs +0 -0
  92. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/file.rs +0 -0
  93. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/header.rs +0 -0
  94. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/index_cell.rs +0 -0
  95. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/interior_page.rs +0 -0
  96. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/mod.rs +0 -0
  97. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/overflow.rs +0 -0
  98. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/page.rs +0 -0
  99. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/pager.rs +0 -0
  100. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/table_page.rs +0 -0
  101. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/varint.rs +0 -0
  102. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/pager/wal.rs +0 -0
  103. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/parser/create.rs +0 -0
  104. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/parser/insert.rs +0 -0
  105. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/parser/mod.rs +0 -0
  106. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/parser/select.rs +0 -0
  107. {sqlrite-0.1.6 → sqlrite-0.1.7}/src/sql/tokenizer.rs +0 -0
@@ -821,32 +821,61 @@ jobs:
821
821
  name: nodejs-dispatcher
822
822
  path: sdk/nodejs
823
823
 
824
- - name: List publish payload
824
+ - name: List publish payload + OIDC env diagnostics
825
825
  working-directory: sdk/nodejs
826
826
  run: |
827
827
  ls -la
828
828
  echo "---"
829
829
  npm --version
830
830
  echo "---"
831
+ # Confirm the OIDC env vars GitHub Actions auto-sets when
832
+ # `permissions: id-token: write` is granted. If either of
833
+ # these is empty, OIDC token exchange CAN'T happen and
834
+ # npm publish will fall back to "no auth available".
835
+ # Just print whether they're set, not their values
836
+ # (the URL has a trailing token-issuance path; treat as
837
+ # sensitive).
838
+ echo "ACTIONS_ID_TOKEN_REQUEST_URL is set: ${ACTIONS_ID_TOKEN_REQUEST_URL:+yes}${ACTIONS_ID_TOKEN_REQUEST_URL:-NO}"
839
+ echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN is set: ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:+yes}${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-NO}"
840
+ echo "---"
831
841
  # Dry-run the pack to see exactly what ends up in the
832
842
  # published tarball. A missing .node file or a stray
833
843
  # devDep pulled in by accident would be visible here.
834
844
  npm pack --dry-run
835
845
 
836
- # Single atomic publish via OIDC trusted publisher. No
837
- # `--provenance` flag and no env block — npm 11.5+ adds
838
- # provenance automatically when the publish runs over OIDC,
839
- # and an explicit `--provenance` flag combined with no
840
- # auth token would actually error out under the older
841
- # token-auth pathway.
846
+ # Single atomic publish via OIDC trusted publisher.
847
+ #
848
+ # The `--provenance` flag is what tells npm CLI to use the
849
+ # OIDC code path. Without it, npm only checks for `_authToken`
850
+ # config and gives up with ENEEDAUTH (this happened on the
851
+ # v0.1.6 canary attempt that ran without the flag — npm
852
+ # never even tried OIDC). With it, npm:
853
+ # 1. Reads ACTIONS_ID_TOKEN_REQUEST_URL +
854
+ # ACTIONS_ID_TOKEN_REQUEST_TOKEN from the GHA env
855
+ # 2. Mints an OIDC token bearing the workflow's identity
856
+ # claims (repo, environment, workflow filename, etc.)
857
+ # 3. Exchanges it at npm for a one-time publish token
858
+ # 4. Publishes the package + attaches a sigstore-signed
859
+ # provenance attestation linking the artifact to this
860
+ # exact workflow run
861
+ #
862
+ # The previous v0.1.5 failure with `--provenance` set was a
863
+ # different bug — `registry-url` on setup-node was generating
864
+ # an `.npmrc` that forced token-auth and bypassed OIDC. With
865
+ # registry-url removed (this file's previous fix) and
866
+ # `--provenance` restored, both bugs are addressed.
842
867
  #
843
868
  # `--access public` is REQUIRED because `@joaoh82/sqlrite`
844
- # is a scoped package and scoped packages default to
845
- # private; without the flag, npm rejects the upload for a
846
- # free-tier account that can't host private packages.
869
+ # is a scoped package and scoped packages default to private;
870
+ # without the flag, npm rejects the upload for a free-tier
871
+ # account that can't host private packages.
872
+ #
873
+ # `--loglevel verbose` makes auth/transport errors
874
+ # diagnosable from the run log without re-running with
875
+ # debug-on. Cheap insurance against another silent failure.
847
876
  - name: Publish to npm
848
877
  working-directory: sdk/nodejs
849
- run: npm publish --access public
878
+ run: npm publish --access public --provenance --loglevel verbose
850
879
 
851
880
  - name: GitHub Release
852
881
  uses: softprops/action-gh-release@v2
@@ -3736,7 +3736,7 @@ dependencies = [
3736
3736
 
3737
3737
  [[package]]
3738
3738
  name = "sqlrite-desktop"
3739
- version = "0.1.6"
3739
+ version = "0.1.7"
3740
3740
  dependencies = [
3741
3741
  "serde",
3742
3742
  "serde_json",
@@ -3748,7 +3748,7 @@ dependencies = [
3748
3748
 
3749
3749
  [[package]]
3750
3750
  name = "sqlrite-engine"
3751
- version = "0.1.6"
3751
+ version = "0.1.7"
3752
3752
  dependencies = [
3753
3753
  "clap",
3754
3754
  "env_logger",
@@ -3763,7 +3763,7 @@ dependencies = [
3763
3763
 
3764
3764
  [[package]]
3765
3765
  name = "sqlrite-ffi"
3766
- version = "0.1.6"
3766
+ version = "0.1.7"
3767
3767
  dependencies = [
3768
3768
  "cbindgen",
3769
3769
  "sqlrite-engine",
@@ -3771,7 +3771,7 @@ dependencies = [
3771
3771
 
3772
3772
  [[package]]
3773
3773
  name = "sqlrite-nodejs"
3774
- version = "0.1.6"
3774
+ version = "0.1.7"
3775
3775
  dependencies = [
3776
3776
  "napi",
3777
3777
  "napi-build",
@@ -3781,7 +3781,7 @@ dependencies = [
3781
3781
 
3782
3782
  [[package]]
3783
3783
  name = "sqlrite-python"
3784
- version = "0.1.6"
3784
+ version = "0.1.7"
3785
3785
  dependencies = [
3786
3786
  "pyo3",
3787
3787
  "sqlrite-engine",
@@ -27,7 +27,7 @@ resolver = "3"
27
27
  # `package =` key so the import name stays `sqlrite` internally:
28
28
  # sqlrite = { package = "sqlrite-engine", path = "…" }
29
29
  name = "sqlrite-engine"
30
- version = "0.1.6"
30
+ version = "0.1.7"
31
31
  authors = ["Joao Henrique Machado Silva <joaoh82@gmail.com>"]
32
32
  edition = "2024"
33
33
  rust-version = "1.85"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sqlrite
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sqlrite-desktop-frontend",
3
3
  "private": true,
4
- "version": "0.1.6",
4
+ "version": "0.1.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "sqlrite"
7
- version = "0.1.6"
7
+ version = "0.1.7"
8
8
  description = "Python bindings for SQLRite — a small, embeddable SQLite clone written in Rust."
9
9
  authors = [{ name = "Joao Henrique Machado Silva", email = "joaoh82@gmail.com" }]
10
10
  license = { text = "MIT" }
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "sqlrite-python"
3
- version = "0.1.6"
3
+ version = "0.1.7"
4
4
  authors = ["Joao Henrique Machado Silva <joaoh82@gmail.com>"]
5
5
  edition = "2024"
6
6
  rust-version = "1.85"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes