Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive old tables on install #2765

Merged
merged 4 commits into from
Apr 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG-WIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@
- Added `craft\commerce\web\assets\coupons\CouponsAsset`.

### Changed
- Craft Commerce now requires Craft CMS 4.0.0-beta.2 or newer.
- Craft Commerce now requires Craft CMS 4.0.0-beta.4 or newer.
- Tax rate inputs no longer require the percent symbol.
- Subscription plans are no longer accessible via old Control Panel URLs.
- Addresses can no longer be related to both a user’s address book and an order at the same time. ([#2457](https://github.com/craftcms/commerce/discussions/2457))
- Gateway’s `isFrontendEnabled` setting is now environment variable aware.
- The installer now archives any database tables that were left behind by a previous Craft Commerce installation.
- `commerce/*` actions no longer accept `orderNumber` params. `number` can be used instead.
- `commerce/cart/*` actions no longer accept `cartUpdatedNotice` params. `successMessage` can be used instead.
- `commerce/cart/*` actions no longer include `availableShippingMethods` in their JSON responses. `availableShippingMethodOptions` can be used instead.
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
## Beta Unreleased

### Changed
- Craft Commerce now requires Craft CMS 4.0.0-beta.4 or newer.
- Gateway’s `isFrontendEnabled` setting is now environment variable aware.
- The installer now archives any database tables that were left behind by a previous Craft Commerce installation.

### Fixed
- Fixed a bug where custom shipping methods options were not being returned from `Order::getAvailableShippingMethodOptions()`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can learn all about it at [craftcms.com/commerce](https://craftcms.com/comme

## Requirements

This plugin requires Craft CMS 4.0.0-beta.2 or later.
This plugin requires Craft CMS 4.0.0-beta.4 or later.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"prefer-stable": true,
"require": {
"php": "^8.0.2",
"craftcms/cms": "^4.0.0-beta.2",
"craftcms/cms": "^4.0.0-beta.4",
"dompdf/dompdf": "^1.0.2",
"ibericode/vat": "^1.1.2",
"iio/libmergepdf": "^4.0"
Expand Down
Loading