Skip to content

v0.42.0

Closed Dec 6, 2024 100% complete

Due to the holiday break (~5 day sprint), and the gravity of the changes around KFC, we are pushing the release for a couple of days to get in soak time with UDS Core to ensure correctness as these changes have major affects of how we do CRUD and Watch operations on Kubernetes resources.

BREAKING CHANGES ⚠️

Pepr's fetch is powered by Undici. If you are us…

Due to the holiday break (~5 day sprint), and the gravity of the changes around KFC, we are pushing the release for a couple of days to get in soak time with UDS Core to ensure correctness as these changes have major affects of how we do CRUD and Watch operations on Kubernetes resources.

BREAKING CHANGES ⚠️

Pepr's fetch is powered by Undici. If you are using a specific RequestInit options on the fetch, you need to migrate to Undici's RequestInit. This probably won't affect you if you are not strongly typing your RequestInit example in journey/pepr-dev.ts.

Here is an example:

let { fetch } = require("pepr");
const { Agent } = require("undici");

const postOpts = {
  method: "POST",
  body: JSON.stringify({
    query: "query { joke {id joke permalink } }",
  }),
  headers: {
    "Content-Type": "application/json; charset=UTF-8",
  },
  dispatcher: new Agent({
    connect: {
      rejectUnauthorized: false,
    },
  }),
};
(async () => {
  let { data, ok } = await fetch(
    "https://icanhazdadjoke.com/graphql",
    postOpts,
  );
  if (ok) {
    console.log(data.data.joke.joke);
  } else {
    console.log("Failed to fetch joke");
  }
})();

This strengthens Pepr's ability to communicate with the Kubernetes Control Plane and reduces transmit bandwidth.

Enhancements ♻️

Tests 🗒️

Other 🦺

This milestone is closed.

No open issues remain. View closed issues or see open milestones in this repository.