Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #2643

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Version Packages #2643

merged 1 commit into from
Jul 1, 2022

Conversation

ghost
Copy link

@ghost ghost commented Jun 15, 2022

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@commercetools-backend/express@21.8.0

Minor Changes

  • #2667 1d8c71f1 Thanks @emmenko! - Add support for setting the audience policy. The policy can be used to determine how the audience value is exchanged between the Merchant Center API and the external API.

    Supported values are:

    • forward-url-full-path: This is the default policy. It sets the audience using the full URL (origin + pathname).
    • forward-url-origin: This is the alternative policy. It sets the audience using only the origin URL part.
    createSessionAuthVerifier({
      audiencePolicy: 'forward-url-origin',
      // ...
    });
    
    createSessionMiddleware({
      audiencePolicy: 'forward-url-origin',
      // ...
    });

Patch Changes

@commercetools-frontend/application-config@21.8.0

Minor Changes

  • #2615 d6bfecf1 Thanks @kark! - Provide better support for developing Custom Applications in TypeScript.

    A shared TSConfig file is now available to be used as a base config in your tsconfig.json file:

    {
      "extends": "@commercetools-frontend/application-config/tsconfig-mc-app.json"
    }

    Furthermore, we provide a client.d.ts declaration file with some basic type shims for importing media assets:

    • .mod.css and .module.css
    • .png
    • .svg

    You can include this using the TypeScript triple-slash directives:

    /// <reference types="@commercetools-frontend/application-config/client" />

    By default, this is included in the TypeScript starter template src/index.tsx entry point file.

    You can also include this in the tsconfig.json file in the compilerOptions.types field but we don't recommend
    to use that unless you are very familiar with the implications of using the types field.

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/babel-preset-mc-app@21.8.0

@commercetools-frontend/application-shell@21.8.0

Minor Changes

  • #2667 1d8c71f1 Thanks @emmenko! - Add support for setting the audience policy. The policy can be used to determine how the audience value is exchanged between the Merchant Center API and the external API.

    Supported values are:

    • forward-url-full-path: This is the default policy. It sets the audience using the full URL (origin + pathname).
    • forward-url-origin: This is the alternative policy. It sets the audience using only the origin URL part.
    createApolloContextForProxyForwardTo({
      audiencePolicy: 'forward-url-origin',
      // ...
    });
    
    // "X-Forward-To-Audience-Policy": "forward-url-origin"

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • #2651 f7ec746b Thanks @CarlosCortizasCT! - Fixed aria role names.

    We were using invalid role names in some of the component's elements.

    Special mention to the element wrapping the notifications as it now uses the aria-live attribute (with polite value).

  • #2665 a98f9fb5 Thanks @CarlosCortizasCT! - Fix ApplicationShell header selectors a11y issues

  • #2671 1d63e7b6 Thanks @emmenko! - Update Flopflip dependencies

  • #2655 1cc471e8 Thanks @CarlosCortizasCT! - Fix ApplicationShell header a11y issues in user menu dropdown

  • Updated dependencies [78de0ec6, d6bfecf1, 43a9df21, d6bfecf1, c56498ca, f3cc395d, 20e648d2, 405aa67b, 1d8c71f1, d6bfecf1]:

    • @commercetools-frontend/application-shell-connectors@21.8.0
    • @commercetools-frontend/application-config@21.8.0
    • @commercetools-frontend/actions-global@21.8.0
    • @commercetools-frontend/assets@21.8.0
    • @commercetools-frontend/browser-history@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/i18n@21.8.0
    • @commercetools-frontend/l10n@21.8.0
    • @commercetools-frontend/notifications@21.8.0
    • @commercetools-frontend/permissions@21.8.0
    • @commercetools-frontend/react-notifications@21.8.0
    • @commercetools-frontend/sdk@21.8.0
    • @commercetools-frontend/sentry@21.8.0
    • @commercetools-frontend/url-utils@21.8.0
    • @commercetools-frontend/application-components@21.8.0

@commercetools-frontend/create-mc-app@21.8.0

Minor Changes

  • #2615 d6bfecf1 Thanks @kark! - There is a new starter template to develop Custom Applications in TypeScript!

    To install it via the @commercetools-frontend/create-mc-app CLI:

    $ npx @commercetools-frontend/create-mc-app@latest <folder_name> \
      --template starter-typescript

    The TypeScript starter template is the same as the standard JS starter template in terms of functionality
    but it includes the additional TypeScript setup.

    If you already have a Custom Application in TypeScript or are planning to migrate an existing one to it
    we recommend to take a look at the tooling setup of the TypeScript starter template, in particular:

    • .prettierrc for using the typescript parser.
    • jest.*.config.js to include the file extensions .ts and .tsx.
    • tsconfig.json

