Closed MaxGabriel closed 4 years ago
Old:
New:
The tests are failing on 7.8, but it seems unrelated to my PR:
<command line>: cannot satisfy -package-id wai-3.2.1.1-a653e76b60602d54a54fcbe4e07de7e1
(use -v for more information)
The command "cd ../wai-middleware-prometheus && cabal build && cabal test" exited with 1.
Yep, I think this was just an oversight. Thanks for scouting around for name collisions and adding an entry to the changelist! I'll update the section header when I go through and bump version numbers.
I agree, it looks like there is something wrong generally with the 7.8 build and the failure is not related to this change.
Awesome, thanks!
Just pushed this in version 1.0.1
.
Currently Bucket is referenced in type signatures in Prometheus, but it's not exported. I think this was probably just an oversight.
I tested this by running stack haddock and verifying Bucket shows up, and is linked to correctly.
I searched Stackage and other uses of the word "Bucket" aren't in Base or anything, so it's unlikely that exporting this will cause naming collisions https://www.stackage.org/lts-16.1/hoogle?q=Bucket
I'm not sure what your release policy is. I just added my change to the unreleased section of the changelog for now, but I'm happy to bump the version in the cabal file if you'd like