scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.71k stars 132 forks source link

Undocumented change to the `File` type definition #370

Closed blamario closed 4 months ago

blamario commented 6 months ago

The File type synonym used to be defined as a pair whose first component was lazy Text. With version 0.21 it became strict Text instead. I think this was a good change, except it's backward incompatible. There's no going back now, but it should be documented in the changelog.

ocramz commented 6 months ago

@blamario thank you for reporting, we're usually more careful with user-facing changes.