v0.42.0
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 ♻️
- Using return types on functions (many small PRs)
- Replace node-fetch with undici in KFC
- Reduce npm package footprint for KFC
- Smashed the cross-spawn vulnerability from KFC through overrides
Tests 🗒️
Other 🦺
- Utilize Merge Queues to reduce dependency review times
- Retroactive ADR for Undici Watch Delayed due to urgency to implement the initial fix.
This milestone is closed.
No open issues remain. View closed issues or see open milestones in this repository.