-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade aeson to 2.0.* #2292
Upgrade aeson to 2.0.* #2292
Commits on Jun 13, 2022
-
src: consistently import HashMap as HM, Map as M
With both HashMap and Map imported as M in different modules, linter rules prevented ever importing both modules in one place.
Configuration menu - View commit details
-
Copy full SHA for 5e6987b - Browse repository at this point
Copy the full SHA 5e6987bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a3d1d - Browse repository at this point
Copy the full SHA 48a3d1dView commit details -
src: update for changed map type in aeson-2
This means that we're now using Data.Map.Strict instead of Data.HashMap.Strict for JSON objects in general, and specifically for claims maps and CSV rows. This addresses certain hash flooding vulnerabilities, but may have performance downsides. Compare e.g. https://frasertweedale.github.io/blog-fp/posts/2021-10-12-aeson-hash-flooding-protection.html
Configuration menu - View commit details
-
Copy full SHA for 2b8ffc8 - Browse repository at this point
Copy the full SHA 2b8ffc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e42bf30 - Browse repository at this point
Copy the full SHA e42bf30View commit details -
cabal: require jose >= 0.8.5.1 (aeson-2 compat)
jose version before 0.8.5.1 lacked an upper bound on aeson-2, causing build failures with aeson-2 present.
Configuration menu - View commit details
-
Copy full SHA for bb62e55 - Browse repository at this point
Copy the full SHA bb62e55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7531c54 - Browse repository at this point
Copy the full SHA 7531c54View commit details -
cabal, tests: require wai-logger 2.4.0, adapt tests
wai-logger version 2.4.0 fixes log output to not say 'unknownSocket' for unix sockets.
Configuration menu - View commit details
-
Copy full SHA for f5afa41 - Browse repository at this point
Copy the full SHA f5afa41View commit details -
Configuration menu - View commit details
-
Copy full SHA for b056735 - Browse repository at this point
Copy the full SHA b056735View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12967f8 - Browse repository at this point
Copy the full SHA 12967f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff56c3a - Browse repository at this point
Copy the full SHA ff56c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14c882a - Browse repository at this point
Copy the full SHA 14c882aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34d0f34 - Browse repository at this point
Copy the full SHA 34d0f34View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7f54e7 - Browse repository at this point
Copy the full SHA d7f54e7View commit details -
nix: hack static-haskell-nix for updated nixpkgs
This patches static-haskell-nix to work for building postgrest with updated nixpkgs (from ~202203): - The ncurses 'enableStatic' argument doesn't exist anymore. We use the vanilla package instead, which seems to work fine. - The 'isExecutable' check fails with a strange error related to trying to override 'mkDerivation'. We patch 'isExecutable' to check explicitly whether we're building postgrest. ('isExecutable' is used to determine whether to build a package statically.)
Configuration menu - View commit details
-
Copy full SHA for 63ebf6e - Browse repository at this point
Copy the full SHA 63ebf6eView commit details -
This keeps the pre-nixpkgs update hlint version, so we can defer addressing the warnings to a follow-up PR.
Configuration menu - View commit details
-
Copy full SHA for 8d8074d - Browse repository at this point
Copy the full SHA 8d8074dView commit details