@@ -1,21 +1,24 @@
3−* `unsnoc` implemented
3+* Spec compliance: `toCaseFold` now follows the Unicode 9.0 spec
5* Bug fix: the lazy `takeWhileEnd` function violated the
6* Bug fix: the lazy `takeWhileEnd` function violated the
6− [lazy text invariant](https://github.com/bos/text/blob/1.2.3.0/Data/Text/Internal/Lazy.hs#L51).
7+ [lazy text invariant](https://github.com/bos/text/blob/1.2.3.0/Data/Text/Internal/Lazy.hs#L51)
8−* Spec compliance: `toCaseFold` now follows the Unicode 9.0 spec
11* Bug fix: Fixed usage of size hints causing incorrect behavior (gh-197).
10* Bug fix: Fixed usage of size hints causing incorrect behavior (gh-197).
13−* Improve UTF8 decoder error-recovery (gh-182).
12+* New function: `unsnoc` (gh-173).
15* Reduce memory overhead in `encodeUTF8` (gh-194).
14* Reduce memory overhead in `encodeUTF8` (gh-194).
16+* Improve UTF-8 decoder error-recovery (gh-182).
18+* Minor documentation improvements (`@since` annotations, more
19+ examples, clarifications).
18−1.2.2.2
21+#### 1.2.2.2
20* The `toTitle` function now correctly handles letters that
23* The `toTitle` function now correctly handles letters that
21 immediately follow punctuation. Before, `"there's"` would turn into
24 immediately follow punctuation. Before, `"there's"` would turn into
@@ -32,7 +35,7 @@
33* Bug fix: a logic error in `takeWord16` is fixed.
36* Bug fix: a logic error in `takeWord16` is fixed.
35−1.2.2.1
38+#### 1.2.2.1
37* The switch to `integer-pure` in 1.2.2.0 was apparently mistaken.
40* The switch to `integer-pure` in 1.2.2.0 was apparently mistaken.
38 The build flag has been renamed accordingly. Your army of diligent
41 The build flag has been renamed accordingly. Your army of diligent
@@ -43,7 +46,7 @@
44* An STG lint error has been fixed
47* An STG lint error has been fixed
48* The `integer-simple` package, upon which this package optionally
51* The `integer-simple` package, upon which this package optionally
49 depended, has been replaced with `integer-pure`. The build flag has
52 depended, has been replaced with `integer-pure`. The build flag has
@@ -59,7 +62,7 @@
59 * if `base` >= 4.7: `PrintfArg`
62 * if `base` >= 4.7: `PrintfArg`
60 * if `base` >= 4.9: `Semigroup`
63 * if `base` >= 4.9: `Semigroup`
62−1.2.1.3
65+#### 1.2.1.3
64* Bug fix: As it turns out, moving the literal rewrite rules to simplifier
67* Bug fix: As it turns out, moving the literal rewrite rules to simplifier
65 phase 2 does not prevent competition with the `unpack` rule, which is
68 phase 2 does not prevent competition with the `unpack` rule, which is
@@ -67,7 +70,7 @@
67 test environment mistake. Moving literal rules back to phase 1 finally
70 test environment mistake. Moving literal rules back to phase 1 finally
68 fixes GHC Trac #10528 correctly.
71 fixes GHC Trac #10528 correctly.
70−1.2.1.2
73+#### 1.2.1.2
72* Bug fix: Run literal rewrite rules in simplifier phase 2.
75* Bug fix: Run literal rewrite rules in simplifier phase 2.
73 The behavior of the simplifier changed in GHC 7.10.2,
76 The behavior of the simplifier changed in GHC 7.10.2,
@@ -75,21 +78,21 @@
75 and long compilation times. See
78 and long compilation times. See
76 [GHC Trac #10528](https://ghc.haskell.org/trac/ghc/ticket/10528).
79 [GHC Trac #10528](https://ghc.haskell.org/trac/ghc/ticket/10528).
78−1.2.1.1
81+#### 1.2.1.1
80* Expose unpackCString#, which you should never use.
83* Expose unpackCString#, which you should never use.
84* Added Binary instances for both Text types. (If you have previously
87* Added Binary instances for both Text types. (If you have previously
85 been using the text-binary package to get a Binary instance, it is
88 been using the text-binary package to get a Binary instance, it is
86 now obsolete.)
89 now obsolete.)
88−1.2.0.6
91+#### 1.2.0.6
90* Fixed a space leak in UTF-8 decoding
93* Fixed a space leak in UTF-8 decoding
92−1.2.0.5
95+#### 1.2.0.5
94* Feature parity: repeat, cycle, iterate are now implemented for lazy
97* Feature parity: repeat, cycle, iterate are now implemented for lazy
95 Text, and the Data instance is more complete
98 Text, and the Data instance is more complete
@@ -109,26 +112,26 @@
109* Spec compliance: toCaseFold now follows the Unicode 7.0 spec
112* Spec compliance: toCaseFold now follows the Unicode 7.0 spec
110 (updated from 6.3)
113 (updated from 6.3)
112−1.2.0.4
115+#### 1.2.0.4
114* Fixed an incompatibility with base < 4.5
117* Fixed an incompatibility with base < 4.5
116−1.2.0.3
119+#### 1.2.0.3
118* Update formatRealFloat to correspond to the definition in versions
121* Update formatRealFloat to correspond to the definition in versions
119 of base newer than 4.5 (https://github.com/bos/text/issues/105)
122 of base newer than 4.5 (https://github.com/bos/text/issues/105)
121−1.2.0.2
124+#### 1.2.0.2
123* Bumped lower bound on deepseq to 1.4 for compatibility with the
126* Bumped lower bound on deepseq to 1.4 for compatibility with the
124 upcoming GHC 7.10
127 upcoming GHC 7.10
126−1.2.0.1
129+#### 1.2.0.1
128* Fixed a buffer overflow in rendering of large Integers
131* Fixed a buffer overflow in rendering of large Integers
129 (https://github.com/bos/text/issues/99)
132 (https://github.com/bos/text/issues/99)
131−1.2.0.0
134+## 1.2.0.0
133* Fixed an integer overflow in the replace function
136* Fixed an integer overflow in the replace function
134 (https://github.com/bos/text/issues/81)
137 (https://github.com/bos/text/issues/81)
@@ -141,7 +144,7 @@
142* Added an instance of IsList for GHC 7.8 and above
145* Added an instance of IsList for GHC 7.8 and above
144−1.1.1.0
147+### 1.1.1.0
146* The Data.Data instance now allows gunfold to work, via a virtual
149* The Data.Data instance now allows gunfold to work, via a virtual
147 pack constructor
150 pack constructor
@@ -151,12 +154,12 @@
151* Comparing the length of a Text against a number can now
154* Comparing the length of a Text against a number can now
152 short-circuit in more cases
155 short-circuit in more cases
154−1.1.0.1
157+#### 1.1.0.1
156* streamDecodeUtf8: fixed gh-70, did not return all unconsumed bytes
159* streamDecodeUtf8: fixed gh-70, did not return all unconsumed bytes
157 in single-byte chunks
160 in single-byte chunks
159−1.1.0.0
162+## 1.1.0.0
161* encodeUtf8: Performance is improved by up to 4x.
164* encodeUtf8: Performance is improved by up to 4x.
@@ -175,12 +178,12 @@
175 use at your own risk - there are no API stability guarantees for
178 use at your own risk - there are no API stability guarantees for
176 internal modules!
179 internal modules!
178−1.0.0.1
181+#### 1.0.0.1
180* decodeUtf8: Fixed a regression that caused us to incorrectly
183* decodeUtf8: Fixed a regression that caused us to incorrectly
181 identify truncated UTF-8 as valid (gh-61)
184 identify truncated UTF-8 as valid (gh-61)
185* Added support for Unicode 6.3.0 to case conversion functions
188* Added support for Unicode 6.3.0 to case conversion functions