141 Commits

Author SHA1 Message Date
Dominik Ferber 1c70395ad6 upgrade 2025-09-11 19:22:10 +03:00
Dominik Ferber 3b6f599b03 patch 2025-09-05 06:16:16 +03:00
Dominik Ferber 96177cec1a with cache 2025-09-05 06:14:37 +03:00
Dominik Ferber fe49960470 upgrade to new pkgs 2025-09-04 06:41:41 +03:00
Dominik Ferber 7f0c1a64d7 add changeset 2025-08-18 09:07:10 +03:00
Dominik Ferber 80c5d36539 patch properly 2025-08-18 08:54:30 +03:00
Dominik Ferber 14d1450247 log code 2025-08-18 08:17:58 +03:00
Dominik Ferber b5ac4cb383 with value 2025-08-18 08:13:39 +03:00
Dominik Ferber fd1a755a55 patch cjs 2025-08-18 00:05:49 +03:00
Dominik Ferber a46caa3be3 attempt patch 2025-08-17 23:56:01 +03:00
Dominik Ferber 9abfa591a6 patch ld 2025-08-17 23:52:15 +03:00
Dominik Ferber 4af4db83af with edge config reads only 2025-08-16 22:43:17 +03:00
Dominik Ferber c276efbd10 without measurements 2025-08-16 22:15:33 +03:00
Dominik Ferber 53ec07dbcf skip adapter 2025-08-16 22:14:27 +03:00
Dominik Ferber 21bf67b2a0 use 70 flags 2025-08-16 22:06:24 +03:00
Dominik Ferber cb4f49b578 debug 2025-08-15 10:27:02 +03:00
github-actions[bot] 12d153d483 Version Packages (#157)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@flags-sdk/launchdarkly@0.3.1
2025-08-06 10:45:47 +03:00
Dominik Ferber 595e9d055b @flags-sdk/launchdarkly: only read edge config once per request (#156)
* @flags-sdk/launchdarkly: only read edge config once per request

* fix test
2025-08-06 10:36:21 +03:00
github-actions[bot] 0976e8f760 Version Packages (#154)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@flags-sdk/posthog@0.2.0
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
Dominik Ferber a78e34d4ad add action to tag canary (#149) 2025-06-22 09:01:30 -04:00
github-actions[bot] 4ece2999d7 Version Packages (#143)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@flags-sdk/growthbook@0.1.0
2025-06-02 18:26:57 -04:00
Bryce 079dfc67cd GrowthBook adapter: fix failing test, don't throw when clientKey missing (#144)
* remove missing clientKey error, fix test
* warn -> error
2025-06-02 18:25:33 -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>
@flags-sdk/posthog@0.1.0
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>
flags@4.0.1
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>
@flags-sdk/bucket@0.1.1
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>
@flags-sdk/bucket@0.1.0
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>
@flags-sdk/hypertune@0.2.0
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>
flags@4.0.0
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>
@flags-sdk/statsig@0.2.2
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
Dominik Ferber 3994336c4d style examples (#111) 2025-03-21 17:48:34 +02:00
Dominik Ferber 2b1499067d add svelte output to turbo (#110) 2025-03-21 15:18:34 +02:00
github-actions[bot] fcfc631db8 Version Packages (#109)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
flags@3.2.0
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>
flags@3.1.2
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>
@flags-sdk/openfeature@0.1.1
2025-03-13 09:16:39 +02:00
Dominik Ferber fe72a221c0 enhance README (#101) 2025-03-13 09:11:29 +02:00
Dominik Ferber 91338530d2 Add OpenFeature adapter (#95)
* add OpenFeature adapter

* fix tsup.config.js

* add tests

* init fn

* allow sync and async usage

* remove generics when type is known
@flags-sdk/openfeature@0.1.0
2025-03-13 08:43:28 +02:00
github-actions[bot] 3a2a1a00ed Version Packages (#93)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@flags-sdk/launchdarkly@0.3.0
2025-03-08 13:29:40 +02:00