- Updated dependencies [
7fbe0c71
]:- @commercetools-frontend/[email protected]
-
aa6f642a
#2026 Thanks @emmenko! - Update uikit and docs-kit dependencies to fix some underlying emotion and react-select version resolution. -
Updated dependencies [
aa6f642a
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
c9589f5e
#2020 Thanks @renovate! - fix(deps): update all dependencies -
Updated dependencies [
c9589f5e
,657eb48f
,88d444fd
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
94e350e2
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
3bf32993
,7a53760f
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
80668fd2
]:- @commercetools-frontend/[email protected]
-
b38cb57f
#1991 Thanks @renovate! - fix(deps): update all dependencies -
Updated dependencies [
b38cb57f
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
0ef6a6a
#1989 Thanks @emmenko! - Update uikit packages to10.44
-
Updated dependencies [
0ef6a6a
,0ef6a6a
,0ef6a6a
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
Updated dependencies [
5557c5c
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
d86c2e8
,dc7a443
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
87c35d8
#1966 Thanks @renovate! - chore(deps): update dependency @formatjs/cli to v3 -
Updated dependencies []:
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
4f7e081
#1948 Thanks @emmenko! - Allow to pass the application routes aschildren
of<ApplicationShell>
, instead of using therender
prop. When doing so, the application entry point routes are automatically configured according to theentryPointUriPath
defined in thecustom-application-config.json
.Note that it's still possible to use the
render
prop. However, for most of the cases it should suffice to rely on the pre-configured routes.const AsyncApplicationRoutes = React.lazy( () => import('../../routes' /* webpackChunkName: "starter-routes" */) ); -export const ApplicationStarter = () => ( - <Switch> - { - /* For development, it's useful to redirect to the actual - application routes when you open the browser at http://localhost:3001 */ - process.env.NODE_ENV === 'production' ? null : ( - <Redirect - exact={true} - from="/:projectKey" - to="/:projectKey/training-custom-app" - /> - ) - } - <Route - path="/:projectKey/training-custom-app" - component={AsyncApplicationRoutes} - /> - {/* Catch-all route */} - <RouteCatchAll /> - </Switch> -); -ApplicationStarter.displayName = 'ApplicationStarter'; const EntryPoint = () => ( <ApplicationShell environment={window.app} onRegisterErrorListeners={({ dispatch }) => { Sdk.Get.errorHandler = (error) => globalActions.handleActionError(error, 'sdk')(dispatch); }} applicationMessages={loadMessages} DEV_ONLY__loadNavbarMenuConfig={() => import('../../../menu.json').then((data) => data.default || data) } featureFlags={FEATURE_FLAGS} - render={() => <ApplicationStarter />} - /> + > + <AsyncApplicationRoutes /> + </ApplicationShell> );
Furthermore, the
test-utils
of the@commercetools-frontend/application-shell
have now a new option to enable this opt-in behavior of rendering the application with pre-configured routes. To enable this option, pass thedisableAutomaticEntryPointRoutes: false
to therenderApp
orrenderAppWithRedux
functions.Note that you also need to provide the
environment.entryPointUriPath
in order for the routes to be correctly configured.-renderApp(<ApplicationStarter />, { +renderApp(<ApplicationRoutes />, { route: '/my-project/training-custom-app' + environment: { + entryPointUriPath: 'training-custom-app', + }, + disableAutomaticEntryPointRoutes: false, });
- Updated dependencies [
4f7e081
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
bb65fa1
#1949 Thanks @emmenko! - Thewebpack.config.dev.js
andwebpack.config.prod.js
files are not required anymore to be defined in the application folder and can be removed. The default behavior is now implicitly implemented in case the config file is not found. The default behavior requires the following paths to exist:<application_folder>/dist
<application_folder>/src
<application_folder>/src/index.js
You can still use the config files if you need to configure more specific behaviors.
-
4971a78
#1952 Thanks @tdeekens! - chore: add and apply fixes via manypkg for automatic mono-repo validation -
Updated dependencies [
3198d2c
,48a9886
,4971a78
,c6a967c
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
5f4565e
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
62ad638
]:- @commercetools-frontend/[email protected]
-
f6f3c5e
#1935 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
f6f3c5e
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
1ec4379
#1923 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
d74addd
,1ec4379
,36cabfc
,b9fe353
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
1a96e83
#1905 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
6819edc
,1a96e83
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
c946eca
,947a1cf
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
81a274c
,2287813
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
bf5f71e
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
636fc45
#1887 Thanks @adnasa! - upgrade ui-kit, which includes the new horizontal constraint changes.
-
Updated dependencies [
636fc45
,e2d519f
,d832bd4
,ec9e10f
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
b742780
]:- @commercetools-frontend/[email protected]
-
89c4464
#1872 Thanks @renovate! - fix(deps): update all dependencies -
Updated dependencies [
bb492fd
,89c4464
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
Updated dependencies [
cefef43
,71c9111
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
310e98c
Thanks @emmenko! - Update dependencies (commercetools/merchant-center-application-kit#1857) -
Updated dependencies [
310e98c
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
Updated dependencies [
5967db7
,e0ec004
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
bacc091
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
5d9d5da
#1820 Thanks @renovate! - fix(deps): update all dependencies -
Updated dependencies [
5d9d5da
,323cf6b
,6059b9a
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
Updated dependencies [
bea3005
,71c5f78
,8111543
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
e706232
#1805 Thanks @emmenko! - Removemc-scripts extract-intl
command in favor of the official@formatjs/cli
package. We recommend to update your script to extract Intl messages to use theformatjs extract
command.See full release notes: https://docs.commercetools.com/custom-applications/releases/2020-10-14-custom-applications-v17
-
873048b
#1805 Thanks @emmenko! - Migrate Apollo dependencies to@apollo/client
package.See full release notes: https://docs.commercetools.com/custom-applications/releases/2020-10-14-custom-applications-v17
-
633d8c7
#1805 Thanks @emmenko! - Remove the CLI flag--use-local-assets
. The default behavior ofmc-scripts compile-html
now is to compile the assets locally, which is the only reasonable thing to do.Furthermore, the
@commercetools-frontend/mc-http-server
package has been deprecated and won't be published anymore. With thecompile-html
command there is no need to have a pre-configured HTTP server anymore.When running the
mc-scripts compile-html
command, theindex.html
is compiled for production usage and it lives in thepublic
folder, together with the other static assets. This is all you need to deploy your application. You can decide to deploy the Custom Application statically to one of the popular cloud providers, or serve the files on your own using a static server.For example, to run locally the Custom Application using the production bundles:
NODE_ENV=production MC_APP_ENV=development dotenv -- \ mc-scripts compile-html \ --transformer @commercetools-frontend/mc-dev-authentication/transformer-local.js mc-scripts serve
-
Updated dependencies [
0e0efc6
,80b7936
,e706232
,873048b
,65f21a1
,d883e96
,633d8c7
,6e86c36
,633d8c7
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
3de5acc
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
3fd4aa2
]:- @commercetools-frontend/[email protected]
-
Updated dependencies [
78418b9
,8cdb025
,290ed48
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
Updated dependencies []:
- @commercetools-frontend/[email protected]
- Updated dependencies [
9c957e7
]:- @commercetools-frontend/[email protected]
-
9752622
#1758 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
9e4870f
,0c4d950
,9752622
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
0c4cc95
]:- @commercetools-frontend/[email protected]
-
9bc8558
#1704 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
2c0bd66
,786c697
,ebb2441
,178ff31
,9bc8558
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
4c54f6d
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
d8915a8
#1713 Thanks @renovate! - chore(deps): update dependency @testing-library/react to v11Added support for both @testing-library/react to v11 and v10.
-
Updated dependencies [
d8915a8
,4fff00c
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
67e5e2c
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
4290f63
,b4f2bfd
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
bc15ac2
#1692 Thanks @renovate! - fix(deps): update all dependencies -
Updated dependencies [
bc15ac2
,f23655a
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
4216b92
#1685 Thanks @emmenko! - Refactor i18n package to consume compiled data from ui-kit translation messages. Furthermore, the@commercetools-frontend/i18n
now exposes acompiled-data
folder as well:@commercetools-frontend/i18n/compiled-data
. This can be used the load pre-compiled messages and thus improving the runtime performance.Furthermore, the
mc-scripts extract-intl
command has been deprecated in favor of the more official message extraction with the@formatjs/cli
: https://formatjs.io/docs/getting-started/message-extraction.
-
f144292
#1673 Thanks @renovate! - fix(deps): update all dependencies -
Updated dependencies [
f144292
,211ab69
,74d43d2
,4216b92
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
a0ae954
,564cd91
,9f861cd
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
c62261f
#1653 Thanks @renovate! - Update dependencies and regenerate l10n data based on CLDR v37 -
Updated dependencies [
c62261f
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
302e0b8
,7638609
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
2f6ef4a
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
9800911
,cd800cd
]:- @commercetools-frontend/[email protected]
- Updated dependencies []:
- @commercetools-frontend/[email protected]
- Updated dependencies [
6d98245
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
0f3dcc3
#1638 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
0f3dcc3
,77eb38a
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies []:
- @commercetools-frontend/[email protected]
-
728024c
#1626 Thanks @emmenko! - This release introduces the usage of a new configuration file format and marks the deprecation of theenv.json
andheaders.json
files.For all the necessary information about migrating to the new configuration file, please read the release notes.
-
cc8b37b
#1627 Thanks @renovate! - chore: update dependencies -
Updated dependencies [
cc8b37b
,728024c
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
e154dcc
]:- @commercetools-frontend/[email protected]
364e711
#1621 Thanks @renovate! - feat(deps: add support for react-intl v5 through peer dependencies fix(deps): update dependency react-intl to v5
-
4168061
#1618 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
779100b
,364e711
,387cab5
,4168061
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
7fbb076
,faf980d
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
0e85200
]:- @commercetools-frontend/[email protected]
-
023c0bb
#1599 Thanks @tdeekens! - feat(template/starter): to add version update script for app-kit and ui-kit -
Updated dependencies [
f70fed0
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
fa6386c
#1587 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
053ae10
,fa6386c
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
f8f8609
#1573 Thanks @renovate! - fix(deps): update all dependencies -
Updated dependencies [
f8f8609
,352cc92
,ab6f011
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
c1ed93e
#1562 Thanks @emmenko! - Ship it withheaders.json
and environment variable placeholders, to use the new hostname -
Updated dependencies [
fcdf604
,5992613
,77c06ea
,a21276e
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
f92ec54
,92b1637
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
96ab311
#1533 Thanks @emmenko! - Upgrade toreact-intl
v4. See also https://formatjs.io/docs/react-intl/upgrade-guide-4xWe updated the peer dependency range to support both
v3
andv4
.
-
ccbabfd
#1549 Thanks @tdeekens! - chore: update deps to prepare for release -
Updated dependencies [
b01419d
,ccbabfd
,2f6f7ba
,96ab311
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
db62c5e
]:- @commercetools-frontend/[email protected]
- Updated dependencies [
0925da6
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
7730f42
,96e411a
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
9391762
#1530 Thanks @emmenko! - Update@commercetools-uikit/*
packages to10.21.0
-
Updated dependencies [
9391762
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
a66fb1f
,a66fb1f
,a66fb1f
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
-
6ffe293
#1508 Thanks @renovate! - chore(deps): update all dependencies -
Updated dependencies [
6ffe293
,6ffe293
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- Updated dependencies [
10c9a89
]:- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
- @commercetools-frontend/[email protected]
a19adb0
#1495 Thanks @tdeekens! - Add apollo-client as dependency as it is peer dependency of react-apollo.
- Updated dependencies []:
- @commercetools-frontend/[email protected]