Hi, folks! It seems like this repo is still pretty active, but I notice there hasn't been an official release for over a year. Are there plans for future releases, or are they totally on hold? Any info would be appreciated. Thank you!
Hey Helen, I'll follow up internally at Facebook to see who's handling releases of Draft.js these days. I think Flarnie was going to work on this, but she's no longer at Facebook.
Hi @helenanderson, thanks for bringing up this question. We are planning to publish a release in the coming weeks. Currently we Draft.js maintainers at Facebook are volunteering our spare time to respond to critical issues and keep the project alive, and may not be able to move as fast as we would like. Thanks for understanding!
@Daniel15 @claudiopro Thanks for following up on this! I'll keep an eye out for the new release. Appreciate your time :)
Following up, I made some time to publish the current master as 0.11.0-beta with tag next on npm: https://www.npmjs.com/package/draft-js/v/0.11.0-beta
Please install with yarn add draft-js@next or npm install --save draft-js@next and try it out! Let us know of any issues or comments here on the repo 馃槃
Thank you @claudiopro. You mentioned that you are using your spare time to respond to critical issues and keep the project alive. Is it no longer being used by FB?
@carlosagsmendes It's still used a lot at Facebook - the comments box and "Notes" feature on the Facebook site both use it, as well as a lot of internal tools (we have heavily-used internal task management, note taking, and performance review tools that all use it). However I think not a lot of work is being done on it, as it already has most of the features that those use cases require.
@Daniel15 Thank you for the answer. Btw, does Facebook plan to use DraftJS on mobile devices?
There was an attempt at using DraftJS on the mobile site, but if I remember correctly there were several issues/bugs with contentEditable on Android, so that was rolled back. I'm not sure whether there's any plans for mobile at the moment.
@steida there is some work being done to make draft-js work on mobile at https://github.com/facebook/draft-js/pull/2035, any help testing that PR is really appreciated.
@Daniel15 any internal help from Facebook on moving that PR forward to getting merged is also super appreciated. It feels super solid on Android at this point, but as said before, any further help testing it would be highly appreciated.
Bumping this issue up for visibility, I'm pretty happy by the lack of negative feedback on v0.11.0-beta besides known issues with the deprecation of DraftEntity regressing from the previous v0.11.0-alpha branch (#2038, #2043), and broken flow types in master addressed with #2027.
As things stand, we are planning to release v0.11.0 in mid April. Stay tuned for an announcement!
@claudiopro it's a bit hard to meaningfully review the changes between v0.10.5 and the latest v0.11 beta since there's been so many commits (225 if I counted this right). Could you share a changelog / release notes for v0.11, so we know what to test exactly?
In particular it would be nice to have breaking changes highlighted (if any?). A lot of third-party Draft.js projects declare a peer dependency on draft-js@^0.10.5, so v0.11 would be outside of this range and those projects will need to upgrade at least their peerDependency requirements, hopefully being able to support both 0.10 and 0.11.
Sure @thibaudcolas, we are going to keep the community informed about new features, breaking changes, and fixes as usual. Please track the changes in #2052.
@claudiopro I know you mentioned a planned v0.11.0 release for mid-April. I'm guessing those plans have changed a bit. Is there a new expected time for a v0.11.0 release?
We're going through end of half review and planning for the next half. I'm waiting for the other maintainers to complete their H2 planning to understand what's our firepower to keep the project healthy and manage the OSS community.
I could make time to work on it alone if things stand like they were this half and tentatively set a date for early September.
The main blocker for us was a problematic upgrade of internal FB code to use the refactored convertFromHTMLToContentBlocks utility. My current attack plan is:
convertFromHTMLToContentBlocks by renaming it to convertFromHTMLToContentBlocks_DEPRECATED (landed this week with https://github.com/facebook/draft-js/commit/ceaeebf1f50fee452d92d71c5e2008e3d4fb6d9f). This is an intentional breaking change to prompt consumers of code in master to make a deliberate effort to upgrade and report any issues with the new converter.convertFromHTMLToContentBlocks2 and iron out any blockers found.convertFromHTMLToContentBlocks2 to convertFromHTMLToContentBlocks and ship it with v0.11.0Good news y'all, all steps outlined earlier have been successful. I'm about to publish 0.11.0 to the npm registry 馃帀
@claudiopro Can we close this issue now that 0.11.0 is out? Thanks for all your hard work 馃槂
Thanks for publishing on npm!
Just noticed there's no tag set in git and also no entry on the GitHub releases page. Would be great to have that, too :-)
@Daniel15 I guess so? Unless we want to keep it open for... future releases 馃榿
@sbusch I'm pretty sure that yarn version created a v0.11.0 tag on my local copy, let me check how to publish to GH. For the releases page, I'm clueless 馃槄 @flarnie how did you update it?
@sbusch okay that was easy:
$ git push origin --tags
Okay nevermind, figured that too 馃槄 I'll update the releases adding a detailed changelog over the next few days. I'll close this issue now, thank you all for supporting the v0.11.0 release 馃帀
Most helpful comment
Following up, I made some time to publish the current master as
0.11.0-betawith tagnexton npm: https://www.npmjs.com/package/draft-js/v/0.11.0-betaPlease install with
yarn add draft-js@nextornpm install --save draft-js@nextand try it out! Let us know of any issues or comments here on the repo 馃槃