All Versions
41
Latest Version
3.9
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 4

  • v0.7 Changes

    • โž• Added showbConstPrec (and corresponding Show and Show1 instances for Const) to Text.Show.Text.Control.Applicative
    • โž• Added showbUArrayPrec (and corresponding Show instance for UArrays) and showbIArrayPrec to Text.Data.Text.Data.Array.
    • 0๏ธโƒฃ Renamed showbListDefault to showbListWith to match how Text.Show names it
    • ๐Ÿ”ฆ Exposed showbShortByteString with all versions of bytestring by using the bytestring-builder package
    • Corrected the Show instance for Lexeme (in Text.Show.Text.Text.Read.Lex)
    • ๐Ÿ›  Fixed TypeRep output on GHC 7.10 and later
    • โœ‚ Removed LitChar and LitString from Text.Show.Text.Data.Char, as they were not as useful as I had imagined.
    • โœ‚ Removed the deprecated replicateB function
    • Typable instances for Show, Show1, and GShow (with GHC 7.8 and later)
    • Typeable instance for ConType
    • Only derive Eq and Ord for ConType if a recent-enough version of text is used
    • ๐Ÿ”„ Changed the implementations of some functions in Text.Show.Text.Debug.Trace to use ByteStrings instead of Strings
  • v0.7.0.1 Changes

    • โœ… Disabled print-related tests, as they sporadically break referential transparency for unknown reasons
    • ๐Ÿ›  Fixed build on Windows
  • v0.6 Changes

    • ๐Ÿ“š deriveShow can now construct instances for data families, using either the data family name or a data instance constructor as an argument. See the documentation in Text.Show.Text.TH for more details.
    • ๐Ÿ›  Fixed a bug in which infix backticked data constructors (e.g., data Add = Int `Plus` Int) would not be shown correctly.
    • ๐Ÿ›  Fixed typo in Text.Show.Text.GHC.RTS.Flags
    • โœ‚ Removed the phantom-type detecting mechanism with template-haskell-2.9.0.0 or higher. This method of finding phantom types is intrinsically flawed and is not usable on older GHCs.
    • โž• Added generics support with the Text.Show.Text.Generic and Text.Show.Text.Debug.Trace.Generic modules
    • ๐Ÿ—„ Deprecated replicateB in favor of timesN from the semigroups library
    • โž• Added FromTextShow to Text.Show.Text, which admits a String Show instance for any data type with a Text Show instance (the counterpart of FromStringShow)
    • โž• Added Monoid and Semigroup instances for FromStringShow, Semigroup instance for LitString, IsChar instance for LitChar, and IsString instance for [LitChar]
    • ๐Ÿ”„ Changed the String Show instances of FromStringShow, LitChar, and LitString to more closely match the Text Show instances. As a result, the Read instances for these data types were also changed so that read . show = read . show = id.
    • โœ‚ Removed the recent-text flag. We'll allow users to build with older versions of text, but the latest version is recommended. Because of this, the integer-simple and integer-gmp flags are not needed.
    • โœ‚ Removed the integer-gmp2 flag, as it supported a configuration that didn't actually compile on GHC
    • โœ‚ Removed the transformers-four flag, as it is not needed now that transformers-compat is a dependency
  • v0.6.0.1 Changes

    • Forgot to include some header files in text-show.cabal
  • v0.5 Changes

    • ๐Ÿ›  Fix build for GHC 7.10, old GHC versions, and Windows
    • โœ‚ Removed the Text.Show.Text.Data.Containers and Text.Show.Text.Data.Time modules. The modules for the data types in containers and time were migrated to a separate library, text-show-instances.
    • โœ‚ Removed the -ftext-format flag, as text-show no longer uses text-format.
    • ๐Ÿ— A serious bug in the text package that caused segfaults when building large Integers was fixed in text-1.2.0.2. A flag (-frecent-text) was added that allows you to take advantage of this.
    • ๐Ÿ›  Fixed a bug that would cause the output of functions in the Text.Show.Text.Data.Floating module to not match base depending on what version of base is used.
    • ๐Ÿ“š The type signatures of lambda expressions generated by mkShow and related functions were loosened to allow them to be used to "manually" derive Show instances for data types with higher-kinded type parameters or type arguments with restricted Show instances. This should not be a breaking change; you can simply do more with mkShow et al. than you could before. For more information, see the documentation in Text.Show.Text.TH.
    • Loosened the Show instance of Complex a to only depend on Show a (previously required RealFloat a) if using base-4.4.0.0 or later
    • ๐Ÿšš Moved showbRatioPrec to Text.Show.Text.Data.Ratio, showbComplexPrec to Text.Show.Text.Data.Complex, showbProxy to Text.Show.Text.Data.Proxy, and showbFingerprint to Text.Show.Text.GHC.Fingerprint
    • โž• Added deriveShowPragmas to Text.Show.Text.TH to allow users to specify INLINE or SPECIALIZE instance pragmas with Show instances.
    • โž• Added FromStringShow, showbSpace, showbUnary, showbUnary1, and showbBinary1 to Text.Show.Text
    • โž• Added mkShowList, mkShowListLazy, and mkShowbList to Text.Data.Text.TH
    • ๐Ÿ›  For base-4.8.0.0 and above, added the Text.Show.Text.Data.Functor.Identity, Text.Show.Text.Data.Void, Text.Show.Text.GHC.RTS.Flags, Text.Show.Text.GHC.StaticPtr, and Text.Show.Text.Numeric.Natural modules. Also added Show instances for AllocationLimitExceeded in Text.Show.Text.Control.Exception and Alt in Text.Show.Text.Data.Monoid. Also fixed the Show instance for Fixed values.
    • โž• Added the Text.Show.Text.Data.GHC.Conc.Windows module (Windows-only)
    • โž• Added the Text.Show.Text.Data.OldTypeable module for base-4.7
    • โž• Added the Text.Show.Text.GHC.TypeLits module for base-4.6 and above
    • โž• Added the Text.Show.Text.Debug.Trace and Text.Show.Text.Debug.Trace.TH modules as an analog to Debug.Trace
    • โž• Added the Show1 class and corresponding instances for unary type constructors.
    • โž• Added LitChar and LitString to Text.Show.Text.Data.Char
    • Exported asciiTabB in Text.Show.Text.Data.Char
    • ๐Ÿ“‡ Renamed showbTextStrict to 'showbText' (to keep with naming conventions in the text library) and added showbBuilder to Text.Show.Text.Data.Text.
  • v0.4.1 Changes

    • โž• Added the utility functions toText and toString for working with Builders.
  • v0.4 Changes

    • 0๏ธโƒฃ Due to GHC bug #5289, projects that depend on the double-conversion library (such as text-format, a dependency of text-show) may break due to GHC incorrectly linking against libstdc++. Therefore, text-show was changed so that it does not depend on text-format by default. This behavior can be changed by using the -ftext-format flag when using cabal.
    • โž• Added showbZonedTime to Text.Show.Text.Data.Time (and corresponding Show instance for ZonedTime)
    • ๐Ÿ”ฆ Exposed showbMaskingState (is was already there, I just forgot to export it)
    • If using GHC 7.6 or earlier, depend on tagged so that Data.Proxy (and thus showbProxy from Text.Show.Text.Data.Typeable) can be used
    • ๐Ÿ”จ Refactored code to use Template Haskell derivations when possible
  • v0.3.1.0 Changes

    • โž• Added showList and showListLazy
    • 0๏ธโƒฃ Don't use showbListDefault to show containers data types
    • โž• Added the ability to splice show functions for arbitrary data types (even if they aren't Show instances). These functions are mkShow, mkShowLazy, mkShowPrec, mkShowPrecLazy, mkShowb, mkShowbPrec, mkPrint, mkPrintLazy, mkHPrint, and mkHPrintLazy.
  • v0.3.0.0 Changes

    • ๐Ÿ›  Lots of bugfixes
    • Show instances for many other data types in base, containers and time
    • ๐Ÿ”ฆ Exposed internal modules with monomorphic functions
    • ๐Ÿ— Text.Show.Text now exports Data.Text.Lazy.Builder for convenience
    • โž• Add showLazy, showPrec, showPrecLazy, printLazy, hPrint, hPrintLazy, lengthB, and replicateB
    • ๐Ÿ‘ Template Haskell derivation of Show instances (doesn't support data families yet)
  • v0.2.0.0 Changes

    • โž• Added Show instances for strict and lazy Text