You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
4.0 KiB

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