github magento/pwa-studio v12.2.0
12.2.0

latest releases: v14.1.0-alpha.4, v14.1.0-alpha.3, v14.1.0-alpha.1...
2 years ago

Release 12.2.0

NOTE:
This changelog only contains release notes for PWA Studio and Venia 12.2.0
For older release notes, see PWA Studio releases.

Highlights

  • New Venia CMS pages - Venia now ships with PWA versions of the Commerce and Magento Open Source default CMS pages: About Us, Contact Us, Customer Service, Newsletter Subscription. Out of the box, these pages are ready to use or customize as needed.

  • Luma and Venia can now be deployed to the same cloud environment — This deployment option makes it easier for customers to deploy their PWA site alongside their existing Luma site while they migrate from Luma to Venia.

  • Deprecated GraphQL fields removed from Venia — In this release, we removed the usage of all deprecated GraphQL fields in Venia.

  • Venia Homepage is now the same for Adobe Commerce and Magento Open Source — Previously, the Venia Homepage rendered Page Builder content for Adobe Commerce sites and different content for Magento Open Source sites. But now that Page Builder is a part of Magento Open Source, the Venia Homepage renders the same content for both sites.

  • Contact Us Block can be managed with Page Builder — You can now customize the Contact Us Block in the Admin UI using Page Builder. No development required.

  • Updated Node version to 14 — All builds in PWA Studio, including the scaffolding CLI, now use Node 14.

  • Added Venia Sample Data metapackage — This metapackage provides a new way to create your own sample data for your Venia-based PWA sites.

Summary of all changes

Type Description GitHub PR
Story [Docs] Shimmer and UPWARD Inlining 3548
Story Add Cypress test coverage: Venia Filters, Search, Sort/Pagination 3519, 35
Story Add Cypress test coverage: VeniaRemoveItemFromMiniCart 3508
Story Add Cypress test coverage: VeniaGuestIsAbleToAccessCategories.xml 3507
Story Add Cypress test coverage: VeniaCartPage* 3509, 34
Story Add Cypress test coverage: VeniaCartPageGuestCheckoutRegionWithCC 3505, 31
Story Add Cypress test coverage: VeniaCartPageGuestCheckout 3504, 29
Story Update ConfigurableProductOptions GraphQL field from id to uid 3588
Story Update ProductInterface GraphQL field from id to uid 3580
Story Update Customer.id GraphQL field 3594
Story Update sample data on Venia Home Page 9
Story [Issue] Add newsletter in footer 3486
Story GQL returns parameters(metadata) that define custom attributes of a product product - specifically Select input 3
Story GQL returns product-specific values of custom product attribute (Select input) 9
Story GQL support for the reCaptcha API 7
Story Configuration Validation for reCaptcha v2 8
Story Streamline Cypress tests and create documentation 3576
Story Update StoreConfig fields 3616
Story Update StoreConfig.id GraphQL field to store_code 3593
Story Update CategoryTree.id GraphQL field to uid 3598
Story Update category GraphQL query to categories query 3577
Story Update urlResolver GraphQL usages to route 3589
Story Update SelectedConfigurableOption GraphQL fields 3601
Story Update CartItemInterface GraphQL field from id to uid 3597
Story Update ProductInterface.type_id GraphQL field to use __typename 3586
Story Added fade-in-out transition to the colour swatch checkmark 3526
Story UPWARD JS Computed resolver 3533
Story Add Cypress test coverage: VeniaCartPageEditCardAndCheckout 3525, 36
Story Add Cypress test coverage: VeniaAnchorLinks 3518, 37
Story Add Cypress test coverage: RegisteredUserCartPageCheckout 3500, 27
Story Upgrade Apollo Client to 3.4.0 3491
Story About Us 3483, 11
Story Customer Service 3465, 1
Story Newsletter Subscription 3521
Story Contact Us Block 3544, 13
Story Contact Us 3538
Story Guest Checkout: check if email is associated with the account 3529
Story Feature: Add ability to deploy Luma and Venia on single cloud env 11
Story Add cypress test for Mini cart 3559
Story Archive MFTF Repo 39
Story Homepage unification for CE and EE 3564
Story Improve Version banner 3555
Story Upgrade Node 14 and Scaffold Node 16 3552, 101
Story Fail build when @magento/pwa metapackage is not installed 3561
Story Filtering Product by the custom product attribute with input type select 15
Story Do not show Ratings 3654
Story Viewing product attribute value in PDP 3624, 14
Story Sorting product listing by custom attribute 3619
Story [GraphQL] Sort products without custom attribute to end 18
Bug 404 routes cause error page 3542
Bug Scaffold project > yarn build fails on develop. 3551
Bug storybook command failing 3567
Bug Minicart missing quantity while switching views 3571
Bug Order history data not being cleared from cache on logout 3520
Bug Pagebuilder image content-type: mobile image is visible on desktop 3515
Bug Pagebuilder links force browser to load full page 3524
Bug Add to Cart on category page for non-default store ends up in 404 page if store view level unique catalog product suffixes are enabled. 3553
Bug Category page fails to load intermittently when there is Apollo related console warning. 3575
Bug Dependency on Magento was sneaked in as part of the Computed Resolver work 16, 6
Bug [bug]: When clicking a submenu in the mega the submenu won't close 3599
Bug Fix console warning for currency 3622
Bug Remove server chunk generation from webpack 3608
Bug [Issue] Improve Gallery/AddToCartButton.js 3573
Bug [bug]: Breadcrumbs 'Shop' link redirects to '/shopnull' 3603
Bug Newsletter form displays two errors 3584
Bug Home page tabbing leads to page transition 3625
Bug Browser Reload on any Category load all products from default category 3655, 18

Documentation updates

  • contactUs Mutation: Added the contactUs mutation topic to the GraphQL Developer Guide.

Known Issues

  • Safari (macOS version) does not show toast messages or indicators when Venia switches between online and offline. This is an issue with Safari, not Venia. Safari always reports true for navigator.onLine — even when offline. We have submitted this issue to Apple. If you have an Apple account, you can search for the issue using this Feedback ID: FB9802994.

Upgrading from a previous version

Use the steps outlined in this section to update your scaffolded project from 12.1.0 to 12.2.0.
See Upgrading versions for more information about upgrading between PWA Studio versions.

Update dependencies

Open your package.json file and update the PWA Studio package dependencies to the versions associated with this release.
The following table lists the latest versions of each package as of 12.2.0, including the new venia-sample-data package.

Note:
Your project may not depend on some of the packages listed in this table.

Package Latest version
babel-preset-peregrine 1.2.0
create-pwa 2.1.0
upward-security-headers 1.0.6
venia-adobe-data-layer 1.0.3
venia-sample-data 0.0.1
venia-sample-backends 0.0.5
venia-sample-language-packs 0.0.6
venia-sample-payments-checkmo 0.0.4
pagebuilder 7.1.0
peregrine 12.2.0
pwa-buildpack 11.1.0
pwa-theme-venia 1.2.0
upward-js 5.3.0
upward-spec 5.2.0
venia-concept 12.2.0
venia-ui 9.2.0
magento2-pwa 0.1.0
magento-venia-sample-data-modules 0.0.1
magento2-upward-connector 2.0.0
upward-php 2.0.0

Don't miss a new pwa-studio release

NewReleases is sending notifications on new releases.