github-actions[bot]
0976e8f760
Version Packages ( #154 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-28 08:52:03 -04:00
Bernd Strehl
5586443f71
Posthog provider: enable discovery of disabled flags. ( #153 )
...
* list active and inactive flags in posthog provider to enable discovery of disabled flags
* add changeset
* change version change from major to minor
2025-07-28 08:50:20 -04:00
github-actions[bot]
4ece2999d7
Version Packages ( #143 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 18:26:57 -04:00
Bryce
6239e2d9a7
Add GrowthBook Adapter ( #133 )
...
* initial wip adapter
* default adapter
* provider
* provider test
* tsc issues
* tsc issues
* tsc issues
* tsc
* feature type safety
* lock
* rm .js / .d.ts / .map
* fix test
* readme
* edge adapter
* readme typo
* update gb sdk ver
* lock
* lock
* fix changelog, package.json
* tighten feature() return type, remove userId from callback
* fix defaultValue handling
* fix decide typo
* Support EXPERIMENTATION_CONFIG
Co-authored-by: Romain Beauxis <romain@growthbook.io >
* sticky bucket support, readme, cleanup
* changeset
* update readme
* support client-side tracking, export types
---------
Co-authored-by: Romain Beauxis <romain@growthbook.io >
2025-06-02 16:09:22 -04:00
github-actions[bot]
ac549a05ed
Version Packages ( #142 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-23 16:42:17 -04:00
Aaron Morris
44bada78fb
feature(adapter-posthog): Add PostHog adapter ( #114 )
...
* feature(adapter-posthog): PostHog Adapter
* pass flagValue=undefined to getFeatureFlagPayload
* Map NEXT_PUBLIC_POSTHOG_HOST to a PostHog app hostname by default, making appHost optional in getProviderData
* Do not expose synchronous client in the Adapter interface (make it async later)
* Add tests
2025-05-23 15:56:36 -04:00
github-actions[bot]
785ba56c7a
Version Packages ( #141 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-23 11:12:07 +03:00
Dominik Ferber
d4108c8127
allow clearing the dedupe cache ( #138 )
...
* allow clearing the dedupe cache
* add changeset
* expose clearCacheForCurrentRequest
* reword changeset
* avoid adding prop to deduped fn
2025-05-23 11:07:58 +03:00
github-actions[bot]
0249e78249
Version Packages ( #140 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-19 07:51:23 -04:00
Ron Cohen
1d662a731c
chore(bucket): update to @bucketco/node-sdk@1.8.3 ( #139 )
...
* chore(bucket): update to @bucketco/node-sdk@1.8.3
* chore (changeset): Move package.json update to a changeset
---------
Co-authored-by: Aaron Morris <aaron@vercel.com >
2025-05-19 07:48:48 -04:00
github-actions[bot]
c1892d70c7
Version Packages ( #137 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-16 17:16:53 -04:00
Dominik Ferber
79b25f6aee
@flags-sdk/bucket adapter ( #96 )
...
* init
* [@flags-sdk/bucket] getProviderData (#113 )
* [@flags-sdk/bucket] various improvements (#121 )
* Update framer-motion to motion for CI
---------
Co-authored-by: Ron Cohen <cohen1@gmail.com >
Co-authored-by: Aaron Morris <aaron@vercel.com >
2025-05-16 17:05:38 -04:00
github-actions[bot]
5b40b1cc13
Version Packages ( #132 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-14 13:53:03 -04:00
Aaron Morris
9ba13cccbd
Create updated changeset ( #131 )
...
Publish Hypertune as 0.2.0
2025-05-14 13:51:44 -04:00
github-actions[bot]
99eb401e2c
Version Packages ( #130 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-14 13:22:23 -04:00
Aaron Morris
16c928bf45
Hypertune Adapter ( #125 )
2025-05-14 12:28:55 -04:00
github-actions[bot]
cd84279ce4
Version Packages ( #127 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-02 17:48:11 +03:00
Dominik Ferber
bc7944ed89
split crypto functions into dedicated functions ( #126 )
2025-05-02 17:45:00 +03:00
github-actions[bot]
695f7f9e86
Version Packages ( #120 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-15 12:06:48 -04:00
Aaron Morris
1e3c8df96d
(flags-sdk/statsig) Reduce sync delay when using Edge Config ( #118 )
...
If using an Edge Config adapter, reduce minimum sync delay for config specs from 5000ms->1000ms
2025-04-15 11:50:41 -04:00
github-actions[bot]
fcfc631db8
Version Packages ( #109 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-21 14:50:36 +02:00
Simon H
701f3c2bf2
Sveltekit flags enhancements ( #75 )
...
* use `$env/dynamic/private` from SvelteKit for convenience: people don't have to pass FLAGS_SECRET manually anymore then
* allow flag to be called outside of the lifecycle of the handle hook, with a request object being the key for deduplication etc
* add support for identifiers
* fix types
* new function for managing precomputed flags
* align with next.js API instead
* update example app
* lockfile
* test
* fix example
* restructure examples app
* make it two flags to show power of precompute + code
* add manual approach
* lets see if preview deployment is picked up
* change crypto usage to be usable in middleware
* make sveltekit flags pkg usable within edge middleware
* use ISR
* changeset
* enhance error message
* use static env instead of dynamic env
* bump kit
* use vercel adapter
* make sure Vite tooling is used for sveltekit entry point
---------
Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com >
2025-03-21 14:43:28 +02:00
github-actions[bot]
f427d868bc
Version Packages ( #108 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-19 17:47:39 +02:00
Andy
b79a84a861
[flags] Add defaultValue to decide call ( #107 )
...
* [flags] Add `defaultValue` to `decide` call
* Update .changeset/popular-eels-heal.md
---------
Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com >
2025-03-19 17:30:13 +02:00
github-actions[bot]
290c37ef21
Version Packages ( #102 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-13 09:16:39 +02:00
Dominik Ferber
fe72a221c0
enhance README ( #101 )
2025-03-13 09:11:29 +02:00
github-actions[bot]
3a2a1a00ed
Version Packages ( #93 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-08 13:29:40 +02:00
Dominik Ferber
917ef4269a
ldAdapter() » ldAdapter.variation() ( #94 )
...
* expose ldClient on default ldAdapter
* change API
* adapt README
* change to type import
* fix path
2025-03-08 13:27:36 +02:00
Dominik Ferber
b375e4e755
fill out metadata ( #92 )
...
* fill out metadata
* add changeset
2025-03-08 10:27:56 +02:00
github-actions[bot]
d1ed5960e0
Version Packages ( #91 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-08 10:16:33 +02:00
Dominik Ferber
fbc886a1a6
launchDarkly » ldAdapter ( #90 )
...
* launchDarkly » ldAdapter
* expose ldClient on adapter itself
2025-03-08 10:14:42 +02:00
github-actions[bot]
ab4c41c56b
Version Packages ( #89 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-08 09:30:46 +02:00
Andy
2fcc446ea8
Create LaunchDarkly adapter ( #2 )
...
* Create LaunchDarkly adapter
* Update example to include a LaunchDarkly flag
* Add missing env to turbo
* Rename to defaultLaunchDarklyAdapter
* Add winter sale example for providers
* Update winter-sale
* Document usage in readme
* Allow to set the default value through the adapter
* Fix readme
* Add default value for adapter
* Make argument optional
* Add @ts-expect-error
* Add a LaunchDarkly adapter (#10 )
* add ld example
* reword
* remove winter-sale example
* remove defaultValue
* use @flags-sdk/launchdarkly
* add install steps
* add changeset
* move @vercel/edge-config to peer deps
* add more secrets
* spell out name
* remove unused env var
* rename properties
* Capitalize
* Change import
* Fix more imports
* expose ldClient
* move peerDeps to real deps
* clarify Edge Config requirement in README
* remove adapter-launchdarkly snippet
* upgrade next@canary
* polish @flags-sdk/launchdarkly README
---------
Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com >
2025-03-08 09:29:26 +02:00
Dominik Ferber
646778643e
convert summer-sale to shirt-shop ( #79 )
...
* convert summer-sale to shirt-shop
* update deps
* canary for snippets
* expect errors
* upgrade deps
* ComponentRef
* steps
2025-02-28 11:04:12 +02:00
github-actions[bot]
bdbaa46d60
Version Packages ( #78 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-27 17:45:19 +02:00
Dominik Ferber
9a687cba09
accept consoleApiKey from getProviderData ( #77 )
2025-02-27 16:44:01 +01:00
github-actions[bot]
f6cb1ef244
Version Packages ( #76 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-26 17:09:47 +02:00
Aaron Morris
bd7e10aa39
(statsig-adapter): Release Statsig Adapter ( #43 )
...
* (statsig-adapter): Move Edge Config to peer deps, more consistent api key naming
* Move dynamic imports into initializeStatsig
* Add default adapter pattern
* Add changeset
* Add layerParameter to get config parameters from experiments in a layer
* (statsig-adapter) Focus on feature management (gates, dynamic configs), add origin, add exposure logging option
* (statsig-adapter) Update key handling and default export
* (refactoring, wip): move some runtime details out of the main implementation of the Statsig adapter
* Use statsig-node-lite
* Switch default environment variable to STATSIG_SERVER_SECRET"
* (statsig-adapter) Add readme
* Update README — Remove details on precompute, add optional peer deps to install command
* Add peerDependenciesMeta
* Update changeset text
* Refactor Statsig Adapter
Add experimentation primitives, disable exposure logging by default, identify StatsigUser instead of `{ statsigUser: StatsigUser }`
* (statsig-adapter) Update default environment variables
* use envvar: EXPERIMENTATION_CONFIG_ITEM_KEY
* Update packages/adapter-statsig/README.md
Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com >
* Update packages/adapter-statsig/README.md
Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com >
* Update README, docstrings
* upgrade statsig-node-lite
* remove edge config devDep
* reduce propagation time of Statsig updates
* update deps
* update lockfile
* prefix error
* simplify README
* extend package.json
* fix type
* switch example to gate
* expose types of Statsig SDK
* work around syncing issue
---------
Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com >
2025-02-26 17:03:57 +02:00
Dominik Ferber
661039ae57
change access to public ( #69 )
2025-02-20 20:27:18 +02:00
github-actions[bot]
cfad2444bf
Version Packages ( #60 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-14 13:43:03 -05:00
Dominik Ferber
48cbe4533b
Add @flags-sdk/edge-config adapter ( #57 )
...
* add Edge Config Adapter
* add README and tests
* add changeset
* add edge config caching
---------
Co-authored-by: Aaron Morris <aaron@vercel.com >
2025-02-14 10:53:13 -05:00
Aaron Morris
cf532daf20
Update flags package json ( #62 )
...
* (flags) remove index from exports
* Update tsup.config, use clean:true instead of rimraf
* Add changeset
* pnpm-lock
* update tsup config, remove unused provider entrypoints
* tsup.config: update entry format
* Add attw check in CI
* Update .changeset/tidy-schools-retire.md
---------
Co-authored-by: Dominik Ferber <dominik.ferber@gmail.com >
2025-02-14 09:45:24 +02:00
Dominik Ferber
a96464e7b9
Revert "fix use node: protocol for async_hooks import ( #52 )"
...
This reverts commit 6784f10def .
2025-02-07 06:55:43 +02:00
jlca
6784f10def
fix use node: protocol for async_hooks import ( #52 )
...
* fix use node: protocol for async_hooks import
2025-02-06 15:33:49 +02:00
Dominik Ferber
6955b68448
avoid printing full error during development ( #59 )
...
* avoid printing error in development
* add description
* add changeset
* change message
* add more tests
2025-02-05 17:55:25 +02:00
github-actions[bot]
1961a6a758
Version Packages ( #48 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-24 17:45:35 +02:00
Dominik Ferber
14353e1245
fix changelog example ( #50 )
2025-01-24 16:40:41 +01:00
Dominik Ferber
2ea15c6ff7
fix changeset format ( #49 )
2025-01-24 10:22:55 -05:00
Dominik Ferber
2713ea7aff
throw on undefined unless defaultValue is defined ( #46 )
...
* throw when decide returns undefined
* throw on undefined unless defaultValue is defined
* wip
* bring back JsonValue
* do not enforce on typescript level for now
* add changeset
* mention exported types
* add precise types
* fix summer-sale example
2025-01-24 14:22:12 +02:00
Dominik Ferber
76feb1667f
add mergeProviderData ( #47 )
2025-01-23 19:57:31 +02:00