1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/src/lib/features/frontend-api
Gastón Fournier bdb763c9d5
chore!: remove deprecated default env from new installs (#10080)
**BREAKING CHANGE**: DEFAULT_ENV changed from `default` (should not be
used anymore) to `development`

## About the changes
- Only delete default env if the install is fresh new.
- Consider development the new default. The main consequence of this
change is that the default is no longer considered `type=production`
environment but also for frontend tokens due to this assumption:
724c4b78a2/src/lib/schema/api-token-schema.test.ts (L54-L59)
(I believe this is mostly due to the [support for admin
tokens](https://github.com/Unleash/unleash/pull/10080#discussion_r2126871567))
- `feature_toggle_update_total` metric reports `n/a` in environment and
environment type as it's not environment specific
2025-06-06 12:02:21 +02:00
..
client-feature-toggle-read-model-type.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
client-feature-toggle-read-model.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
create-context.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
create-context.ts chore: make it build with strict null checks set to true (#9554) 2025-03-19 10:01:49 +01:00
createFrontendApiService.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
fake-client-feature-toggle-read-model.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
frontend-api-controller.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
frontend-api-repository.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
frontend-api-service.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
frontend-api-service.ts chore!: remove deprecated POST ui-config endpoint (#10027) 2025-05-26 10:22:16 +01:00
frontend-api.concurrency.e2e.test.ts chore: prepare to remove default env (#10087) 2025-06-06 09:20:16 +02:00
frontend-api.e2e.test.ts chore!: remove deprecated default env from new installs (#10080) 2025-06-06 12:02:21 +02:00
global-frontend-api-cache.test.ts chore: prepare to remove default env (#10087) 2025-06-06 09:20:16 +02:00
global-frontend-api-cache.ts chore: prepare to remove default env (#10087) 2025-06-06 09:20:16 +02:00
index.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
proxy-repository.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00