We recently upgraded from 4.2 with patches to 4.4: #2039163: Update CKEditor library to 4.4.

4.4.4 has been released already: http://ckeditor.com/blog/CKEditor-4.4.4-Released.

No significant changes though, only bugfixes. It's not at all urgent to update, though we probably want to do that before beta 1, and of course definitely before RC.

See also:

CommentFileSizeAuthor
#16 ckeditor_4.4.4-2271051-16.patch2.95 MBWim Leers
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Issue summary: View changes
catch’s picture

Priority: Normal » Critical
Status: Postponed » Active
Issue tags: -revisit before beta, -revisit before release candidate +beta target
Parent issue: » #2203431: [meta] Various asset (JavaScript) libraries have to be updated to a (minified) stable release prior to 8.0.0
Wim Leers’s picture

@catch: s/revisit before beta/beta target/ is fine, but I think we do want to keep "revisit before release candidate", because just before we tag an RC, we'll want to decide what version we'll ship in 8.0.0?

Also, the CKEditor library in core is a stable version, there's only been a single point release with bugfixes, so I'm not sure why this needs to be critical? We could ship Drupal 8 with the current CKEditor version without any problems! :)
I think it's just to have all the "upgrade library" child issues consistent in terms of priority?

catch’s picture

@Wim if it's critical then we have to revisit it before release.

Personally I think we should aim to be on the latest stable release of all external libraries before RC, that gives us a chance to iron out any regressions the might introduce before cutting 8.0.0 instead of afterwards - with no js testing at all that's a big difference. There might be further upgrades after that, but starting the release with a clean slate at least means we don't have them hanging over our heads.

Wim Leers’s picture

Ok — thanks for the clarification :)

TJacksonVA’s picture

If we're going to do this, CKEditor just released (June 24, 2014) another point upgrade with bug fixes. The current release is 4.4.2. Here is a list of the bug fixes:

http://ckeditor.com/release/CKEditor-4.4.2

Wim Leers’s picture

Title: Update CKEditor library to 4.4.1 » Update CKEditor library to 4.4.2
Issue summary: View changes

#6: yep, this issue exists to ensure we do this before shipping the RC, but they'll continue to update in the mean time; we don't need to update to every minor version right now :)

Thanks for reporting this though!

cosmicdreams’s picture

Title: Update CKEditor library to 4.4.2 » Update CKEditor library to latest stable before RC

Changing the title to reflect that intent. Should we postpone as well?

Wim Leers’s picture

Issue summary: View changes

4.4.3 has been released now. It contains a security fix for the Preview plugin, which we don't use, so it doesn't affect us.

#8: We could; I'm not sure what's best. It's possible that one of the minor updates contains a compelling reason to update sooner, but for now, that's not the case.

Wim Leers’s picture

Title: Update CKEditor library to latest stable before RC » Update CKEditor library to 4.4.4

The CKEditor team reported at #2292035-10: CKEditor uses the automatically generated ID attribute for the body field in the ARIA label that an upstream bug has been fixed to fix an accessibility problem, and this will be available in CKEditor 4.4. Hence now we do have a good reason to update CKEditor, so we should, as soon as CKEditor 4.4.4 is available (which will be next week — see http://dev.ckeditor.com/query?group=status&milestone=CKEditor+4.4.4).

I've created a new issue to capture the next update: #2321583: Update CKEditor library to 4.5.5.

TJacksonVA’s picture

Sounds good, since moving to CKEditor 4.4.4 from 4.4.0 will give us a security fix, 3 new features and around 75 bug fixes. It's not a beta blocker, but it would be nice to get it in before beta 1.

They plan on releasing CKEditor 4.5 in the fall, so we could do the betas with the 4.4.x line, and then upgrade to the 4.5.x line before the RC.

Wim Leers’s picture

#11: Indeed, to all of what you said :)

Wim Leers’s picture

Priority: Critical » Major

I think we only want #2321583: Update CKEditor library to 4.5.5 to be critical.

TJacksonVA’s picture

CKEditor released CKEditor 4.4.4 today. It would be great if we could get this in before beta 1.

Wim Leers’s picture

Issue summary: View changes
Issue tags: +sprint
Wim Leers’s picture

Status: Active » Needs review
FileSize
2.95 MB

Slight changes to core/assets/vendor/ckeditor/build-config.js (which is used to create Drupal 8's build of CKEditor), because CKEditor has made some additions to its repository for development, that we don't need to ship with Drupal 8. The changes are made in such a way that if you diff CKEditor's default build-config.js with that of Drupal 8, the changes are minimal.

Other than that minor and necessary change, this is simply a new build of the latest stable release of CKEditor (less than 24 hours young!), that will allow us to fix #2292035: CKEditor uses the automatically generated ID attribute for the body field in the ARIA label.

Wim Leers’s picture

Issue tags: +JavaScript
cosmicdreams’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 36c0354 and pushed to 8.0.x. Thanks!

  • alexpott committed 36c0354 on 8.0.x
    Issue #2271051 by Wim Leers: Update CKEditor library to 4.4.4.
    
Wim Leers’s picture

Issue tags: -sprint

That went fast! Thanks, cosmicdreams and alexpott! :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.