@metaplay/metaplay-auth 1.4.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/index.cjs +292 -0
- package/dist/sshcrypto-OMBCGRSN.node +0 -0
- package/index.ts +142 -94
- package/package.json +12 -14
- package/src/auth.ts +11 -5
- package/src/deployment.ts +124 -14
- package/src/stackapi.ts +18 -363
- package/src/targetenvironment.ts +307 -0
- package/src/utils.ts +49 -9
- package/src/version.ts +1 -0
- package/dist/index.js +0 -644
- package/dist/index.js.map +0 -1
- package/dist/src/auth.js +0 -373
- package/dist/src/auth.js.map +0 -1
- package/dist/src/deployment.js +0 -250
- package/dist/src/deployment.js.map +0 -1
- package/dist/src/logging.js +0 -18
- package/dist/src/logging.js.map +0 -1
- package/dist/src/secret_store.js +0 -79
- package/dist/src/secret_store.js.map +0 -1
- package/dist/src/stackapi.js +0 -302
- package/dist/src/stackapi.js.map +0 -1
- package/dist/src/utils.js +0 -62
- package/dist/src/utils.js.map +0 -1
- package/dist/tests/utils.spec.js +0 -18
- package/dist/tests/utils.spec.js.map +0 -1
- package/tests/utils.spec.ts +0 -20
- package/vitest.config.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.5.0] - 2024-07-29
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
* New command `debug-server` allows attaching an ephemeral debug container to a running game server pod. Note: requires `kubectl` to be installed on your machine.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* The published npm package is now bundled to significantly speed up the invocation of the tool.
|
|
12
|
+
* In generated kubeconfig, use `npx @metaplay/metaplay-auth@latest` to launch the credential helper (instead of assuming globally installed `metaplay-auth`) when the `kubeconfig` was generated with `npx @metaplay/metaplay-auth get-kubeconfig`. Thus, the `metaplay-auth` does not need to be installed on the machine.
|
|
13
|
+
* Specifying the target environment as FQDN (eg, idler-develop.p1.metaplay.io) no longer supports `--stack-api`. Use the form `<organization>-<project>-<environment>` instead.
|
|
14
|
+
* The `--organization`, `--project`, `--environment` options are deprecated and will be removed in a future version. Use the `<organization>-<project>-<environment>` syntax instead!
|
|
15
|
+
* The output of `get-environment` is now printed as an indented multi-line object to make it easier to read.
|
|
16
|
+
* The output of `show-tokens` is now printed as a valid JSON object to make it more easily consumed by other tools.
|
|
17
|
+
* The `get-docker-login` is deprecated and will be removed in a later version. You should use the `push-docker-image` instead which handles the login automatically.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
* Support overriding StackAPI base url with `--stack-api` in the commands `push-docker-image` and `check-server-status`.
|
|
22
|
+
* The generated `kubeconfig` now remembers the `--stack-api` override, if specified when generating a `kubeconfig` for an environment.
|
|
23
|
+
* The `get-kubeconfig` argument `--type <credentials-type>` is now properly respected.
|
|
24
|
+
* The `deploy-server` server status check now checks that the image tag is the expected one, to avoid mistaking ready pods from the previous deployment as the current deployment's pods.
|
|
25
|
+
|
|
3
26
|
## [1.4.2] - 2024-04-24
|
|
4
27
|
|
|
5
28
|
### Added
|