Releases: openfoodfoundation/openfoodnetwork
v4.4.8 Chocolate truffle
Big thanks to @macanudo527 for tirelessly improving the quality of our code.
This is mainly a maintenance release with only one little fix.
User facing changes 👀
Experimental features for testing 😎
- Don't allow multi-line voucher codes by @cillian in #11259
- [Vouchers] Percentage rate by @rioug in #10821
Technical changes 🔧
- Stabilise flaky checkout spec with voucher by @mkllnk in #11376
- Drop option_types and option_values tables by @Matt-Yorkley in #11373
- Drop :is_master column from variants table by @Matt-Yorkley in #11374
- Drop unused tables by @Matt-Yorkley in #11375
- Reduce controller size by @Matt-Yorkley in #11222
- Remove ignored session store config by @mkllnk in #11389
- 🔧 Remove
new_products_page
and all associated controllers/components/... by @jibees in #11382 - Require belongs_to associations by default by @mkllnk in #11297
- Invoice data generator, fix flaky test by @rioug in #11404
- [Product Refactor] Shipping Category by @Matt-Yorkley in #11221
- Use known, statically cached DFC context by @mkllnk in #11323
- 🚧 BUU: some design updates + one small code fix by @jibees in #11401
- Don't show extra red messages when gems missing by @dacook in #11409
- Fix autocorrect Rails Cops 2 by @macanudo527 in #11337
- 🚧 BUU: refactor/improve testing by @jibees in #11400
- Release template by @dacook in #11392
- 🚧 BUU: Pagination tweaks by @jibees in #11407
- Fix rubocop rails errors by @macanudo527 in #11405
Dependencies 📦
- chore(deps): bump rails from 7.0.6 to 7.0.7 by @dependabot in #11384
- chore(deps): bump aws-sdk-s3 from 1.132.0 to 1.132.1 by @dependabot in #11385
- chore(deps): bump rails-i18n from 7.0.7 to 7.0.8 by @dependabot in #11414
- chore(deps-dev): bump timecop from 0.9.6 to 0.9.8 by @dependabot in #11406
- chore(deps): bump newrelic_rpm from 9.3.1 to 9.4.0 by @dependabot in #11413
- chore(deps): bump newrelic_rpm from 9.4.0 to 9.4.1 by @dependabot in #11420
Full Changelog: v4.4.7...v4.4.8
v4.4.7 Brussels Sprout
Lots of little changes that may not look attractive, but nevertheless valuable.
User facing changes 👀
Experimental features for testing 😎
- [vouchers] error moving between summary and cart pages by @rioug in #11117
- Fix display invoice tab for completed, resumed and canceled orders only by @bouaik in #11327
- rename 'new invoice' button to 'create or update invoice' by @abdellani in #11354
- fix Bulk invoice printing/sending by @abdellani in #11192
- render date without time on invoices list by @abdellani in #11116
Technical changes 🔧
- SCSS cleanup by @dacook in #11320
- Skip online domain validation of dev user email by @mkllnk in #11321
- Setup script tweaks by @dacook in #11365
- Remove duplicated keys in en yml by @abdellani in #11353
- [Product Refactor] Remove multiple taxons by @Matt-Yorkley in #11346
- Remove unused variant :position attribute by @Matt-Yorkley in #11372
Dependencies 📦
- Add new relic gem by @rioug in #11256
- chore(deps): bump js-big-decimal from 2.0.1 to 2.0.4 by @dependabot in #11339
- chore(deps): bump stimulus from 3.2.1 to 3.2.2 by @dependabot in #11343
- chore(deps): bump mime-types from 3.4.1 to 3.5.0 by @dependabot in #11344
- chore(deps-dev): bump rubocop from 1.55.1 to 1.56.0 by @dependabot in #11366
Full Changelog: v4.4.6...v4.4.7
The Brussels sprout is a leaf vegetable, grown for its edible buds which appear like miniature cabbages. It is native to the Mediterranean like other cabbage species, and cultivated in the 13th century near Brussels, Belgium, from which they derived their name.
v4.4.6 Fish'n'chips
Congrats to @bouaik for their first contribution. 🎉 💐
Bug fixes and layout tweaks while the team is working on bigger feature releases.
User facing changes 👀
- White label: Update mobile variant size for white label logo to fit the same ratio by @jibees in #11281
- Rescue from errors when displaying images by @Matt-Yorkley in #11310
- Fix margin in guest checkout by @bouaik in #11302
- Sort orders by last name, then first name on orders page by @cillian in #11299
- Shopfront: On non-shop tab, when changing OC, switch to shop tab and hides non-shop tab content by @jibees in #11235
- Registration of an enterprise name already taken stops registration process by @cyrillefr in #11177
- Add a filter by product on the Order and Fulfilment reports by @rioug in #11254
Experimental features for testing 😎
Technical changes 🔧
- Show invoice number on invoices by @abdellani in #11126
- Prevent git errors from showing in command output by @dacook in #11296
- Dfc connector context by @mkllnk in #11263
- Skip empty commits in Rubocop Autocorrect Script by @macanudo527 in #11303
- chore(deps-dev): bump rubocop from 1.55.0 to 1.55.1 by @dependabot in #11308
- chore(deps-dev): bump knapsack_pro from 5.3.4 to 5.3.5 by @dependabot in #11317
- chore(deps): bump @floating-ui/dom from 1.4.5 to 1.5.1 by @dependabot in #11307
- [Product Refactor] Tax category by @Matt-Yorkley in #11156
- chore(deps): bump stimulus_reflex from 3.5.0-rc2 to 3.5.0-rc3 + cable_ready from 5.0.0.rc2 to 5.0.1 by @dependabot in #11209
- chore(deps): bump js-big-decimal from 1.4.1 to 2.0.1 by @dependabot in #11324
- Fix remaining Layout/LineLength Rubocop Errors by @macanudo527 in #11322
- Fix autocorrect Rails Cops by @macanudo527 in #11312
New Contributors
Full Changelog: v4.4.5...v4.4.6
v4.4.5 - Camellia sinensis
What's Changed
User facing changes 👀
- Admin, Products & Inventory reports: add
on_hand
andon_demand?
columns by default ; markInventory (on hand)
report as deprecated by @jibees in #11251 - Add greek locale by @mkllnk in #11277
- Admin: improve platform version displaying on admin homepage by @jibees in #11292
- White label: Customize rendering inside the trix-editor, to match the shopfront rendering by @jibees in #11282
- Admin, Enterprise creation : set visibility to "Hidden" by default by @jibees in #11247
Technical changes 🔧
- Fix Rubocop Layout violations - 1 by @dacook in #11241
- Add Ruby version to engines for Rubocop by @mkllnk in #11246
- Adds missing key by @filipefurtad0 in #11252
- Fix Rubocop Layout violations - 2 by @macanudo527 in #11261
- Updates spec to cover #11150 (regression spec) by @filipefurtad0 in #11227
- Comments out flaky caching example by @filipefurtad0 in #11280
- Fix rubocop layout 3 by @macanudo527 in #11283
- Compile JS before testing caching by @mkllnk in #11284
- Adds coverage to Invoices (system specs) by @filipefurtad0 in #11238
- Update CSP configuration for Safari by @Matt-Yorkley in #11294
- Fix swagger-api integration after last update by @mkllnk in #11278
- Fix rubocop layout 4 by @macanudo527 in #11300
Experimental features 🧪
- set invoice status automatically after creation by @abdellani in #11084
- 🚧 Products v3: viewing, searching, filtering & pagination by @jibees in #11163
- 🚧 Products v3: table and menu tweaks by @dacook in #11198
Dependency updates 📦
- chore(deps): bump stripe from 8.5.0 to 8.6.0 by @dependabot in #11218
- chore(deps-dev): bump knapsack_pro from 5.3.0 to 5.3.1 by @dependabot in #11248
- chore(deps): bump bugsnag from 6.25.2 to 6.26.0 by @dependabot in #11249
- chore(deps-dev): bump knapsack_pro from 5.3.1 to 5.3.2 by @dependabot in #11257
- chore(deps): bump aws-sdk-s3 from 1.126.0 to 1.131.0 by @dependabot in #11258
- chore(deps-dev): bump jasmine-core from 5.0.1 to 5.1.0 by @dependabot in #11265
- chore(deps-dev): bump knapsack_pro from 5.3.2 to 5.3.3 by @dependabot in #11264
- chore(deps): bump view_component from 3.4.0 to 3.5.0 by @dependabot in #11272
- chore(deps): bump aws-sdk-s3 from 1.131.0 to 1.132.0 by @dependabot in #11271
- chore(deps-dev): bump rubocop from 1.54.2 to 1.55.0 by @dependabot in #11279
- chore(deps-dev): bump knapsack_pro from 5.3.3 to 5.3.4 by @dependabot in #11288
- chore(deps): bump rexml from 3.2.5 to 3.2.6 by @dependabot in #11287
Full Changelog: v4.4.4...v4.4.5
Camellia sinensis is a species of evergreen shrub or small tree in the flowering plant family Theaceae. Its leaves and leaf buds are used to produce the popular beverage tea. Common names include tea plant, tea shrub, and tea tree (unrelated to Melaleuca alternifolia, the source of tea tree oil, or the genus Leptospermum commonly called tea tree). Taken from wikipedia.
v4.4.4 - Chocolate
What's Changed
User facing changes 👀
- Checkout, Summary step: Display the ship/delivery address (instead of the billing one) by @jibees in #11175
- Checkout summary: avoid carriage return on price by @jibees in #11105
Technical changes 🛠️
- [vouchers] fix delete voucher when tax excluded from price by @rioug in #11184
- authorize enterprise users to access invoices page by @abdellani in #11115
- Fixes missing translation on Invoices tab by @filipefurtad0 in #11239
- Fix Metrics/ClassSize by @macanudo527 in #11150
- Fix Layout/LineLength - Bundle 3 by @macanudo527 in #10966
- Adds spec for profile change by @filipefurtad0 in #11182
- Adds assertion on the Out of Stock message by @filipefurtad0 in #11236
Dependency updates 📦
- chore(deps-dev): bump knapsack_pro from 5.1.2 to 5.2.0 by @dependabot in #11224
- chore(deps): bump rswag-ui from 2.9.0 to 2.10.1 by @dependabot in #11216
- chore(deps): bump rswag-api from 2.9.0 to 2.10.1 by @dependabot in #11215
- chore(deps): bump @floating-ui/dom from 1.4.4 to 1.4.5 by @dependabot in #11210
- chore(deps-dev): bump rswag-specs from 2.9.0 to 2.10.1 by @dependabot in #11213
- chore(deps-dev): bump rubocop from 1.54.1 to 1.54.2 by @dependabot in #11217
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #11228
- chore(deps-dev): bump knapsack_pro from 5.2.0 to 5.3.0 by @dependabot in #11232
- chore(deps): bump mini_portile2 from 2.8.2 to 2.8.4 by @dependabot in #11231
Full Changelog: v4.4.3...v4.4.4
(Almost) everybody loves chocolate.
It was developed in Central America from the Cocoa bean, requiring a process of fermentation, drying, cleaning, roasting, grinding and heating.
v4.4.3 - Chiclet
Description
Technical changes and some Used-facing improvements, mostly at Admin level.
What's Changed
User facing changes 👀
- Admin, White Label: check the custom tab checkbox if any errors on custom tab (ie. title is blank) by @jibees in #11187
- Admin, Orders: Make bulk actions dropdown re-enabled for Safari browser by @jibees in #11170
- Remove split checkout from feature toggle by @abdellani in #11159
- Don't return duplicate rows in the customer addresses report by @cillian in #11148
Experimental Features 🧪
- Vouchers part 2 by @Matt-Yorkley in #11135
- DFC API return SuppliedProduct after creation by @mkllnk in #11145
Technical changes 🔧
- chore(deps): bump tough-cookie from 4.0.0 to 4.1.3 by @dependabot in #11181
- Drop unused Spree Promotion Tables by @dacook in #11162
- chore(deps): bump cable_ready from 5.0.0 to 5.0.1 by @dependabot in #11179
- chore(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in #11191
- chore(deps): bump view_component from 3.3.0 to 3.4.0 by @dependabot in #11202
Full Changelog: v4.4.2...v4.4.3
A chewing-gum and a pop-song:
v4.4.2 Banoffee Pie
No user-facing changes in this release, but a lot of work under the hood to improve the codebase and make it easier to work with.
Technical Changes 🛠
- Remove datadog gem, too expensive by @mkllnk in #11092
- Add timestamps to variants table by @Matt-Yorkley in #11138
- OFN DFC API documenation in OpenAPI format generated with Rswag by @mkllnk in #11133
Automated tests 🧪
- Cart state orders not appearing orders page by @filipefurtad0 in #11121
Cleanup 🧹
- Remove :permalink attribute from Product by @Matt-Yorkley in #11137
- Remove :available_on attribute from Product by @Matt-Yorkley in #11136
- Remove unused gem test-unit by @mkllnk in #11144
Feature coming soon, still under development 🚧
- [admin_style_v3] Products table with variants by @dacook in #11123
- Fix container issues introduced by #11123 by @jibees in #11169
Packages updated 📦
- chore(deps): bump geocoder from 1.8.1 to 1.8.2 by @dependabot in #11158
- chore(deps-dev): bump rubocop from 1.52.1 to 1.54.1 by @dependabot in #11154
- chore(deps): bump state_machines-activerecord from 0.8.0 to 0.9.0 by @dependabot in #11152
- chore(deps): bump faraday from 2.7.6 to 2.7.9 by @dependabot in #11147
- chore(deps): bump @floating-ui/dom from 1.4.2 to 1.4.3 by @dependabot in #11142
- chore(deps): bump view_component from 3.2.0 to 3.3.0 by @dependabot in #11128
- chore(deps): bump rails from 7.0.5 to 7.0.6 by @dependabot in #11146
- chore(deps): bump @floating-ui/dom from 1.4.3 to 1.4.4 by @dependabot in #11166
- chore(deps): bump sanitize from 6.0.1 to 6.0.2 by @dependabot in #11172
- chore(deps): bump faraday from 2.7.9 to 2.7.10 by @dependabot in #11167
- chore(deps-dev): bump vcr from 6.1.0 to 6.2.0 by @dependabot in #11127
Full Changelog: v4.4.1...v4.4.2
Banoffee pie is a British dessert pie made from bananas, whipped cream and a thick caramel sauce (made from boiled condensed milk, or dulce de leche), combined either on a buttery biscuit base or one made from crumbled biscuits and butter.
v4.4.1 - Tomato Scrambled Eggs
What's Changed
User facing changes 👀
- Show current version2 by @dacook in #11032
- [White Label] Fix colors of custom content editor to have beautiful toolbar by @jibees in #10987
- Enterprise fee w tax by order by @abdellani in #10323
- Add an OFN UID column to the Users & Enterprises report by @cillian in #11041
- Restore line item ordering by @mkllnk in #11014
- Show "loading" screen for background reports and display when ready by @mkllnk in #10849
- Admin, Orders list: add tooltip on Edit action icon + capitalize tooltip (instead of uppercasing) by @jibees in #10963
- Redirect user to payment when the card doesn't have enough credit by @abdellani in #10914
- Admin, Edit variant: remove unwanted extra space on price (added in certain specific conditions) by @jibees in #11107
- Filter distributors before listing on checkout options by @abdellani in #11079
- Hide users with no completed orders from a hub's customers list by @abdellani in #10704
Experimental features for testing 😎
- Invoices by @abdellani in #10532
- Prototype: Import products via DFC Connector by @mkllnk in #11008
- Vouchers part 1 by @Matt-Yorkley in #11002
- [Invoices] Actions dropdown menu disappears after creating the first invoice by @jibees in #11089
- Allow access to DFC API with OFN API token by @mkllnk in #11101
Technical changes 🔧
- Bump Ruby from 3.0.3 to 3.1.4 by @mkllnk in #10888
- chore(deps-dev): bump knapsack_pro from 5.1.0 to 5.1.2 by @dependabot in #11083
- chore(deps-dev): bump rubocop-rails from 2.19.1 to 2.20.2 by @dependabot in #11082
- chore(deps): bump @floating-ui/dom from 1.3.0 to 1.4.2 by @dependabot in #11093
- Add image error Bugsnag notifications by @Matt-Yorkley in #11087
- chore(deps): bump aws-sdk-s3 from 1.124.0 to 1.126.0 by @dependabot in #11078
- Fix Layout/LineLength - Bundle 1 by @macanudo527 in #10964
- Use Redis for caching in test environment by @mkllnk in #11075
- Update workflow permissions check to latest version by @Matt-Yorkley in #11088
- Fix bulk order cancellation test by @rioug in #11080
- Fix Layout/LineLength - Bundle 2 by @macanudo527 in #10965
- Call matomo manually on asynchronous page visits by @Matt-Yorkley in #11022
- Gracefully deal with missing S3 config by @mkllnk in #11109
Changed and reverted ♻️
Full Changelog: v4.3.13...v4.4.1
Summer's here!! 😎 And with it, ripe tomatoes - finally the time of the year where tomato scrambled eggs are at it's best.
Image taken from https://itsmydish.com/scramble-egg-tomatoes/
v4.4.0 No masters
We are working to simplify the data model in the background, and this release takes an important step forward. As it is a large change, other updates have been postponed until the next release.
Technical changes
Up until now, there has been a hidden "master" variant attached to each product. This has now been carefully unpicked and removed.
- Remove master variants (#10939) by @Matt-Yorkley
Full Changelog: v4.3.13...v4.4.0
v4.3.13 Lentil Patties
A lot happened in the last week. Many improvements of the new White Label feature, faster image display, a few bug fixes and last but not least: you can see the current app version at the bottom of the enterprise dashboard. ✨
And that's just the noticeable changes, we also updated a lot of dependencies, improved the code quality (thanks @macanudo527 et al) and we are working on a better admin interface in the background.
User facing changes 👀
- [White Label] Remove ofn navigation for small width screens as well when option is activated by @jibees in #10937
- [White Label] Validate the presence of a custom tab title before creating it (+ max 20 characters length) by @jibees in #10938
- [WhiteLabel] Add some margin to custom tab content for a shop by @jibees in #10959
- [White Label] Customize colors of custom content editor to have beautiful toolbar by @jibees in #10960
- [WhiteLabel] Make update button active when changing custom tab content by @jibees in #10961
- Ignore leading and trailing whitespace when importing products via a spreadsheet by @cillian in #10974
- Admin, Create an order, Select a product: translate some messages in the product selection search box by @jibees in #10907
- Fix ProcessPaymentIntent service by @Matt-Yorkley in #10933
- Fix error on summarising total_units in Order Cycle Supplier Totals report by @mkllnk in #10848
- Fix BOM order loading issue by @Matt-Yorkley in #10999
- [OIDC] Translate 'Enterprises' > 'OIDC Settings' tab title by @jibees in #10983
- [White Label] Custom tab content editor: order and unordered list should have a margin-left set by @jibees in #10988
- Update ActiveStorage image processing by @Matt-Yorkley in #10804
- Show current version at bottom of admin dashboard by @dacook in #11004
Experimental features for testing 😎
- [admin_style_v3] As an enterprise user i can see the back office with new brand colours by @jibees in #10949
- [admin_v3] Update all table styles by @dacook in #10948
- Remove split checkout toggle and legacy checkout by @abdellani in #10913
Technical changes 🔧
- Prettier css admin by @dacook in #10876
- Fix Style/LineLength by @macanudo527 in #10714
- Adds spec for tooltips on orders page by @filipefurtad0 in #10971
- chore(deps): bump @floating-ui/dom from 1.2.9 to 1.3.0 by @dependabot in #10984
- chore(deps-dev): bump jasmine-core from 5.0.0 to 5.0.1 by @dependabot in #10985
- chore(deps-dev): bump capybara from 3.39.1 to 3.39.2 by @dependabot in #10986
- chore(deps): bump rails from 7.0.4.3 to 7.0.5 by @dependabot in #10892
- chore(deps): bump view_component from 3.0.0 to 3.1.0 by @dependabot in #10918
- Remove unused mini_racer gem by @mkllnk in #10915
- chore(deps): bump ddtrace from 1.11.1 to 1.12.0 by @dependabot in #10929
- chore(deps-dev): bump knapsack_pro from 4.1.0 to 5.1.0 by @dependabot in #10970
- chore(deps): bump aws-sdk-s3 from 1.122.0 to 1.123.1 by @dependabot in #10934
- chore(deps): bump i18n from 1.13.0 to 1.14.1 by @dependabot in #10935
- chore(deps): bump view_component from 3.1.0 to 3.2.0 by @dependabot in #10991
- chore(deps): bump test-unit from 3.5.9 to 3.6.0 by @dependabot in #10996
- chore(deps-dev): bump rubocop from 1.52.0 to 1.52.1 by @dependabot in #10995
- chore(deps): bump jwt from 2.7.0 to 2.7.1 by @dependabot in #10993
- chore(deps): bump active_storage_validations from 1.0.3 to 1.0.4 by @dependabot in #10992
- Require belongs_to associations - part 1 by @mkllnk in #10850
- Add workflow for deploying to staging by @Matt-Yorkley in #11031
- chore(deps): bump aws-sdk-s3 from 1.123.1 to 1.124.0 by @dependabot in #11011
- Clears cache around examples by @filipefurtad0 in #11019
- chore(deps): bump ddtrace from 1.12.0 to 1.12.1 by @dependabot in #11017
- chore(deps): bump sidekiq from 7.1.1 to 7.1.2 by @dependabot in #11018
Changed and reverted ♻️
- Fix
redis
andhiredis-client
version requirements by @dependabot in #10455 - Revert "Fix
redis
andhiredis-client
version requirements " by @mkllnk in #11033
Full Changelog: v4.3.12...v4.3.13