(CANDIDATE) http-types 0.13.0

http-types-0.13.0 candidate published

I have worked through a few long-standing issues / feature requests and some were about adding pattern synonyms.
These result in a bunch of “clutter”, but might make handling Status and HttpVersion just a bit easier, so I released a package candidate so the community can see how it looks and give some feedback.

The major questions I’m asking that I’d like some feedback on are the following:

  • Is it worth it to add the pattern synonyms (in particular the ones for Status)
  • Does this warrant a major version bump? Or would 0.12.7 be good enough?
4 Likes

I haven’t looked closely yet, but please only do a major version bump if there are breaking changes. http-types is a pretty fundamental package, so a new major version causes a lot of churn. (I’m still a little salty about version 0.10 being a breaking change just because of the “I’m a teapot” status code.)

3 Likes

No one has a strong opinion about these pattern synonyms?

I’m thinking of keeping the Http09/10/11/20/30 pattern synonyms and changing the long list of StatusXXX codes to StatusCode Int, so you can directly pattern on Status instead of having to use statusCode to get to the Int.