Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Update 4_3_0.md

Damian Legawiec16eae306acea
diff --git a/guides/src/content/release_notes/4_3_0.md b/guides/src/content/release_notes/4_3_0.md
index 116856bc3d..150dad8b43 100644
--- a/guides/src/content/release_notes/4_3_0.md
+++ b/guides/src/content/release_notes/4_3_0.md
@@ -32,6 +32,16 @@ that means JSON API format, Swagger (Open API) documentation and oAuth 2.0 authe
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 product filters feature. Now you can:
+
+1. Filter by Properties - you can set which Properties should be filterable and the ones you choose will be visible and supported in the Storefront and API
+2. Filter by Option Types - you can set which Oprion Types should be filterable and the ones you choose will be visible and supported in the Storefront and API
+3. Filters on Storefront, both Properties and Option Types will be automatically shown only when Products in selected Taxon have these Option Types/Properties attached, same goes for values, we're only displaying values from Products in the given Taxon
+
+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
1. [Install Docker](https://docs.docker.com/get-docker/)
@@ -49,28 +59,31 @@ Please review each of the noteworthy changes to ensure your customizations or ex
### Storefront
-* Upgraded **Sprockets** to **v4** and added support for **ES6**, **Source Maps** and **Manifest.js** [Spark Solutions](https://github.com/spree/spree/pull/10852)
-* **Multi-Store** Only Store Orders are returned [Spark Solutions](https://github.com/spree/spree/pull/11126/commits/a694445a99a41f36825666fe04f73f020951fa2e)
-* **Multi-Store** Only Store Products are returned [Spark Solutions](https://github.com/spree/spree/pull/11126/commits/e72ced9330e371211027d7a3371792d8fd5ed6e1)
+* Upgraded **Sprockets** to **v4** and added support for **ES6**, **Source Maps** and **Manifest.js** [Damian Legawiec](https://github.com/spree/spree/pull/10852)
+* **Multi-Store** Only Store Orders are returned [Damian Legawiec](https://github.com/spree/spree/pull/11126/commits/a694445a99a41f36825666fe04f73f020951fa2e)
+* **Multi-Store** Only Store Products are returned [Damian Legawiec](https://github.com/spree/spree/pull/11126/commits/e72ced9330e371211027d7a3371792d8fd5ed6e1)
+* Added clearing all filters on PLP / Taxon page [Lukasz Adamczyk](https://github.com/spree/spree/pull/11031)
+* Added filtering Products on PLP by a custom price range [Lukasz Adamczyk](https://github.com/spree/spree/pull/11007)
+* Display only these Product Filters that have Products attached [Lukasz Adamczyk](https://github.com/spree/spree/pull/11023/files)
### API
-* Added caching to API v2 serialized increasing API responsivenes 3-5 times [Spark Solutions](https://github.com/spree/spree/pull/10875)
+* Added caching to API v2 serialized increasing API responsivenes 3-5 times [Damian Legawiec](https://github.com/spree/spree/pull/10875)
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)
-* **Multi-Store** Storefront Order Status API returns Order from the current Store [Spark Solutions](https://github.com/spree/spree/pull/11126)
+* **Multi-Store** Storefront Products API returns Products from the current Store [Damian Legawiec](https://github.com/spree/spree/pull/11126)
+* **Multi-Store** Storefront Account Orders API returns Orders from the current Store [Damian Legawiec](https://github.com/spree/spree/pull/11126)
+* **Multi-Store** Storefront Order Status API returns Order from the current Store [Damian Legawiec](https://github.com/spree/spree/pull/11126)
### Admin Panel
### Core
-* **Multi-Store** `Order#available_payment_methods` by default will return only Payment Methods available in Order's Store [Spark Solutions](https://github.com/spree/spree/pull/11126/commits/8f52301c8178e04bb1aa6a03cde5ebb9f0063cbb)
+* **Multi-Store** `Order#available_payment_methods` by default will return only Payment Methods available in Order's Store [Damian Legawiec](https://github.com/spree/spree/pull/11126/commits/8f52301c8178e04bb1aa6a03cde5ebb9f0063cbb)
Passing `store` argument to that method will result in deprecation warning
-* **Multi-Store** Deprecated `Store.current` in favour of ` Stores::FindCurrent` [Spark Solutions](https://github.com/spree/spree/pull/11126/commits/f3414d67b92a2b1d2eb920abab95ff48ab8afd72)
+* **Multi-Store** Deprecated `Store.current` in favour of ` Stores::FindCurrent` [Damian Legawiec](https://github.com/spree/spree/pull/11126/commits/f3414d67b92a2b1d2eb920abab95ff48ab8afd72)
Also this finder class can be repleced by custom one by setting
@@ -78,7 +91,7 @@ Please review each of the noteworthy changes to ensure your customizations or ex
Spree::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 [Spark Solutions](https://github.com/spree/spree/pull/11141)
+* **Multi-Store** `Product` and `PaymentMethod` require at least one `Store` associated [Damian Legawiec](https://github.com/spree/spree/pull/11141)
You can disable this behaviour by setting:
@@ -88,17 +101,17 @@ Please review each of the noteworthy changes to ensure your customizations or ex
in your `config/initializers/spree.rb` file
-* **Multi-Store** `Store Credit` model is now associated with `Store` [Spark Solutions](https://github.com/spree/spree/pull/11155)
-* 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)
+* **Multi-Store** `Store Credit` model is now associated with `Store` [Szymon Iwacz](https://github.com/spree/spree/pull/11155)
+* Transactional emails were extracted into a seperate gem called `spree_emails` [Damian Legawiec](https://github.com/spree/spree/pull/11110/commits/1ebb0dd8c7f8f7e296f21c630886b05869b6acbc)
+* Replaced `twitter_cldr` gem with much smaller `validates_zipcode` [Damian Kaczmarczyk](https://github.com/spree/spree/pull/11077)
+* Removed `premailer-rails` gem dependency [Damian Legawiec](https://github.com/spree/spree/pull/11041/commits/2726da8db3992306fcde58175e17a379029e2955)
+* Removed `rails` dependency - only require Rails gems that we really use [Damian Legawiec](https://github.com/spree/spree/pull/11041/commits/2dc16c59204257e7e01cee386d9cad4824f4c107)
+* Removed `responders` dependency [Damian Legawiec](https://github.com/spree/spree/pull/11041/commits/9751b9b9cd02c3f88a7727eade676f6635c4da09)
+* Removed `sprockets` dependency [Damian Legawiec](https://github.com/spree/spree/pull/11041/commits/f87c44fbd3b4a99c6fa04cf089655e84efb29a56)
+* Moved `spree.js` file to frontend/backend [Damian Legawiec](https://github.com/spree/spree/pull/11110/commits/57d1bd9d9d44525c2cbac769726bc617e6e7e809)
+* Moved `polyfill.min.js` and `fetch.umd.js` files to frontend [Damian Legawiec](https://github.com/spree/spree/pull/11110/commits/e0d2901665cbf56633e8d86b2a822b4f5b916a0b)
+* Moved `cleave.js` file to frontend/backend [Damian Legawiec](https://github.com/spree/spree/pull/11110/commits/2dc959d3c0c75c3efe7494ec754c127cb8a392d4)
+* Moved `jquery.payment.js` file to frontend [Damian Legawiec](https://github.com/spree/spree/pull/11110/commits/3605d678486312eefd725f4ee6918c93bd3215ca)
## Full Changelog