Files
floci-cli/CHANGELOG.md
semantic-release-bot 5f2a1018a4 chore(release): 0.4.0
# [0.4.0](https://github.com/floci-io/floci-cli/compare/0.3.0...0.4.0) (2026-10-12)

### Bug Fixes

* **cli:** end every error message with what to do next ([#58](https://github.com/floci-io/floci-cli/issues/58)) ([bd4fa0f](https://github.com/floci-io/floci-cli/commit/bd4fa0f1343c38eac3a1e5ef551a724816dd022d))
* **cli:** exit 2 for every rejected value, not 1 in some commands ([#66](https://github.com/floci-io/floci-cli/issues/66)) ([c65987a](https://github.com/floci-io/floci-cli/commit/c65987abbac07c666fd21ab81cc88d20feebce96))
* **cli:** keep the next step when an error's cause has several lines ([#67](https://github.com/floci-io/floci-cli/issues/67)) ([188aa23](https://github.com/floci-io/floci-cli/commit/188aa23edcf68ad3b53c83abbbc4598b2678bfe7))
* **cli:** keep wait's spinner out of -o json, reject bad durations and make --verbose work ([#48](https://github.com/floci-io/floci-cli/issues/48)) ([52ebdee](https://github.com/floci-io/floci-cli/commit/52ebdee98d46e26ab9b4739326c0dc92764f87fe))
* **cli:** remove doctor --fix and services --mode, which did nothing ([#53](https://github.com/floci-io/floci-cli/issues/53)) ([1a7e84c](https://github.com/floci-io/floci-cli/commit/1a7e84cd2308b8225cf3b3680a9061479794c8bb))
* **completion:** offer only bash and zsh, the shells a script is generated for ([#59](https://github.com/floci-io/floci-cli/issues/59)) ([804e355](https://github.com/floci-io/floci-cli/commit/804e3559362daf37f8f3f8011df4f0824a7045fd))
* **config:** accept Compose files that use YAML anchors and merge keys in config validate ([#65](https://github.com/floci-io/floci-cli/issues/65)) ([68d28d4](https://github.com/floci-io/floci-cli/commit/68d28d49ef410b07c31b067f4d465958c730986d))
* **config:** write profiles and config atomically and report files that cannot be read ([#45](https://github.com/floci-io/floci-cli/issues/45)) ([522e54e](https://github.com/floci-io/floci-cli/commit/522e54ef3c92208a1ca98e9737804353cecc3c0a))
* **docker:** time-limit docker calls and pass names after -- ([#47](https://github.com/floci-io/floci-cli/issues/47)) ([7ecc895](https://github.com/floci-io/floci-cli/commit/7ecc895baaaf1c61f38bc1d1bde7ce2ab6699ee6))
* **doctor:** fail -o json on a failed check and name each product in its hints ([#52](https://github.com/floci-io/floci-cli/issues/52)) ([771b353](https://github.com/floci-io/floci-cli/commit/771b3537331bbe78f6d241814750f12b2143a972))
* **env:** show how to load the variables in the chosen shell and reject unknown shells ([#46](https://github.com/floci-io/floci-cli/issues/46)) ([fbdc3ef](https://github.com/floci-io/floci-cli/commit/fbdc3ef713c4790d197d0bcaaf835dc5f93425db))
* **http:** keep snapshot names in one path segment and report odd server responses clearly ([#54](https://github.com/floci-io/floci-cli/issues/54)) ([24b4280](https://github.com/floci-io/floci-cli/commit/24b4280f696fec07db1c538204ac7765523346e8))
* **reset:** reset the server a profile or FLOCI_ENDPOINT names, not a local container of the default name ([#64](https://github.com/floci-io/floci-cli/issues/64)) ([885e49f](https://github.com/floci-io/floci-cli/commit/885e49f81ac6bdcfed4f2a9e814f7c2ba7062783))
* **restart:** keep the instance's port, image, data directory and services ([#49](https://github.com/floci-io/floci-cli/issues/49)) ([f6cec79](https://github.com/floci-io/floci-cli/commit/f6cec794d71973efebc7991dabe99c723e1541cd))
* **start:** mount a relative --persist path as a directory and validate --port and --pull ([#50](https://github.com/floci-io/floci-cli/issues/50)) ([3ca4108](https://github.com/floci-io/floci-cli/commit/3ca4108498a04b1b52766a42ceea78d259373c21))
* **update:** follow symlinked installs, pick arm64 under Rosetta and tell a failed check from a pending update ([#56](https://github.com/floci-io/floci-cli/issues/56)) ([a9edb57](https://github.com/floci-io/floci-cli/commit/a9edb57aa6d720aae1dddcd4e3987e231b37b47d))

### Features

* **cli:** add --json, --no-emoji, config profile edit and a warning for servers too old for the CLI ([#62](https://github.com/floci-io/floci-cli/issues/62)) ([de3ca7f](https://github.com/floci-io/floci-cli/commit/de3ca7f1716c3ca6eb4f357d35b44cb15592b23c))
* **cli:** honour --json and -o json in config profile, config default-product and the snapshot commands ([#68](https://github.com/floci-io/floci-cli/issues/68)) ([5bcbc09](https://github.com/floci-io/floci-cli/commit/5bcbc0988e12979b61e30137abe72b2271f1238d))
* **cli:** structured output for start, stop and restart, and a status exit code scripts can use ([#60](https://github.com/floci-io/floci-cli/issues/60)) ([4a9a9b5](https://github.com/floci-io/floci-cli/commit/4a9a9b5a4a22cb1ea84133812fe2dec7f3c6eb81))
* **config:** validate Compose files by their structure, with -o json and three more checks ([#61](https://github.com/floci-io/floci-cli/issues/61)) ([6b06382](https://github.com/floci-io/floci-cli/commit/6b063825161dfbb5030972d62439e9af4f389632))
* **reset:** add floci reset to delete every resource in a running emulator ([#55](https://github.com/floci-io/floci-cli/issues/55)) ([fa306b3](https://github.com/floci-io/floci-cli/commit/fa306b38a65559020a9fba490773f51342874da3))
* **start:** check the host port before starting and explain a missing Docker socket ([#51](https://github.com/floci-io/floci-cli/issues/51)) ([4cd39a9](https://github.com/floci-io/floci-cli/commit/4cd39a957a88a185b2983cdbb7fee14031839f24))
2026-10-12 02:54:30 +00:00

236 lines
26 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
Entries in this file are generated by [semantic-release](https://github.com/semantic-release/semantic-release) from Conventional Commit messages — do not edit it by hand. A `feat`, `fix` or `perf` subject becomes a release note verbatim; the other accepted types produce no entry. Historic sections at the bottom were maintained by hand in the Keep a Changelog format.
# [0.4.0](https://github.com/floci-io/floci-cli/compare/0.3.0...0.4.0) (2026-10-12)
### Bug Fixes
* **cli:** end every error message with what to do next ([#58](https://github.com/floci-io/floci-cli/issues/58)) ([bd4fa0f](https://github.com/floci-io/floci-cli/commit/bd4fa0f1343c38eac3a1e5ef551a724816dd022d))
* **cli:** exit 2 for every rejected value, not 1 in some commands ([#66](https://github.com/floci-io/floci-cli/issues/66)) ([c65987a](https://github.com/floci-io/floci-cli/commit/c65987abbac07c666fd21ab81cc88d20feebce96))
* **cli:** keep the next step when an error's cause has several lines ([#67](https://github.com/floci-io/floci-cli/issues/67)) ([188aa23](https://github.com/floci-io/floci-cli/commit/188aa23edcf68ad3b53c83abbbc4598b2678bfe7))
* **cli:** keep wait's spinner out of -o json, reject bad durations and make --verbose work ([#48](https://github.com/floci-io/floci-cli/issues/48)) ([52ebdee](https://github.com/floci-io/floci-cli/commit/52ebdee98d46e26ab9b4739326c0dc92764f87fe))
* **cli:** remove doctor --fix and services --mode, which did nothing ([#53](https://github.com/floci-io/floci-cli/issues/53)) ([1a7e84c](https://github.com/floci-io/floci-cli/commit/1a7e84cd2308b8225cf3b3680a9061479794c8bb))
* **completion:** offer only bash and zsh, the shells a script is generated for ([#59](https://github.com/floci-io/floci-cli/issues/59)) ([804e355](https://github.com/floci-io/floci-cli/commit/804e3559362daf37f8f3f8011df4f0824a7045fd))
* **config:** accept Compose files that use YAML anchors and merge keys in config validate ([#65](https://github.com/floci-io/floci-cli/issues/65)) ([68d28d4](https://github.com/floci-io/floci-cli/commit/68d28d49ef410b07c31b067f4d465958c730986d))
* **config:** write profiles and config atomically and report files that cannot be read ([#45](https://github.com/floci-io/floci-cli/issues/45)) ([522e54e](https://github.com/floci-io/floci-cli/commit/522e54ef3c92208a1ca98e9737804353cecc3c0a))
* **docker:** time-limit docker calls and pass names after -- ([#47](https://github.com/floci-io/floci-cli/issues/47)) ([7ecc895](https://github.com/floci-io/floci-cli/commit/7ecc895baaaf1c61f38bc1d1bde7ce2ab6699ee6))
* **doctor:** fail -o json on a failed check and name each product in its hints ([#52](https://github.com/floci-io/floci-cli/issues/52)) ([771b353](https://github.com/floci-io/floci-cli/commit/771b3537331bbe78f6d241814750f12b2143a972))
* **env:** show how to load the variables in the chosen shell and reject unknown shells ([#46](https://github.com/floci-io/floci-cli/issues/46)) ([fbdc3ef](https://github.com/floci-io/floci-cli/commit/fbdc3ef713c4790d197d0bcaaf835dc5f93425db))
* **http:** keep snapshot names in one path segment and report odd server responses clearly ([#54](https://github.com/floci-io/floci-cli/issues/54)) ([24b4280](https://github.com/floci-io/floci-cli/commit/24b4280f696fec07db1c538204ac7765523346e8))
* **reset:** reset the server a profile or FLOCI_ENDPOINT names, not a local container of the default name ([#64](https://github.com/floci-io/floci-cli/issues/64)) ([885e49f](https://github.com/floci-io/floci-cli/commit/885e49f81ac6bdcfed4f2a9e814f7c2ba7062783))
* **restart:** keep the instance's port, image, data directory and services ([#49](https://github.com/floci-io/floci-cli/issues/49)) ([f6cec79](https://github.com/floci-io/floci-cli/commit/f6cec794d71973efebc7991dabe99c723e1541cd))
* **start:** mount a relative --persist path as a directory and validate --port and --pull ([#50](https://github.com/floci-io/floci-cli/issues/50)) ([3ca4108](https://github.com/floci-io/floci-cli/commit/3ca4108498a04b1b52766a42ceea78d259373c21))
* **update:** follow symlinked installs, pick arm64 under Rosetta and tell a failed check from a pending update ([#56](https://github.com/floci-io/floci-cli/issues/56)) ([a9edb57](https://github.com/floci-io/floci-cli/commit/a9edb57aa6d720aae1dddcd4e3987e231b37b47d))
### Features
* **cli:** add --json, --no-emoji, config profile edit and a warning for servers too old for the CLI ([#62](https://github.com/floci-io/floci-cli/issues/62)) ([de3ca7f](https://github.com/floci-io/floci-cli/commit/de3ca7f1716c3ca6eb4f357d35b44cb15592b23c))
* **cli:** honour --json and -o json in config profile, config default-product and the snapshot commands ([#68](https://github.com/floci-io/floci-cli/issues/68)) ([5bcbc09](https://github.com/floci-io/floci-cli/commit/5bcbc0988e12979b61e30137abe72b2271f1238d))
* **cli:** structured output for start, stop and restart, and a status exit code scripts can use ([#60](https://github.com/floci-io/floci-cli/issues/60)) ([4a9a9b5](https://github.com/floci-io/floci-cli/commit/4a9a9b5a4a22cb1ea84133812fe2dec7f3c6eb81))
* **config:** validate Compose files by their structure, with -o json and three more checks ([#61](https://github.com/floci-io/floci-cli/issues/61)) ([6b06382](https://github.com/floci-io/floci-cli/commit/6b063825161dfbb5030972d62439e9af4f389632))
* **reset:** add floci reset to delete every resource in a running emulator ([#55](https://github.com/floci-io/floci-cli/issues/55)) ([fa306b3](https://github.com/floci-io/floci-cli/commit/fa306b38a65559020a9fba490773f51342874da3))
* **start:** check the host port before starting and explain a missing Docker socket ([#51](https://github.com/floci-io/floci-cli/issues/51)) ([4cd39a9](https://github.com/floci-io/floci-cli/commit/4cd39a957a88a185b2983cdbb7fee14031839f24))
# [0.3.0](https://github.com/floci-io/floci-cli/compare/0.2.3...0.3.0) (2026-10-09)
### Bug Fixes
* **cli:** honour --no-color on parse errors and show profile defaults in --help ([#35](https://github.com/floci-io/floci-cli/issues/35)) ([fc67e72](https://github.com/floci-io/floci-cli/commit/fc67e72a625df8156cc69fc2068e6923ae36f2f6))
* **profile:** make profile names, files and exit codes consistent ([#33](https://github.com/floci-io/floci-cli/issues/33)) ([5c0cc33](https://github.com/floci-io/floci-cli/commit/5c0cc339bf0be5937ae3fb561b4cb2103d5325fb))
* **update:** save the update-check cache in the native binary ([#41](https://github.com/floci-io/floci-cli/issues/41)) ([a40c7be](https://github.com/floci-io/floci-cli/commit/a40c7be73242f22edd3f6a93544a63c6c147621e))
### Features
* **az:** configure the az CLI against floci-az with floci az setup ([#29](https://github.com/floci-io/floci-cli/issues/29)) ([7b58a38](https://github.com/floci-io/floci-cli/commit/7b58a38c5a5bf4e2e84991c5400ec3abbab90264))
* **config:** create profiles for instances that run side by side ([#30](https://github.com/floci-io/floci-cli/issues/30)) ([788eb47](https://github.com/floci-io/floci-cli/commit/788eb470fb2d51b0d2b6743a060e709d9970c34d))
* **profile:** warn when a profile sets a key floci does not read ([#37](https://github.com/floci-io/floci-cli/issues/37)) ([22668a1](https://github.com/floci-io/floci-cli/commit/22668a1200c4835ac369cb9ebea355b0d4f9feb4))
* **start:** give each instance its own Docker resource namespace and base URL ([#31](https://github.com/floci-io/floci-cli/issues/31)) ([bf9ee40](https://github.com/floci-io/floci-cli/commit/bf9ee4037bb22628ad7f470bca7c551a8f6e65e2))
### Performance Improvements
* **doctor:** run checks concurrently and share docker lookups ([#32](https://github.com/floci-io/floci-cli/issues/32)) ([dd38f6d](https://github.com/floci-io/floci-cli/commit/dd38f6dc27307d7297d5fcc5c1a02897f8bb9f03))
* **native:** build smaller binaries with -Os and enforce a size budget ([#28](https://github.com/floci-io/floci-cli/issues/28)) ([3c4118f](https://github.com/floci-io/floci-cli/commit/3c4118ff1a5521ade1b7e788f45dbaca9069f648))
* restart without a fixed pause and wait no longer than --timeout ([#36](https://github.com/floci-io/floci-cli/issues/36)) ([01d6133](https://github.com/floci-io/floci-cli/commit/01d61335489121757612a5b7062d13f9a593b20b))
## [0.2.3](https://github.com/floci-io/floci-cli/compare/0.2.2...0.2.3) (2026-09-15)
### Bug Fixes
* **profile:** keep legacy profile names usable and expand values consistently ([#25](https://github.com/floci-io/floci-cli/issues/25)) ([7343a53](https://github.com/floci-io/floci-cli/commit/7343a539c20a57856a793a498053ebb469f49c1c)), closes [#23](https://github.com/floci-io/floci-cli/issues/23) [#23](https://github.com/floci-io/floci-cli/issues/23)
## [0.2.2](https://github.com/floci-io/floci-cli/compare/0.2.1...0.2.2) (2026-09-13)
### Bug Fixes
* **profile:** apply --profile to every command, not just config show ([#23](https://github.com/floci-io/floci-cli/issues/23)) ([52c08ec](https://github.com/floci-io/floci-cli/commit/52c08ecec56e163a034d21e5cf6cefcdef6c39cd)), closes [#22](https://github.com/floci-io/floci-cli/issues/22)
## [0.2.1](https://github.com/floci-io/floci-cli/compare/0.2.0...0.2.1) (2026-08-27)
### Bug Fixes
* **env:** single-quote exported values in every product tree ([#19](https://github.com/floci-io/floci-cli/issues/19)) ([6496795](https://github.com/floci-io/floci-cli/commit/6496795708fe7a12141e3640a0e74435892a8c57)), closes [#18](https://github.com/floci-io/floci-cli/issues/18)
## [0.2.0] — 2026-07-28
### Changed
- Internal: the four near-identical product command trees were unified into one `ProductProfile`-parameterized implementation — the `gcp`/`az`/`oci` command classes are now thin subclasses of the root commands, eliminating the copy-drift bug class ([#16](https://github.com/floci-io/floci-cli/pull/16))
- **Snapshot commands are now real API calls in every product tree.** `floci gcp|az|oci snapshot save/load/list/delete` call the product server's `/snapshots` control-plane endpoints and degrade gracefully when the server doesn't support them yet — previously they printed a "not yet available" note and exited 0. `snapshot export`/`import` now exit 1 with an error in all four trees (previously exit 0 with a note on gcp/az/oci); CI scripts that relied on the silent success of stubbed snapshot commands will now see failures. Snapshot error messages point at the product's GitHub issue tracker instead of the maintainer-only TODO.md ([#16](https://github.com/floci-io/floci-cli/pull/16))
- `floci gcp|az|oci logs` gained the `--service` flag and `services` gained `--mode`, matching the AWS tree (they had drifted apart); `version` on the AWS tree now prints the port-auto-detected endpoint in its "not reachable" hint like the other trees ([#16](https://github.com/floci-io/floci-cli/pull/16))
- `services` and `snapshot save/load/list/delete` now auto-detect the endpoint from the running container's port mapping in every tree (like `status`/`wait`/`env` always did), so a container started with `--port <n>` is found without passing `--endpoint` ([#16](https://github.com/floci-io/floci-cli/pull/16))
- Global `--endpoint`/`--container` help text now shows each product's default value ([#16](https://github.com/floci-io/floci-cli/pull/16))
- The AWS tree now brands itself **Floci AWS** in banners, messages, and help text ("Starting Floci AWS container...", "Floci AWS Doctor", "Show Floci AWS container and server status"), matching the Floci GCP / Floci Azure / Floci OCI naming ([#16](https://github.com/floci-io/floci-cli/pull/16))
### Added
- `floci oci` command group — full lifecycle support for the Floci OCI (Oracle Cloud) emulator (`floci-oci`, default port 4599): `start`, `stop`, `restart`, `status`, `logs`, `wait`, `version`, `services`, `doctor`, `env`, `config`, and stub `snapshot` commands, mirroring the GCP/Azure trees. `floci oci env` exports `OCI_CLI_ENDPOINT`, `FLOCI_OCI_ENDPOINT`, and `TF_VAR_CLIENT_HOST_OVERRIDES` for the OCI CLI, the `ocilocal` wrapper, and the `oracle/oci` Terraform provider. `floci config default-product oci` routes bare commands to the OCI tree ([#15](https://github.com/floci-io/floci-cli/pull/15))
- `floci oci setup` — one-step OCI CLI/SDK client setup: generates a local RSA-2048 API signing key (`~/.oci/floci_key.pem`, with the `OCI_API_KEY` label and a real computed fingerprint) and writes a `[FLOCI]` profile to `~/.oci/config` using the emulator's canonical throwaway tenancy. Idempotent; never modifies existing profiles; `--profile-name` overrides the section name. `floci oci env` additionally exports `OCI_CLI_PROFILE` for whichever profile setup wrote (detected via its `key_file`), so `eval $(floci oci env)` is the only connect step needed; env exports are single-quoted per shell so hostile endpoint values cannot inject commands through `eval` ([#15](https://github.com/floci-io/floci-cli/pull/15))
- `FlociHttpClient` now accepts both health-endpoint `services` shapes: the array of names reported by the AWS/GCP/Azure servers and the `{name: status}` object reported by floci-oci (previously the object shape read as zero services in `status`/`services`/`wait`) ([#15](https://github.com/floci-io/floci-cli/pull/15))
## [0.1.9] — 2026-07-24
### Added
- `floci update` — self-update for native-binary installs. Downloads the platform binary from the GitHub release (same source as `install.sh`), verifies its sha256 against the release's `sha256sums.txt`, and atomically replaces the running binary (staged in the same directory so the `ATOMIC_MOVE` can never leave a half-written executable). `--check` reports staleness without installing (exit 0 = up to date, 1 = update available, script-friendly as `floci update --check || floci update`); `--version <v>` pins a target version. Homebrew-managed installs are detected and refused with a pointer to `brew upgrade floci` ([#12](https://github.com/floci-io/floci-cli/pull/12))
- Update notifier — when floci runs in an interactive terminal it now prints an npm/`gh`-style hint when a newer release exists (`A new release of floci is available: … → …`). The hint renders from a local cache (`~/.floci/update-check.json`) so it never blocks on the network; the cache is refreshed on a background virtual thread at most once every 24h, and a non-version response (captive portals answering 200 + HTML) is rejected rather than cached. Skipped for `floci update` itself, in CI, for piped/non-TTY output, and when `FLOCI_NO_UPDATE_CHECK` is set ([#13](https://github.com/floci-io/floci-cli/pull/13))
- `AGENTS.md` — tracked, repository-specific guidance for AI coding agents (architecture, native-image constraints, scope rules, conventions), following the [AGENTS.md standard](https://agents.md/)
- `CONTRIBUTING.md` — build/test setup, commit message and changelog conventions, PR guidelines, testing policy, and the tag-driven release process — plus a pull request template
- README now documents the `floci gcp` command group (quick start, command reference, global flags, `floci gcp env` variables, CI usage) — it was fully shipped since 0.1.3 but absent from the README, which claimed the CLI covered "AWS and Azure" only
### Fixed
- `floci update` was routed through the default-product dispatch, so with a non-AWS default product (`floci config default-product gcp`) it resolved to a product subtree instead of the top-level update command. `update` is now exempt from default-product routing, alongside `aws`/`az`/`gcp`/`config`/`completion`/`help` ([#13](https://github.com/floci-io/floci-cli/pull/13))
- `floci update` rejected release tags that do not parse as a version, and no longer downgrades a pre-release build (e.g. `0.1.9-rc.1`) to the latest stable; an empty response body now reports a clearer error ([#13](https://github.com/floci-io/floci-cli/pull/13))
- `ContainerInfo` fields realigned with the `docker inspect` `--format` template order in `DockerClient` — field/value mismatches could surface wrong container metadata (e.g. status/ports swapped) in `status` and port auto-detection ([#11](https://github.com/floci-io/floci-cli/pull/11))
- README and release notes claimed the fat JAR runs on Java 21+, but it is built with `--release 25` and fails with `UnsupportedClassVersionError` on Java 21–24 — corrected to Java 25+
## [0.1.8] — 2026-06-21
### Fixed
- `floci start --persist` bind-mounted the host directory to `/app/data` but the floci server still ran in its default in-memory storage mode (`FLOCI_STORAGE_MODE=memory`), so emulator state was never written to the mount and did not survive a container recreate. `--persist` now also sets `FLOCI_STORAGE_MODE=persistent` (the per-cloud-prefixed variant `FLOCI_GCP_STORAGE_MODE` / `FLOCI_AZ_STORAGE_MODE` for `floci gcp start` / `floci az start`), so state actually persists across restarts. Completes the persistence fix started in [#8](https://github.com/floci-io/floci-cli/issues/8) ([#9](https://github.com/floci-io/floci-cli/pull/9))
## [0.1.7] — 2026-06-20
### Fixed
- `floci start` mounted the host persistent path to `/var/lib/floci` inside the container, but the floci server reads and writes its persisted state under `/app/data`. State therefore never survived a container recreate despite `--persist` being set. The bind mount now targets `/app/data`, matching the server's data directory ([#8](https://github.com/floci-io/floci-cli/issues/8))
## [0.1.6] — 2026-06-11
### Fixed
- `floci doctor`'s `docker.daemon` check reported "Docker daemon not reachable" under Podman even when the daemon was clearly up (container running, endpoint reachable). The probe used `docker info --format '{{.ServerVersion}}'`, a Docker-only template field that errors under `podman info`. It now checks daemon reachability by exit code alone (`docker info` / `podman info` exit 0 when reachable), with output discarded to avoid a pipe-buffer deadlock
## [0.1.5] — 2026-06-10
### Added
- `floci start` (and `floci az`/`floci gcp start`) now honor the standard `DOCKER_HOST` environment variable, so Podman, rootless setups, and remote Docker contexts work without assuming `/var/run/docker.sock`. `DOCKER_HOST` is resolved into a unix socket, remote TCP daemon, or Windows named pipe — unix sockets are bind-mounted, remote TCP daemons are passed through to the container via `DOCKER_HOST`. Precedence is `DOCKER_HOST` → `DOCKER_SOCK` (legacy override) → OS default. `floci doctor`'s `docker.socket` check reports the resolved endpoint ([#3](https://github.com/floci-io/floci-cli/issues/3))
- Release ships a `darwin/amd64` (Intel macOS) native binary again — built with an x86_64 GraalVM under Rosetta 2 on the Apple Silicon runner, avoiding the unreliable/queue-bound `macos-13` Intel runner that previously caused the target to be dropped (a past release sat 9.5h on `macos-13` before being cancelled). The Homebrew formula bump again wires the `darwin/amd64` SHA, so `brew install` and the install script resolve a real Intel binary instead of 404ing ([#2](https://github.com/floci-io/floci-cli/issues/2))
### Fixed
- `install.sh` no longer reports a misleading "Checksum mismatch" when a download transiently fails. A failed `sha256sums.txt` fetch inside a command-substitution pipeline was masked by `set -e`, leaving the expected checksum empty and falsely flagging a mismatch against a correctly-downloaded binary. The installer now retries every download with backoff — an explicit loop (4 attempts by default, tunable via `FLOCI_DOWNLOAD_RETRIES`) that treats both transient HTTP errors and 0-byte responses as retryable, on top of `curl --retry` — fetches checksums to a file so download failures are caught, and emits distinct errors for "couldn't fetch checksum" vs. an actual mismatch. Adds `FLOCI_SKIP_CHECKSUM=1` to bypass verification (floci-io/floci#1236)
## [0.1.4] — 2026-06-02
### Fixed
- `floci gcp wait` / `status` / `version` / `services` / `doctor` timed out or reported the server unreachable even when the floci-gcp container was healthy — the CLI probed the AWS/Azure control path `/_floci/health`, which the GCP server routes into its GCS service (`object not found bucket=_floci name=health`). The GCP control plane lives under `/_floci-gcp`; `FlociHttpClient` now takes a configurable control-plane prefix and the `floci gcp` commands use `/_floci-gcp`
## [0.1.3] — 2026-06-02
### Added
- `floci gcp` subcommand group — full GCP emulator lifecycle via `floci gcp start|stop|restart|status|logs|wait|version|services|doctor|env|config|snapshot|completion`
- `floci gcp start` — launches `floci/floci-gcp:latest` on port 4588, mounts persist dir to `/app/data`
- `floci gcp env` — prints GCP SDK emulator host variables (`STORAGE_EMULATOR_HOST`, `PUBSUB_EMULATOR_HOST`, `FIRESTORE_EMULATOR_HOST`, `DATASTORE_EMULATOR_HOST`, `SECRET_MANAGER_EMULATOR_HOST`); `--service` flag filters to a specific service (gcs, pubsub, firestore, datastore, secretmanager); supports bash, fish, and powershell shell formats
- `floci gcp doctor` — GCP-specific diagnostics: Docker checks against the `floci/floci-gcp` image plus GCP environment checks
- `floci gcp config show|profile|validate` — manage GCP profile configuration
- `floci config default-product gcp` — `gcp` is now a valid default product alongside `aws` and `az`; bare `floci start` routes to the configured default
- `floci gcp snapshot` stubs — commands registered but report "not yet available" pending server-side implementation in floci-gcp
## [0.1.2] — 2026-05-15
### Fixed
- `floci version` / `floci --version` now reads the version from a Maven-filtered `version.properties` resource instead of a hardcoded string — bumping `pom.xml` is now the single source of truth
- Homebrew bump workflow: secret renamed from `HOMEBREW_BUMP_TOKEN` to `GH_TOKEN`; removed stale `darwin/amd64` SHA extraction that referenced the dropped build target
## [0.1.1] — 2026-05-15
### Added
- `floci az` subcommand group — full Azure emulator lifecycle via `floci az start|stop|restart|status|logs|wait|version|services|doctor|env|snapshot|completion`
- `floci aws` subcommand group — explicit alias for all AWS commands (mirrors bare `floci *`)
- `floci az start` — launches `floci/floci-az:latest` on port 4577, mounts persist dir to `/app/data`
- `floci az env` — prints `AZURE_STORAGE_CONNECTION_STRING` (default) or individual SDK endpoint vars (`--format sdk-vars`); `--service` flag filters to specific services (blob, queue, table, functions, app-config, key-vault)
- `floci az doctor` — Azure-specific diagnostics: all Docker checks against `floci/floci-az` image, plus `az.cli.installed` and `az.cli.connection-string` checks
- `floci config default-product aws|az` — persists the default product to `~/.floci/config.yaml`; bare `floci start` routes to the configured default
- `floci az snapshot` stubs — commands registered but report "not yet available" pending server-side implementation in floci-az
### Changed
- `floci start` now routes to the configured default product (AWS unless overridden with `floci config default-product az`)
- `floci env` and `floci az env` now auto-detect the port from the running container's port mapping instead of using the option default
- CI native build reduced to linux/arm64 only — removed linux/amd64 native job from CI (covered by JVM test job); release still ships all platform binaries
- Release drops darwin/amd64 — `macos-13` Intel runners took 34+ minutes for native-image builds; darwin/arm64 (Apple Silicon) ships instead
### Fixed
- `floci env` reported wrong port when container ran on a non-default port — now calls `resolvedEndpoint()` before extracting port
- `floci az doctor` incorrectly checked for `floci/floci` image — now checks `floci/floci-az`
## [0.1.0] — 2026-05-14
### Added
- `floci start` — launches the Floci container with configurable port, persist directory, services, and image pull policy
- `floci stop` — stops and optionally removes the container
- `floci restart` — stop + start in sequence
- `floci status` — shows container state, endpoint reachability, and server version
- `floci logs` — streams container logs with `--follow`, `--tail`, `--since` options
- `floci wait` — polls `/_floci/health` until ready, with configurable timeout
- `floci version` — prints CLI version, server version, and image digest
- `floci services` — lists enabled services from the running instance
- `floci doctor` — runs 13 environment checks: Docker installation, daemon, socket, version, port availability, image presence and version, container state, endpoint reachability, AWS CLI endpoint configuration, S3 path-style config, Rust SDK XML warning, Go SDK endpoint warning
- `floci config show` — displays the active configuration and profile
- `floci config validate` — validates a docker-compose.yml for Floci compatibility
- `floci config profile list|show|create|delete` — manages profiles in `~/.floci/profiles/`
- `floci snapshot save|load|list|delete` — thin wrapper over `/_floci/snapshots/*` (stubs pending server implementation)
- `floci snapshot export|import` — stubs pending server implementation
- `floci completion bash|zsh` — generates shell completion scripts
- Global flags: `--endpoint`, `--container`, `--profile`, `--output text|json|yaml`, `--quiet`, `--verbose`, `--no-color`
- GraalVM native binary for linux/amd64, linux/arm64, darwin/arm64, windows/amd64
- Homebrew formula template and automated bump workflow
- Scoop bucket template
- `curl | sh` installer for Linux and macOS
- PowerShell installer for Windows
### Known Limitations
- `floci snapshot export` and `floci snapshot import` are stubs — server-side endpoints not yet implemented
- `floci logs --service` filter is not yet supported (requires server-side log routing)
- Shell completion for `fish` and `powershell` is not yet generated by Picocli
[0.1.9]: https://github.com/floci-io/floci-cli/compare/0.1.8...0.1.9
[0.1.8]: https://github.com/floci-io/floci-cli/compare/0.1.7...0.1.8
[0.1.7]: https://github.com/floci-io/floci-cli/compare/0.1.6...0.1.7
[0.1.6]: https://github.com/floci-io/floci-cli/compare/0.1.5...0.1.6
[0.1.5]: https://github.com/floci-io/floci-cli/compare/0.1.4...0.1.5
[0.1.4]: https://github.com/floci-io/floci-cli/compare/0.1.3...0.1.4
[0.1.3]: https://github.com/floci-io/floci-cli/compare/0.1.2...0.1.3
[0.1.2]: https://github.com/floci-io/floci-cli/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/floci-io/floci-cli/compare/0.1.0...0.1.1
[0.1.0]: https://github.com/floci-io/floci-cli/releases/tag/0.1.0