From e1994fa3f80316946b0f577719c5d45e0cdfa261 Mon Sep 17 00:00:00 2001 From: Gabriel Gonzalez Date: Sat, 29 Apr 2017 14:11:35 -0700 Subject: [PATCH] Version 1.3.2 => 1.3.3 --- CHANGELOG.md | 11 +++++++++++ README.md | 2 +- default.nix | 13 +++++++------ turtle.cabal | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60f8f4b..51c4ee8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +1.3.3 + +* Bug fix: Change `textToLines` to behave like `Data.Text.splitOn "\n"` + instead of `Data.Text.unlines` + * This fixes weird behavior around handling empty strings. `splitOn` does + the right thing, but `unlines` does not. For example, this indirectly + fixes a regression in `sed`, which would discard empty lines +* Bug fix: `which`/`whichAll` now behave correctly on Windows +* Add new `cptree`/`single` utilities +* Documentation fixes + 1.3.2 * Fix bugs in subprocess management diff --git a/README.md b/README.md index 1d51ca1..b369d6a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Turtle v1.3.2 +# Turtle v1.3.3 Turtle is a reimplementation of the Unix command line environment in Haskell so that you can use Haskell as a scripting language or a shell. Think of `turtle` diff --git a/default.nix b/default.nix index 171b4b0..106bdf6 100644 --- a/default.nix +++ b/default.nix @@ -1,20 +1,21 @@ { mkDerivation, ansi-wl-pprint, async, base, bytestring, clock -, directory, doctest, foldl, hostname, managed, optional-args -, optparse-applicative, process, stdenv, stm, system-fileio -, system-filepath, temporary, text, time, transformers, unix -, unix-compat +, criterion, directory, doctest, foldl, hostname, managed +, optional-args, optparse-applicative, process, semigroups, stdenv +, stm, system-fileio, system-filepath, temporary, text, time +, transformers, unix, unix-compat }: mkDerivation { pname = "turtle"; - version = "1.3.1"; + version = "1.3.3"; src = ./.; libraryHaskellDepends = [ ansi-wl-pprint async base bytestring clock directory foldl hostname - managed optional-args optparse-applicative process stm + managed optional-args optparse-applicative process semigroups stm system-fileio system-filepath temporary text time transformers unix unix-compat ]; testHaskellDepends = [ base doctest ]; + benchmarkHaskellDepends = [ base criterion text ]; description = "Shell programming, Haskell-style"; license = stdenv.lib.licenses.bsd3; } diff --git a/turtle.cabal b/turtle.cabal index 130db6e..89f5cb5 100644 --- a/turtle.cabal +++ b/turtle.cabal @@ -1,5 +1,5 @@ Name: turtle -Version: 1.3.2 +Version: 1.3.3 Cabal-Version: >=1.10 Build-Type: Simple License: BSD3