1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +01:00
unleash.unleash/src/lib
Thomas Heartman 95359ecff8
fix: cap project ids to 90 characters (without suffix) ()
This fixes the issue where project names that are 100 characters long
or longer would cause the project creation to fail. This is because
the resulting ID would be longer than the 100 character limit imposed
by the back end.

We solve this by capping the project ID to 90 characters, which leaves
us with 10 characters for the suffix, meaning you can have 1 billion
projects (999,999,999 + 1) that start with the same 90
characters (after slugification) before anything breaks.

It's a little shorter than what it strictly has to be (we could
probably get around with 95 characters), but at this point, you're
reaching into edge case territory anyway, and I'd rather have a little
too much wiggle room here.
2024-06-28 09:25:27 +02:00
..
__snapshots__ chore: resource limits flag () 2024-06-27 14:25:07 +02:00
addons chore: better debug logs in slack app () 2024-06-27 09:14:37 +01:00
db feat: largest projects and features metric () 2024-06-26 16:09:08 +02:00
domain/project-health chore: change toggle to flag () 2024-05-22 09:58:53 +03:00
error chore!: [v6] remove error.description in error messages () 2024-05-27 11:26:19 +02:00
features fix: cap project ids to 90 characters (without suffix) () 2024-06-28 09:25:27 +02:00
middleware chore: rename toggle to flag () 2024-05-23 13:19:49 +03:00
openapi feat: command menu items can have description as tooltip now () 2024-06-26 12:39:53 +03:00
routes refactor: lifecycle stage duration outside instance stats () 2024-06-25 11:22:26 +02:00
schema feat: implement createdByUserId for all features () 2023-12-22 14:33:16 +01:00
services feat: transactional complete/uncomplete feature () 2024-06-26 09:05:17 +02:00
types chore: resource limits flag () 2024-06-27 14:25:07 +02:00
users feat: use audit info in events () 2024-04-18 16:32:35 +02:00
util feat: upgrade from react v17 to v18 () 2024-06-11 13:59:52 +03:00
app.test.ts feat: Make compression middleware optional () 2023-12-16 08:06:26 +01:00
app.ts fix: bearer tokens with base-path () 2024-05-16 11:45:16 +02:00
create-config.test.ts feat: allow admin login using demo auth () 2024-04-23 08:39:33 +02:00
create-config.ts feat: file import () 2024-05-31 13:21:41 +02:00
default-custom-auth-deny-all.ts chore: Bump biome and configure husky () 2024-03-18 13:58:05 +01:00
internals.ts refactor: rename proxy to frontend api () 2024-03-11 17:30:46 +01:00
logger.test.ts fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
logger.ts feat: add option for LOG_LEVEL () 2021-04-23 15:31:12 +02:00
metric-events.ts feat: lifecycle stage entered counter () 2024-06-25 14:40:16 +02:00
metrics.test.ts feat: lifecycle stage entered counter () 2024-06-25 14:40:16 +02:00
metrics.ts feat: largest projects and features metric () 2024-06-26 16:09:08 +02:00
server-impl.test.ts feat: error log on unsupported pg () 2024-05-27 09:21:45 +02:00
server-impl.ts feat: file import () 2024-05-31 13:21:41 +02:00