From 3a9cdb429ccd250cca42fb779b75880e9bb8a79f Mon Sep 17 00:00:00 2001 From: Li-yao Xia Date: Tue, 27 Jan 2026 12:09:28 +0100 Subject: [PATCH 1/3] Update changelog for 2.1.4 --- changelog.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/changelog.md b/changelog.md index 3cf78678..11b5f666 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,51 @@ +### 2.1.4 - 2026-01-27 + +* [Upgrade to Unicode 17.0](https://github.com/haskell/text/pull/658) + [Fix `CaseMapping` generation script to not depend on GHC's Unicode data](https://github.com/haskell/text/pull/687) + +* [simdutf: update to 8.0.0](https://github.com/haskell/text/pull/685) + +* [Add `decodeUtf8Lenient` for lazy `Text`](https://github.com/haskell/text/pull/690) + +* [`scanl`/`scanr` should replace invalid `Char` in the initial value](https://github.com/haskell/text/pull/669) + +* [Shave off redundant field of `Text.Internal.Buffer`](https://github.com/haskell/text/pull/659) + +* [Switch from template-haskell to template-haskell-lift](https://github.com/haskell/text/pull/661) + +#### Minor changes + +* [Avoid calling `length` on chunks in lazy `splitAt`](https://github.com/haskell/text/pull/676) + +* [Check for zero length in internal `isSingleton`](https://github.com/haskell/text/pull/675) + +* [Implement folds directly, without resorting to streaming framework](https://github.com/haskell/text/pull/667) + +* [Implement `cons`, `snoc`, `head`, `isSingleton`, `isPrefixOf` directly, without resorting to streaming framework](https://github.com/haskell/text/pull/666) + +* [Mark `caseConvert` (the underlying implementation of `toUpper` / `toLower` / `toTitle`) as `INLINABLE`, not `INLINE`](https://github.com/haskell/text/pull/664) + +* [Express `index` via `measureOff` instead of going through fusion framework](https://github.com/haskell/text/pull/663) + +* [Guard `#define __STDC_NO_ATOMICS__` by `#ifndef`](https://github.com/haskell/text/pull/657) + +* [Support QuickCheck-2.17](https://github.com/haskell/text/pull/662) + +* [Bump lower bound of binary to >= 0.8.3](https://github.com/haskell/text/pull/673) + +#### Documentation + +* [A bit more documentation for `Data.Text.Internal.Encoding.Utf8`](https://github.com/haskell/text/pull/691) + +* [Clarify documentation of `Data.Text.Foreign`](https://github.com/haskell/text/pull/681) + +* [Haddocks: Hyperlink some identifiers and modules](https://github.com/haskell/text/pull/677) + +* [`since` pragmas for type synonyms](https://github.com/haskell/text/pull/671) + +* [Improve documentation for `streamDecodeUtf8With`](https://github.com/haskell/text/pull/665) + +* [Add comprehensive documentation for `hGetChunk`](https://github.com/haskell/text/pull/655) + ### 2.1.3 - 2025-08-01 * [Fix CRLF handling in IO functions](https://github.com/haskell/text/pull/649) From 4280ef25f14786a398a5718d9b93b73efb575333 Mon Sep 17 00:00:00 2001 From: Li-yao Xia Date: Tue, 27 Jan 2026 12:11:15 +0100 Subject: [PATCH 2/3] cabal: Move readme and changelog to extra-doc-files --- text.cabal | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/text.cabal b/text.cabal index 8928d685..f07c6bdc 100644 --- a/text.cabal +++ b/text.cabal @@ -61,8 +61,6 @@ tested-with: extra-source-files: -- scripts/CaseFolding.txt -- scripts/SpecialCasing.txt - README.md - changelog.md scripts/*.hs simdutf/LICENSE-APACHE simdutf/LICENSE-MIT @@ -70,6 +68,9 @@ extra-source-files: simdutf/simdutf.h tests/literal-rule-test.sh tests/LiteralRuleTest.hs +extra-doc-files: + README.md + changelog.md flag developer description: operate in developer mode From f6effd797f118804c3e41cc63bf8253ba8d5f558 Mon Sep 17 00:00:00 2001 From: Li-yao Xia Date: Tue, 27 Jan 2026 12:11:35 +0100 Subject: [PATCH 3/3] Release 2.1.4 --- text.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text.cabal b/text.cabal index f07c6bdc..e45027c6 100644 --- a/text.cabal +++ b/text.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: text -version: 2.1.3 +version: 2.1.4 homepage: https://github.com/haskell/text bug-reports: https://github.com/haskell/text/issues