Patch Changes

@commercetools-frontend/l10n@21.8.0

Minor Changes

  • #2612 c56498ca Thanks @ByronDWall! - The localized data has been updated. In particular, the time zones data has been updated and restructured to be more usable and readable.

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/sentry@21.8.0

@commercetools-frontend/mc-scripts@21.8.0

Minor Changes

  • #2613 20e648d2 Thanks @emmenko! - Migrate CLI to TypeScript.

    Internally, the CLI now uses cac to handle CLI commands and options.

    Deprecated entry points

    Importing the function createPostcssConfig from the main entry point @commercetools-frontend/mc-scripts is now deprecated. Use the entry point @commercetools-frontend/mc-scripts/postcss instead.

    const {
      createPostcssConfig,
    -} = require('@commercetools-frontend/mc-scripts');
    +} = require('@commercetools-frontend/mc-scripts/postcss');

    Importing the functions createWebpackConfigForDevelopment and createWebpackConfigForProduction from the main entry point @commercetools-frontend/mc-scripts is now deprecated. Use the entry point @commercetools-frontend/mc-scripts/webpack instead.

    const {
      createWebpackConfigForDevelopment,
      createWebpackConfigForProduction,
    -} = require('@commercetools-frontend/mc-scripts');
    +} = require('@commercetools-frontend/mc-scripts/webpack');

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [d6bfecf1, 43a9df21, 20e648d2, 81df396d]:

    • @commercetools-frontend/application-config@21.8.0
    • @commercetools-frontend/assets@21.8.0
    • @commercetools-frontend/babel-preset-mc-app@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/mc-html-template@21.8.0
    • @commercetools-frontend/mc-dev-authentication@21.8.0

@commercetools-frontend/sdk@21.8.0

Minor Changes

  • #2667 1d8c71f1 Thanks @emmenko! - Add support for setting the audience policy. The policy can be used to determine how the audience value is exchanged between the Merchant Center API and the external API.

    Supported values are:

    • forward-url-full-path: This is the default policy. It sets the audience using the full URL (origin + pathname).
    • forward-url-origin: This is the alternative policy. It sets the audience using only the origin URL part.
    actions.forwardTo.get({
      audiencePolicy: 'forward-url-origin',
      // ...
    });
    
    // "X-Forward-To-Audience-Policy": "forward-url-origin"

Patch Changes

@commercetools-backend/eslint-config-node@21.8.0

Patch Changes

@commercetools-backend/loggers@21.8.0

Patch Changes

@commercetools-frontend/actions-global@21.8.0

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/browser-history@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/notifications@21.8.0
    • @commercetools-frontend/sentry@21.8.0

@commercetools-frontend/application-components@21.8.0

Patch Changes

  • #2654 f3cc395d Thanks @kark! - Accessibility improvements of the <TabHeader> component.

  • Updated dependencies [78de0ec6, 43a9df21, c56498ca, 20e648d2, 405aa67b, d6bfecf1]:

    • @commercetools-frontend/application-shell-connectors@21.8.0
    • @commercetools-frontend/assets@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/i18n@21.8.0
    • @commercetools-frontend/l10n@21.8.0

@commercetools-frontend/application-shell-connectors@21.8.0

Patch Changes

  • #2639 78de0ec6 Thanks @ddouglasz! - There is a new React hook which you can use to access the Project Images rewrite configuration see documentation.

    You would use it like this:

    function MyComponent() {
      const { isLoading, imageRegex } = useProjectExtensionImageRegex();
    
      if (isLoading) return <LoadingSpinner />;
    
      return (
        <div>
          <h1>Project images regex: {imageRegex}</h1>
        </div>
      );
    }
    
    function MyApp() {
      return (
        <ProjectExtensionProviderForImageRegex>
          <MyComponent />
        </ProjectExtensionProviderForImageRegex>
      );
    }

    Both GetProjectExtensionImageRegex component and withProjectExtensionImageRegex still exists for backwards compatibility but have been marked as deprecated.

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • #2653 405aa67b Thanks @kark! - Export TImageRegexContext type

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/sentry@21.8.0

@commercetools-frontend/assets@21.8.0

Patch Changes

@commercetools-frontend/babel-preset-mc-app@21.8.0

Patch Changes

@commercetools-frontend/browser-history@21.8.0

Patch Changes

@commercetools-frontend/constants@21.8.0

Patch Changes

@commercetools-frontend/cypress@21.8.0

Patch Changes

@commercetools-frontend/eslint-config-mc-app@21.8.0

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/babel-preset-mc-app@21.8.0

@commercetools-frontend/i18n@21.8.0

Patch Changes

@commercetools-frontend/jest-preset-mc-app@21.8.0

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/babel-preset-mc-app@21.8.0

