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.

v4.4 RC1 :rocket: (#11551)

Damian Legawiec0d767e2a6d8d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0a8f31411b..e71f1577af 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,8 +2,139 @@
All notable, unreleased changes to this project will be documented in this file. For the released changes, please visit the [Releases](https://github.com/spree/spree/releases) page.
-## [Unreleased]
+## [4.4.0] - TBD
+- Sort OptionValues by position in filter metadata [#11549](https://github.com/spree/spree/pull/11549) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Validate presence of name on tax rate. [#11548](https://github.com/spree/spree/pull/11548) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Enhancing Platform API security [#11545](https://github.com/spree/spree/pull/11545) ([damianlegawiec](https://github.com/damianlegawiec))
+- SD-1544 Check if updated_only_timestamps for update events only [#11544](https://github.com/spree/spree/pull/11544) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Removing Variant#track_inventory [#11541](https://github.com/spree/spree/pull/11541) ([damianlegawiec](https://github.com/damianlegawiec))
+- SD-1544 Do not emit webhooks on touch events [#11539](https://github.com/spree/spree/pull/11539) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Doorkeeper controllers now inherit from `Api::V2::BaseController` [#11538](https://github.com/spree/spree/pull/11538) ([damianlegawiec](https://github.com/damianlegawiec))
+- VEN-99 Run brakeman [#11537](https://github.com/spree/spree/pull/11537) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Raise exception when webhook event can not be created [#11536](https://github.com/spree/spree/pull/11536) ([sebastian-palma](https://github.com/sebastian-palma))
+- Install mysql gem only when mysql environment is required [#11535](https://github.com/spree/spree/pull/11535) ([damianlegawiec](https://github.com/damianlegawiec))
+- Stop creating dummy user role [#11533](https://github.com/spree/spree/pull/11533) ([damianlegawiec](https://github.com/damianlegawiec))
+- failure payment when connection error is raised [#11532](https://github.com/spree/spree/pull/11532) ([KacperMekarski](https://github.com/KacperMekarski))
+- Move webhook factories to core/lib [#11531](https://github.com/spree/spree/pull/11531) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1452 As a Storefront API user I can set Order MetaData when creating a Cart - clean [#11530](https://github.com/spree/spree/pull/11530) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Rename all occurrences of webhooks "body" to "webhook_payload_body" [#11528](https://github.com/spree/spree/pull/11528) ([sebastian-palma](https://github.com/sebastian-palma))
+- [SD-1506] System should emit product.out_of_stock event when product is sold out [#11527](https://github.com/spree/spree/pull/11527) ([sebastian-palma](https://github.com/sebastian-palma))
+- SD-1451 Enable Setting LineItem MetaData when adding Item to Cart [#11525](https://github.com/spree/spree/pull/11525) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Lock `active_storage_validations` to `0.9.5`, `0.9.6` broke our test builds [#11524](https://github.com/spree/spree/pull/11524) ([damianlegawiec](https://github.com/damianlegawiec))
+- Convert added money attributes to string [#11523](https://github.com/spree/spree/pull/11523) ([sebastian-palma](https://github.com/sebastian-palma))
+- We should always cast Money objects to strings in serializers [#11521](https://github.com/spree/spree/pull/11521) ([damianlegawiec](https://github.com/damianlegawiec))
+- Fix Sync Taxonomy Name with Root Taxon Name. [#11519](https://github.com/spree/spree/pull/11519) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Do not execute role check query for guest visitors [#11518](https://github.com/spree/spree/pull/11518) ([damianlegawiec](https://github.com/damianlegawiec))
+- Use 1 SQL query to generate collection cache key rather than 2 [#11517](https://github.com/spree/spree/pull/11517) ([damianlegawiec](https://github.com/damianlegawiec))
+- Improve performance of `Product#for_store` scope [#11516](https://github.com/spree/spree/pull/11516) ([damianlegawiec](https://github.com/damianlegawiec))
+- Fix Taxonomy renaming the root Taxon on reposition. [#11514](https://github.com/spree/spree/pull/11514) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Adds ability to (softly) delete default store [#11513](https://github.com/spree/spree/pull/11513) ([damianlegawiec](https://github.com/damianlegawiec))
+- Add Custom Reposition Actions - Platform API [#11512](https://github.com/spree/spree/pull/11512) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Fixed flaky specs working only with integer IDs [#11510](https://github.com/spree/spree/pull/11510) ([damianlegawiec](https://github.com/damianlegawiec))
+- Fixed flaky resource includes spec [#11509](https://github.com/spree/spree/pull/11509) ([damianlegawiec](https://github.com/damianlegawiec))
+- Add ability to query Orders / Payments / Shipments by number in Platfo… [#11508](https://github.com/spree/spree/pull/11508) ([damianlegawiec](https://github.com/damianlegawiec))
+- Fixed method automatic type casting which doesn't work with UUIDs [#11507](https://github.com/spree/spree/pull/11507) ([damianlegawiec](https://github.com/damianlegawiec))
+- Platform API Stock Items [#11506](https://github.com/spree/spree/pull/11506) ([damianlegawiec](https://github.com/damianlegawiec))
+- Change HABTM relations to has_many through [#11505](https://github.com/spree/spree/pull/11505) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- [SD-1535] Add the name event to the Webhook serializer payload/body [#11504](https://github.com/spree/spree/pull/11504) ([sebastian-palma](https://github.com/sebastian-palma))
+- [SD-1544] Don't fire webhooks touch events if only timestamps were changed [#11503](https://github.com/spree/spree/pull/11503) ([sebastian-palma](https://github.com/sebastian-palma))
+- Include jsbundling setup step for extensions [#11502](https://github.com/spree/spree/pull/11502) ([damianlegawiec](https://github.com/damianlegawiec))
+- SD-1448 As a Storefront API User I can fetch public metadata for all Storefront resources available [#11500](https://github.com/spree/spree/pull/11500) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Simplify Shipments API controller code [#11498](https://github.com/spree/spree/pull/11498) ([damianlegawiec](https://github.com/damianlegawiec))
+- SD-1453 As a Storefront API user I can set User MetaData when creating an Account [#11497](https://github.com/spree/spree/pull/11497) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1551 Add Stock Locations to Platform API [#11496](https://github.com/spree/spree/pull/11496) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Add List of custom webhook events in Webhooks::Subscriber [#11495](https://github.com/spree/spree/pull/11495) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Platform API Shipments pt II [#11494](https://github.com/spree/spree/pull/11494) ([damianlegawiec](https://github.com/damianlegawiec))
+- Add/fix remaining Webhooks events [#11493](https://github.com/spree/spree/pull/11493) ([sebastian-palma](https://github.com/sebastian-palma))
+- Fixed relationships for Stock Location serializer in Platform API [#11492](https://github.com/spree/spree/pull/11492) ([damianlegawiec](https://github.com/damianlegawiec))
+- Fix spelling in file name. [#11491](https://github.com/spree/spree/pull/11491) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Stock Location fixes [#11490](https://github.com/spree/spree/pull/11490) ([damianlegawiec](https://github.com/damianlegawiec))
+- [SD-1494] - Add Taxonomies to Platform API [#11487](https://github.com/spree/spree/pull/11487) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Change SPREE_BACKEND_PATH to SPREE_DASHBOARD_PATH as in the docs [#11483](https://github.com/spree/spree/pull/11483) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1491 I can pragmatically disable Webhooks for a block code [#11482](https://github.com/spree/spree/pull/11482) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1491 Store Credit API - Types and Categories [#11481](https://github.com/spree/spree/pull/11481) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Remove unused routes and actions from Platform API [#11479](https://github.com/spree/spree/pull/11479) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Remove @spree/dashboard link before spree:backend:install [#11477](https://github.com/spree/spree/pull/11477) ([sebastian-palma](https://github.com/sebastian-palma))
+- SD-1471 Geo API - Add States endpoints to Platform API [#11475](https://github.com/spree/spree/pull/11475) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1492 Tax API - Tax Rates and Tax Categories [#11474](https://github.com/spree/spree/pull/11474) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1491 Add Store Credits endpoints to Platform API [#11473](https://github.com/spree/spree/pull/11473) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1489 Add Roles Endpoints to Platform API [#11471](https://github.com/spree/spree/pull/11471) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Support JS Bundling of Spree Dashboard [#11470](https://github.com/spree/spree/pull/11470) ([damianlegawiec](https://github.com/damianlegawiec))
+- SD-1471 Geo API - Zones endpoint Platform API [#11468](https://github.com/spree/spree/pull/11468) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Remove admin translation keys. [#11466](https://github.com/spree/spree/pull/11466) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- SD-1450 As a Platform API application I can set public and private metadata for all resources [#11465](https://github.com/spree/spree/pull/11465) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1511 System should emit `variant.out_of_stock` if Variant is sold out [#11464](https://github.com/spree/spree/pull/11464) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- SD-1510 System should emit `order.resumed` after Order is resumed (order.resume!) [#11463](https://github.com/spree/spree/pull/11463) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- [SD-1507] System should emit `product.discontinued` when a Product is discontinued [#11462](https://github.com/spree/spree/pull/11462) ([aleksandarpetrushev](https://github.com/aleksandarpetrushev))
+- Brought capybara config up to date [#11461](https://github.com/spree/spree/pull/11461) ([damianlegawiec](https://github.com/damianlegawiec))
+- [SD-1514] Emit variant.discontinued when a variant was discontinued [#11459](https://github.com/spree/spree/pull/11459) ([sebastian-palma](https://github.com/sebastian-palma))
+- Storefront API - Checkout Select Shipping Method endpoint [#11458](https://github.com/spree/spree/pull/11458) ([damianlegawiec](https://github.com/damianlegawiec))
+- [SD-1515] Emit payment.paid after the payment is moved to complete [#11457](https://github.com/spree/spree/pull/11457) ([sebastian-palma](https://github.com/sebastian-palma))
+- Re-organize Address services to be use outside of Account context [#11453](https://github.com/spree/spree/pull/11453) ([damianlegawiec](https://github.com/damianlegawiec))
+- Add Codespell Github Workflow [#11450](https://github.com/spree/spree/pull/11450) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Add placeholder Serializers for Webhooks. [#11449](https://github.com/spree/spree/pull/11449) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Clean Up Platform API Controllers [#11448](https://github.com/spree/spree/pull/11448) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- [SD-1517] Emit order.shipped when all order shipments were shipped. [#11443](https://github.com/spree/spree/pull/11443) ([sebastian-palma](https://github.com/sebastian-palma))
+- [SD-1474] - Fix User Create & Update actions on Platform API [#11442](https://github.com/spree/spree/pull/11442) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Fix/shipping method serializer attributes [#11441](https://github.com/spree/spree/pull/11441) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- [SD-1501] - Fix 500 Error on Adjustments Serializer. [#11440](https://github.com/spree/spree/pull/11440) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Add Webhooks Events list endpoint [#11438](https://github.com/spree/spree/pull/11438) ([sebastian-palma](https://github.com/sebastian-palma))
+- [SD-1496] - Add Payment Method endpoints to Platform API [#11437](https://github.com/spree/spree/pull/11437) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Add Storefront API Checkout Create Payment endpoint [#11436](https://github.com/spree/spree/pull/11436) ([damianlegawiec](https://github.com/damianlegawiec))
+- Use Rails way of managing has_many association through API requests. [#11435](https://github.com/spree/spree/pull/11435) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Track and record Webhook Events [#11434](https://github.com/spree/spree/pull/11434) ([sebastian-palma](https://github.com/sebastian-palma))
+- [SD-1505] - Add Shipping Methods To Platform API v2 [#11433](https://github.com/spree/spree/pull/11433) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Use past tense for Webhook event names [#11432](https://github.com/spree/spree/pull/11432) ([damianlegawiec](https://github.com/damianlegawiec))
+- fix migration with stock_item_by_loc_var_id_deleted_at index [#11431](https://github.com/spree/spree/pull/11431) ([KacperMekarski](https://github.com/KacperMekarski))
+- Added tests for Variants filtering in Platform API [#11430](https://github.com/spree/spree/pull/11430) ([damianlegawiec](https://github.com/damianlegawiec))
+- Fixed filtering of Line Items in Platform API [#11429](https://github.com/spree/spree/pull/11429) ([damianlegawiec](https://github.com/damianlegawiec))
+- Add create/index/show webhooks subscribers endpoints [#11428](https://github.com/spree/spree/pull/11428) ([sebastian-palma](https://github.com/sebastian-palma))
+- Remove integer casting for IDs [#11426](https://github.com/spree/spree/pull/11426) ([damianlegawiec](https://github.com/damianlegawiec))
+- Add promotion_categories to Platform API v2 [#11423](https://github.com/spree/spree/pull/11423) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Change Image content type validation to use `Active Storage Validations` gem [#11419](https://github.com/spree/spree/pull/11419) ([KacperMekarski](https://github.com/KacperMekarski))
+- Add Webhooks::Subscriber check_uri_path validation [#11418](https://github.com/spree/spree/pull/11418) ([sebastian-palma](https://github.com/sebastian-palma))
+- SD-1446 use pg_search for full text search of porduct names when pg_search is available. [#11416](https://github.com/spree/spree/pull/11416) ([KacperMekarski](https://github.com/KacperMekarski))
+- Added Platform Payments API for fetching Payments [#11414](https://github.com/spree/spree/pull/11414) ([damianlegawiec](https://github.com/damianlegawiec))
+- Added Platform Variants API for fetching Variants [#11413](https://github.com/spree/spree/pull/11413) ([damianlegawiec](https://github.com/damianlegawiec))
+- Stop using currency/checkout zone/default country preferences [#11408](https://github.com/spree/spree/pull/11408) ([damianlegawiec](https://github.com/damianlegawiec))
+- Replace rspec-activemodel-mocks in specs with FactoryBot [#11407](https://github.com/spree/spree/pull/11407) ([KacperMekarski](https://github.com/KacperMekarski))
+- Rails 7 preparation work [#11406](https://github.com/spree/spree/pull/11406) ([damianlegawiec](https://github.com/damianlegawiec))
+- Use i18n-tasks to manage translations in API [#11403](https://github.com/spree/spree/pull/11403) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- FIX: digital_link update cache after authorized download. [#11402](https://github.com/spree/spree/pull/11402) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Fix for Digital Downloads [#11401](https://github.com/spree/spree/pull/11401) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- SD-1352 As a System I can store MetaData for Spree Resources [#11400](https://github.com/spree/spree/pull/11400) ([kgorazd](https://github.com/kgorazd))
+- SD-1445 feature implement Spree Webhooks [#11399](https://github.com/spree/spree/pull/11399) ([sebastian-palma](https://github.com/sebastian-palma))
+- [SD-1480] Platform API - Promotions [#11398](https://github.com/spree/spree/pull/11398) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Improve checking user permissions in Platform API [#11396](https://github.com/spree/spree/pull/11396) ([damianlegawiec](https://github.com/damianlegawiec))
+- Simplify permission checks for Platform API [#11394](https://github.com/spree/spree/pull/11394) ([damianlegawiec](https://github.com/damianlegawiec))
+- Platform API - Shipments pt 1 [#11393](https://github.com/spree/spree/pull/11393) ([damianlegawiec](https://github.com/damianlegawiec))
+- Added Platform API Orders Approve and Cancel endpoints [#11386](https://github.com/spree/spree/pull/11386) ([damianlegawiec](https://github.com/damianlegawiec))
+- Introduce Spree.admin_user_class [#11385](https://github.com/spree/spree/pull/11385) ([damianlegawiec](https://github.com/damianlegawiec))
+- Platform API - Shipping Categories [#11382](https://github.com/spree/spree/pull/11382) ([damianlegawiec](https://github.com/damianlegawiec))
+- Platform - Adjustments API [#11381](https://github.com/spree/spree/pull/11381) ([damianlegawiec](https://github.com/damianlegawiec))
+- Platform - Line Items API [#11380](https://github.com/spree/spree/pull/11380) ([damianlegawiec](https://github.com/damianlegawiec))
+- Platform API - Orders [#11376](https://github.com/spree/spree/pull/11376) ([damianlegawiec](https://github.com/damianlegawiec))
+- [SD-1461] fix money_methods for ruby version < 2.7 [#11373](https://github.com/spree/spree/pull/11373) ([KacperMekarski](https://github.com/KacperMekarski))
+- [SD-1422] - Migrate Spree Digital into Spree Core [#11369](https://github.com/spree/spree/pull/11369) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Extract backend into a separate repo [#11360](https://github.com/spree/spree/pull/11360) ([damianlegawiec](https://github.com/damianlegawiec))
+- Move backend configuration to spree_backend gem [#11359](https://github.com/spree/spree/pull/11359) ([damianlegawiec](https://github.com/damianlegawiec))
+- Extract `spree_frontend` into a separate repo [#11358](https://github.com/spree/spree/pull/11358) ([damianlegawiec](https://github.com/damianlegawiec))
+- [SD-1467] - Add Platform API For Wishlists [#11355](https://github.com/spree/spree/pull/11355) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- Move frontend preferences out of spree core [#11354](https://github.com/spree/spree/pull/11354) ([damianlegawiec](https://github.com/damianlegawiec))
+- Squash all Spree 4.3 migrations into one [#11353](https://github.com/spree/spree/pull/11353) ([damianlegawiec](https://github.com/damianlegawiec))
+- Utilize `ActiveRecord#insert_all` to cut seed loading time [#11352](https://github.com/spree/spree/pull/11352) ([damianlegawiec](https://github.com/damianlegawiec))
+- Simplify and fix handling polymorphic Oauth Token's resource owners [#11351](https://github.com/spree/spree/pull/11351) ([damianlegawiec](https://github.com/damianlegawiec))
+- Enable polymoprhic resource owners for OAuth Access Tokens [#11350](https://github.com/spree/spree/pull/11350) ([damianlegawiec](https://github.com/damianlegawiec))
+- Introduce `Spree::Oauth` models [#11349](https://github.com/spree/spree/pull/11349) ([damianlegawiec](https://github.com/damianlegawiec))
+- Introduce `Base#spree_base_uniqueness_scope` and `UniqueName` concern [#11348](https://github.com/spree/spree/pull/11348) ([damianlegawiec](https://github.com/damianlegawiec))
+- Use bang methods in seeds to avoid silently failing [#11347](https://github.com/spree/spree/pull/11347) ([damianlegawiec](https://github.com/damianlegawiec))
+- Introduce `NumberIdentifier` concern [#11346](https://github.com/spree/spree/pull/11346) ([damianlegawiec](https://github.com/damianlegawiec))
+- Remove APIs' magic 404 logic [#11345](https://github.com/spree/spree/pull/11345) ([damianlegawiec](https://github.com/damianlegawiec))
+- Move Spree Seeds into their own services to allow easier customization [#11344](https://github.com/spree/spree/pull/11344) ([damianlegawiec](https://github.com/damianlegawiec))
+- SD-1465 - 500 error on re-using identical data as a soft deleted store [#11343](https://github.com/spree/spree/pull/11343) ([kgorazd](https://github.com/kgorazd))
+- [SD-1413] - Move Wishlist into Spree Core [#11308](https://github.com/spree/spree/pull/11308) ([MatthewKennedy](https://github.com/MatthewKennedy))
+- [SD-1438] Remove API -> API v1 redirect [#11306](https://github.com/spree/spree/pull/11306) ([pmilewski](https://github.com/pmilewski))
- [SD-1358] As a Admin I should not be able to permanently delete Store [#11315](https://github.com/spree/spree/pull/11315) ([damianlegawiec](https://github.com/damianlegawiec))
- [SD-1429] Rename Spree CMD to Spree CLI and make it a dependency of spree gem [#11307](https://github.com/spree/spree/pull/11307) ([pmilewski](https://github.com/pmilewski))
diff --git a/core/lib/spree/core/version.rb b/core/lib/spree/core/version.rb
index bf3feb9487..fdeeda3fee 100644
--- a/core/lib/spree/core/version.rb
+++ b/core/lib/spree/core/version.rb
@@ -1,5 +1,5 @@
module Spree
- VERSION = '4.4.0.alpha'.freeze
+ VERSION = '4.4.0.rc1'.freeze
def self.version
VERSION