On behalf of maintainers I’m happy to announce that bytestring- has been released. It will be a part of upcoming GHC 9.2.2.

The focus of this release is an extended API for ShortByteString, submitted by @hasufell as a part of Abstract FilePath Proposal. bytestring is proud to be a part of this initiative, aimed to provide much faster and more principled FilePath type. Huge thanks to @hasufell for spearheading it!

Other highlights from the changelog:

  • UTF-8 support: add Data.ByteString.Short.isValidUtf8 and use safe FFI for large inputs.
  • Improve performance and laziness of unlines.
  • Improve performance of intercalate.
  • Improve allocations of singleton.

Many people contributed their time and effort to make this release happen. Just to name a few in no particular order, mostly according to git log:

  • Alexander Biehl
  • askeblad
  • Ben Gamari
  • Dmitry Ivanov
  • Jaro Reinders
  • Johannes Waldmann
  • Julian Ospald
  • Koz Ross
  • Matthew Craven
  • Patrick Pelletier
  • Simon Jakobi
  • me

On a personal note, it was not easy to work on this release with my family in a bomb shelter and friends in trenches. Stand with Ukraine, will you?