Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/parser-package-extraction.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/ready-kids-kiss.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/esql-ast/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @elastic/esql-ast

## 4.22.0

### Patch Changes

- Updated dependencies [[`2e9ed09`](https://github.com/elastic/esql-js/commit/2e9ed09869b154b16fa7f7ad57e4fa165e233d3d)]:
- @elastic/esql-types@4.22.0
- @elastic/esql-definitions@4.22.0
- @elastic/esql-grammar@4.22.0
- @elastic/esql-promql-grammar@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-ast/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql-ast",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "ES|QL AST builder.",
"license": "Elastic-2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/esql-definitions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @elastic/esql-definitions

## 4.22.0

## 4.21.1

## 4.21.0
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-definitions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql-definitions",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "Shared definitions for the ES|QL language (commands, functions, operators).",
"license": "Elastic-2.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/esql-dsl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @elastic/elasticsearch-esql-dsl

## 4.22.0

### Patch Changes

- Updated dependencies []:
- @elastic/elasticsearch-query-builder@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-dsl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/elasticsearch-esql-dsl",
"version": "4.21.1",
"version": "4.22.0",
"author": "Elastic",
"description": "Elasticsearch ES|QL DSL for JavaScript/TypeScript",
"license": "Apache-2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/esql-grammar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @elastic/esql-grammar

## 4.22.0

## 4.21.1

## 4.21.0
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-grammar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql-grammar",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "Auto-generated ANTLR4 TypeScript artifacts for the ES|QL grammar. Do not edit by hand.",
"license": "Elastic-2.0",
Expand Down
23 changes: 23 additions & 0 deletions packages/esql-parser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @elastic/esql-parser

## 4.22.0

### Minor Changes

- [#232](https://github.com/elastic/esql-js/pull/232) [`bbf69c0`](https://github.com/elastic/esql-js/commit/bbf69c0148dfad620d7603e0cc0c030b28da7545) Thanks [@vadimkibana](https://github.com/vadimkibana)! - Extract the parser and the AST visitor out of `@elastic/esql` into the packages that own them.

`@elastic/esql-parser` now holds the ES|QL parser (`parse`, `Parser`, `ParseOptions`, `ParseResult`, `ESQLErrorListener`), the PromQL parser (`PromQLParser`, `PromQLErrorListener`, `PromQLCstToAstConverter`), the ANTLR token helpers (`getPosition`, `findTokens`, `findFirstToken`, `findVisibleToken`, `findPunctuationToken`, `isLikelyPunctuation`), and the parser constants (`DEFAULT_CHANNEL`, `HIDDEN_CHANNEL`, `HEADER_COMMANDS`, `SOURCE_COMMANDS`). It also declares the runtime dependencies it needs (`antlr4`, `@elastic/esql-ast`, `@elastic/esql-definitions`, `@elastic/esql-promql-grammar`, `@elastic/esql-traversal`, `@elastic/esql-types`); previously it declared none, so its CommonJS build inlined the ANTLR runtime and failed to load under `require`.

`@elastic/esql-traversal` now holds the AST `Visitor` together with its visitor contexts, and `printAst`.

`@elastic/esql` re-exports all of the above, so its public API is unchanged.

- [#234](https://github.com/elastic/esql-js/pull/234) [`2e9ed09`](https://github.com/elastic/esql-js/commit/2e9ed09869b154b16fa7f7ad57e4fa165e233d3d) Thanks [@vadimkibana](https://github.com/vadimkibana)! - Add `DENSE_VECTOR` command parsing and traversal support

### Patch Changes

- Updated dependencies [[`bbf69c0`](https://github.com/elastic/esql-js/commit/bbf69c0148dfad620d7603e0cc0c030b28da7545), [`2e9ed09`](https://github.com/elastic/esql-js/commit/2e9ed09869b154b16fa7f7ad57e4fa165e233d3d)]:
- @elastic/esql-traversal@4.22.0
- @elastic/esql-types@4.22.0
- @elastic/esql-definitions@4.22.0
- @elastic/esql-promql-grammar@4.22.0
- @elastic/esql-ast@4.22.0

## 4.21.1

## 4.21.0
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql-parser",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "ES|QL query parser.",
"license": "Elastic-2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/esql-promql-grammar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @elastic/esql-promql-grammar

## 4.22.0

## 4.21.1

## 4.21.0
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-promql-grammar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql-promql-grammar",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "Auto-generated ANTLR4 TypeScript artifacts for the PromQL grammar. Do not edit by hand.",
"license": "Elastic-2.0",
Expand Down
20 changes: 20 additions & 0 deletions packages/esql-traversal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @elastic/esql-traversal

## 4.22.0

### Minor Changes

- [#232](https://github.com/elastic/esql-js/pull/232) [`bbf69c0`](https://github.com/elastic/esql-js/commit/bbf69c0148dfad620d7603e0cc0c030b28da7545) Thanks [@vadimkibana](https://github.com/vadimkibana)! - Extract the parser and the AST visitor out of `@elastic/esql` into the packages that own them.

`@elastic/esql-parser` now holds the ES|QL parser (`parse`, `Parser`, `ParseOptions`, `ParseResult`, `ESQLErrorListener`), the PromQL parser (`PromQLParser`, `PromQLErrorListener`, `PromQLCstToAstConverter`), the ANTLR token helpers (`getPosition`, `findTokens`, `findFirstToken`, `findVisibleToken`, `findPunctuationToken`, `isLikelyPunctuation`), and the parser constants (`DEFAULT_CHANNEL`, `HIDDEN_CHANNEL`, `HEADER_COMMANDS`, `SOURCE_COMMANDS`). It also declares the runtime dependencies it needs (`antlr4`, `@elastic/esql-ast`, `@elastic/esql-definitions`, `@elastic/esql-promql-grammar`, `@elastic/esql-traversal`, `@elastic/esql-types`); previously it declared none, so its CommonJS build inlined the ANTLR runtime and failed to load under `require`.

`@elastic/esql-traversal` now holds the AST `Visitor` together with its visitor contexts, and `printAst`.

`@elastic/esql` re-exports all of the above, so its public API is unchanged.

- [#234](https://github.com/elastic/esql-js/pull/234) [`2e9ed09`](https://github.com/elastic/esql-js/commit/2e9ed09869b154b16fa7f7ad57e4fa165e233d3d) Thanks [@vadimkibana](https://github.com/vadimkibana)! - Add `DENSE_VECTOR` command parsing and traversal support

### Patch Changes

- Updated dependencies [[`2e9ed09`](https://github.com/elastic/esql-js/commit/2e9ed09869b154b16fa7f7ad57e4fa165e233d3d)]:
- @elastic/esql-types@4.22.0
- @elastic/esql-ast@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-traversal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql-traversal",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "ES|QL AST traversal utilities.",
"license": "Elastic-2.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/esql-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @elastic/esql-types

## 4.22.0

### Minor Changes

- [#234](https://github.com/elastic/esql-js/pull/234) [`2e9ed09`](https://github.com/elastic/esql-js/commit/2e9ed09869b154b16fa7f7ad57e4fa165e233d3d) Thanks [@vadimkibana](https://github.com/vadimkibana)! - Add `DENSE_VECTOR` command parsing and traversal support

## 4.21.1

## 4.21.0
Expand Down
2 changes: 1 addition & 1 deletion packages/esql-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql-types",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "TypeScript type definitions for the ES|QL AST.",
"license": "Elastic-2.0",
Expand Down
22 changes: 22 additions & 0 deletions packages/esql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @elastic/esql

## 4.22.0

### Patch Changes

- [#232](https://github.com/elastic/esql-js/pull/232) [`bbf69c0`](https://github.com/elastic/esql-js/commit/bbf69c0148dfad620d7603e0cc0c030b28da7545) Thanks [@vadimkibana](https://github.com/vadimkibana)! - Extract the parser and the AST visitor out of `@elastic/esql` into the packages that own them.

`@elastic/esql-parser` now holds the ES|QL parser (`parse`, `Parser`, `ParseOptions`, `ParseResult`, `ESQLErrorListener`), the PromQL parser (`PromQLParser`, `PromQLErrorListener`, `PromQLCstToAstConverter`), the ANTLR token helpers (`getPosition`, `findTokens`, `findFirstToken`, `findVisibleToken`, `findPunctuationToken`, `isLikelyPunctuation`), and the parser constants (`DEFAULT_CHANNEL`, `HIDDEN_CHANNEL`, `HEADER_COMMANDS`, `SOURCE_COMMANDS`). It also declares the runtime dependencies it needs (`antlr4`, `@elastic/esql-ast`, `@elastic/esql-definitions`, `@elastic/esql-promql-grammar`, `@elastic/esql-traversal`, `@elastic/esql-types`); previously it declared none, so its CommonJS build inlined the ANTLR runtime and failed to load under `require`.

`@elastic/esql-traversal` now holds the AST `Visitor` together with its visitor contexts, and `printAst`.

`@elastic/esql` re-exports all of the above, so its public API is unchanged.

- Updated dependencies [[`bbf69c0`](https://github.com/elastic/esql-js/commit/bbf69c0148dfad620d7603e0cc0c030b28da7545), [`2e9ed09`](https://github.com/elastic/esql-js/commit/2e9ed09869b154b16fa7f7ad57e4fa165e233d3d)]:
- @elastic/esql-parser@4.22.0
- @elastic/esql-traversal@4.22.0
- @elastic/esql-types@4.22.0
- @elastic/esql-definitions@4.22.0
- @elastic/esql-grammar@4.22.0
- @elastic/esql-promql-grammar@4.22.0
- @elastic/pretty-printer@4.22.0
- @elastic/esql-ast@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/esql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/esql",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "A set of ts tools to parse, build and transform ES|QL queries programmatically.",
"license": "Elastic-2.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/highlightjs-esql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @elastic/highlightjs-esql

## 4.22.0

### Patch Changes

- Updated dependencies []:
- @elastic/esql-definitions@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/highlightjs-esql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/highlightjs-esql",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "Highlight.js language syntax definitions for ES|QL",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/monaco-esql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @elastic/monaco-esql

## 4.22.0

### Patch Changes

- Updated dependencies []:
- @elastic/esql-definitions@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco-esql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/monaco-esql",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "Monaco Editor language support for ES|QL.",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions packages/pretty-printer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @elastic/pretty-printer

## 4.22.0

## 4.21.1

## 4.21.0
Expand Down
2 changes: 1 addition & 1 deletion packages/pretty-printer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/pretty-printer",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "A general-purpose Wadler-Lindig document algebra and layout engine for width-aware pretty-printing.",
"license": "Elastic-2.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/prismjs-esql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @elastic/prismjs-esql

## 4.22.0

### Patch Changes

- Updated dependencies []:
- @elastic/esql-definitions@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/prismjs-esql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/prismjs-esql",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "Prism.js and Refractor ES|QL language syntax definitions for highlighting",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions packages/query-builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @elastic/elasticsearch-query-builder

## 4.22.0

## 4.21.1

## 4.21.0
Expand Down
2 changes: 1 addition & 1 deletion packages/query-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/elasticsearch-query-builder",
"version": "4.21.1",
"version": "4.22.0",
"author": "Elastic",
"description": "Elasticsearch Query Builder for JavaScript/TypeScript",
"license": "Apache-2.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/textmate-esql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @elastic/textmate-esql

## 4.22.0

### Patch Changes

- Updated dependencies []:
- @elastic/esql-definitions@4.22.0

## 4.21.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/textmate-esql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/textmate-esql",
"version": "4.21.1",
"version": "4.22.0",
"author": "Kibana ES|QL team",
"description": "TextMate grammar for ES|QL syntax highlighting",
"license": "MIT",
Expand Down