th-printf v0.7.0 Release Notes

Release Date: 2019-09-12 // over 4 years ago
    • ๐Ÿ†• New %Q and %q format specifiers accept strict and lazy Text as input respectively. Otherwise they function identically to the %s specifier.
    • ๐Ÿ–จ th-printf can now produce lazy Text as well as String, and the improved internal representation of format strings should slightly increase performance.
      • Directly producing Text should now be significantly faster than using the string formatter and packing the result, especially with Text format arguments.
    • โฌ‡๏ธ Dropped support for GHC < 8.

Previous changes from v0.6.0

  • Backported new backpack-based code to pre GHC-8.4 versions.

    • ๐Ÿ“‡ Rename of public modules
    • ๐Ÿ“œ Parser rewrite
    • โš  th-printf now prints a warning when given an erroneous format string
    • โšก๏ธ Several printf behaviors have been updated to comply with spec:
      • x, u, etc. specifiers now only apply to positive integers
      • Length specifiers are allowed
    • โœ… Generated testsuite covers more cases