jakejs / jake

JavaScript build tool, similar to Make or Rake. Built to work with Node.js.
http://jakejs.com
Apache License 2.0
1.97k stars 190 forks source link

Changelog #363

Closed jacobweber closed 4 years ago

jacobweber commented 4 years ago

Hi. Is there a list of what's changed in recent versions? The changelog.md file doesn't have anything since 0.7.

mde commented 4 years ago

There's a major version bump. I moved it to 10, since there's a lot that is different. I'll update the changelog ASAP.

mde commented 4 years ago

I've updated the changelog on master: https://github.com/jakejs/jake/blob/master/changelog.md

The basic gist of it is, I've added support for generic exported functions as tasks in Jakefile, and an experimental series function for composing tasks:

async function foo() {}
async function bar() {}

exports.foo = foo;
exports.baz = series(foo, bar);

I'll be updating docs as I have time, but I would love some help if anybody's interested. :)

jacobweber commented 4 years ago

Cool, thanks!

esamattis commented 4 years ago

I'd recommend to use use np for releases. It automatically does tags and npm publish but must importantly it will open the Github release form with prefilled list of commits in that release which is very easy to clean up for more human readable changelog.

Here's an example of immer-reducer releases page https://github.com/esamattis/immer-reducer/releases

mde commented 4 years ago

This looks great. However NP seems to have a lot of overlap with Jake's PublishTask, which is what I have used since the very early days of Jake to manage releases.

This looks like a great opportunity to integrate it with GitHub's API, and just create releases automatically.

jacobweber commented 4 years ago

Hi again. Looks like it's getting a little out of date. For example, I'm noticing a new setTaskTimeout function that doesn't seem to be documented, somewhere version 10.0.6 and the current version.