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

Apps SDK V2 and i18n #40

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Apps SDK V2 and i18n #40

merged 1 commit into from
Sep 25, 2024

Conversation

mattbowolick
Copy link
Contributor

2024-09-25

🔨 Breaking changes

  • Upgraded Apps SDK dependencies to v2.0.0 (design 2.1.0)

🧰 Added

  • Updated the starter kit with internationalization tooling including react-intl and formatjs.
    See the docs on the Canva app localization process to learn more.
  • Added /examples/i18n to demonstrate how to internationalize your app using react-intl
  • Added /examples/i18n/tests to demonstrate how to unit test an app using localization
  • Added .vscode recommended extensions, helps to enforce eslint rules more uniformly by default.
  • Added .pr-train.yml to .gitignore
  • Added use_feature_support utils.
  • Added /examples/feature_support to demonstrate usage of the Feature Support API.
  • Added use_add_element hook utils
  • @canva/design@beta
    • Added openDesign method, which allows apps to read the current page of the user's design. To learn more, see Design Editing.
  • Added a new example /examples/design_editing to demonstrate how to use the Design Editing API.

🔧 Changed

  • Added alt attributes where they were missing from ImageCard usage in examples.
  • examples
    • Update dnd example apps to use feature supports to ensure they work correctly in different design types.
    • Change TableWrapper and native_table_element example to work with new Table API.
    • Updated @canva/asset examples to be compatible with 2.0.
    • Update relevant example apps to:
      • use new lowercase element type as part of upgraded @canva/design to version 2.0.0.
      • use altText
      • use use_add_element hook to ensure they work correctly in different design types.
    • Drop all native_* prefix from example apps' name.
  • @canva/app-ui-kit
    • Upgraded app-ui-kit to version 4.0.0. Please see the changelog for the list of changes.
  • Upgraded express to 4.21.0.
  • Update manual authentication example to use OAuth
  • Temporarily downgraded eslint to version 8.57.0 while formatjs lint rules are updated to be made compatible with v9.

🗑️ Removed

  • Removed authentication from examples/digital_asset_management pending migration to auth.requestAuthorization.

Copy link
Contributor

@tomos-ewe tomos-ewe left a comment

Choose a reason for hiding this comment

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

🚀 🚀 🚀

@mattbowolick mattbowolick merged commit 23f3507 into main Sep 25, 2024
2 checks passed
@mattbowolick mattbowolick deleted the 2024-09-25 branch September 25, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants