Releases: elastic/cli
Releases · elastic/cli
v0.2.0
0.2.0 (2026-05-29)
Features
- cli: Add elastic status command to verify connectivity and auth (#362) (0f1a63f)
- cli: Add root version flag (#334) (c2557bf)
- cli: Add shell completion for bash, zsh, and fish (#354) (e4afc32)
- Emit CLI structure as argh-schema JSON via
elastic cli-schema(#359) (9e0371c) - es: Replace @elastic/transport with native fetch EsClient (#281) (929ddd4)
- extension: Add extension registry store module (#299) (f42593e)
Bug Fixes
- Cat APIs were casting JSON objects to string instead of printing text (#358) (04edbe7)
- cli: Bundle zod to fix
npm install -gfirst-run failure (#340) (b8e7280) - codegen: Wire upstream cli-serverless into cloud codegen (#355) (afe1c35)
- config: Dedupe inline secret warning (#364) (df9fd5d)
- deps: Update dependency yaml to v2.8.4 (#322) (39410e2)
- deps: Update dependency yaml to v2.9.0 (#368) (a1f9e18)
- deps: Update dependency zod to v4.4.3 (#320) (f787796)
- Duplicate NDJSON content type in bulk ingest (#363) (4cd0970)
- es: Accept array _source in search bodies (#370) (51b4bfe)
- es: Full support for shortcut properties (#372) (a72d0bb)
- es: Parse --sort : for body-routed Sort args (#350) (ce0e76a), closes #330
- factory: Preserve optionality on JSON body field relaxation (#349) (617e035)
- factory: Support '-' as stdin sentinel for --input-file (#337) (ad970e0)
- Flush full JSON schema when stdout is a pipe (#375) (5ac7b5c)
- output: Allow literal-dotted keys in --output-fields paths (#336) (aecf689)
- output: Error on templated primitives, flip cat APIs to JSON (#327) (#353) (da808d8)
- output: Project --output-fields across array nodes (#338) (28a7a73)
- Respect --json flag on --help for root and groups (#373) (2297c98)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @elastic/es-schemas bumped from 1.0.1 to 1.0.2
- dependencies
es-schemas: 1.0.2
1.0.2 (2026-05-29)
Bug Fixes
es-schemas: v1.0.2
v0.1.1
es-schemas: v1.0.1
v0.1.0
0.1.0 (2026-05-11)
Features
elastic configcommand group + credential-safe project create (#216) (fd337ed)- Add --fields and --template flags for output control (#220) (99f9ebe)
- Add bulk-ingest helper command (#119) (422f2e3)
- Add elastic docs commands (search, ask, chat, read) (#147) (fd447b1)
- Add external credential resolvers for config values (#143) (e8d98a0)
- Add helper commands foundation (#118) (1761707)
- Add msearch helper command (#127) (59e7691)
- Add scroll-search helper command (#123) (21573db)
- Add secret_service, pass, and credential_manager resolvers (#152) (92e6982)
- bulk-ingest: Add CSV input support via --source-format csv (#286) (ef46af6)
- Command profiles for deployment-aware API surface filtering (#284) (c3a7226)
- Es-schema module poc (#232) (61ba1d8)
- es: Group top-level commands by domain in help output (#221) (#288) (ca5bd83)
- helpers: Add watch command to stream new documents from an index (#255) (#289) (b0c8952)
- Implement elastic sanitize command (#233) (b4b5ab7)
- kb: Add Kibana API support with generated command definitions (#195) (adf5b45)
- kb: Add kibana functional tests (#279) (adb6cc7)
- Lazy validation, only resolve expressions for the active context (#148) (77dbd5f)
- Namespace restructure per UX proposal (#229) (#282) (2e4b877)
- Startup banner with Elastic brand colors (#256) (bc6e83a)
Bug Fixes
- --input-file should work in non-TTY contexts (#121) (c7e2387)
- Autogenerated code to allow passthrough schemas to prevent Zod field stripping (#159) (1b91960)
- Buffer chunks and return JSON in ask --json mode (3d14be9)
- Buffer chunks and return JSON in chat --json mode (ad620e3)
- Buffer scroll-search documents into single JSON object when --json is active (#207) (d2b4a43)
- Cache early config load to avoid redundant double load (#206) (c32e235)
- ci: Replace npm install with npm ci in all workflows (#257) (c6beb33), closes #238
- ci: Scope workflow permissions to minimum per-job (ECLI-004) (#259) (df40134), closes #241
- codegen: Emit --json instead of unsupported --format=json (#194) (e6dabee), closes #192
- codegen: Emit no-op in teardown when every step is skipped (#190) (9245d80), closes #188
- codegen: Skip assertions that depend on an unmapped do-step (#191) (91c8e34), closes #189
- Ensure global options can appear in any order (#113) (a49b6c0)
- Es functional tests (#196) (adefd3a)
- Handle repeated CLI flags instead of silently dropping values (#126) (7617c57)
- Incorrect elastic config set suggestion in missing config error (#129) (3da66c7)
- Keep NOTICE.txt accurate in Renovate PRs and local dev (#252) (#287) (362497f)
- Only allow static config file types (#114) (e7c01b8)
- Parsing/destructuring command inputs (#130) (b8fe57d)
- Pass cat text responses through without extra newline (#268) (0542d07)
- Pin jq ver in ci (#209) (32ce18b)
- Print human-readable output for --dry-run without --json (#117) (6763b98)
- Render API errors as human-readable messages in text mode (#153) (31ba9bd)
- Restrict config discovery to home directory only (#142) (15435a8)
- Return structured JSON from docs ask/chat when --json is active (#202) (3a5ac96)
- Split CSV into arrays for body-routed union fields (#167) (#214) (f6a60f4)
- Surface all config loading errors in preAction hook (#124) (4d10966)
- Surface best-matching variant for union validation errors (#172) (#213) (9bfd3b0)
- Surface meaningful error messages for connection failures (#122) ([844eb0b](844eb0ba466bca05fe...