Prepare CHANGELOG for Solidus 3.1 release#4144
Conversation
5515a58 to
33bc3d4
Compare
|
Added a couple of commit:
|
2853653 to
9d9b90a
Compare
| `Spree::Price#amount` field can no longer be `nil`. Besides adding the | ||
| validation at the model layer, we ship with a task that will remove records | ||
| where the amount is `NULL` in the database. You should run the task before | ||
| executing the new migrations: |
There was a problem hiding this comment.
I see some problems here when deploying these changes to staging/production. The script should be run before migrations but usually migrations are executed automatically on deploy. I think the only way to solve this is by suggesting people to copy/paste the rake task in their application and run it before deploying the upgrade. Do you any other ideas?
There was a problem hiding this comment.
That's definitely a good point. Yes, they could copy it into their own task or enter the console and manually executing it (which is always dangerous in production). I see no other way. Because we could add the task into the database migration itself, but I don't think it's safe to delete user records blindly without making them knowledgeable of it.
I added a new commit with the additional notes. Please, take a look. The link to the task won't work because it's waiting for #4157 to be merged.
The new entries have been generated through the following command, as detailed in the [how-to-release guides](https://github.com/solidusio/solidus/wiki/How-to-release-Solidus#make-sure-changelogmd-is-up-to-date): ```bash git rev-list v3.0.1...master | github_fast_changelog solidusio/solidus ``` The following items have been removed because of being change/revert pairs or being changes on top of still-unreleased stuff: - Docker: Change public keys server after deprecation [solidusio#4140](solidusio#4140) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Revert "Deprecate callback setting variant price from master" [solidusio#4132](solidusio#4132) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Deprecate callback setting variant price from master [solidusio#4078](solidusio#4078) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Remove staled comment [solidusio#4100](solidusio#4100) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Disable perform_caching in DummyApp [solidusio#4119](solidusio#4119) ([gsmendoza](https://github.com/gsmendoza)) - Master now tracks 3.1.0 [solidusio#4033](solidusio#4033) ([kennyadsl](https://github.com/kennyadsl))
3527009 to
a3703cf
Compare
|
Added lastest entries, squashed commits and rebased from master. |
5672095 to
01c96ea
Compare
|
Going to merge this without approvals because it's a release task. |
* Prepare CHANGELOG for Solidus 3.1 release The new entries have been generated through the following command, as detailed in the [how-to-release guides](https://github.com/solidusio/solidus/wiki/How-to-release-Solidus#make-sure-changelogmd-is-up-to-date): ```bash git rev-list v3.0.1...master | github_fast_changelog solidusio/solidus ``` The following items have been removed because of being change/revert pairs or being changes on top of still-unreleased stuff: - Docker: Change public keys server after deprecation [solidusio#4140](solidusio#4140) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Revert "Deprecate callback setting variant price from master" [solidusio#4132](solidusio#4132) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Deprecate callback setting variant price from master [solidusio#4078](solidusio#4078) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Remove staled comment [solidusio#4100](solidusio#4100) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Disable perform_caching in DummyApp [solidusio#4119](solidusio#4119) ([gsmendoza](https://github.com/gsmendoza)) - Master now tracks 3.1.0 [solidusio#4033](solidusio#4033) ([kennyadsl](https://github.com/kennyadsl)) * Add backported entries
* Prepare CHANGELOG for Solidus 3.1 release The new entries have been generated through the following command, as detailed in the [how-to-release guides](https://github.com/solidusio/solidus/wiki/How-to-release-Solidus#make-sure-changelogmd-is-up-to-date): ```bash git rev-list v3.0.1...master | github_fast_changelog solidusio/solidus ``` The following items have been removed because of being change/revert pairs or being changes on top of still-unreleased stuff: - Docker: Change public keys server after deprecation [solidusio#4140](solidusio#4140) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Revert "Deprecate callback setting variant price from master" [solidusio#4132](solidusio#4132) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Deprecate callback setting variant price from master [solidusio#4078](solidusio#4078) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Remove staled comment [solidusio#4100](solidusio#4100) ([waiting-for-dev](https://github.com/waiting-for-dev)) - Disable perform_caching in DummyApp [solidusio#4119](solidusio#4119) ([gsmendoza](https://github.com/gsmendoza)) - Master now tracks 3.1.0 [solidusio#4033](solidusio#4033) ([kennyadsl](https://github.com/kennyadsl)) * Add backported entries
Description
Prepare CHANGELOG for Solidus 3.1 release
The new entries have been generated through the following command, as detailed in the how-to-release guides:
git rev-list v3.0.1...master | github_fast_changelog solidusio/solidusThe following items have been removed because of being change/revert pairs or being changes on top of still-unreleased stuff:
Checklist: