Bump publiclab-editor from 2.0.6 to 2.1.0#8135
Bump publiclab-editor from 2.0.6 to 2.1.0#8135dependabot-preview[bot] wants to merge 1 commit intomainfrom
Conversation
Bumps [publiclab-editor](https://github.com/publiclab/PublicLab.Editor) from 2.0.6 to 2.1.0. - [Release notes](https://github.com/publiclab/PublicLab.Editor/releases) - [Commits](https://github.com/publiclab/PublicLab.Editor/commits/v2.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Codecov Report
@@ Coverage Diff @@
## main #8135 +/- ##
==========================================
- Coverage 82.17% 82.05% -0.13%
==========================================
Files 100 100
Lines 5772 5772
==========================================
- Hits 4743 4736 -7
- Misses 1029 1036 +7
|
|
Ok folks! Let's see what happened. It's possible we broke one of the assumptions the editor makes for the integration by plots2. @Shreyaa-sharmaa @Shulammite-Aso @keshav234156 @NitinBhasneria publiclab/PublicLab.Editor#555 |
|
Yes, check the system tests here! Perhaps we have to issue a patch level update to fix this before we can merge here? |
|
Ah, it actually looks like we have a few errors, but small ones! https://travis-ci.com/github/publiclab/plots2/jobs/360140901#L3166 is the one above, to do with the Then we have a couple others, at https://travis-ci.com/github/publiclab/plots2/jobs/360140901#L3255-L3276 and and These last 3 actually all look like separate instances of the same. Something has happened to make No worries, this is a big release and I'm sure we'll iron it out! 🎉 |
|
I have checked this error manually in my system and all the error are from the class |
|
Checked my PRs and none of them had any change to this class. Any lead on the first error mentioned, the one about files? I'm trying to dig into this too. But no success so far. |
|
Went through most of the PRs that have merged in the past 2 months but none of them had any changes related to this class. @NitinBhasneria can you check this PR publiclab/PublicLab.Editor#437 with the first error. This is the only one that connects to the classes/parts included in the first error though I couldn't figure out how or why it would cause this. Please also have a look at any other PR you've made for changes in the file drag and drop. |
|
@jywarren @sagarpreet-chadha while releasing the changes of |
sagarpreet-chadha
left a comment
There was a problem hiding this comment.
Can you check if puppeteer is direct dependency in PL editor or not. Thanks 😄
| rimraf "^2.6.1" | ||
| ws "^6.1.0" | ||
|
|
||
| puppeteer@^2.1.0: |
There was a problem hiding this comment.
This should not come.
Have we not added puppeteer as dev dependency in package.json of PL editor?
There was a problem hiding this comment.
puppeteer is added as a dependency and package.json was updated.
There was a problem hiding this comment.
It should be dev dependency and not direct dependency.
There was a problem hiding this comment.
I'll update it and open a new PR.
|
Hey Nitin, |
|
Also from the new version number, it seems that it is a minor change...so ideally there should be backward compatibility of code, so that it does not break anything if library gets auto upgraded due to use of I hope this clears your doubt! Thanks :) |
Yea, I guess this may be the reason of the test fail then, @jywarren can you confirm. Thanks @sagarpreet-chadha |
|
OK, i agree with @sagarpreet-chadha that we should try to avoid requiring changes to downstream users like But if it's an important structural change, we can probably just add very clear guidance to our release notes indicating a breaking change. It's just something we'd like to avoid as a matter of principle unless we are really planning ahead with a collection of breaking changes and have decided it's worth releasing a major version Thanks for all the careful research here! Let's prioritize this so we can get this merged and published! Thanks, all! |
|
Agreed! 👍 💯 |
These are the points of difference:
|
|
Looks like there are major changes in the new version, we need to make these changes in this PR. |
@NitinBhasneria can you try making these changes locally and check if it works? I've tried but I'm running into a lot of errors in different files. Meanwhile, I'll try resolving them. Thanks! |
Yea, when making the changes of plots2/app/views/editor/rich.html.erb Line 70 in 92834ea this line is removed in index.html. Other than this everything is fine. |
|
Hi @NitinBhasneria that's great, can you open a PR to prove this out? And, ideally, we should try to fix this in the Editor, not in plots2, because it's the Editor that introduced a breaking change to a convention that But as this is really getting delayed, I would be happy to accept a PR for either or both solutions. Thank you! |
|
Yes @NitinBhasneria , let's prioritize this first 💯 |
|
In PL editor, I don't think we can remove a published version from NPM. In the repository itself we should mark the latest release as UNSTABLE or have BREAKING CHANGES. |
|
hey all, I have tried this PR locally on my system. Now, of course, the way to do it is to replace the main image module in So, there are two ways to do it now:
@jywarren @sagarpreet-chadha have a look and decide the procedure. |
|
I think this is a perfect example of a good reason to patch upstream, in the Editor. The new additional requirement we accidentally introduced of a
So we first check for the @NitinBhasneria can you add that line? It's just wrapping this in a conditional to check it exists: Thank you! Great investigating! Let's aim to avoid introducing new breaking requirements in the next release, but this is a great exercise for dealing with downstream expectations! Thanks, all! 🎉 |
Yea, I will make a PR for the same. Thanks |
|
Hey @NitinBhasneria , a small change in that PR, then let's merge that and @jywarren will release the patch version (maybe on Tuesday). Thanks, great work 🎉 💯 |
|
OK, noting the issue was solved by @NitinBhasneria here: publiclab/PublicLab.Editor#587 Bumping editor to v2.1.1 here: publiclab/PublicLab.Editor#588 by @sagarpreet-chadha - excellent We should see Dependabot open a new PR once that's published! |
|
cc @publiclab/editor team! We should link the new PR to here to maintain continuity, but this one will close! |
|
Publishing |
|
Superseded by #8285. |

Bumps publiclab-editor from 2.0.6 to 2.1.0.
Release notes
Sourced from publiclab-editor's releases.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readmeAdditionally, you can set the following in the
.dependabot/config.ymlfile in this repo: