Skip to content
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

Ghc 9.2.8 upgrade for plugins with backward compatibility #20

Open
wants to merge 110 commits into
base: main
Choose a base branch
from

Conversation

piyushgarg-juspay
Copy link
Collaborator

@piyushgarg-juspay piyushgarg-juspay commented Jul 24, 2024

  1. Refactor for ghc 9.2.8 for sheriff, fdep, fieldInspector plugin
  2. sheriff - Add Utils module for general plugin functions in sheriff
  3. sheriff - Add Patterns Synonyms for cleaner code
  4. Added beam as input in flake so that we can override it in large-records
  5. Added ghc8 version outputs as well in the flake output
  6. Add paymentFlow plugin
  7. sheriff - Add support for qualified function (i.e. check only if the function comes from particular module)

aravindgopall and others added 30 commits October 1, 2024 11:33
sheriff[feature] : Infinite Recursion Detection
…ite recursive call (edge case in instance functions)
sheriff[Fix]: Wrong detection of infinite recursion
… and add support for detecting infinite recursion on lambdas
sheriff[fix + improvement]: fix false positive for infinite recursion + support for infinite recursion in lambda case
sheriff[fix]: Name-shadowing false positive + DB Rules not Working
* expanded patterns
* added patterns
* added disable api contract flag for libs
* commented testsuit
* bumped lr
* removed logs
* name changes
* initial for endpoints
* need to group tag
* format fixed
* fixed for request body
* file name changed
* added readme
* filtering in fieldUsage
* not generating fieldUsage if the length is 0
* changed port
* enabled forkfile
* fixes for GHC 8.10.7 fdep
* added build workflow
* modified cliOptions
* added logs
* added few GHC errors
* extracting types
* nested Pat fix
* moved to websocket server
* fdep build fixed
* moved to websocket and added line start and line end
* fixed api-contract for ghc-8.10.7

---------

Co-authored-by: eswar2001 <[email protected]>
bumped GHC  and added warner plugin
* Added rule support to allow wrapper lookup fn supports

* Reverted paymentFlow file changes
* added logic to break down complex types

* test

* added back missing types

* added support for nested types

* commented out tests

* removed logs from warner

---------

Co-authored-by: eswar2001 <[email protected]>
* fixed generic types

* Empty case

* fixed pattern matches

---------

Co-authored-by: eswar2001 <[email protected]>
* added cli option for api-contract

* added and ENV to say it's nix build

---------

Co-authored-by: eswar2001 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants