-
Notifications
You must be signed in to change notification settings - Fork 11
chore(node-sdk): release node-sdk 1.6 #334
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
Closed
Closed
Conversation
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
…ample (#289) Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ai/nanoid/blob/main/CHANGELOG.md">nanoid's changelog</a>.</em></p> <blockquote> <h2>3.3.8</h2> <ul> <li>Fixed a way to break Nano ID by passing non-integer size (by <a href="https://github.com/myndzi"><code>@myndzi</code></a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ai/nanoid/commit/3044cd5e73f4cf31795f61f6e6b961c8c0a5c744"><code>3044cd5</code></a> Release 3.3.8 version</li> <li><a href="https://github.com/ai/nanoid/commit/4fe34959c34e5b3573889ed4f24fe91d1d3e7231"><code>4fe3495</code></a> Update size limit</li> <li><a href="https://github.com/ai/nanoid/commit/d643045f40d6dc8afa000a644d857da1436ed08c"><code>d643045</code></a> Fix pool pollution, infinite loop (<a href="https://redirect.github.com/ai/nanoid/issues/510">#510</a>)</li> <li>See full diff in <a href="https://github.com/ai/nanoid/compare/3.3.7...3.3.8">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bucketco/bucket-javascript-sdk/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This is a piece of infrastructure needed for local overrides. We will likely need a few adjustments to this as we go about building the toolbar on top, but this is a good base.
The toolbar enables teams to quickly enable/disable features directly in their own app. It's a UI that renders on top of the page: <img width="265" alt="image" src="https://github.com/user-attachments/assets/18e0b483-68b8-43cb-996c-2a80b9aa6fe4" /> Features so far: - fetches features remotely through the SDK - also takes a list of features passed locally by prop - override feature enabled easily by flipping a switch, which is stored in localstorage - filter the list of features by search term - works for both Browser SDK and React SDK This started out as a way to see just how hard it would be to implement a toolbar for Bucket, so the code is now really in great shape. Known issues: - we use `featureList` to pass the string[] with feature keys into the BuckerProvider (and from there to BucketClient from the browser-sdk because `features` was already take for misc. feature fetching related options - positioning (bottom-left etc.) of the toolbar toggle doesn't really work the the toolbar dialog open up weirdly/wonkily in lots of situation (like narrow screen). --------- Co-authored-by: Lasse Boisen Andersen <la@laander.com> Co-authored-by: Lasse Boisen Andersen <lasse@bucket.co>
Alpha pre-release of the new Toolbar, see #290
<img width="1447" alt="image" src="https://github.com/user-attachments/assets/0d20df2f-c471-4aec-a89a-216e466ce5eb" />
…ontexts (#297) - Updated README files to document new `avatar` attribute - Added `avatar` to user and company context types in browser and node SDKs - Expanded documentation for special attributes in context objects - Added type definitions for avatar in relevant type files
Co-authored-by: Alexandru Ciobanu <alex+git@ciobanu.org>
…/dev/nextjs-flag-demo (#284) Bumps [next](https://github.com/vercel/next.js) from 14.2.15 to 14.2.21. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vercel/next.js/releases">next's releases</a>.</em></p> <blockquote> <h2>v14.2.21</h2> <blockquote> <p>[!NOTE]<br /> This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p> </blockquote> <h3>Core Changes</h3> <ul> <li>Upgrade React from 14898b6a9 to 178c267a4e: <a href="https://redirect.github.com/vercel/next.js/pull/74115">vercel/next.js#74115</a></li> <li>Fix unstable_allowDynamic when used with pnpm: <a href="https://redirect.github.com/vercel/next.js/pull/73765">vercel/next.js#73765</a></li> </ul> <h3>Misc Changes</h3> <ul> <li>chore(docs): add missing search: '' on remotePatterns: <a href="https://redirect.github.com/vercel/next.js/pull/73927">vercel/next.js#73927</a></li> <li>chore(docs): update version history of next/image: <a href="https://redirect.github.com/vercel/next.js/pull/73926">vercel/next.js#73926</a></li> </ul> <h3>Credits</h3> <p>Huge thanks to <a href="https://github.com/unstubbable"><code>@unstubbable</code></a>, <a href="https://github.com/ztanner"><code>@ztanner</code></a>, and <a href="https://github.com/styfle"><code>@styfle</code></a> for helping!</p> <h2>v14.2.20</h2> <blockquote> <p>[!NOTE]<br /> This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p> </blockquote> <h3>Core Changes</h3> <ul> <li>Fix fetch cloning bug (<a href="https://redirect.github.com/vercel/next.js/pull/73532">vercel/next.js#73532</a>)</li> </ul> <h3>Credits</h3> <p>Huge thanks to <a href="https://github.com/wyattjoh"><code>@wyattjoh</code></a> for helping!</p> <h2>v14.2.19</h2> <blockquote> <p>[!NOTE]<br /> This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p> </blockquote> <h3>Core Changes</h3> <ul> <li>ensure worker exits bubble to parent process (<a href="https://redirect.github.com/vercel/next.js/issues/73433">#73433</a>)</li> <li>Increase max cache tags to 128 (<a href="https://redirect.github.com/vercel/next.js/issues/73125">#73125</a>)</li> </ul> <h3>Misc Changes</h3> <ul> <li>Update max tag items limit in docs (<a href="https://redirect.github.com/vercel/next.js/issues/73445">#73445</a>)</li> </ul> <h3>Credits</h3> <p>Huge thanks to <a href="https://github.com/ztanner"><code>@ztanner</code></a> and <a href="https://github.com/ijjk"><code>@ijjk</code></a> for helping!</p> <h2>v14.2.18</h2> <blockquote> <p>[!NOTE]<br /> This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p> </blockquote> <h3>Core Changes</h3> <ul> <li>Fix: (third-parties) sendGTMEvent not queueing events before GTM init (<a href="https://redirect.github.com/vercel/next.js/issues/68683">#68683</a>) (<a href="https://redirect.github.com/vercel/next.js/issues/72111">#72111</a>)</li> <li>Ignore error pages for cache revalidate (<a href="https://redirect.github.com/vercel/next.js/issues/72412">#72412</a>) (<a href="https://redirect.github.com/vercel/next.js/issues/72484">#72484</a>)</li> </ul> <h3>Credits</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vercel/next.js/commit/2655f6efd3379cf68205b3b5c5173399294f7731"><code>2655f6e</code></a> v14.2.21</li> <li><a href="https://github.com/vercel/next.js/commit/8803d2b46e66ad831aec7979f2b7f0243057e48f"><code>8803d2b</code></a> Backport (v14): Upgrade React from 14898b6a9 to 178c267a4e (<a href="https://redirect.github.com/vercel/next.js/issues/74115">#74115</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/6e35243eae7f876177462b32763b3749d84c7d03"><code>6e35243</code></a> chore(docs): add missing <code>search: ''</code> on <code>remotePatterns</code> (<a href="https://redirect.github.com/vercel/next.js/issues/73925">#73925</a>) (<a href="https://redirect.github.com/vercel/next.js/issues/73927">#73927</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/54919d2f2829e112a24ab2559a1e71e0d3ab859d"><code>54919d2</code></a> chore(docs): update version history of <code>next/image</code> (<a href="https://redirect.github.com/vercel/next.js/issues/73926">#73926</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/049a6907af00488a607e958a863fe42328d8cd6a"><code>049a690</code></a> Backport: Fix <code>unstable_allowDynamic</code> when used with pnpm (<a href="https://redirect.github.com/vercel/next.js/issues/73765">#73765</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/663fa9cb295730b5adfce8f968593f3838228d16"><code>663fa9c</code></a> Fix SWC and React versions for <code>14-2-1</code> branch (<a href="https://redirect.github.com/vercel/next.js/issues/73791">#73791</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/ed78a4aa673034719d5664536a80d326eebac7e1"><code>ed78a4a</code></a> v14.2.20</li> <li><a href="https://github.com/vercel/next.js/commit/530421d3a2cf00e94a8d68ef5b093bb866f13f14"><code>530421d</code></a> [backport] Fix/dedupe fetch clone (<a href="https://redirect.github.com/vercel/next.js/issues/73532">#73532</a>)</li> <li><a href="https://github.com/vercel/next.js/commit/cbc62adabae6517b0f848a43a777af9b161cfd97"><code>cbc62ad</code></a> v14.2.19</li> <li><a href="https://github.com/vercel/next.js/commit/92280dc4359c319aaac86e9795d74477b77f09ff"><code>92280dc</code></a> [backport] Update max tag items limit in docs (<a href="https://redirect.github.com/vercel/next.js/issues/73445">#73445</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vercel/next.js/compare/v14.2.15...v14.2.21">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bucketco/bucket-javascript-sdk/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexandru Ciobanu <alex+git@ciobanu.org>
If typedoc fails, so should the whole script
…config` option. (#285) This PR introduces the `config`, which is an user-supplied JSON value that matches a given feature context (similar to targeting). The resolved configuration variant is then passed down to the client SDKs for use.
This PR adds support for remote configuration to the node-sdk.
This PR improves the handling of check/evaluate events in the age of `remote config`. Fixes some additional small nagging issues along the way.
…handling (#318) - Enhanced flag resolution methods with more robust error handling - Added support for more context attributes in context translator - Improved type checking and resolution for different flag types - Updated README with more detailed usage and resolution method explanations - Bumped node-sdk dependency to 1.6.0-alpha.3
Update node-sdk dependency to the latest alpha version in yarn.lock and package.json
… config and validation (#330)
This PR Introduces `flushOnExit` option in batch buffer configuration. When on (default), the client will flush all events on it's exit.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merging everything from node-1.6.alpha back into
mainand cutting a new release.