baconjs / bacon.js

Functional reactive programming library for TypeScript and JavaScript
https://baconjs.github.io
MIT License
6.47k stars 330 forks source link

Semantic versioning #53

Closed raimohanska closed 11 years ago

raimohanska commented 11 years ago

Current release is 0.0.10.

I guess we should be nearer to 1.0.

Should we say we are at 0.9.0?

You tell me.

RoboTeddy commented 11 years ago

FWIW, I've been using Bacon pretty extensively and I haven't noticed a single bug.

lautis commented 11 years ago

1.0 sounds good. A jump to 0.9.0 would be a slightly confusing break from semantic versioning, but could work as RC for 1.0.0.

Is there any features that you'd like to get in 1.0.0? Remove switch as alias for flatMapLatest?

raimohanska commented 11 years ago

For 1.0 I propose the following.

1) drop the aliases switch and do as they are reserved words. 2) drop latestValue because it's a kludge. if someone needs that, it's easy to implement to the app's codebase 3) drop distinctUntilChanged. It's an alias for skipDuplicate, which on my opinion is a way better name. 4) drop decorateWith (never used it) 5) add skipWhile, skipUntil as logical counterparts to takeWhile and takeUntil (?)

How does this sound?

lautis commented 11 years ago

:+1:. Not sure how useful skipWhile and skipUntil are, but they would provide orthogonality to API and implementation should be straightforward.

raimohanska commented 11 years ago

Dropped those bastards in 0.1.0.

API changes described in the Google Group: https://groups.google.com/forum/?fromgroups=#!topic/baconjs/iZGuZmVQmfw

Maybe won't bother implementing skipWhile, skipUntil, as nobody's actually requested them.