Skip to content

Releases: defenseunicorns/pepr

v0.51.4

10 Jun 16:41
49fdb80
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.51.3...v0.51.4

v0.51.3

02 Jun 16:42
a2361cc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.51.2...v0.51.3

v0.51.2

02 Jun 15:24
2876b82
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.51.1...v0.51.2

v0.51.1

02 Jun 14:09
ab74d2d
Compare
Choose a tag to compare

What's Changed ♻️

Dependabot 🤖

  • chore: bump @types/node from 22.15.24 to 22.15.29 in the development-dependencies group by @dependabot in #2217
  • chore: bump kubernetes-fluent-client from 3.5.5 to 3.5.6 in the production-dependencies group by @dependabot in #2216
  • chore: bump ossf/scorecard-action from 2.4.1 to 2.4.2 by @dependabot in #2215
  • chore: bump @types/node from 22.15.21 to 22.15.23 in the development-dependencies group by @dependabot in #2206
  • chore: bump trufflesecurity/trufflehog from 3.88.34 to 3.88.35 by @dependabot in #2211
  • chore: bump @types/node from 22.15.8 to 22.15.24 in the development-dependencies group by @dependabot in #2210
  • chore: bump @types/node from 22.15.23 to 22.15.24 in the development-dependencies group by @dependabot in #2208

Full Changelog: v0.51.0...v0.51.1

v0.51.0

27 May 15:38
88168ad
Compare
Choose a tag to compare

Release Notes

A breaking change is in the 0.51.0 release of Pepr. Users of the CLI (specifically, pepr format) will need an ESlint v9 compliant configuration. Reference the Migration PR for the hello-pepr example module.

Breaking Changes

What's Changed ♻️

Dependabot 🤖

  • chore: bump actions/dependency-review-action from 4.7.0 to 4.7.1 by @dependabot in #2151
  • chore: bump anchore/sbom-action from 0.19.0 to 0.20.0 by @dependabot in #2158
  • chore: bump the development-dependencies group with 2 updates by @dependabot in #2159
  • chore: bump library/node from 149a0b6 to 37c7b4c by @dependabot in #2165
  • chore: bump kubernetes-fluent-client from 3.5.3 to 3.5.4 in the production-dependencies group by @dependabot in #2163
  • chore: bump codecov/codecov-action from 5.4.2 to 5.4.3 by @dependabot in #2164
  • chore: bump trufflesecurity/trufflehog from 3.88.29 to 3.88.30 by @dependabot in #2176
  • chore: bump ts-jest from 29.3.3 to 29.3.4 in the development-dependencies group by @dependabot in #2177
  • chore: bump distroless/nodejs22-debian12 from 7461370 to 92c2a6c by @dependabot in #2174
  • chore: bump github/codeql-action from 3.28.17 to 3.28.18 by @dependabot in #2175
  • chore: bump the production-dependencies group with 2 updates by @dependabot in #2178
  • chore: bump library/node from 37c7b4c to 78de4ef by @dependabot in #2187
  • chore: bump trufflesecurity/trufflehog from 3.88.30 to 3.88.33 by @dependabot in #2186
  • chore: bump the development-dependencies group across 1 directory with 3 updates by @dependabot in #2182
  • chore: bump trufflesecurity/trufflehog from 3.88.33 to 3.88.34 by @dependabot in #2194
  • chore: bump library/node from 37c7b4c to 85150f7 by @dependabot in #2195
  • chore: bump kubernetes-fluent-client from 3.5.4 to 3.5.5 in the production-dependencies group by @dependabot in #2193
  • chore: bump library/node from 85150f7 to ef08616 by @dependabot in #2197
  • chore: bump globals from 16.1.0 to 16.2.0 in the development-dependencies group by @dependabot in #2196

Full Changelog: v0.50.0...v0.51.0

v0.50.0

13 May 15:25
9cae6c5
Compare
Choose a tag to compare

Features 🔨

What's Changed ♻️

