Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Update 4.3 release notes and upgrade instructions
Damian Legawiec91e9c7586557
diff --git a/guides/src/content/developer/upgrades/fout-dot-two-to-four-dot-three.md b/guides/src/content/developer/upgrades/fout-dot-two-to-four-dot-three.mdindex 0a98c033be..562cb66e4f 100644--- a/guides/src/content/developer/upgrades/fout-dot-two-to-four-dot-three.md+++ b/guides/src/content/developer/upgrades/fout-dot-two-to-four-dot-three.md@@ -25,7 +25,9 @@ gem 'spree', '~> 4.3'## Remove SpreeMultiDomain (optional)-If you used that gem in the past you need to remove. Multi Store is now incorporated into Spree core and you cannot use that gem anymore.+If you used that gem in the past you need to remove it.++Multi Store is now incorporated into Spree core and you cannot use that gem anymore.1. Remove `spree_multi_domain` from your `Gemfile`2. Remove `//= require spree/frontend/spree_multi_domain` from `vendor/assets/javascripts/spree/frontend/all.js`@@ -39,6 +41,22 @@ If you used that gem in the past you need to remove. Multi Store is now incorporgem 'spree_frontend'```+## Add `spree_backend` gem (optional)++`spree` gem now does not include the `spree_backend` gem anymore. If you use the default Spree Admin Panel you need to add it to your `Gemfile`.++```ruby+gem 'spree_backend'+```++## Add `spree_emails` gem (optional)++Transactional emails once part of `spree_core` were extracted into their own gem called `spree_emails`. If you would like to still use this feature you'll need to include this new gem in your `Gemfile`.++```ruby+gem 'spree_emails'+```+## Update gems```bashdiff --git a/guides/src/content/release_notes/4_3_0.md b/guides/src/content/release_notes/4_3_0.mdindex 61f81dde66..25c620bedb 100644--- a/guides/src/content/release_notes/4_3_0.md+++ b/guides/src/content/release_notes/4_3_0.md@@ -10,6 +10,18 @@ hidden: true## Major/New Features+## Modular API-first architecture++Monolith is gone replaced with a truly headless modular design!++We've completely decoupled Storefront (`spree_frontend`), Admin Panel (`spree_backend`) and extracted transactional Emails into their own gem (`spree_emails`). Thanks to this you can:++ 1. Easily replace Storefront and Admin Panel with your own+ 2. Use the version of Storefront and Admin you like, so you can update the Spree Core and API without the need to upgrade these two+ 3. Easily replace standard transactional emails with Klaviyo, Mailchimp and other 3rd parties++We're also doubling down our dependency on the Rails framework, while supporting Rails 5.2, 6.0 and 6.1 on Ruby 2 and 3.+### Platform APINew set of fast and modern APIs for application to application integrations based on oAuth 2.0 authentication and permissions.@@ -45,7 +57,7 @@ Please review each of the noteworthy changes to ensure your customizations or ex* Added caching to API v2 serialized increasing API responsivenes 3-5 times [Spark Solutions](https://github.com/spree/spree/pull/10875)- This also includes new confirmation option `Spree::Api::Config[:api_v2_cache_ttl]` for the cache expiration period. Defualt value is `3600` (1 hour). Cache auto-expires when record is updated, more on this topic: https://github.com/jsonapi-serializer/jsonapi-serializer#caching+ This also includes new confirmation option `Spree::Api::Config[:api_v2_cache_ttl]` for the cache expiration TTL. Defualt value is `3600` (1 hour). Cache also auto-expires when cachd record is updated, more on this topic: https://github.com/jsonapi-serializer/jsonapi-serializer#caching* **Multi-Store** Storefront Products API returns Products from the current Store [Spark Solutions](https://github.com/spree/spree/pull/11126)* **Multi-Store** Storefront Account Orders API returns Orders from the current Store [Spark Solutions](https://github.com/spree/spree/pull/11126)@@ -66,7 +78,9 @@ Please review each of the noteworthy changes to ensure your customizations or exSpree::Dependencies.current_store_finder = YourCustomStoreFinder```in `config/initializers/spree.rb` (please check [documentation](https://guides.spreecommerce.org/developer/customization/dependencies.html))-* **Multi-Store** `Product` and `PaymentMethod` require at least one `Store` associated. You can disable this behaviour by setting:+* **Multi-Store** `Product` and `PaymentMethod` require at least one `Store` associated [Spark Solutions](https://github.com/spree/spree/pull/11141)++ You can disable this behaviour by setting:```rubySpree::Config[:disable_store_presence_validation] = true@@ -74,6 +88,17 @@ Please review each of the noteworthy changes to ensure your customizations or exin your `config/initializers/spree.rb` file+* Transactional emails were extracted into a seperate gem called `spree_emails` [Spark Solutions](https://github.com/spree/spree/pull/11110/commits/1ebb0dd8c7f8f7e296f21c630886b05869b6acbc)+* Replaced `twitter_cldr` gem with much smaller `validates_zipcode` [Spark Solutions](https://github.com/spree/spree/pull/11077)+* Removed `premailer-rails` gem dependency [Spark Solutions](https://github.com/spree/spree/pull/11041/commits/2726da8db3992306fcde58175e17a379029e2955)+* Removed `rails` dependency - only require Rails gems that we really use [Spark Solutions](https://github.com/spree/spree/pull/11041/commits/2dc16c59204257e7e01cee386d9cad4824f4c107)+* Removed `responders` dependency [Spark Solutions](https://github.com/spree/spree/pull/11041/commits/9751b9b9cd02c3f88a7727eade676f6635c4da09)+* Removed `sprockets` dependency [Spark Solutions](https://github.com/spree/spree/pull/11041/commits/f87c44fbd3b4a99c6fa04cf089655e84efb29a56)+* Moved `spree.js` file to frontend/backend [Spark Solutions](https://github.com/spree/spree/pull/11110/commits/57d1bd9d9d44525c2cbac769726bc617e6e7e809)+* Moved `polyfill.min.js` and `fetch.umd.js` files to frontend [Spark Solutions](https://github.com/spree/spree/pull/11110/commits/e0d2901665cbf56633e8d86b2a822b4f5b916a0b)+* Moved `cleave.js` file to frontend/backend [Spark Solutions](https://github.com/spree/spree/pull/11110/commits/2dc959d3c0c75c3efe7494ec754c127cb8a392d4)+* Moved `jquery.payment.js` file to frontend [Spark Solutions](https://github.com/spree/spree/pull/11110/commits/3605d678486312eefd725f4ee6918c93bd3215ca)+## Full ChangelogYou can view the full changes using [Github Compare](https://github.com/spree/spree/compare/4-2-stable...4-3-stable).