Skip to content

CS2 Discussion: Project: Progress as of September 2017: Release candidate! 2.0.0-beta5 #4981

@coffeescriptbot

Description

@coffeescriptbot

From @GeoffreyBooth on 2017-09-02 22:02

Hey everyone,

CoffeeScript 2.0.0-beta5 is released, and it is the first (and hopefully only) release candidate for 2.0.0! Install it via: npm install coffeescript@next

It is an entirely bugfix release, and it could’ve been released as 2.0.0 but I thought it would be best to release it instead as our hopefully last beta because of the sheer number of pull requests that have gone into it. You can see the full changelog and list of PRs here, but the short version is that about two dozen pull requests have been merged in since 2.0.0-beta4, fixing all the bugs reported since that release as well as many older ones, some of which were years old. All of the bugs tagged priority have now been fixed, and of the open issues on the coffeescript repo, only 13 are bugs. I’d love to get that number down to zero, if anyone would like to help!

None of these remaining bugs are showstoppers that will hold up a 2.0.0 release, however, so if 2.0.0-beta5 is stable and no one reports any significant bugs in it, I want to release it as 2.0.0 as soon as possible. So to that end, I would like to ask everyone involved in this repo@rattrayalex, @JimPanic, @kirly-af, @ryansolid, @CliffS, @mikeyhew, @shreeve, @bd82, @edemaine, @greghuc, @svicalifornia, @YamiOdymel, @mrmowgli, @celicoo, @connec, @mitar, @kingdaro, @za-creature, @snowyu, @Alhadis, @vpj, @Inve1951, @Asc2011, @carlmathisen, @markwatne, @dadleyy, @objectkit, @aurium, @carlsmith, @DomVinyard, @nickdima, @tdsfugal, @danielbayley, @alangpierce, @triskweline, @ozjd, @zeekay, @zdenko, @lydell, @jashkenas—now is the time: please try your projects with 2.0.0-beta5! Please test it out in the next week, so that we can hopefully launch 2.0.0 in mid-September. Here’s how to test with it, no matter what build chain (Webpack, Gulp, Grunt, Browserify/Coffeeify, Meteor, whatever) you’re using:

  1. Clone the CoffeeScript 2 branch to your machine: git clone -b 2 https://github.com/jashkenas/coffeescript.git
  2. Duplicate your current project, including its node_modules and other untracked folders, into a new temporary folder.
  3. Search through all your folders to find the coffeescript or coffee-script folder. It’s most likely inside a node_modules folder. If you’re using an older version of NPM, you may have many such folders; do the following for each one you find.
  4. Inside that coffeescript/coffee-script folder, you’ll see a lib folder, and then another folder named coffeescript or coffee-script, e.g. coffeescript/lib/coffeescript. Delete all the files in this folder, leaving the folder empty.
  5. From the cloned repo in step 1, copy the files from that repo’s lib/coffeescript folder into the lib/coffeescript/lib/coffee-script folder you just emptied.
  6. Make sure the Node on your machine is Node 8+, and then build your project as you normally would. The CoffeeScript compiler might throw new errors related to breaking changes, especially if you’re a heavy user of classes. See the breaking changes notes and fix accordingly.
  7. Once it builds successfully, run your project in Node 8+ or an evergreen browser such as Chrome latest. Hopefully everything should work as expected. If you want to check your project in older runtimes, transpile your output code via Babel and then try in your older browser or Node version.

Please report your findings on this thread, and please report bugs by opening an issue after checking the breaking changes. If we see enough positive reports below, especially from significant, real-world projects, that will inspire confidence that this is ready to release.

Honor roll for 2.0.0-beta5: @helixbass, @zdenko, @connec, @bendrexl and @GeoffreyBooth. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions