-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Upgrade PostCSS to the latest version #11460
Labels
squad:platform
Issue to be handled by the Platform team.
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
Comments
pomek
added
type:task
This issue reports a chore (non-production change) and other types of "todos".
squad:platform
Issue to be handled by the Platform team.
bc:major
Resolving this issue will introduce a major breaking change.
labels
Mar 14, 2022
CKEditorBot
added
status:planned
Set automatically when an issue lands in the "Sprint backlog" column. We will be working on it soon.
status:in-progress
Set automatically when an issue lands in the "In progress" column. We are working on it.
and removed
status:planned
Set automatically when an issue lands in the "Sprint backlog" column. We will be working on it soon.
labels
Mar 16, 2022
This was referenced Mar 22, 2022
Merged
pomek
added a commit
to ckeditor/ckeditor5-dev
that referenced
this issue
Mar 22, 2022
Feature (utils): The `styles.getPostCssConfig()` function returns a configuration compatible with `postcss@8`. See ckeditor/ckeditor5#11460. MAJOR BREAKING CHANGE (utils): Upgraded the `postcss` version to 8 and marked the package as peer dependency instead of dependency. Starting from this version, when using the `@ckeditor/ckeditor5-dev-utils`, you need to manually install the `postcss` dependency. Tests (env): Fixed broken tests on Windows. Tests (env): Fixed deprecation warnings.
Changes in |
pomek
removed
the
bc:major
Resolving this issue will introduce a major breaking change.
label
Mar 22, 2022
pomek
added a commit
that referenced
this issue
Mar 22, 2022
Other: CKEditor 5 uses PostCSS@8 now. Closes See #11460.
pomek
added a commit
to ckeditor/ckeditor5-package-generator
that referenced
this issue
Mar 22, 2022
Other: Packages generated by the tool use PostCSS@8 now. See ckeditor/ckeditor5#11460.
This was referenced Mar 22, 2022
CKEditor 5 on the |
Starting from the next release, Online Builder will produce builds that use PostCSS 8. |
All work done. |
CKEditorBot
removed
the
status:in-progress
Set automatically when an issue lands in the "In progress" column. We are working on it.
label
Mar 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
squad:platform
Issue to be handled by the Platform team.
type:task
This issue reports a chore (non-production change) and other types of "todos".
Provide a description of the task
@dependabot explains why it is needed in PRs.
Scope
postcss
from 7 to 8.ckeditor5-dev
repository.ckeditor5
repository (content styles).ckeditor5-build-*
packages are built properly.ckeditor5
andckeditor5-dev
repositories.Create a migration guide on why did we do it.This is not needed, it's not a major bump.
Tips
Before starting anything, prepare test scenarios that you can follow before and after upgrading the environment. It will help understand issues you spot.
Content-styles extractor
Our script implements a plugin that iterates over-produced CSS rules. We need to adjust its API. See: 64ffb7b.
Upgrading PostCSS plugins in
ckeditor5-dev
In the past, I thought we could support both versions. It does not work as we cannot predict which PostCSS plugins will be installed. Hence, let's support only PostCSS@8: ckeditor/ckeditor5-dev@a3174e6.
The text was updated successfully, but these errors were encountered: