Unleash/unleash

🟢 Unleash v6

ivarconr opened this issue · 13 comments

Decided:

  • Upgrade to Node v20
  • Dropping support for postgres v10, v11, v12 and v13.
  • Drop the id column in the permissions table
  • Remove deprecated state service (old import)
  • Remove the passport libs from the official Open Source docker distribution.

Under consideration:

  • deprecate custom strategies
  • Migrate to ESM

Background

A major version is an opportunity to remove deprecated features and add new features to our deprecation list.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

// Temporary workaround to figure out projectId for feature toggle updates.
// will be removed in Unleash v5.0
if (
!projectId &&
permissionsArray.some((permission) =>
[DELETE_FEATURE, UPDATE_FEATURE].includes(permission),
)
) {
const { featureName } = params;
projectId = await featureToggleStore.getProjectId(featureName);
} else if (
projectId === undefined &&
permissionsArray.some(
(permission) =>
permission === CREATE_FEATURE ||
permission.endsWith('FEATURE_STRATEGY'),
)
) {
projectId = 'default';
}
something to clean up