-
-
Notifications
You must be signed in to change notification settings - Fork 41
Labels
flag: breaking changeflag: help wantedExtra attention is neededExtra attention is neededseverity: highsource: dependenciessource: pluginsource: provider:memorysource: provider:redisversion: Strapi 5Issues related to the versions supported by Strapi 5Issues related to the versions supported by Strapi 5
Description
Tests/checks we need to complete to release a Stable/Beta V5
Core Rest-Cache Features
Provider
- Check all providers function and can be loaded
- Confirm default provider (memory) loads correctly on boot
- Check getTimeout for providers function
Strategy Options
- Ensure
debugworks - Ensure
enableEtagworks and etags are generated - Ensure
enableXCacheHeadersworks and headers are send on response - Ensure
enableAdminCTBMiddlewareworks (possibly rename since it's wrong?) and changes in admin bust cache properly - Ensure
resetOnStartupworks and is properly reset with all providers- Bug with Redis where the provider isn't initialized when it tries to reset
- Ensure
clearRelatedCachefunctions even with deeply nested relations (test up to 10 levels) - Ensure
keysPrefixworks and prefix is set properly (really only matters with Redis provider) - Ensure
hitpassworks -> we may skip this for now as it's complex- Skipped
- Ensure
maxAgeworks and cache is auto-busted / set by default
Cache Keys Global
- Ensure
useQueryParamsfunctions - Ensure
useHeadersfunctions- Not working but we can ignore, not sure if this was ever working
Content-types
- Ensure generic arrays functions
[ "api::test.test" ] - Ensure complex arrays functions `[ { "contentType": "api::test.test", ... } ]
- Ensure
injectDefaultRoutesfunctions - Ensure non-global options work (see Strategy Options)
Custom Routes
- Check if limit to single-types is still in place or if we can add support for collection-types -> NICE TO HAVE NOT REQUIRED
- Looks like caching and busting of single types is working as it does with collection-types :)
Admin Panel
- Bust on update (including related)
- Bust via edit view
- Bust via list view
Memory Provider
- Check
maxSizefunctions - Document breaking change of
max->maxSize - Check
maxAgefunctions
Redis Provider
- Ensure
connectionparameter load thedefaultconnection from@strapi-community/plugin-redis - Document breaking changes from
@strapi-community/plugin-redis - Ensure all ioredis options function (ttl, various server types, ect)
- Possibly add a check/warning to ensure redis plugin config comes before rest-cache?
Metadata
Metadata
Assignees
Labels
flag: breaking changeflag: help wantedExtra attention is neededExtra attention is neededseverity: highsource: dependenciessource: pluginsource: provider:memorysource: provider:redisversion: Strapi 5Issues related to the versions supported by Strapi 5Issues related to the versions supported by Strapi 5