Version 4.3.0.rc1 #11232
damianlegawiec
started this conversation in
General
Version 4.3.0.rc1
#11232
Replies: 2 comments 3 replies
-
How do i setup domain for Multi store? can i use domain and sub domain? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@damianlegawiec what’s the ETA for 4-3-stable? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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:We're also making Spree less dependent on the Rails framework while supporting Rails 5.2, 6.0 and 6.1 on Ruby 2 and 3.
Pages & Navigation CMS
This release gives Spree users a powerful content management system that goes beyond creating basic text pages.
Spree Content Management System allows you to create:
Home Pages
Standard Pages
Feature pages
Menus
Users can create navigation menus for their Spree stores.
Each menu is unique by language and location within the store and has the following features:
Platform API Developer Preview
A new set of fast and modern APIs for application to application integrations based on oAuth 2.0 authentication and permissions.
This API completely replaces API v1 which will be extracted from Spree core in 5.0. Platform API is built on the same foundations and technology as Storefront API that means JSON API format, Swagger (Open API) documentation and oAuth 2.0 authentication.
Platform API Documentation
Platform API is the biggest and most robust API for Spree with the biggest number of API endpoints to cover all features available in Admin Panel plus more. All API v1 usage in Admin Panel was also replaced with Platform API.
Advanced Product Filters
We've greatly expanded the product filters feature. Now you can:
This way you can create new custom filters in the Admin UI from Option Types or Properties and the system will do the rest work for you.
Installation
bin/setup
inspree_starter-main
directoryUpgrade
Follow 4.2 to 4.3 upgrade guide
Other noteworthy changes
Please review each of the noteworthy changes to ensure your customizations or extensions are not affected. If you are affected by a change and have any suggestions, please submit a PR to help the next person!
API
Added caching to API v2 serialized increasing API responsiveness 3-5 times Damian Legawiec
This also includes new confirmation option
Spree::Api::Config[:api_v2_cache_ttl]
for the cache expiration TTL. The default value is3600
(1 hour). The cache also auto-expires when the cached record is updated, more on this topic: https://github.com/jsonapi-serializer/jsonapi-serializer#cachingMulti-Store Storefront Products API returns Products from the current Store Damian Legawiec
Multi-Store Storefront Account Orders API returns Orders from the current Store Damian Legawiec
Multi-Store Storefront Order Status API returns Order from the current Store Damian Legawiec
Core
Multi-Store
Order#available_payment_methods
by default will return only Payment Methods available in Order's Store Damian LegawiecPassing
store
argument to that method will result in deprecation warningMulti-Store Deprecated
Store.current
in favour ofStores::FindCurrent
Damian LegawiecAlso, this finder class can be replaced by custom one by setting
in
config/initializers/spree.rb
(please check documentation)Multi-Store
Product
,Promotion
andPaymentMethod
models require at least oneStore
associated Damian LegawiecMulti-Store
Promotion
is now associated to multipleStore
records viaStorePromotion
model Damian LegawiecYou can disable this behaviour by setting:
in your
config/initializers/spree.rb
fileMulti-Store
Store Credit
model is now associated withStore
Szymon IwaczTaxon
model now requiresTaxonomy
presence and thatTaxonymy
needs to match Taxon's Parent (if present) Damian LegawiecTransactional emails were extracted into a separate gem called
spree_emails
Damian LegawiecReplaced
twitter_cldr
gem with much smallervalidates_zipcode
Damian KaczmarczykRemoved
premailer-rails
gem dependency Damian LegawiecRemoved
rails
dependency - only require Rails gems that we really use Damian LegawiecRemoved
responders
dependency Damian LegawiecRemoved
sprockets
dependency Damian LegawiecMoved
spree.js
file to frontend/backend Damian LegawiecMoved
polyfill.min.js
andfetch.umd.js
files to frontend Damian LegawiecMoved
cleave.js
file to frontend/backend Damian LegawiecMoved
jquery.payment.js
file to frontend Damian LegawiecStorefront
Full Changelog
You can view the full changes using Github Compare.
This discussion was created from the release Version 4.3.0.rc1.
Beta Was this translation helpful? Give feedback.
All reactions