UNPKG

4.12 kBMarkdownView Raw
1# 1.2.1
2- fix version
3
4# 1.2.0
5- add `List.remove`
6- build with LiveScript 1.6.0
7- update dependencies
8- remove coverage calculation
9
10# 1.1.2
11- add `Func.memoize`
12- fix `zip-all` and `zip-with-all` corner case (no input)
13- build with LiveScript 1.4.0
14
15# 1.1.1
16- curry `unique-by`, `minimum-by`
17
18# 1.1.0
19- added `List` functions: `maximum-by`, `minimum-by`, `unique-by`
20- added `List` functions: `at`, `elem-index`, `elem-indices`, `find-index`, `find-indices`
21- added `Str` functions: `capitalize`, `camelize`, `dasherize`
22- added `Func` function: `over` - eg. ``same-length = (==) `over` (.length)``
23- exported `Str.repeat` through main `prelude` object
24- fixed definition of `foldr` and `foldr1`, the new correct definition is backwards incompatible with the old, incorrect one
25- fixed issue with `fix`
26- improved code coverage
27
28# 1.0.3
29- build browser versions
30
31# 1.0.2
32- bug fix for `flatten` - slight change with bug fix, flattens arrays only, not array-like objects
33
34# 1.0.1
35- bug fixes for `drop-while` and `take-while`
36
37# 1.0.0
38* massive update - separated functions into separate modules
39* functions do not accept multiple types anymore - use different versions in their respective modules in some cases (eg. `Obj.map`), or use `chars` or `values` in other cases to transform into a list
40* objects are no longer transformed into functions, simply use `(obj.)` in LiveScript to do that
41* browser version now using browserify - use `prelude = require('prelude-ls')`
42* added `compact`, `split`, `flatten`, `difference`, `intersection`, `union`, `count-by`, `group-by`, `chars`, `unchars`, `apply`
43* added `lists-to-obj` which takes a list of keys and list of values and zips them up into an object, and the converse `obj-to-lists`
44* added `pairs-to-obj` which takes a list of pairs (2 element lists) and creates an object, and the converse `obj-to-pairs`
45* removed `cons`, `append` - use the concat operator
46* removed `compose` - use the compose operator
47* removed `obj-to-func` - use partially applied access (eg. `(obj.)`)
48* removed `length` - use `(.length)`
49* `sort-by` renamed to `sort-with`
50* added new `sort-by`
51* removed `compare` - just use the new `sort-by`
52* `break-it` renamed `break-list`, (`Str.break-str` for the string version)
53* added `Str.repeat` which creates a new string by repeating the input n times
54* `unfold` as alias to `unfoldr` is no longer used
55* fixed up style and compiled with LiveScript 1.1.1
56* use Make instead of Slake
57* greatly improved tests
58
59# 0.6.0
60* fixed various bugs
61* added `fix`, a fixpoint (Y combinator) for anonymous recursive functions
62* added `unfoldr` (alias `unfold`)
63* calling `replicate` with a string now returns a list of strings
64* removed `partial`, just use native partial application in LiveScript using the `_` placeholder, or currying
65* added `sort`, `sortBy`, and `compare`
66
67# 0.5.0
68* removed `lookup` - use (.prop)
69* removed `call` - use (.func arg1, arg2)
70* removed `pluck` - use map (.prop), xs
71* fixed buys wtih `head` and `last`
72* added non-minifed browser version, as `prelude-browser.js`
73* renamed `prelude-min.js` to `prelude-browser-min.js`
74* renamed `zip` to `zipAll`
75* renamed `zipWith` to `zipAllWith`
76* added `zip`, a curried zip that takes only two arguments
77* added `zipWith`, a curried zipWith that takes only two arguments
78
79# 0.4.0
80* added `parition` function
81* added `curry` function
82* removed `elem` function (use `in`)
83* removed `notElem` function (use `not in`)
84
85# 0.3.0
86* added `listToObject`
87* added `unique`
88* added `objToFunc`
89* added support for using strings in map and the like
90* added support for using objects in map and the like
91* added ability to use objects instead of functions in certain cases
92* removed `error` (just use throw)
93* added `tau` constant
94* added `join`
95* added `values`
96* added `keys`
97* added `partial`
98* renamed `log` to `ln`
99* added alias to `head`: `first`
100* added `installPrelude` helper
101
102# 0.2.0
103* removed functions that simply warp operators as you can now use operators as functions in LiveScript
104* `min/max` are now curried and take only 2 arguments
105* added `call`
106
107# 0.1.0
108* initial public release