Dependabot 🤖

  • chore: bump kubernetes-fluent-client from 3.5.1 to 3.5.2 in the production-dependencies group by @dependabot in #2090
  • chore: bump anchore/scan-action from 6.1.0 to 6.2.0 by @dependabot in #2091
  • chore: bump library/node from c5bfe90 to 42cb7b2 by @dependabot in #2089
  • chore: bump trufflesecurity/trufflehog from 3.88.25 to 3.88.26 by @dependabot in #2092
  • chore: bump undici from 7.8.0 to 7.9.0 in the development-dependencies group by @dependabot in #2146
  • chore: bump library/node from 34bb77a to 149a0b6 by @dependabot in #2139
  • chore: bump trufflesecurity/trufflehog from 3.88.28 to 3.88.29 by @dependabot in #2136
  • chore: bump the development-dependencies group with 3 updates by @dependabot in #2138
  • chore: bump actions/dependency-review-action from 4.6.0 to 4.7.0 by @dependabot in #2137
  • chore: bump @types/node from 22.15.8 to 22.15.14 in the development-dependencies group by @dependabot in #2123
  • chore: bump library/node from ee8a0bc to 2b11877 by @dependabot in #2124
  • chore: bump the development-dependencies group with 2 updates by @dependabot in #2129
  • chore: bump kubernetes-fluent-client from 3.5.2 to 3.5.3 in the production-dependencies group by @dependabot in #2128
  • chore: bump library/node from 2b11877 to 34bb77a by @dependabot in #2130
  • chore: bump trufflesecurity/trufflehog from 3.88.27 to 3.88.28 by @dependabot in #2117
  • chore: bump @types/node from 22.15.3 to 22.15.8 in the development-dependencies group by @dependabot in #2116
  • chore: bump library/node from 42cb7b2 to ee8a0bc by @dependabot in #2098
  • chore: bump trufflesecurity/trufflehog from 3.88.26 to 3.88.27 by @dependabot in #2106
  • chore: bump github/codeql-action from 3.28.16 to 3.28.17 by @dependabot in #2105

Full Changelog: v0.49.0...v0.50.0

v0.49.0

29 Apr 16:51
9d207f0
Compare
Choose a tag to compare

Features

npx pepr build supports custom naming of zarf component and service monitors in helm charts with --custom-name [name].

  • feat: pepr to scaffold and generate crds from typescript types by @cmwylie19 in #2033

npx pepr crd is now available to Scaffold and generate Kubernetes CRDs from structured TypeScript definitions. This is an alpha feature available for experimental use. Docs.

What's Changed ♻️

Dependabot 🤖

  • chore: bump ts-jest from 29.3.1 to 29.3.2 in the development-dependencies group by @dependabot in #2034
  • chore: bump kubernetes-fluent-client from 3.4.10 to 3.5.0 in the production-dependencies group by @dependabot in #2041
  • chore: bump actions/setup-node from 4.3.0 to 4.4.0 by @dependabot in #2036
  • chore: bump codecov/codecov-action from 5.4.0 to 5.4.2 by @dependabot in #2037
  • chore: bump kubernetes-fluent-client from 3.5.0 to 3.5.1 in the production-dependencies group by @dependabot in #2044
  • chore: bump trufflesecurity/trufflehog from 3.88.23 to 3.88.24 by @dependabot in #2045
  • chore: bump trufflesecurity/trufflehog from 3.88.24 to 3.88.25 by @dependabot in #2056
  • chore: bump step-security/harden-runner from 2.11.1 to 2.12.0 by @dependabot in #2055
  • chore: bump github/codeql-action from 3.28.15 to 3.28.16 by @dependabot in #2061
  • chore: bump chainguard-dev/setup-chainctl from 0.3.0 to 0.3.1 by @dependabot in #2060
  • chore: bump anchore/sbom-action from 0.18.0 to 0.19.0 by @dependabot in #2072
  • chore: bump actions/download-artifact from 4.2.1 to 4.3.0 by @dependabot in #2071
  • chore: bump @types/node from 22.14.1 to 22.15.0 in the development-dependencies group by @dependabot in #2069
  • chore: bump distroless/nodejs22-debian12 from 28a7122 to 7461370 by @dependabot in #2070
  • chore: bump @types/node from 22.15.0 to 22.15.2 in the development-dependencies group by @dependabot in #2075
  • chore: bump @types/node from 22.15.2 to 22.15.3 in the development-dependencies group by @dependabot in #2082

Full Changelog: v0.48.1...v0.49.0

v0.48.1

14 Apr 14:58
50506ce
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.48.0...v0.48.1

v0.48.0

14 Apr 14:15
5e4dadd
Compare
Choose a tag to compare

Features

  • feat: allow warnings on validation response by @mjnagel in #1974

Approving with Warnings

