FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

prepare release 1.10.0 by shivam2680 · Pull Request #283 · databricks/databricks-sql-nodejs · GitHub

prepare release 1.10.0 - #283

Merged
shivam2680 merged 3 commits into
mainfrom
shivam2680/release-1.9.1
Mar 12, 2025
Merged

prepare release 1.10.0#283
shivam2680 merged 3 commits into
mainfrom
shivam2680/release-1.9.1

Conversation

shivam2680 commented Mar 12, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Description

  1. Added change-log for latest release
  2. bumped up version to 1.10.0

jackyhu-db left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

can you bump the minor version as this change the property name

Copy link
Copy Markdown
Contributor

@jackyhu-db If I correctly understand recent changes, clientId property is still working as before, but now produces warning. If yes - then changing the build number is totally correct, because the release doesn't break library behavior (yet). You'd have to change minor number when you completely remove clientId.

Also, if it works as I think - there is another advantage for changing build number: most users will receive this release (because npm by default installs dependencies with ^ which allows build number changes), and they'll actually see the warning before you actually remove the clientId completely.

Copy link
Copy Markdown
Collaborator

@jackyhu-db If I correctly understand recent changes, clientId property is still working as before, but now produces warning. If yes - then changing the build number is totally correct, because the release doesn't break library behavior (yet). You'd have to change minor number when you completely remove clientId.

Also, if it works as I think - there is another advantage for changing build number: most users will receive this release (because npm by default installs dependencies with ^ which allows build number changes), and they'll actually see the warning before you actually remove the clientId completely.

@kravets-levko minor version also has to be backward compatible, the difference between patch and minor version is if the change is a bug fix and client does not have to do nothing to adopt this change. Here we added a new property that is going to replace the old one. It is like backward compatible interface change and client has to make change in their code to use it, so I would prefer to use minor version so people is aware of this change.

shivam2680 changed the title prepare release 1.9.1 prepare release 1.10.1 Mar 12, 2025
shivam2680 changed the title prepare release 1.10.1 prepare release 1.10.0 Mar 12, 2025
shivam2680 merged commit 6d6dd8b into main Mar 12, 2025
eric-wang-1990 added a commit that referenced this pull request Aug 26, 2026
Bumps KERNEL_REV 5e5dea9 -> 628abd6 (databricks-sql-kernel #283, "U2M
token-cache control"; additive over #282 so the Azure SP surface is
preserved) and regenerates the committed napi binding, which now exposes
the `tokenCacheEnabled` / `tokenCachePassphrase` fields consumed by
buildKernelConnectionOptions. The only index.js churn is napi-rs's
embedded version guard (0.2.0 -> 0.2.1); the export set is unchanged.

Replaces the placeholder skipped U2M e2e with a real interactive suite
(gated behind DATABRICKS_KERNEL_U2M_INTERACTIVE so CI still skips it)
that proves, end to end against a live workspace:
  - tokenCacheEnabled unset  -> no on-disk token written (Thrift parity)
  - tokenCacheEnabled: true   -> an AES-encrypted (non-JSON) token is
                                 persisted under dirs::config_dir()/
                                 databricks-sql-kernel/oauth/

Verified: 2/2 e2e passing against an Azure pecotesting workspace; 322
kernel unit tests green against the rebuilt binding.

Note: published optionalDependency pins remain 0.2.0 (no 0.2.1 kernel
release yet) per the PR hold; local dev and the KERNEL_REV-built CI path
use the freshly built .node.

Co-authored-by: Isaac
Signed-off-by: eric-wang-1990 <e.wang@databricks.com>
eric-wang-1990 added a commit that referenced this pull request Aug 26, 2026
Bumps KERNEL_REV 5e5dea9 -> 628abd6 (databricks-sql-kernel #283, "U2M
token-cache control"; additive over #282 so the Azure SP surface is
preserved) and regenerates the committed napi binding, which now exposes
the `tokenCacheEnabled` / `tokenCachePassphrase` fields consumed by
buildKernelConnectionOptions. The only index.js churn is napi-rs's
embedded version guard (0.2.0 -> 0.2.1); the export set is unchanged.

Replaces the placeholder skipped U2M e2e with a real interactive suite
(gated behind DATABRICKS_KERNEL_U2M_INTERACTIVE so CI still skips it)
that proves, end to end against a live workspace:
  - tokenCacheEnabled unset  -> no on-disk token written (Thrift parity)
  - tokenCacheEnabled: true   -> an AES-encrypted (non-JSON) token is
                                 persisted under dirs::config_dir()/
                                 databricks-sql-kernel/oauth/

Verified: 2/2 e2e passing against an Azure pecotesting workspace; 322
kernel unit tests green against the rebuilt binding.

Note: published optionalDependency pins remain 0.2.0 (no 0.2.1 kernel
release yet) per the PR hold; local dev and the KERNEL_REV-built CI path
use the freshly built .node.

Co-authored-by: Isaac
Signed-off-by: eric-wang-1990 <e.wang@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL