Skip to content
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

[CS2] 2.0.0-beta1 #4499

Merged
merged 3 commits into from
Apr 13, 2017
Merged

[CS2] 2.0.0-beta1 #4499

merged 3 commits into from
Apr 13, 2017

Conversation

GeoffreyBooth
Copy link
Collaborator

Following up #4494, here’s a possible release of 2.0.0-beta1. In this PR:

  • I noticed that I forgot to swap out Marked for Markdown-It in the browser build (that includes the Markdown-It minified .js file as part of its build) so this has been fixed.
  • 1.12.5’s updates have been merged into 2.

The browser build is unminified. This isn’t intentional; the Closure Compiler chokes on our latest build. I suspect it’s because it doesn’t fully support ES destructuring syntax, and that’s an ES feature we use rather extensively in the compiler codebase.

So I guess our options are to either release it unminified, at least until Closure Compiler supports whatever is causing it to choke; find yet another minifier; or add a Babel transpilation step before minification. I’m loathe to add Babel; what do you all think? I’m hoping that maybe an unminified browser compiler is fine for the 2.0.0 beta releases, and hopefully Closure Compiler will be patched before we release 2.0.0 out of beta.

The other consideration worth discussing is whether we should wait until #4493 is merged in before releasing this. I’m leaning toward releasing beta1 now and beta2 when #4493 is ready. Any thoughts?

@GeoffreyBooth GeoffreyBooth added this to the 2.0.0 milestone Apr 13, 2017
@GeoffreyBooth GeoffreyBooth requested a review from lydell April 13, 2017 03:58
@lydell
Copy link
Collaborator

lydell commented Apr 13, 2017

Did you accidentally submit this PR against master instead of 2?

@GeoffreyBooth GeoffreyBooth changed the base branch from master to 2 April 13, 2017 05:22
@GeoffreyBooth
Copy link
Collaborator Author

This is why I need you.

@lydell
Copy link
Collaborator

lydell commented Apr 13, 2017

I couldn't find the change log from alpha1 to beta1?

@GeoffreyBooth
Copy link
Collaborator Author

https://rawgit.com/GeoffreyBooth/coffeescript/2.0.0-beta1/docs/v2/

I put 1.12.5 between 2.0.0-alpha1 and beta1 to imply that beta1 includes the changes from 1.12.5. I think it’s clear enough?

Copy link
Collaborator

@lydell lydell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jashkenas
Copy link
Owner

No Babel addition, please — and it's fine to leave unminified temporarily, but it would be lovely to find a minifier that works for these sorts of things.

@GeoffreyBooth
Copy link
Collaborator Author

@jashkenas Agreed, though remember that we switched from Uglify to Closure because Uglify didn’t support ES2015. Hopefully the Closure team fixes the issue before we release 2.0.0, or I guess the next best option is Babili.

@GeoffreyBooth GeoffreyBooth merged commit db216ec into jashkenas:2 Apr 13, 2017
@GeoffreyBooth GeoffreyBooth deleted the 2.0.0-beta1 branch April 14, 2017 03:28
@GeoffreyBooth GeoffreyBooth mentioned this pull request Apr 19, 2017
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants