on master help sign in
Add note about toText bug
cc345bcevancz
elm/changelog.txt+5−13
@@ -2,14 +2,14 @@
2Release 0.3.6
2Release 0.3.6
3=============
3=============
4
4
5−* Add JSON support.
5+* Add JSON library.
6
6
7* Type-error messages improved. Gives better context for error, making them
7* Type-error messages improved. Gives better context for error, making them
8 easier to find. Better messages for runtime errors as well (errors that
8 easier to find. Better messages for runtime errors as well (errors that
9 the type checker cannot find yet).
9 the type checker cannot find yet).
10
10
11* Add Comparable super-type which allows the comparision of any values
11* Add Comparable super-type which allows the comparision of any values
12− of type {Int,Float,Char,String}.
12+ of type {Int,Float,Char,String}. Now possible to make Set and Map libraries.
13
13
14* Parser now handles decimal numbers.
14* Parser now handles decimal numbers.
15
15
@@ -24,20 +24,12 @@ Release 0.3.6
24 a bit more readable/natural.
24 a bit more readable/natural.
25
25
26* Bug fixes:
26* Bug fixes:
27+ - The `toText` function did not escape strings properly
27− - Correct castJSTupleToTupleN
28+ - Correct `castJSTupleToTupleN` family of functions
28− - foldr1 took the leftmost element as the base case instead of the rightmost
29+ - `foldr1` took the leftmost element as the base case instead of the rightmost
29 - Fix minor display issue in latest version of Chrome.
30 - Fix minor display issue in latest version of Chrome.
30 - Fix behavior of [ lo .. hi ] syntax (now [4..0] == [], not [0]).
31 - Fix behavior of [ lo .. hi ] syntax (now [4..0] == [], not [0]).
31
32
32−+ Part of adding decimal numbers is a move towards more sensible types for
33− numbers (i.e. integers and floats). This may cause errors in code that was
34− previously correct. I believe any broken code can pass type checking by
35− replacing all uses of (/) with `div`. I apologize for any pain this causes,
36− but I think it is for the best. I think the main issues will come from
37− functions like `size` and `width` which require integer arguments.
38− Some new functions have been added to make conversions between ints and
39− floats easier (detailed in next section).
40−
41
33
42
34
43Release 0.3.5
35Release 0.3.5