@commercetools-frontend/mc-html-template@21.8.0

Patch Changes

@commercetools-frontend/notifications@21.8.0

Patch Changes

@commercetools-frontend/permissions@21.8.0

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [78de0ec6, 43a9df21, 405aa67b]:

    • @commercetools-frontend/application-shell-connectors@21.8.0
    • @commercetools-frontend/sentry@21.8.0

@commercetools-frontend/react-notifications@21.8.0

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/actions-global@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/notifications@21.8.0
    • @commercetools-frontend/sentry@21.8.0

@commercetools-frontend/sentry@21.8.0

Patch Changes

  • #2661 43a9df21 Thanks @emmenko! - Drop the copyright year from the license files

  • Updated dependencies [43a9df21]:

    • @commercetools-frontend/constants@21.8.0

@commercetools-frontend/url-utils@21.8.0

Patch Changes

@commercetools-frontend/jest-stylelint-runner@21.8.0

@commercetools-frontend/mc-dev-authentication@21.8.0

merchant-center-application-template-starter@19.4.0

Minor Changes

  • #2615 d6bfecf1 Thanks @kark! - There is a new starter template to develop Custom Applications in TypeScript!

    To install it via the @commercetools-frontend/create-mc-app CLI:

    $ npx @commercetools-frontend/create-mc-app@latest <folder_name> \
      --template starter-typescript

    The TypeScript starter template is the same as the standard JS starter template in terms of functionality
    but it includes the additional TypeScript setup.

    If you already have a Custom Application in TypeScript or are planning to migrate an existing one to it
    we recommend to take a look at the tooling setup of the TypeScript starter template, in particular:

    • .prettierrc for using the typescript parser.
    • jest.*.config.js to include the file extensions .ts and .tsx.
    • tsconfig.json

Patch Changes

  • Updated dependencies [1d8c71f1, 78de0ec6, 43a9df21, f3cc395d, 20e648d2, f7ec746b, 20e648d2, a98f9fb5, 405aa67b, 1d63e7b6, 1cc471e8, d6bfecf1]:
    • @commercetools-frontend/application-shell@21.8.0
    • @commercetools-frontend/application-shell-connectors@21.8.0
    • @commercetools-frontend/actions-global@21.8.0
    • @commercetools-frontend/assets@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/eslint-config-mc-app@21.8.0
    • @commercetools-frontend/i18n@21.8.0
    • @commercetools-frontend/jest-preset-mc-app@21.8.0
    • @commercetools-frontend/mc-scripts@21.8.0
    • @commercetools-frontend/permissions@21.8.0
    • @commercetools-frontend/application-components@21.8.0
    • @commercetools-frontend/mc-dev-authentication@21.8.0

merchant-center-application-template-starter-typescript@0.2.0

Minor Changes

  • #2615 d6bfecf1 Thanks @kark! - There is a new starter template to develop Custom Applications in TypeScript!

    To install it via the @commercetools-frontend/create-mc-app CLI:

    $ npx @commercetools-frontend/create-mc-app@latest <folder_name> \
      --template starter-typescript

    The TypeScript starter template is the same as the standard JS starter template in terms of functionality
    but it includes the additional TypeScript setup.

    If you already have a Custom Application in TypeScript or are planning to migrate an existing one to it
    we recommend to take a look at the tooling setup of the TypeScript starter template, in particular:

    • .prettierrc for using the typescript parser.
    • jest.*.config.js to include the file extensions .ts and .tsx.
    • tsconfig.json

Patch Changes

  • Updated dependencies [1d8c71f1, 78de0ec6, d6bfecf1, 43a9df21, f3cc395d, 20e648d2, f7ec746b, 20e648d2, a98f9fb5, 405aa67b, 1d63e7b6, 1cc471e8, d6bfecf1]:
    • @commercetools-frontend/application-shell@21.8.0
    • @commercetools-frontend/application-shell-connectors@21.8.0
    • @commercetools-frontend/application-config@21.8.0
    • @commercetools-frontend/actions-global@21.8.0
    • @commercetools-frontend/assets@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/eslint-config-mc-app@21.8.0
    • @commercetools-frontend/i18n@21.8.0
    • @commercetools-frontend/jest-preset-mc-app@21.8.0
    • @commercetools-frontend/mc-scripts@21.8.0
    • @commercetools-frontend/permissions@21.8.0
    • @commercetools-frontend/application-components@21.8.0
    • @commercetools-frontend/mc-dev-authentication@21.8.0

playground@19.3.2

