Repository navigation
Releases
Releases · kubernetes-client/javascript
Release 2.0.2
Immutable
release. Only release title and notes can be modified.
Release 2.0.1
Immutable
release. Only release title and notes can be modified.
Full Changelog: 2.0.0...2.0.1
Release 2.0.0
Immutable
release. Only release title and notes can be modified.
Breaking Changes
- HTTP backend migrated from node-fetch to undici. undici is now the
underlying fetch implementation. The node-fetch dependency has been
removed. Code relying on node-fetch-specific Agent/request internals or
proxy wiring may need updates; the client now configures an undici
Dispatcher instead of a node-fetch agent. (#2306) - Dropped Node.js 18 support. Node 18 removed from the test matrix (EOL Apr 30, 2025). (#2815)
- Dropped Node.js 20 support. (#2840)
- Dropped Node.js 23 support. (#2840)
- socks-proxy-agent upgraded 8.x → 10.x and socks added as a direct
dependency for the undici SOCKS proxy path. (#2820, #2802) - undici pinned to ^8.0.0. (#2821)
Features
- Add SOCKS proxy support on the undici dispatcher path via a SocksClient connector. (#2802)
- Add support for OIDC custom CA certificates via idp-certificate-authority
and idp-certificate-authority-data. (#2761) - Allow port forwarding to a Deployment or Service (previously Pod-only). (#2749)
- Introduce Node.js 26 support / testing. (#2848)
- Generated against Kubernetes API release-1.36 (updated from release-1.34
via release-1.35 and release-1.36). (#2732, #2734, #2945)
Fixes
- informer: treat TimeoutError as reconnectable, normalize timeout
errors, and add exponential backoff on reconnect. (#2813) - Fix custom fetch implementation to use the Node.js https module instead
of the dispatcher. (#2761) - Fix ArrayBuffer slice to return only the relevant portion of the buffer. (#2761)
- Fix timeoutSignal being lost after being overridden with controller.signal. (#2665)
- Fix cp from a Pod being broken. (#2664)
- Fix Knative Service YAML parsing by checking API groups. (#2688)
- Don't cast undefined expiration times in exec auth. (#2666)
- Add a File polyfill for Node.js compatibility with undici (interim, prior to
dropping older Node versions). (#2815)
Tooling / Internal
- Migrated the full test suite from nock to the undici MockAgent; nock
dependency removed. (#2813, #2306) - TypeScript upgraded to 6.x; ESLint upgraded to 10.x; typescript-eslint to 8.6x. (#2807, #2765, #2885)
- Pinned all GitHub Actions to SHAs and added the zizmor security linter;
resolved template-injection and permission-scoping findings. (#2814) - Enabled npm trusted publishing. (#2726)
- Numerous dependency bumps (undici, ws, openid-client, js-yaml, form-data,
jsonpath-plus, @types/node, and dev tooling).
Notes: - #2815 covers both the Node 18 drop and the File polyfill (same branch).
- #2840 covers both Node 20 and Node 23 drops.
- #2761 covers three entries (OIDC custom CA + the https fetch fix + the ArrayBuffer slice fix).
- #2813 covers the informer reconnect fix and the nock→MockAgent migration.
- The socks direct dependency actually arrived via the SocksClient feature (#2802); the version bump 8→10 was #2820 — I listed both.
- The last "Numerous dependency bumps" line spans many dependabot PRs, so I left it without a single number. Want me to expand it into individual entries with PR numbers, or leave it as a summary?
New Contributors
- @loucadufault made their first contribution in #2675
- @brendandburns with @Copilot made their first contribution in #2761
- @emmayusufu made their first contribution in #2881
Full Changelog: 1.4.0...2.0.0
Release 1.4.0
What's Changed
- Support for Kubernetes Release 1.34.x
Bug fixes and updates
- chore: update tar-fs by @mstruebing in #2490
- FIX: Adding support for multiple client by @pfarkya in #2514
- fix: make yaml functions use serializer by @feloy in #2520
- fix: do not overwrite process.env during API authentication by @Stasmo in #2580
- abort signal support via regenerating on new openapigen commit by @davidgamero in #2583
- fix: respect NODE_TLS_REJECT_UNAUTHORIZED environment variable by @0x5457 in #2602
- add ObjectCache to the return type of makeInformer by @sachiniyer in #2645
- fix: readd error callback on informer error and connect events by @mstruebing in #2646
New Contributors
- @karl-cardenas-coding made their first contribution in #2478
- @lfallet made their first contribution in #2578
- @Stasmo made their first contribution in #2580
- @dherbolt made their first contribution in #2635
- @sachiniyer made their first contribution in #2645
Full Changelog: 1.3.0...1.4.0
1.3.0
What's Changed
- Update README.md by @brendandburns in #2418
- ci: test on Node v24 by @cjihrig in #2419
- build(deps): bump openid-client from 6.4.2 to 6.5.0 by @dependabot in #2422
- build(deps): bump @types/node from 22.15.11 to 22.15.14 by @dependabot in #2423
- build(deps): bump @types/node from 22.15.14 to 22.15.15 by @dependabot in #2426
- build(deps): bump @types/node from 22.15.15 to 22.15.17 by @dependabot in #2428
- Cherry-pick in two watch changes from the 0.x branch, clean up tests, fix list -> resourceVersion handling by @brendandburns in #2429
- build(deps-dev): bump typescript-eslint from 8.32.0 to 8.32.1 by @dependabot in #2431
- build(deps): bump @types/node from 22.15.17 to 22.15.18 by @dependabot in #2436
- feat: add model registry to object serializer by @schrodit in #2433
- build(deps-dev): bump @eslint/js from 9.26.0 to 9.27.0 by @dependabot in #2439
- build(deps): bump @types/node from 22.15.18 to 22.15.19 by @dependabot in #2440
- build(deps-dev): bump eslint from 9.26.0 to 9.27.0 by @dependabot in #2441
- chore: readd ws as a dependency by @mstruebing in #2442
- build(deps): bump @types/node from 22.15.19 to 22.15.21 by @dependabot in #2445
- fix: readd AbortError export by @xkabylgSICKAG in #2446
- build(deps): bump tar-fs from 3.0.8 to 3.0.9 by @dependabot in #2447
- build(deps-dev): bump typedoc from 0.28.4 to 0.28.5 by @dependabot in #2452
- update package versions in preparation for release by @cjihrig in #2454
- build(deps): bump @types/node from 22.15.21 to 22.15.23 by @dependabot in #2456
- build(deps-dev): bump typescript-eslint from 8.32.1 to 8.33.0 by @dependabot in #2457
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- Reintroduce timeout and keep-alive for watch requests to match client-go by @rossanthony in #2367
- watch: prevent done callback from being called twice on connection loss by @bverhoeven in #2389
- config: support username impersonation by @cjihrig in #2373
- fix(object): properly serialize objects on create/replace/patch by @schrodit in #2400
- Regenerate for Kubernetes 1.33 by @brendandburns in #2416
New Contributors
- @rossanthony made their first contribution in #2367
- @juldrixx made their first contribution in #2388
- @bverhoeven made their first contribution in #2389
Full Changelog: 1.1.2...1.2.0
1.1.2
What's Changed between 1.0.0 and 1.1.2
- test: support testing transpiled code by @cjihrig in #2122
- Add proxy support by @krmodelski in #2111
- Fix type definition for KubernetesObjectApi.read() by @jportner in #2129
- export
ApiConstructor-type by @mstruebing in #2139 - websocket: do not close when protocol supports it by @cjihrig in #2144
- Improve loadFromCluster testing by @brendandburns in #2191
- src: update for node-fetch v3 compatibility by @cjihrig in #2195
- Fix a bug where an error on request wouldn't propogate. by @brendandburns in #2224
- include source maps in npm pack by @cjihrig in #2260
- call time middleware support by @davidgamero in #2275
- Fixes by @brendandburns in #2284
- Revisions needed for no non-erasable types by @brendandburns in #2302
- Add the ability to inject authenticators. by @brendandburns in #2311
- update HeaderMiddleware types, export PatchStrategy with Integration Tests by @davidgamero in #2316
New Contributors
- @jportner made their first contribution in #2129
- @BassT made their first contribution in #2140
- @isurindu made their first contribution in #2232
- @kevinthenet made their first contribution in #2265
Full Changelog: 1.0.0...1.1.2
Release 1.0.0
Release 1.0.0 with node-fetch instead of the long deprecated request-library.
There is no migration guide (yet?). Have a look at the examples to see how to use it.
This module is now ESM only.
0.22.3
What's Changed
- Rev to new patch version. by @brendandburns in #1994
- build(deps-dev): bump mocha from 10.8.1 to 10.8.2 by @dependabot in #1997
- Update to version 0.22.3 by @brendandburns in #1998
- build(deps-dev): bump @types/node from 22.8.4 to 22.8.6 by @dependabot in #2005
- build(deps): bump tslib from 2.8.0 to 2.8.1 by @dependabot in #2003
- build(deps-dev): bump mock-fs from 5.4.0 to 5.4.1 by @dependabot in #2004
- chore: run format as pre-commit hook by @mstruebing in #2007
- build(deps-dev): bump @types/ws from 8.5.12 to 8.5.13 by @dependabot in #2012
- build(deps-dev): bump @types/node from 22.8.6 to 22.8.7 by @dependabot in #2011
- build(deps-dev): bump typedoc from 0.26.10 to 0.26.11 by @dependabot in #2013
- build(deps-dev): bump @types/node from 22.8.7 to 22.9.0 by @dependabot in #2016
- build(deps-dev): bump nock from 13.5.5 to 13.5.6 by @dependabot in #2021
- build(deps): bump JamesIves/github-pages-deploy-action from 4.6.8 to 4.6.9 by @dependabot in #2022
- Add write permissions to deploy docs by @clayrosenthal in #2024
- bump jsonpath-plus by @liviarett in #2025
- build(deps): bump jsonpath-plus from 10.1.0 to 10.2.0 by @dependabot in #2029
- Update codeql-analysis.yml by @brendandburns in #2027
- build(deps): bump cross-spawn from 7.0.3 to 7.0.5 by @dependabot in #2030
- chore: bump jsonpath-plus allowed version range by @mstruebing in #2031
- build(deps-dev): bump husky from 9.1.6 to 9.1.7 by @dependabot in #2034
- build(deps-dev): bump @types/node from 22.9.0 to 22.9.1 by @dependabot in #2040
- build(deps-dev): bump @types/mocha from 10.0.9 to 10.0.10 by @dependabot in #2043
- Add support for the v5 protocol by @brendandburns in #2037
New Contributors
- @clayrosenthal made their first contribution in #2024
- @liviarett made their first contribution in #2025
Full Changelog: 0.22.2...0.22.3
Release 0.22.1
What's Changed
- Fix cp promise returns by converting the exec callbacks into promises by @joeferner in #1880
- test: replace use of deprecated Buffer constructor by @cjihrig in #1891
- ci: test against node 22 by @cjihrig in #1890
- chore: update ws by @mstruebing in #1888
- ci: use node LTS in workflows by @mstruebing in #1918
New Contributors
- @joeferner made their first contribution in #1880
Full Changelog: 0.22.0...0.22.1