When(a.ConfigMap)
  .IsCreatedOrUpdated()
  .InNamespace("pepr-demo")
  .Validate(request => {
    const warnings = [];

    // Check for deprecated fields
    if (request.Raw.data && request.Raw.data["deprecated-field"]) {
      warnings.push("Warning: The 'deprecated-field' is being used and will be removed in future versions");
    }

    // Check for missing app label
    if (!request.HasLabel("app")) {
      warnings.push("Warning: Best practice is to include an 'app' label for resource identification");
    }

    // Return approval with warnings if any were generated
    return request.Approve(warnings.length > 0 ? warnings : undefined);
  });

Denying with Warnings

When(a.ConfigMap)
  .IsCreatedOrUpdated()
  .InNamespace("pepr-demo")
  .Validate(request => {
    // Check for dangerous settings
    if (request.Raw.data && request.Raw.data["dangerous-setting"] === "true") {
      const warnings = [
        "Warning: The 'dangerous-setting' field is set to 'true'",
        "Consider using a safer configuration option"
      ];

      return request.Deny(
        "ConfigMap contains dangerous settings that are not allowed",
        422,
        warnings
      );
    }

    return request.Approve();
  });

Warnings will be included in the Kubernetes API response and can be displayed to users by kubectl and other Kubernetes clients, providing helpful feedback while still enforcing policies.

What's Changed ♻️

Dependabot 🤖

  • chore: bump step-security/harden-runner from 2.11.0 to 2.11.1 by @dependabot in #2003
  • chore: bump @types/node from 22.13.14 to 22.13.17 in the development-dependencies group by @dependabot in #2001
  • chore: bump actions/dependency-review-action from 4.5.0 to 4.6.0 by @dependabot in #2002
  • chore: bump the development-dependencies group with 2 updates by @dependabot in #2007
  • chore: bump kubernetes-fluent-client from 3.4.6 to 3.4.7 in the production-dependencies group by @dependabot in #2012
  • chore: bump trufflesecurity/trufflehog from 3.88.20 to 3.88.22 by @dependabot in #2011
  • chore: bump library/node from 990d0ab to 047d633 by @dependabot in #2016
  • chore: bump trufflesecurity/trufflehog from 3.88.22 to 3.88.23 by @dependabot in #2015
  • chore: bump github/codeql-action from 3.28.13 to 3.28.15 by @dependabot in #2021
  • chore: bump fast-check from 4.0.1 to 4.1.0 in the development-dependencies group by @dependabot in #2020
  • chore: bump fast-check from 4.1.0 to 4.1.1 in the development-dependencies group by @dependabot in #2026
  • chore: bump library/node from 047d633 to 73da8b4 by @dependabot in #2025
  • chore: bump library/node from 73da8b4 to c5bfe90 by @dependabot in #2028
  • chore: bump undici from 7.7.0 to 7.8.0 in the development-dependencies group by @dependabot in #2031
  • chore: bump kfc and chainguard images by @dependabot in #2030
  • chore: bump @types/node from 22.14.0 to 22.14.1 in the development-dependencies group by @dependabot in #2032

Full Changelog: v0.47.0...v0.48.0

v0.47.0

01 Apr 16:02
fb63333
Compare
Choose a tag to compare

Overview

This release allows users to override the UUID of a Pepr module during npx pepr init with the --uuid flag. A Pepr Module UUID is a Unique identifier for your module with a max length of 36 characters. When a UUID is not set, Pepr autogenerates a uuidv4 value for you.

What's Changed ♻️

Dependencies 🤖

  • chore: bump @types/node from 22.13.10 to 22.13.11 in the development-dependencies group by @dependabot in #1970
  • chore: bump the development-dependencies group with 2 updates by @dependabot in #1975
  • chore: bump github/codeql-action from 3.28.12 to 3.28.13 by @dependabot in #1976
  • chore: bump trufflesecurity/trufflehog from 3.88.18 to 3.88.19 by @dependabot in #1981
  • chore: bump the development-dependencies group with 2 updates by @dependabot in #1982
  • chore: bump the development-dependencies group with 2 updates by @dependabot in #1983
  • chore: bump trufflesecurity/trufflehog from 3.88.19 to 3.88.20 by @dependabot in #1984
  • chore: bump ts-jest from 29.3.0 to 29.3.1 in the development-dependencies group by @dependabot in #1988
  • chore: bump the production-dependencies group with 2 updates by @dependabot in #1987
  • chore: bump distroless/nodejs22-debian12 from 578ac82 to 28a7122 by @dependabot in #1990

Full Changelog: v0.46.3...v0.47.0