Patch Changes

  • Updated dependencies [1d8c71f1, 78de0ec6, 43a9df21, d6bfecf1, c56498ca, f3cc395d, f7ec746b, 20e648d2, a98f9fb5, 405aa67b, 1d63e7b6, 1d8c71f1, 1cc471e8, d6bfecf1]:
    • @commercetools-frontend/application-shell@21.8.0
    • @commercetools-frontend/application-shell-connectors@21.8.0
    • @commercetools-frontend/actions-global@21.8.0
    • @commercetools-frontend/assets@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/i18n@21.8.0
    • @commercetools-frontend/l10n@21.8.0
    • @commercetools-frontend/permissions@21.8.0
    • @commercetools-frontend/sdk@21.8.0
    • @commercetools-frontend/application-components@21.8.0

@commercetools-local/visual-testing-app@19.4.2

Patch Changes

  • Updated dependencies [43a9df21, f3cc395d, 20e648d2]:
    • @commercetools-frontend/assets@21.8.0
    • @commercetools-frontend/constants@21.8.0
    • @commercetools-frontend/react-notifications@21.8.0
    • @commercetools-frontend/application-components@21.8.0

@commercetools-website/components-playground@17.5.2

Patch Changes

  • Updated dependencies [43a9df21, f3cc395d, d6bfecf1]:
    • @commercetools-frontend/i18n@21.8.0
    • @commercetools-frontend/application-components@21.8.0

@github-actions
Copy link
Contributor

github-actions bot commented Jun 15, 2022

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-ib89ds9nn-commercetools.vercel.app
https://appkit-sha-353437d3208ede58f803330135ad1f957b376094.commercetools.vercel.app
https://appkit-pr-2643.commercetools.vercel.app

Built with commit f6837b9.
This pull request is being automatically deployed with vercel-action

@ghost ghost force-pushed the changeset-release/main branch from 0be84c6 to 6b638ec Compare June 21, 2022 12:17
@ghost ghost force-pushed the changeset-release/main branch from 6b638ec to caf3939 Compare June 21, 2022 15:33
@ghost ghost force-pushed the changeset-release/main branch from caf3939 to 1d5b11c Compare June 22, 2022 06:54
@ghost ghost force-pushed the changeset-release/main branch from 1d5b11c to 7a1699b Compare June 23, 2022 07:13
@ghost ghost force-pushed the changeset-release/main branch from 7a1699b to 4de12ec Compare June 23, 2022 11:55
@ghost ghost force-pushed the changeset-release/main branch from 4de12ec to 49dbe29 Compare June 24, 2022 08:14
@ghost ghost force-pushed the changeset-release/main branch from 49dbe29 to 569c4ad Compare June 24, 2022 09:00
@ghost ghost force-pushed the changeset-release/main branch from 569c4ad to 58d1802 Compare June 24, 2022 13:43
@ghost ghost force-pushed the changeset-release/main branch from 58d1802 to eebd2a9 Compare June 27, 2022 07:07
@ghost ghost force-pushed the changeset-release/main branch from eebd2a9 to c16fc1b Compare June 27, 2022 14:56
@ghost ghost force-pushed the changeset-release/main branch from c16fc1b to 8541a3c Compare June 27, 2022 15:13
@ghost ghost force-pushed the changeset-release/main branch from 8541a3c to 2b380c4 Compare June 28, 2022 12:52
@ghost ghost force-pushed the changeset-release/main branch from 2b380c4 to 89795a2 Compare June 28, 2022 13:14
@ghost ghost force-pushed the changeset-release/main branch from 89795a2 to 3f20010 Compare June 28, 2022 16:14
@ghost ghost force-pushed the changeset-release/main branch from a159567 to 57f747f Compare June 30, 2022 07:49
@ghost ghost force-pushed the changeset-release/main branch from 57f747f to 54f8cfb Compare June 30, 2022 08:15
@ghost ghost force-pushed the changeset-release/main branch from 54f8cfb to 054e339 Compare June 30, 2022 15:07
@ghost ghost force-pushed the changeset-release/main branch from 054e339 to c438d1f Compare June 30, 2022 15:50
@ghost ghost force-pushed the changeset-release/main branch from c438d1f to c8a1e75 Compare June 30, 2022 15:56
@ghost ghost force-pushed the changeset-release/main branch from e3e42b4 to c25e6e3 Compare July 1, 2022 09:12
@ghost ghost force-pushed the changeset-release/main branch from c25e6e3 to 0a7dcdc Compare July 1, 2022 09:40
@ghost ghost force-pushed the changeset-release/main branch from 0a7dcdc to f6837b9 Compare July 1, 2022 10:15
Copy link
Member

@emmenko emmenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready to go now 🚀

@emmenko emmenko merged commit 9334db6 into main Jul 1, 2022
@emmenko emmenko deleted the changeset-release/main branch July 1, 2022 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant