Skip to content

Releases: defenseunicorns/pepr

v0.4.0

22 May 18:32
8ca05a4
Compare
Choose a tag to compare

What's Changed

  • Refactor build system for better CJS + ESM support, switch to esbuild vs rollupjs. by @jeff-mccoy in #102
  • Bump chainguard/node from 45720c0 to 41fcf04 by @dependabot in #103

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.3.2...v0.4.0

v0.3.2

20 May 04:29
2c10e7c
Compare
Choose a tag to compare

What's Changed

New Contributors

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
  • ESModules are not supported via pepr dev, but do work with pepr build and pepr deploy

Full Changelog: v0.3.1...v0.3.2

v0.3.1

09 May 15:48
5c7306f
Compare
Choose a tag to compare

What's Changed

  • Fix pepr dev regression 🫠 by @jeff-mccoy in #94
  • Standardize Typescript NPM behavior, use NPM pack for E2E & reduce controller image size by @jeff-mccoy in #93
  • Bump node-fetch from 2.6.9 to 2.6.10 by @dependabot in #92
  • Bump @typescript-eslint/parser from 5.59.2 to 5.59.5 by @dependabot in #91
  • Bump @typescript-eslint/eslint-plugin from 5.59.2 to 5.59.5 by @dependabot in #90
  • Bump chainguard/node from 4bedd64 to c35aa6f by @dependabot in #80

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
  • ESModules are not supported via pepr dev, but do work with pepr build and pepr deploy

Full Changelog: v0.3.0...v0.3.1

v0.3.0

07 May 22:26
8c90415
Compare
Choose a tag to compare

What's Changed

  • CLI/SDK packaging optimizations + enhance SDK transparency by @jeff-mccoy in #84
  • Bump actions/checkout from 3.1.0 to 3.5.2 by @dependabot in #87
  • Bump github/codeql-action from 2.3.2 to 2.3.3 by @dependabot in #86

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.10...v0.3.0

v0.2.10

04 May 01:02
2037afe
Compare
Choose a tag to compare

What's Changed

New Contributors

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.9...v0.2.10

v0.2.9

28 Apr 13:46
7a6960c
Compare
Choose a tag to compare

What's Changed

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.8...v0.2.9

v0.2.8

27 Apr 14:06
c579d11
Compare
Choose a tag to compare

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

v0.2.7

26 Apr 14:04
07c33ee
Compare
Choose a tag to compare

What's Changed

  • Bump chainguard/node from f91f4dc to ceac7ba by @dependabot in #60
  • handle empty (null/object/string) fetch responses gracefully by @jeff-mccoy in #61

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.6...v0.2.7

v0.2.6

25 Apr 12:34
88fab5a
Compare
Choose a tag to compare

What's Changed

  • Refactor fetch wrapper w/HTTP codes + more resp data by @jeff-mccoy in #59
    interface TheChuckNorrisJoke {
       icon_url: string;
       id: string;
       url: string;
       value: string;
    }
    
    // Try/catch is not needed as a response object will always be returned
    const response = await fetch<TheChuckNorrisJoke>("https://api.chucknorris.io/jokes/random?category=dev");
    
    // Instead, check the `response.ok` field
    if (response.ok) {
       // Add the Chuck Norris joke to the configmap 
       change.Raw.data["chuck-says"] = response.data.value;
       return;
    }
    
    // You can also assert on different HTTP response codes
    if (response.status === fetchStatus.NOT_FOUND) {
       // Do something else
    }

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.5...v0.2.6

v0.2.5

25 Apr 04:14
5807205
Compare
Choose a tag to compare

What's Changed

New Contributors

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.4...v0.2.5