v2.6.0
Major changes
Rails 5.2
This is the first version of Solidus to support Rails 5.2. Solidus 2.6.0 supports either Rails 5.1 or 5.2. We're hoping this makes both upgrades as easy as possible since they can be done separately.
Merged solidus_i18n functionality
Much of solidus_i18n's functionality has been merged into Solidus itself. Solidus now allows configuring one or more locales per-store in the admin. Both users and admins can select their preferred locales on the frontend or admin respectively. More information on how to upgrade can be found in the solidus_i18n README.
Guides
A lot of work has gone into guides, which are now much more comprehensive. A website to host them is in the works but for now they can be seen on github
Core
- Upgrade cancancan to 2.x #2731 (jhawthorn)
- Replace
uniq
withdistinct
for cartons association #2710 (DanielePalombo) - Allow #try_spree_current_user to search for private methods #2694 (spaghetticode)
- Remove assert_written_to_cache #2691 (jhawthorn)
- cleanup order validate_payments_attributes #2696 (ccarruitero)
- Load email validator from core instead of order #2669 (jhawthorn)
- Promo code batch join chars #2662 (gevann)
- Move EmailValidator under Spree namespace #2635 (tvdeyen)
- Remove protected_attributes warning #2615 (jhawthorn)
- Namespace all testing_support/ files under Spree::TestingSupport namespace #2629 (jhawthorn)
- Remove foreign key from promotion_rules_stores #2603 (jhawthorn)
- Generate new stores with MySQL timestamp precision 6 #2598 (jhawthorn)
- Add frozen_string_literal: true to all files #2586 (jhawthorn)
- Distribute over eligible line items #2582 (Sinetheta)
- Add mutable false to default refund reason record #2574 (mdesantis)
- Specify inheritance for Spree::Promotion #2572 (SamuelMartini)
- Remove foreign key from store_shipping_methods #2596 (jhawthorn)
- Add options to PromotionCode::BatchBuilder and spec for unique promotion code contention #2579 (jhawthorn)
- Set HttpOnly flag when sending guest_token cookie #2633 (luukveenis)
- Splitting shipment should update order totals/payment status #2555 (VzqzAc)
- Add store promotion rule #2552 (adammathys)
- Add association between stores and shipping #2557 (adammathys)
- Make partially shipped shipment able to be ready #2634 (jhawthorn)
- Remove order_stock_locations association #2672 (jhawthorn)
- Generate correct number of codes in BatchBuilder #2578 (jhawthorn)
- Add amount_remaining for Spree::StoreCreditEvent #1512 (mtylty)
- Add per-store configurable locales #2674 (jhawthorn)
- Move Spree::Taxon#applicable_filters (rebase) #2670 (jhawthorn)
- Translate reception states and fix translation key #2283 (rbngzlv)
Admin
- Remove hardcoded admin store attributes #2713 (jtapia)
- Improve the admin UX for a product's "Available On" field #2704 (benjaminwil)
- UI fixes for admin locale select #2684 (tvdeyen)
- Set model_class on admin promotion rules controller #2623 (luukveenis)
- Fix admin payment actions style table issue #2589 (jtapia)
- Allowing admin to show all countries regardless checkout zone #2588 (softr8)
- Add locale chooser to admin #2559 (jhawthorn)
- Fix css class in taxons #2705 (yono)
- Backend stock movements improvements #2612 (kennyadsl)
- adding link to product in backend order summary #2609 (loicginoux)
- Properly limit per-quantity calculator types #2590 (Sinetheta)
- Avoid frozen string error in button helper #2592 (jhawthorn)
- Deprecate payment_method_name helper #2657 (jhawthorn)
- Fix API url when editing image alt text #2625 (loicginoux)
- Replace button_link_to with either button_to or link_to #2601 (jhawthorn)
- Replace button helper with standard button_tag #2600 (jhawthorn)
- Negative count on hand red #2682 (gevann)
- Match a closing tag in order_summary #2681 (shikolay)
- Fixing the promotion categories error message #1346 (mgharbik)
API
- Remove promotion_code from adjustment_attributes #2663 (gevann)
- Clean CheckoutsController routes #2649 (gevann)
- Update no_objects_found partial to allow not show new resource link #2289 (ccarruitero)
- Fix view for orders api (Fixes Issue #2512) #2513 (skukx)
- Add meta_title to product response #2480 (loicginoux)
- Creating an order should activate promotions #2576 (loicginoux)
- Render shipment json when payment source is nil #2611 (loicginoux)
Frontend
- Fix
<td>
closing tag #2703 (dportalesr) - Fix duplicate variants on product page #2630 (mamhoff)
- Fix error when listing products without price #2605 (jhawthorn)
- Fix redirect to cart #2585 (matteocellucci)
- Add locale selector to frontend nav bar #2683 (jhawthorn)
- Filter unpriced products in taxon_preview #2604 (jhawthorn)
- Improve frontend checkout forms html #2416 (kennyadsl)
- Make frontend's LocaleController compatible with solidus_i18n #2626 (jhawthorn)
- Indent nested taxon menues and highlight the selected taxons. #2316 (bofrede)
Documentation
- Fix typos and formatting in Solidus guides #2729 (benjaminwil)
- Add a documentation contributors guide #2718 (benjaminwil)
- Make documentation clearer and fix invalid links #2717 (benjaminwil)
- Add multiple typo fixes in the guides #2716 (Shkrt)
- Add documentation for Spree::Reimbursements and Spree::ReimbursementTypes #2678 (benjaminwil)
- Add documentation for Spree::CustomerReturn model #2677 (benjaminwil)
- Add documentation of Spree::ReturnItem model #2676 (benjaminwil)
- Add initial Solidus upgrades documentation #2641 (benjaminwil)
- Add initial Spree migration article #2640 (benjaminwil)
- Fix YARD warnings throughout core #2636 (jhawthorn)
- Add yard rake task #2632 (jhawthorn)
- Fix typo in CheckoutController comment #2631 (jgayfer)
- Rewrite payment processing documentation; add Spree::Order#payment_states documentation #2624 (benjaminwil)
- Add documentation introducing payment service providers #2620 (benjaminwil)
- Add documentation for the Spree::Payment model #2619 (benjaminwil)
- Rewrite article documenting payment methods #2618 (benjaminwil)
- Add initial documentation about payment sources #2617 (benjaminwil)
- Rewrite payments overview documentation #2613 (benjaminwil)
- Documentation touchup #2591 (jormon)
- Add documentation for stock items and stock movements #2539 (benjaminwil)
- Add documentation overview of inventory #2538 (benjaminwil)
- Add a stub article that summarizes Solidus's built-in tax calculator #2526 (benjaminwil)
- Add documentation that summarizes Solidus's built-in shipping calculators #2525 (benjaminwil)
- Add documentation that summarizes Solidus's built-in promotion calculators #2524 (benjaminwil)
- Initial calculators documentation #2511 (benjaminwil)
- Initial orders documentation #2498 (benjaminwil)
- Addresses documentation #2471 (benjaminwil)
- Initial promotions documentation #2467 (benjaminwil)
- Adjustments documentation #2459 (benjaminwil)
- Guides: Links and syntax fixes #2709 (tvdeyen)
- Fix markdown link syntax in payment service provider guide #2708 (tvdeyen)
- Fix the code syntax in installation options guide #2707 (tvdeyen)
- Add a guides index and generator #2671 (tvdeyen)
- Split existing configuration guide #2488 (benjaminwil)
- add payments guide #2388 (ccarruitero)
- Add overview of returns system #2675 (benjaminwil)
- Port extension testing document from wiki #2642 (benjaminwil)
- Update Orders state machine doc removing confirmation_required text #2658 (kennyadsl)
- Improve PaymentMethod docs and add some deprecations #2650 (jhawthorn)
- Remove generators from YARD docs #2651 (jhawthorn)
- Add custom authentication (User model) setup article #2581 (benjaminwil)
- Add article about views for new Rails developers #2560 (benjaminwil)