Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 4.66 KB

CHANGELOG.md

File metadata and controls

73 lines (46 loc) · 4.66 KB

Changelog

4.1.6

Patch Changes

4.1.5

Patch Changes

4.1.4

Patch Changes

4.1.3

Patch Changes

4.1.2

Patch Changes

4.1.1

Patch Changes

4.1.0

Minor Changes

4.0.0

See the migration guide for more details on how to migrate your app.

Major Changes

  • Added requirement to add the app-bridge.js script tag in your app
  • Added requirement to use react and react-dom 18 or higher
  • Refactored Modal component to accept custom DOM content instead of src and message props
  • Refactored NavigationMenu component (renamed NavMenu) to accept <a> elements as children instead of navigationLinks and matcher props
  • Refactored TitleBar component to accept <a>, <button>, and <section> elements as children instead of primaryAction, secondaryActions, actionGroups, and breadcrumbs props
  • Removed ContextualSaveBar component in favour of it being automatically configured through form elements
  • Removed Loading component in favour of the shopify.loading API
  • Removed ResourcePicker component in favour of the shopify.resourcePicker API
  • Removed Toast component in favour of the shopify.toast API
  • Refactored useAppBridge hook to access the shopify global variable instead of the app instance
  • Removed useAppBridgeState hook in favour of the shopify.user API and others
  • Removed useAuthenticatedFetch hook as the app-bridge.js script injects automatic authorization into the global fetch function
  • Removed useContextualSaveBar hook in favour of it being automatically configured through form elements
  • Removed useNavigate hook in favour of the browser Navigation API
  • Removed useNavigationHistory hook in favour of the browser History API
  • Removed useToast hook in favour of the shopify.toast API