mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
## About the changes This PR introduces environment-specific etags. This way clients will not react by updating features when there are changes in environments the SDK doesn't care about. ## Details There's a bit of scouting work (please don't make me split this 🙏) and other details are in comments, but the most relevant for the lazy ones: - Important **decision** on how we detect changes, unifying polling and delta: https://github.com/Unleash/unleash/pull/10512#discussion_r2285677129 - **Decision** on how we update revision id per environment: https://github.com/Unleash/unleash/pull/10512#discussion_r2291888401 - and how we do initial fetch on the read path: https://github.com/Unleash/unleash/pull/10512#discussion_r2291884777 - The singleton pattern that gave me **nightmares**: https://github.com/Unleash/unleash/pull/10512#discussion_r2291848934 - **Do we still have ALL_ENVS tokens?** https://github.com/Unleash/unleash/pull/10512#discussion_r2291913249 ## Feature flag To control the rollout introduced `etagByEnv` feature: [ |
||
|---|---|---|
| .. | ||
| api-token-middleware.test.ts | ||
| api-token-middleware.ts | ||
| audit-middleware.test.ts | ||
| audit-middleware.ts | ||
| authorization-middleware.ts | ||
| bearer-token-middleware.test.ts | ||
| bearer-token-middleware.ts | ||
| catch-all-error-handler.ts | ||
| conditional-middleware.ts | ||
| content_type_checker.test.ts | ||
| content_type_checker.ts | ||
| cors-origin-middleware.test.ts | ||
| cors-origin-middleware.ts | ||
| demo-authentication.e2e.test.ts | ||
| demo-authentication.ts | ||
| index.ts | ||
| integration-headers.test.ts | ||
| integration-headers.ts | ||
| no-authentication.test.ts | ||
| no-authentication.ts | ||
| origin-middleware.test.ts | ||
| origin-middleware.ts | ||
| oss-authentication.test.ts | ||
| oss-authentication.ts | ||
| pat-middleware.test.ts | ||
| pat-middleware.ts | ||
| rbac-middleware.test.ts | ||
| rbac-middleware.ts | ||
| request-logger.ts | ||
| response-time-metrics.test.ts | ||
| response-time-metrics.ts | ||
| secure-headers.ts | ||
| session-db.ts | ||
| unless-middleware.ts | ||