Skip to content

v0.2.8

Choose a tag to compare

@jeff-mccoy jeff-mccoy released this 27 Apr 14:06
· 2020 commits to main since this release
c579d11

What's Changed

  • Add before & after hooks by @jeff-mccoy in #65. See Advanced Module Configuration for more details.

    new PeprModule(
     cfg,
     [ HelloPepr ],
     {
       // Any actions you want to perform before the request is processed, including modifying the request.
       // Comment out or delete the line below to remove the default beforeHook.
       beforeHook: req => Log.debug(`beforeHook: ${req.uid}`),
    
       // Any actions you want to perform after the request is processed, including modifying the response.
       // Comment out or delete the line below to remove the default afterHook.
       afterHook: res => Log.debug(`afterHook: ${res.uid}`),
     }
    );
  • Update README and add initial docs section by @jeff-mccoy in #65.

  • Add Apache 2.0 License file contents by @jeff-mccoy in #62

  • Bump github/codeql-action from 2.3.0 to 2.3.1 by @dependabot in #64

Known Issues

  • Pepr currently binds the mutating webhook to everything and should instead only bind to what the module uses. #31
  • ClusterRoles are currently unrestricted and need to be limited to only what the module uses. #31

Full Changelog: v0.2.7...v0.2.8