Repository navigation
v0.3.0
·
163 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changelog
Client API
- e7f95c1: feat(client): add the Payment Method building block input source (@tfelix)
- 5a85853: feat(client): read the API key of a request with ReadSelf, and name the groups of ApiKeyPermissions (@grubmeshi)
- 8439068: feat(client): reference a supported platform of a definition by uuid (@vzaslavsky)
- cd13503: feat(client): return the building block from TriggerRun (@grubmeshi)
- 0f8595c: fix(client): read a building block run's metadata.createdAt (@grubmeshi)
- e337cf1: refactor(client): fold the helpers of a type into methods on it (@grubmeshi)
- 67d5341: refactor(client): gather the CLI's raw JSON access on client.Client.Raw (@grubmeshi)
- 368bf79: refactor(client): make TagInputTargetsFor a method of MeshBuildingBlockType (@grubmeshi)
Features
- c13b1c0: feat(api): take a full URL and pick the profile whose endpoint holds it (@grubmeshi)
- 77cea0b: feat(auth): ask which profile to log in to (@grubmeshi)
- 049a559: feat(auth): ask which profile to log out of (@grubmeshi)
- 20d0f9c: feat(auth): let an API key login go on without a workspace (@grubmeshi)
- f987265: feat(auth): show where a login comes from and what it may do with meshstack auth status (@grubmeshi)
- 5d91072: feat(buildingblock): show a building block's tofu state, and run tofu against it (@grubmeshi)
- a3eeb0e: feat(buildingblockrun): follow a run's logs until it has finished (@grubmeshi)
- 9037bb4: feat(login): let the user choose an access level (@grubmeshi)
- f0feed6: feat(profile): keep meshstack profile and a login from undoing each other's changes (@grubmeshi)
- 963db1c: feat(profile): manage the profiles with meshstack profile (@grubmeshi)
- ce9052c: feat(prompt): choose a profile or a workspace from a list on the terminal (@grubmeshi)
- e5970c6: feat: add -p for --profile and -w for --workspace (@grubmeshi)
- f236de8: feat: add
meshstack api-docs, and versionmeshstack apiby the API docs (@grubmeshi) - d3e7f0f: feat: add
meshstack apito call any meshStack API path (@JohannesRudolph) - b29f856: feat: add a POSIX sh install script (@grubmeshi)
- 13ea001: feat: color the output on FORCE_COLOR or CLICOLOR_FORCE, and the log in a CI (@grubmeshi)
- bef6c70: feat: end a login with its auth status, which shows the meshStack version (@grubmeshi)
- 485b691: feat: keep a listing to the profile's default workspace (@grubmeshi)
- b599d5a: feat: list event logs with
meshstack eventlog list(@JohannesRudolph) - 697df7b: feat: log INFO as a plain line, and keep the time and level for --debug (@grubmeshi)
- cecbff7: feat: name the run that trigger-run started, and fail when it could not start (@grubmeshi)
- cd1ab67: feat: point the root help to meshstack login, -o json and meshstack api (@grubmeshi)
- 7ae5b38: feat: show a command's usage after a wrong argument or flag (@grubmeshi)
- 56885a3: feat: show building block run logs, list definitions and versions (@JohannesRudolph)
- 0266ba8: feat: trigger a building block run from the CLI (@JohannesRudolph)
Fixes
- 58911ef: fix(auth): only warn on a logout of a profile that does not exist (@grubmeshi)
- 20535b9: fix(auth): say how to log in again once a token cannot be renewed (@grubmeshi)
- 00cf2c7: fix(auth): say plainly that a login has no role in a workspace (@grubmeshi)
- 107178a: fix(auth): send the API token of the environment over the one a profile stores (@grubmeshi)
- c4b7136: fix(buildingblockrun): list the runs of every building block newest first (@grubmeshi)
- 4311886: fix(buildingblockrun): take --workspace along with --building-block (@grubmeshi)
- 04ec1ca: fix(login): keep no token of a login that failed (@grubmeshi)
- 62fa29b: fix(login): name the argument a login does not take once, and quoted once (@grubmeshi)
- 11837fb: fix(login): say plainly that a login has no workspace to work in (@grubmeshi)
- fd68058: fix(login): store nothing when a login fails (@grubmeshi)
- babb304: fix(setting): suggest only the flags and variables a person can set when a setting is missing (@grubmeshi)
Others
- 64c3edc: chore(deps): bump the github-actions group with 4 updates (@dependabot[bot])
- 14b99d5: chore(deps): move to charm.land/log/v2 (@grubmeshi)
- 5d5113a: chore(lint): anchor the forbidigo http client pattern to the package (@grubmeshi)
- 15aeb84: chore(lint): disable SA4023 until go1.27.2 (@grubmeshi)
- ac981bd: chore(release): group the changes of client/ in the release notes (@grubmeshi)
- f9f7dc4: chore: update dependencies with Dependabot (@grubmeshi)
- 88287a0: ci: check for known vulnerabilities with govulncheck (@grubmeshi)
- bc910de: ci: drop the temporary push trigger of the acceptance tests (@grubmeshi)
- 9bf7b47: docs(api): shorten the help of meshstack api and api-docs (@grubmeshi)
- 661e897: docs: add a page for meshstack profile, with a demo of its own (@grubmeshi)
- 433bd73: docs: add a skill for meshObject commands, and the API docs to the client rules (@grubmeshi)
- 8f169c6: docs: build the demo's fake meshStack from internal/testutil/fakemeshstack (@grubmeshi)
- a8d556b: docs: mark no breaking change with ! while the CLI is at 0.x (@grubmeshi)
- af72c5e: docs: name auth.ResolveClient, which both front ends build their client with (@grubmeshi)
- 62ee93a: docs: put behaviour on its type (@grubmeshi)
- 324397a: docs: record a demo of the CLI for the README (@grubmeshi)
- 033b481: docs: run the acceptance suite against a local meshStack (@grubmeshi)
- 8b3a00c: docs: say once, in the root help, where the endpoint, profile and workspace come from (@grubmeshi)
- 59ed9e9: docs: say which tests to add, and how to write them (@grubmeshi)
- 58ce37c: docs: shorten the commands' help, and keep only where a setting deviates (@grubmeshi)
- 0e73c80: docs: trim Go comments that restate the code (@grubmeshi)
- f56ddfc: docs: trim instruction and config comments that restate the files (@grubmeshi)
- 5fdb64a: refactor(auth): move the prompt to cmd/internal/prompt (@grubmeshi)
- aa0f217: refactor(auth): pass the api key and manual resolvers only the setting sources (@grubmeshi)
- f3f309f: refactor(cmd): give the command of a kind the type KindCommand (@grubmeshi)
- c9bf532: refactor(cmd): make WriteList, WriteItem, CutShortNote and isRelease methods (@grubmeshi)
- ab87f72: refactor(cmd): make the helpers of OutputFormat and of color's env methods (@grubmeshi)
- 97f0ac9: refactor(http): download a document into a file, and keep it up to date (@grubmeshi)
- eb2c63a: refactor(login): parse the id of --apikey while the flags are parsed (@grubmeshi)
- f46293d: refactor(openapi): give path templates and API version lists types of their own (@grubmeshi)
- 67cb4f1: refactor(openapi): select the operations of a request from the OpenAPI document (@grubmeshi)
- 9d800f1: refactor(profile): load the profiles without resolving the profile name (@grubmeshi)
- bc0b5c2: refactor(profile): make Add a method of Profiles (@grubmeshi)
- 3cbd04d: refactor(profile): move the profile operations of meshstack profile onto Profiles (@grubmeshi)
- 6fcbe81: refactor(prompt): ask for a line with a default, and run any terminal UI (@grubmeshi)
- 1fdf7e1: refactor: parse uuid flags and arguments into uuid.UUID as cobra parses them (@grubmeshi)
- 77c3fe9: test(auth): turn the session, cache and status tests into scenarios (@grubmeshi)
- cf67523: test(client): keep only the tests that pin what no acceptance test reaches (@grubmeshi)
- 18234aa: test(cmd): drop the command tests that an acceptance test already runs (@grubmeshi)
- 042fb2a: test(cmd/profile): run the list, show and store tests as scenarios (@grubmeshi)
- 795df21: test(http): fold the retry, query and form tests onto one server each (@grubmeshi)
- b4bc5b6: test(profile): run the resolution and lock tests as scenarios (@grubmeshi)
- 7a2b2dc: test(testacc): every GET operation of the API docs answers 2xx (@grubmeshi)
- 906322b: test(testacc): run every list command against the local stack (@grubmeshi)
- 48984fa: test(testacc): run the commands in process rather than a built binary (@grubmeshi)
- 4c00513: test(testacc): run the suite as three scenarios that share their logins (@grubmeshi)
- ffc70bc: test(testacc): show that a meshObject endpoint refuses application/json (@grubmeshi)
- 0f56dc1: test(testacc): take the current profile where stdin ends before the profile selection (@grubmeshi)
- f07cc20: test(tfstate): drive one writable and one read-only proxy through their steps (@grubmeshi)
- 6ce2bf3: test(version): drop the tests of String and MustParse (@grubmeshi)
- ffc21e9: test: capture the log of a test with logs.Capture (@grubmeshi)
- e57c3c4: test: serve every fake meshStack of the tests from internal/testutil/fakemeshstack (@grubmeshi)