Skip to main content
Version: next

Features removal

This page lists the features that have been removed in `3.x` because they are irrelevant in the current context or were not used (we think).

note

If you are a Front-Commerce customer using one of this feature in your 2.x project, please contact us as you plan your migration so we could reevaluate our decision.

GraphQL Rate Limiting

In version 3.0, we removed the Rate Limiting feature from GraphQL. Since GraphQL is not exposed through HTTP by default, the rate limiting feature no longer makes sense at this level.

As a consequence, if you were using the following functions you must update your codebase to remove these features:

  • limitRateByClientIp for resolvers
  • rateLimiters from the GraphQL context
  • config/rateLimit.js configuration file
  • makeRateLimiters internal API
  • or a direct import from the graphql-rate-limit package

In the core, it was only used for the sendContactEmail mutation.

i18n-iso-countries removal

In version 3.1, we removed all requirement for the i18n-iso-countries package, we have replaced it with the Intl.DisplayNames fir the getCountryName function

As a consequence, If you have the countries option in your stores configuration, you can remove it.