-
#220
de414dd
Thanks @RealityAnomaly! - Set model-defined props outside constructor to ensureuseDefineForClassFields
compatibility. -
Updated dependencies [
de414dd
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
-
#216
db67b32
Thanks @RealityAnomaly! - Append/index
to generated paths to ensure correct import handling. -
Updated dependencies [
db67b32
]:- @kubernetes-models/[email protected]
- #199
dba981d
Thanks @tommy351! - Pre-compile OpenAPI schema into a validate function. This should improve the performance of first-time validation, but the package size will slightly increase.
- Updated dependencies [
d9aae82
,8440a52
,10ca286
,3a6a6c1
,dba981d
,d076453
,d076453
,d076453
,8440a52
,d076453
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- Updated dependencies [
915b6dd
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
-
#174
027a326
Thanks @tommy351! - Add CRDs from GoogleCloudPlatform/gke-networking-recipes repository. -
#174
027a326
Thanks @tommy351! - Update k8s-config-connector CRDs.
- Updated dependencies [
50d1914
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- Updated dependencies [
73daa2b
,09051d0
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
-
767314d
Thanks @tommy351! - Simplify export map.// Before { "exports": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } } // After { "exports": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }
-
Updated dependencies [
9816d36
,767314d
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
-
d46053b
Thanks @tommy351! - Decrease the size of export map inpackage.json
by using wildcard pattern (*
).// Before { "exports": { "./v1/Pod": { "import": "./v1/Pod.mjs", "require": "./v1/Pod.js" }, "./v1/Service": { "import": "./v1/Service.mjs", "require": "./v1/Service.js" } } } // After { "exports": { "./v1/*": { "import": "./v1/*.mjs", "require": "./v1/*.js" } } }
-
f82b1cc
Thanks @tommy351! - Support TypeScriptnodenext
module resolution by addingtypes
to export map.// Before { "exports": { "./v1/Pod": { "import": "./v1/Pod.mjs", "require": "./v1/Pod.js" } } } // After { "exports": { "./v1/Pod": { "import": { "types": "./v1/Pod.d.ts", "default": "./v1/Pod.mjs" } "require": { "types": "./v1/Pod.d.ts", "default": "./v1/Pod.js" } } } }
- Updated dependencies []:
- @kubernetes-models/[email protected]
- Updated dependencies [
ef175ce
]:- @kubernetes-models/[email protected]
- Updated dependencies [
ac8d1c5
,d91ff07
,a0d4e70
,8a99963
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- Updated dependencies [
6e51206
]:- @kubernetes-models/[email protected]
- Updated dependencies []:
- @kubernetes-models/[email protected]
-
#68
8b610d0
Thanks @tommy351! - All models withapiVersion
andkind
properties now come with a new static methodis
, which returnstrue
when the input value contains the sameapiVersion
andkind
with the model.This function implements TypeScript type guard, which is very useful for narrowing down types.
Please noted that this function only checks
apiVersion
andkind
, other properties may still be invalid.Below is an example of the type guard function.
import { Pod } from "kubernetes-models/v1/Pod"; if (Pod.is(value)) { // value is a Pod. }
- Updated dependencies [
2b18c6b
,04197d2
,8b610d0
,e904810
]:- @kubernetes-models/[email protected]
- @kubernetes-models/[email protected]
- Updated dependencies [
0ddc606
]:
-
7134133
Thanks @tommy351! - Update networking CRDs.- Update
BackendConfig
. - Add
FrontendConfig
. - Add
ManagedCertificate
. - Add
ServiceNetworkEndpointGroup
.
- Update
-
7c9d122
Thanks @tommy351! - Rename extension of CommonJS files from.cjs
to.js
. (Revert a9a3c18) -
Updated dependencies [
7c9d122
]:- @kubernetes-models/[email protected]
- [email protected]
- @kubernetes-models/[email protected]
-
a9a3c18
Thanks @tommy351! - Rename extension of CommonJS files from.js
to.cjs
. -
Updated dependencies [
7c1c04d
,0af92ab
,a9a3c18
,f77a5c1
]:- @kubernetes-models/[email protected]
- [email protected]
- @kubernetes-models/[email protected]
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.6.3 (2021-05-30)
Note: Version bump only for package @kubernetes-models/gke
1.6.2 (2021-05-30)
Note: Version bump only for package @kubernetes-models/gke
1.6.1 (2021-05-20)
Note: Version bump only for package @kubernetes-models/gke
1.6.0 (2021-05-20)
- validate: Upgrade to ajv v8 (44c6ce5)
1.5.4 (2021-04-14)
Note: Version bump only for package @kubernetes-models/gke
1.5.3 (2021-04-14)
Note: Version bump only for package @kubernetes-models/gke
1.5.2 (2021-03-03)
- Fix Node.js 10 support (3cffdf0)
1.5.1 (2021-03-03)
Note: Version bump only for package @kubernetes-models/gke
1.5.0 (2021-03-03)
- Rename extension of ESM files as ".mjs" (025ac24)
1.4.2 (2021-02-28)
Note: Version bump only for package @kubernetes-models/gke
1.4.1 (2021-02-28)
Note: Version bump only for package @kubernetes-models/gke
1.4.0 (2021-02-27)
- export-map: Add more options to generate command (8558dae)
1.3.1 (2021-02-27)
Note: Version bump only for package @kubernetes-models/gke
1.3.0 (2021-02-27)
1.2.0 (2021-02-22)
- cert-manager: Update to cert-manager v1.2.0 (a200971)
1.1.0 (2021-02-07)
Note: Version bump only for package @kubernetes-models/gke
1.0.3 (2021-01-08)
Note: Version bump only for package @kubernetes-models/gke
1.0.2 (2020-12-15)
Note: Version bump only for package @kubernetes-models/gke
1.0.1 (2020-11-17)
- deps: Upgrade deps (618d20b)
- deps: Drop support for Node.js 8
- gke: Add config connector CRDs (ba523c2)