UNPKG

6.16 kBMarkdownView Raw
1## Release History
2
3- **0.6.0** — *2015-06-19* — Minor but major release!
4 - added `jsc.utils.isApproxEqual`
5- **0.6.0-beta.2** — *2015-05-31* — Beta!
6 - Fix issue [#113](https://github.com/jsverify/jsverify/issues/113) - Shrink of tuple with arrays failed.
7- **0.6.0-beta.1** — *2015-05-04* — Beta!
8 - FAQ section
9 - Improved `smap` documentation
10 - `flatmap` is also `flatMap`
11 - Fix function arbitrary
12 - `small` arbitraries
13 - `jsc.generator.record`
14 - Thanks to @peterjoel for reporting issues
15- **0.6.0-alpha.6** — *2015-04-25* — Fix issues #98
16 - Documentation imporovements
17 - Fix issue [#98](https://github.com/jsverify/jsverify/issues/98) - error while generating `int32` values
18- **0.6.0-alpha.5** — *2015-04-23* — Fix issue #99
19 - Documentation improvements
20 - Fix issue #99 (`suchthat` shrink)
21- **0.6.0-alpha.4** — *2015-04-26* — Fix issue #87
22 - jsc.property didn't fail with asynchronous properties
23 - thanks @Ezku for reporting
24- **0.6.0-alpha.3** — *2015-04-24* — promise shrink fixed
25- **0.6.0-alpha.2** — *2015-04-24* — jsc.bless
26 - Added `jsc.bless`
27- **0.6.0-alpha.1** — *2015-04-22* — Preview
28 - Using lazy sequences for shrink results
29 - *Breaking changes:*
30 - `jsc.map` renamed to `jsc.dict`
31 - `jsc.value` removed, use `jsc.json`
32 - `jsc.string()` removed, use `jsc.string`
33 - `shrink.isomap` renamed to `shrink.smap`
34- **0.5.3** — *2015-04-21* — More algebra
35 - `unit` and `either` arbitraries
36 - `arbitrary.smap` to help creating compound data
37- **0.5.2** — *2015-04-10* — `show.def` -change
38- **0.5.1** — *2015-02-19* — Dependencies bump
39 - We also work on 0.12 and iojs!
40- **0.5.0** — *2014-12-24* — Merry Chrismas 2014!
41 - Documention cleanup
42- **0.5.0-beta.2** — *2014-12-21* — Beta 2!
43 - Pair & tuple related code cleanup
44 - Update `CONTRIBUTING.md`
45 - Small documentation type fixes
46 - Bless `jsc.elements` shrink
47- **0.5.0-beta.1** — *2014-12-20* — Beta!
48 - `bless` don't close over (uses `this`)
49 - Cleanup generator module
50 - Other code cleanup here and there
51- **0.4.6** — *2014-11-30* — better shrinks & recursive
52 - Implemented shrinks: [#51](https://github.com/jsverify/jsverify/issues/51)
53 - `jsc.generator.recursive`: [#37](https://github.com/jsverify/jsverify/issues/37)
54 - array, nearray & map generators return a bit smaller results (*log2* of size)
55- **0.4.5** — *2014-11-22* — stuff
56 - `generator.combine` & `.flatmap`
57 - `nat`, `integer`, `number` & and `string` act as objects too
58- **0.4.4** — *2014-11-22* — new generators
59 - New generators: `nearray`, `nestring`
60 - `generator.constant`
61 - zero-ary `jsc.property` (it ∘ assert)
62 - `jsc.sampler`
63- **0.4.3** — *2014-11-08* — jsc.property
64 - Now you can write your bdd specs without any boilerplate
65 - support for nat-litearls in dsl [#36](https://github.com/jsverify/jsverify/issues/36)
66 ```js
67 describe("Math.abs", function () {
68 jsc.property("result is non-negative", "integer 100", function (x) {
69 return Math.abs(x) >= 0;
70 });
71 });
72 ```
73 - Falsy generator [#42](https://github.com/jsverify/jsverify/issues/42)
74- **0.4.2** — *2014-11-03* — User environments for DSL
75 - User environments for DSL
76 - Generator prototype `map`, and shrink prototype `isomap`
77 - JSON generator works with larger sizes
78- **0.4.1** Move to own organization in GitHub
79- **0.4.0** — *2014-10-27* — typify-dsl & more arbitraries.
80 Changes from **0.3.6**:
81 - DSL for `forall` and `suchthat`
82 - new primitive arbitraries
83 - `oneof` behaves as in QuickCheck (BREAKING CHANGE)
84 - `elements` is new name of old `oneof`
85 - Other smaller stuff under the hood
86- **0.4.0**-beta.4 generator.oneof
87- **0.4.0**-beta.3 Expose shrink and show modules
88- **0.4.0**-beta.2 Move everything around
89 - Better looking README.md!
90- **0.4.0**-beta.1 Beta!
91 - Dev Dependencies update
92- **0.4.0**-alpha8 oneof & record -dsl support
93 - also `jsc.compile`
94 - record is shrinkable!
95- **0.4.0**-alpha7 oneof & record
96 - *oneof* and *record* generator combinators ([@fson](https://github.com/fson))
97 - Fixed uint\* generators
98 - Default test size increased to 10
99 - Numeric generators with size specified are independent of test size ([#20](https://github.com/phadej/jsverify/issues/20))
100- **0.4.0**-alpha6 more primitives
101 - int8, int16, int32, uint8, uint16, uint32
102 - char, asciichar and asciistring
103 - value → json
104 - use eslint
105- **0.4.0**-alpha5 move david to be devDependency
106- **0.4.0**-alpha4 more typify
107 - `suchchat` supports typify dsl
108 - `oneof` → `elements` to be in line with QuickCheck
109 - Added versions of examples using typify dsl
110- **0.4.0**-alpha3 David, npm-freeze and jscs
111- **0.4.0**-alpha2 Fix typo in readme
112- **0.4.0**-alpha1 typify
113 - DSL for `forall`
114 ```js
115 var bool_fn_applied_thrice = jsc.forall("bool -> bool", "bool", check);
116 ```
117
118 - generator arguments, which are functions are evaluated. One can now write:
119 ```js
120 jsc.forall(jsc.nat, check) // previously had to be jsc.nat()
121 ```
122
123- **0.3.6** map generator
124- **0.3.5** Fix forgotten rngState in console output
125- **0.3.4** Dependencies update
126- **0.3.3** Dependencies update
127- **0.3.2** `fun` → `fn`
128- **0.3.1** Documentation typo fixes
129- **0.3.0** Major changes
130 - random generate state handling
131 - `--jsverifyRngState` parameter value used when run on node
132 - karma tests
133 - use make
134 - dependencies update
135- **0.2.0** Use browserify
136- **0.1.4** Mocha test suite
137 - major cleanup
138- **0.1.3** gen.show and exception catching
139- **0.1.2** Added jsc.assert
140- **0.1.1** Use grunt-literate
141- **0.1.0** Usable library
142- **0.0.2** Documented preview
143- **0.0.1** Initial preview