Skip to content

Update dependency peggy to v4 (main)#212280

Merged
lukasolson merged 5 commits intomainfrom
renovate/main-peggy
Mar 11, 2025
Merged

Update dependency peggy to v4 (main)#212280
lukasolson merged 5 commits intomainfrom
renovate/main-peggy

Conversation

@elastic-renovate-prod
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Feb 24, 2025

This PR contains the following updates:

Package Type Update Change
peggy (source) devDependencies major ^1.2.0 -> ^4.2.0

Release Notes

peggyjs/peggy (peggy)

v4.2.0

Compare Source

Released: 2024-11-19

New features
  • #​568 Upgrading to TypeScript 5.6 allowed for generating parser.d.ts, which should may help people that use Peggy programmatically in nonstandard ways.
Bug fixes
  • #​567 Load config files and plugins correctly on Windows by using file: URIs in import().
Documentation
  • #​566 Slight tweaks to document generation.

v4.1.1

Compare Source

v4.1.0 did not actually get published due to a workflow issue that should
be sorted out now.

New features
  • #​477 Option to output .d.ts files next to .js from CLI.
  • #​530 Allow es6 plugins from CLI
  • #​532 Allow es6 options files from the CLI
Bug fixes
  • #​531 Clean up rollup hacks from CLI code.
  • #​514 Allow execution of the peggy binary on Windows by handling node runtime flags manually, executing a sub-instance of node to actually run peggy.
  • #​538 Fixed error in TS types for peg$maxFailExpected and peg$maxFailPos.
  • #​551 Moved to package-extract instead of a custom script for version file generation.

v4.0.3

Compare Source

Released: 2024-06-19

New features
  • #​509 Add and implement ES6 export button
Bug fixes
  • #​493 Allow use of an empty
    array, null, or undefined as allowedStartRules option
  • #​505 Fix vscode-eslint settings
    to work with eslint flat config
  • #​507 Remove stray semicolon in CSS
  • #​508 Fix broken text input in
    web version
  • #​512 Add "StartRules" to peg.d.ts
  • #​513 Allow whitespace between
    plucked word and its pattern.
  • #​520 Grammar with token "constructor" fails to generate
  • #​522 Switched from puppeteer
    to playwright for web tests, and added them to CI.
Documentation

v4.0.2

Compare Source

Released: 2024-02-26

Bug fixes
  • #​490 Throw error when imports are used in unsupported formats. Supported formats are now only "es" and "commonjs".
  • #​494 Updated docs to make --allowedRules * more clear
  • #​495 from-mem inadvertantly
    made the minimum supported node version v20.8. Updated to latest from-mem.

v4.0.1

Compare Source

Released: 2024-02-23

Bug fixes

v4.0.0

Compare Source

Released: 2024-02-13

Major Changes
  • #​379 Fix infinite recursion
    issue by moving reportInfiniteRecursion to the new prepare pass, and having
    it fail after finding the first issue. This will require plugin authors
    to ensure that reportInfiniteRecursion is in the new pass correctly.
  • #​417 BREAKING: change to AST to
    allow topLevelInitializer and initializer to be arrays, in support of
    multi-file inputs. This will require plugin updates. The CLI and API now
    take multiple files as input, where the first file is your main library, and
    subsequent files consist of a library of other rules. The CLI can take file
    names of the form npm:<package-name>/<filename> to load library rules from
    an NPM package that is installed relative to the previous non-npm file name,
    or to the current working directory if this is the first file name.
  • #​420 BREAKING: Node v16+ is now
    required for running the CLI or using Peggy as a library. Generated code
    still targets older runtimes.
  • #​456 BREAKING: Allow imports
    from external compiled grammars inside a source grammar, using import {rule} from "external.js". Note that this syntax will generate either
    import or require in the JavaScript output, depending on the value of
    the format parameter. This will need explicit support from
    plugins, with a few new AST node types and a few visitor changes.
  • #​463 Drop support for
    Internet Explorer. Move to eslint flat configs in order to lint minimized
    browser code for compatibility with
    defaults, maintained node versions, not op_mini all.
Minor Changes
  • #​400 Use @generated in generated
    code
  • #​404 Add support for -w/--watch
    to the command line interface.
  • #​415 Added browser key to package.json, pointing to Webpack output.
  • #​420 Updated dependencies to
    avoid audit warnings.
  • #​425 Add a pass to simplify single-character choices
  • #​427 Avoid double extraction of
    substrings in various MATCH_ bytecodes
  • #​430 Make generate-js.js ts clean
  • #​432 Add peggy.code-workspace
  • #​435 Setup tsconfig to detect use of library functions from es6 or later
  • #​436 Get rid of tsd
  • #​437 Better type checking for visitor
  • #​438 Make test build deterministic
  • #​439 Make peg$computePosDetails a little faster
  • #​440 Create directories for
    output and source-map if they do not exist, rather than erroring.
  • #​446 Add a right-associative ExponentiationExpression rule (operator **) to javascript.pegjs example grammar.
  • #​451 Make stack.js ts clean
  • #​452 Fixes to prepare generate-bytecode.js for ts-check
  • #​453 Make generate-bytecode.js ts-clean
  • #​460 Allow -t and -T testing
    from the CLI with --format es.
Bug Fixes
  • #​405 Doc example doesn't correspond to code example. From @​hildjj
  • #​415 Make docs match reality with import.
  • #​426 Fix typo in XML example.
  • #​434 Fixed bad example in docs.
  • #​445 Fix indentation in examples/javascript.pegjs.
  • #​450 Fixed misleading documentation.
  • #​466 Add docs for developers.

v3.0.2

Compare Source

Released: 2023-03-21

Minor Changes
  • #​392 Removed the --optimize
    command line argument, which has been invalid since v1.2. From @​hildjj.
Bug Fixes

v3.0.1

Compare Source

Released: 2022-03-05

Minor Changes
  • #​329 Allow plugin options in
    generate. This change loosens type checking strictness to allow for options
    unknown to Peggy, but used by plugins such as ts-pegjs. From @​hildjj.
Bug Fixes
  • #​329 Allow type definition for ParserBuildOptions to include plugin options. From @​hildjj.
  • #​346 Allow extra semicolons
    between rules. From @​hildjj.
  • #​347 Disallow '$' as an initial
    character in identifiers. This is not a breaking change because no grammar
    could have successfully used these in the past. From @​hildjj.
  • #​354 Various minor nits in the
    docs, including indentation and ensuring that the CNAME file is correct.
  • #​357 Fix infinite recursion
    possibility in repetition delimeters. From @​hildjj and @​Mingun.
  • #​359 Do not treat as many
    words as reserved. Clarify the documentation about identifiers. Ensure
    that it is more clear that the target language being generated determines
    what words are reserved. Clarify that reserved word checking is only
    done for labels. From @​nene.
  • #​364 Fix passing an incorrect
    external label to the expression inside the repeated node. From @​Mingun.

v3.0.0

Compare Source

Released: 2023-02-21

Major Changes
  • #​280 Add inline examples to
    the documentation, from @​hildjj
  • #​240 Generate SourceNodes for
    bytecode, from @​hildjj
  • #​338 BREAKING CHANGE. Update
    dependencies, causing minimum supported version of node.js to move to 14.
    Generated grammar source should still work on older node versions and some
    older browsers, but testing is currently manual for those. from @​hildjj
  • #​291: Add support for
    repetition operator expression|min .. max, delimiter|, from @​Mingun
  • #​339: BREAKING CHANGE. Updated
    the list of JavaScript reserved words. This will break existing grammars
    that use any of the new words in their rule or label names. from @​hildjj

Important information for plug-in authors: PR #​291 added 4 new opcodes to the bytecode:

  • IF_LT
  • IF_GE
  • IF_LT_DYNAMIC
  • IF_GE_DYNAMIC

and added a new AST node and a visitor method repeated. Do not forget to update your plug-ins.

Important information for grammar authors: the following words, which used to
be valid identifiers for rules and labels, are now treated as JavaScript
reserved words, and will cause errors at compile time if you are using them:

  • abstract
  • arguments
  • as
  • async
  • boolean
  • byte
  • char
  • double
  • eval
  • final
  • float
  • from
  • get
  • goto
  • int
  • long
  • native
  • of
  • set
  • short
  • synchronized
  • throws
  • transient
  • volatile
Minor Changes
  • #​274 "*" is now a valid allowedStartRule, which means all rules are allowed, from @​hildjj
  • #​229 new CLI option
    -S <rule> or --start-rule <rule> to specify the start rule when testing,
    from @​hildjj
  • #​236 Website: show line numbers
    in parser input textarea, from @​Mingun
  • #​280 new output type
    source-with-inline-map, which generates source text with an inline map,
    from @​hildjj
  • #​285 Require that a non-empty
    string be given as a grammarSource if you are generating a source map, from
    @​hildjj
  • #​206: New output type ast and
    an --ast flag for the CLI to get an internal grammar AST for investigation
    (can be useful for plugin writers), from @​Mingun
  • #​294 Website: show errors in the
    editors, from @​Mingun
  • #​297 Website: add Discord widget,
    from @​hildjj
  • #​299 Add example grammar for a
    SemVer.org semantic version string, from @​dselman
  • #​307 Allow grammars to have
    relative offsets into their source files (e.g. if embedded in another doc),
    from @​hildjj.
  • #​308 Add support for reading test
    data from stdin using -T -, from @​hildjj.
  • #​313 Create the website using
    eleventy, from @​camcherry
Bug Fixes
  • #​283 Fix incorrect type
    information for DiagnosticCallback, from @​hildjj
  • #​287 Allow large outputs
    to be received without blocking on the CLI tests, from @​hildjj

v2.0.1

Compare Source

Released: 2022-01-01

Major Changes
  • None
Minor Changes
  • #​261: Remove documentation from
    README.md, instead linking to the HTML documentation. HTML documentation on
    https://peggyjs.org is now served from the docs branch, so that it won't
    update as we change the main branch. main must be merged onto docs as
    a part of the release process going forward.
  • #​266: Expose the private
    field problems in the Session class, from @​hildjj.
Bug Fixes
  • #​263: Broken link to unpkg.
    This bug was a symptom of a relatively bad issue in the 2.0.0 release, where
    the web version of peggy was put in the wrong place, and therefore not
    tested in the release process. From @​hildjj.

v2.0.0

Compare Source

Released: 2022-05-28

Major Changes
  • #​163: Add support for
    generating source maps, from @​Mingun
  • #​160: Introduce an API for
    reporting errors, warnings and information messages from passes. New API
    allows reporting several diagnostics at once with intermediate results
    checking after each compilation stage, from @​Mingun
  • #​218: Add a sourceMappingURL
    to the generated code, from @​hildjj
  • #​248: Remove support for
    Node.js version 10. When updating dependencies, too many of the tools we
    use no longer work on the Node 10, which went out of security maintenance
    more than a year ago. Added support for Node.js version 18, from @​hildjj
  • #​251: Make commander and
    source-map-generator full dependencies. These are not needed for the
    pre-packaged web build, but will be used by Node or people that are doing
    their own packaging for the web, from @​hildjj
Minor Changes
Bug fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot added backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes labels Feb 24, 2025
@elastic-renovate-prod elastic-renovate-prod bot requested review from a team February 24, 2025 16:42
@davismcphee
Copy link
Contributor

/ci

1 similar comment
@davismcphee
Copy link
Contributor

/ci

@davismcphee davismcphee added Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// labels Feb 24, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@davismcphee davismcphee self-assigned this Feb 24, 2025
@davismcphee
Copy link
Contributor

@lukasolson @markov00 This is a big version bump, but other than some minor test failures due to error formatting changes, it passes CI. Any idea if merging this would be a bad idea, or do we think it makes sense?

@kertal
Copy link
Member

kertal commented Mar 3, 2025

/ci

@elastic-renovate-prod
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@kertal
Copy link
Member

kertal commented Mar 11, 2025

/ci

Copy link
Contributor

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked it out locally to make sure the build steps are still working properly when we make changes to the grammar.peggy files and it seems as if they are.

@davismcphee
Copy link
Contributor

/ci

@davismcphee
Copy link
Contributor

Just kicked off another CI build for this since it doesn't happen automatically when merging main. @lukasolson would you do the honours of merging once it passes? 🙏

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
canvas 1001.1KB 1001.4KB +283.0B
expressions 30.2KB 30.2KB +22.0B
lens 1.5MB 1.5MB +283.0B
presentationUtil 86.8KB 87.0KB +261.0B
visTypeTimelion 39.6KB 39.8KB +243.0B
total +1.1KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
expressions 92.4KB 92.6KB +261.0B
kbnUiSharedDeps-srcJs 3.6MB 3.6MB +839.0B
total +1.1KB

History

cc @lukasolson @davismcphee

@lukasolson lukasolson merged commit 238324a into main Mar 11, 2025
9 checks passed
lukasolson pushed a commit to lukasolson/kibana that referenced this pull request Mar 20, 2025
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [peggy](https://peggyjs.org/)
([source](https://github.com/peggyjs/peggy)) | devDependencies
| major | [`^1.2.0` ->
`^4.2.0`](https://renovatebot.com/diffs/npm/peggy/1.2.0/4.2.0) |

---

### Release Notes

<details>
<summary>peggyjs/peggy (peggy)</summary>

###
[`v4.2.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#420)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.1.1...v4.2.0)

Released: 2024-11-19

##### New features

- [#&elastic#8203;568](https://github.com/peggyjs/peggy/pull/568)
Upgrading to TypeScript 5.6 allowed for generating `parser.d.ts`, which
should may help people that use Peggy programmatically in nonstandard
ways.

##### Bug fixes

- [#&elastic#8203;567](https://github.com/peggyjs/peggy/issues/567)
Load config files and plugins correctly on Windows by using file: URIs
in import().

##### Documentation

- [#&elastic#8203;566](https://github.com/peggyjs/peggy/pull/566)
Slight tweaks to document generation.

###
[`v4.1.1`](https://github.com/peggyjs/peggy/releases/tag/v4.1.1)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.3...v4.1.1)

v4.1.0 did not actually get published due to a workflow issue that
should
be sorted out now.

##### New features

- [#&elastic#8203;477](https://github.com/peggyjs/peggy/issues/477)
Option to output .d.ts files next to .js from CLI.
- [#&elastic#8203;530](https://github.com/peggyjs/peggy/issues/531)
Allow es6 plugins from CLI
- [#&elastic#8203;532](https://github.com/peggyjs/peggy/issues/532)
Allow es6 options files from the CLI

##### Bug fixes

- [#&elastic#8203;531](https://github.com/peggyjs/peggy/issues/531)
Clean up rollup hacks from CLI code.
- [#&elastic#8203;514](https://github.com/peggyjs/peggy/issues/514)
Allow execution of the `peggy` binary on Windows by handling node
runtime flags manually, executing a sub-instance of node to actually run
`peggy`.
- [#&elastic#8203;538](https://github.com/peggyjs/peggy/pull/509)
Fixed error in TS types for `peg$maxFailExpected` and `peg$maxFailPos`.
- [#&elastic#8203;551](https://github.com/peggyjs/peggy/pull/551)
Moved to package-extract instead of a custom script for version file
generation.

###
[`v4.0.3`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#403)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.2...v4.0.3)

Released: 2024-06-19

##### New features

- [#&elastic#8203;509](https://github.com/peggyjs/peggy/pull/509) Add
and implement ES6 export button

##### Bug fixes

- [#&elastic#8203;493](https://github.com/peggyjs/peggy/issues/493)
Allow use of an empty
    array, null, or undefined as allowedStartRules option
- [#&elastic#8203;505](https://github.com/peggyjs/peggy/pull/505) Fix
vscode-eslint settings
    to work with eslint flat config
- [#&elastic#8203;507](https://github.com/peggyjs/peggy/pull/507)
Remove stray semicolon in CSS
- [#&elastic#8203;508](https://github.com/peggyjs/peggy/pull/508) Fix
broken text input in
    web version
- [#&elastic#8203;512](https://github.com/peggyjs/peggy/issues/512)
Add "StartRules" to peg.d.ts
- [#&elastic#8203;513](https://github.com/peggyjs/peggy/issues/513)
Allow whitespace between
    plucked word and its pattern.
- [#&elastic#8203;520](https://github.com/peggyjs/peggy/issues/520)
Grammar with token "constructor" fails to generate
- [#&elastic#8203;522](https://github.com/peggyjs/peggy/issues/522)
Switched from puppeteer
    to playwright for web tests, and added them to CI.

##### Documentation

- [#&elastic#8203;506](https://github.com/peggyjs/peggy/pull/506)
Added END OF INPUT (`!.`).

###
[`v4.0.2`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#402)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.1...v4.0.2)

Released: 2024-02-26

##### Bug fixes

- [#&elastic#8203;490](https://github.com/peggyjs/peggy/issues/490)
Throw error when imports are used in unsupported formats. Supported
formats are now only "es" and "commonjs".
- [#&elastic#8203;494](https://github.com/peggyjs/peggy/pull/494)
Updated docs to make `--allowedRules *` more clear
- [#&elastic#8203;495](https://github.com/peggyjs/peggy/issues/495)
from-mem inadvertantly
made the minimum supported node version v20.8. Updated to latest
from-mem.

###
[`v4.0.1`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#401)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.0...v4.0.1)

Released: 2024-02-23

##### Bug fixes

- [#&elastic#8203;478](https://github.com/peggyjs/peggy/issues/478)
Add "npx" to some doc
    examples.
-   [#&elastic#8203;479](https://github.com/peggyjs/peggy/issues/479)
    Refactor `cli/fromMem.js` into separate project
    [from-mem](https://github.com/peggyjs/from-mem/).
- [#&elastic#8203;481](https://github.com/peggyjs/peggy/issues/481)
Add CLI test for
    \--library
- [#&elastic#8203;483](https://github.com/peggyjs/peggy/issues/483)
fix errors in
    typescript file.

###
[`v4.0.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#400)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v3.0.2...v4.0.0)

Released: 2024-02-13

##### Major Changes

- [#&elastic#8203;379](https://github.com/peggyjs/peggy/issues/379)
Fix infinite recursion
issue by moving reportInfiniteRecursion to the new prepare pass, and
having
it fail after finding the first issue. This will require plugin authors
    to ensure that reportInfiniteRecursion is in the new pass correctly.
- [#&elastic#8203;417](https://github.com/peggyjs/peggy/pull/417)
BREAKING: change to AST to
allow topLevelInitializer and initializer to be arrays, in support of
multi-file inputs. This will require plugin updates. The CLI and API now
take multiple files as input, where the first file is your main library,
and
subsequent files consist of a library of other rules. The CLI can take
file
names of the form `npm:<package-name>/<filename>` to load library rules
from
an NPM package that is installed relative to the previous non-npm file
name,
    or to the current working directory if this is the first file name.
- [#&elastic#8203;420](https://github.com/peggyjs/peggy/pull/420)
BREAKING: Node v16+ is now
required for running the CLI or using Peggy as a library. Generated code
    still targets older runtimes.
- [#&elastic#8203;456](https://github.com/peggyjs/peggy/pull/456)
BREAKING: Allow imports
from external compiled grammars inside a source grammar, using `import
{rule} from "external.js"`. Note that this syntax will generate either
`import` or `require` in the JavaScript output, depending on the value
of
    the `format` parameter.  This will need explicit support from
    plugins, with a few new AST node types and a few visitor changes.
- [#&elastic#8203;463](https://github.com/peggyjs/peggy/issues/463)
Drop support for
Internet Explorer. Move to eslint flat configs in order to lint
minimized
    browser code for compatibility with
    `defaults, maintained node versions, not op_mini all`.

##### Minor Changes

- [#&elastic#8203;400](https://github.com/peggyjs/peggy/pull/400) Use
`@generated` in generated
    code
- [#&elastic#8203;404](https://github.com/peggyjs/peggy/issues/404)
Add support for -w/--watch
    to the command line interface.
- [#&elastic#8203;415](https://github.com/peggyjs/peggy/issues/415)
Added `browser` key to package.json, pointing to Webpack output.
- [#&elastic#8203;420](https://github.com/peggyjs/peggy/pull/420)
Updated dependencies to
    avoid audit warnings.
- [#&elastic#8203;425](https://github.com/peggyjs/peggy/pull/425) Add
a pass to simplify single-character choices
- [#&elastic#8203;427](https://github.com/peggyjs/peggy/pull/427)
Avoid double extraction of
    substrings in various MATCH\_ bytecodes
- [#&elastic#8203;430](https://github.com/peggyjs/peggy/pull/430) Make
generate-js.js ts clean
- [#&elastic#8203;432](https://github.com/peggyjs/peggy/pull/432) Add
peggy.code-workspace
- [#&elastic#8203;435](https://github.com/peggyjs/peggy/pull/435)
Setup tsconfig to detect use of library functions from es6 or later
- [#&elastic#8203;436](https://github.com/peggyjs/peggy/pull/436) Get
rid of tsd
- [#&elastic#8203;437](https://github.com/peggyjs/peggy/pull/437)
Better type checking for visitor
- [#&elastic#8203;438](https://github.com/peggyjs/peggy/pull/438) Make
test build deterministic
- [#&elastic#8203;439](https://github.com/peggyjs/peggy/pull/439) Make
peg$computePosDetails a little faster
- [#&elastic#8203;440](https://github.com/peggyjs/peggy/issues/440)
Create directories for
    output and source-map if they do not exist, rather than erroring.
- [#&elastic#8203;446](https://github.com/peggyjs/peggy/pull/446) Add
a right-associative `ExponentiationExpression` rule (operator `**`) to
`javascript.pegjs` example grammar.
- [#&elastic#8203;451](https://github.com/peggyjs/peggy/pull/451) Make
stack.js ts clean
- [#&elastic#8203;452](https://github.com/peggyjs/peggy/pull/452)
Fixes to prepare generate-bytecode.js for ts-check
- [#&elastic#8203;453](https://github.com/peggyjs/peggy/pull/453) Make
generate-bytecode.js ts-clean
- [#&elastic#8203;460](https://github.com/peggyjs/peggy/pull/453)
Allow `-t` and `-T` testing
    from the CLI with `--format es`.

##### Bug Fixes

- [#&elastic#8203;405](https://github.com/peggyjs/peggy/pull/405) Doc
example doesn't correspond to code example. From
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;415](https://github.com/peggyjs/peggy/issues/415)
Make docs match reality with `import`.
- [#&elastic#8203;426](https://github.com/peggyjs/peggy/pull/426) Fix
typo in XML example.
- [#&elastic#8203;434](https://github.com/peggyjs/peggy/issues/434)
Fixed bad example in docs.
- [#&elastic#8203;445](https://github.com/peggyjs/peggy/issues/415)
Fix indentation in `examples/javascript.pegjs`.
- [#&elastic#8203;450](https://github.com/peggyjs/peggy/issues/450)
Fixed misleading documentation.
- [#&elastic#8203;466](https://github.com/peggyjs/peggy/issues/466)
Add docs for developers.

###
[`v3.0.2`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#302)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v3.0.1...v3.0.2)

Released: 2023-03-21

##### Minor Changes

- [#&elastic#8203;392](https://github.com/peggyjs/peggy/issues/392)
Removed the --optimize
command line argument, which has been invalid since v1.2. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

##### Bug Fixes

- [#&elastic#8203;371](https://github.com/peggyjs/peggy/issues/371)
Error using online Peggy - "Can't find variable: util". From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;374](https://github.com/peggyjs/peggy/issues/374)
CLI throws exception
on grammar errors. From
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;381](https://github.com/peggyjs/peggy/issues/381)
Repetitions with code blocks
for min or max not handling non-integer returns correctly. From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;382](https://github.com/peggyjs/peggy/pull/382)
Update grammarSource
documentation. From
[@&elastic#8203;AndrewRayCode](https://github.com/AndrewRayCode).
- [#&elastic#8203;384](https://github.com/peggyjs/peggy/issues/384)
Improve the error.format()
documentation. From
[@&elastic#8203;AndrewRayCode](https://github.com/AndrewRayCode).
- [#&elastic#8203;386](https://github.com/peggyjs/peggy/issues/386)
Ensure '\*' as
allowed-start-rule is documented for CLI. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

###
[`v3.0.1`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#301)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v3.0.0...v3.0.1)

Released: 2022-03-05

##### Minor Changes

- [#&elastic#8203;329](https://github.com/peggyjs/peggy/issues/329)
Allow plugin options in
generate. This change loosens type checking strictness to allow for
options
unknown to Peggy, but used by plugins such as ts-pegjs. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

##### Bug Fixes

- [#&elastic#8203;329](https://github.com/peggyjs/peggy/issues/329)
Allow type definition for ParserBuildOptions to include plugin options.
From [@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;346](https://github.com/peggyjs/peggy/issues/346)
Allow extra semicolons
between rules. From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;347](https://github.com/peggyjs/peggy/issues/347)
Disallow '$' as an initial
character in identifiers. This is not a breaking change because no
grammar
could have successfully used these in the past. From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;354](https://github.com/peggyjs/peggy/pull/354)
Various minor nits in the
docs, including indentation and ensuring that the CNAME file is correct.
- [#&elastic#8203;357](https://github.com/peggyjs/peggy/issues/357)
Fix infinite recursion
possibility in repetition delimeters. From
[@&elastic#8203;hildjj](https://github.com/hildjj) and
[@&elastic#8203;Mingun](https://github.com/Mingun).
- [#&elastic#8203;359](https://github.com/peggyjs/peggy/issues/359) Do
not treat as many
words as reserved. Clarify the documentation about identifiers. Ensure
that it is more clear that the target language being generated
determines
what words are reserved. Clarify that reserved word checking is only
done for labels. From [@&elastic#8203;nene](https://github.com/nene).
- [#&elastic#8203;364](https://github.com/peggyjs/peggy/issues/364)
Fix passing an incorrect
external label to the expression inside the `repeated` node. From
[@&elastic#8203;Mingun](https://github.com/Mingun).

###
[`v3.0.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#300)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v2.0.1...v3.0.0)

Released: 2023-02-21

##### Major Changes

- [#&elastic#8203;280](https://github.com/peggyjs/peggy/issues/280)
Add inline examples to
the documentation, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;240](https://github.com/peggyjs/peggy/issues/240)
Generate SourceNodes for
    bytecode, from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;338](https://github.com/peggyjs/peggy/pull/338)
BREAKING CHANGE. Update
dependencies, causing minimum supported version of node.js to move to
14.
Generated grammar source should still work on older node versions and
some
older browsers, but testing is currently manual for those. from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;291](https://github.com/peggyjs/peggy/pull/291): Add
support for
repetition operator `expression|min .. max, delimiter|`, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;339](https://github.com/peggyjs/peggy/pull/339):
BREAKING CHANGE. Updated
the list of JavaScript reserved words. This will break existing grammars
that use any of the new words in their rule or label names. from
[@&elastic#8203;hildjj](https://github.com/hildjj)

Important information for plug-in authors: PR
[#&elastic#8203;291](https://github.com/peggyjs/peggy/issues/291)
added 4 new opcodes to the bytecode:

-   `IF_LT`
-   `IF_GE`
-   `IF_LT_DYNAMIC`
-   `IF_GE_DYNAMIC`

and added a new AST node and a visitor method `repeated`. Do not forget
to update your plug-ins.

Important information for grammar authors: the following words, which
used to
be valid identifiers for rules and labels, are now treated as JavaScript
reserved words, and will cause errors at compile time if you are using
them:

-   abstract
-   arguments
-   as
-   async
-   boolean
-   byte
-   char
-   double
-   eval
-   final
-   float
-   from
-   get
-   goto
-   int
-   long
-   native
-   of
-   set
-   short
-   synchronized
-   throws
-   transient
-   volatile

##### Minor Changes

- [#&elastic#8203;274](https://github.com/peggyjs/peggy/issues/274)
`"*"` is now a valid `allowedStartRule`, which means all rules are
allowed, from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;229](https://github.com/peggyjs/peggy/issues/229)
new CLI option
`-S <rule>` or `--start-rule <rule>` to specify the start rule when
testing,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;236](https://github.com/peggyjs/peggy/issues/236)
Website: show line numbers
in parser input textarea, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;280](https://github.com/peggyjs/peggy/issues/280)
new output type
`source-with-inline-map`, which generates source text with an inline
map,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;285](https://github.com/peggyjs/peggy/issues/285)
Require that a non-empty
string be given as a grammarSource if you are generating a source map,
from
    [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;206](https://github.com/peggyjs/peggy/pull/206): New
output type `ast` and
an `--ast` flag for the CLI to get an internal grammar AST for
investigation
(can be useful for plugin writers), from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;294](https://github.com/peggyjs/peggy/pull/294)
Website: show errors in the
    editors, from [@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;297](https://github.com/peggyjs/peggy/pull/297)
Website: add Discord widget,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;299](https://github.com/peggyjs/peggy/issues/299)
Add example grammar for a
[SemVer.org](https://semver.org) semantic version string, from
[@&elastic#8203;dselman](https://github.com/dselman)
- [#&elastic#8203;307](https://github.com/peggyjs/peggy/issues/307)
Allow grammars to have
relative offsets into their source files (e.g. if embedded in another
doc),
    from [@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;308](https://github.com/peggyjs/peggy/pull/308) Add
support for reading test
data from stdin using `-T -`, from
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;313](https://github.com/peggyjs/peggy/pull/313)
Create the website using
eleventy, from
[@&elastic#8203;camcherry](https://github.com/camcherry)

##### Bug Fixes

- [#&elastic#8203;283](https://github.com/peggyjs/peggy/issues/283)
Fix incorrect type
information for DiagnosticCallback, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;287](https://github.com/peggyjs/peggy/issues/287)
Allow large outputs
to be received without blocking on the CLI tests, from
[@&elastic#8203;hildjj](https://github.com/hildjj)

###
[`v2.0.1`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#201)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v2.0.0...v2.0.1)

Released: 2022-01-01

##### Major Changes

-   None

##### Minor Changes

- [#&elastic#8203;261](https://github.com/peggyjs/peggy/pull/261):
Remove documentation from
README.md, instead linking to the HTML documentation. HTML documentation
on
<https://peggyjs.org> is now served from the `docs` branch, so that it
won't
update as we change the `main` branch. `main` must be merged onto `docs`
as
    a part of the release process going forward.
- [#&elastic#8203;266](https://github.com/peggyjs/peggy/issues/266):
Expose the private
field `problems` in the `Session` class, from
[@&elastic#8203;hildjj](https://github.com/hildjj).

##### Bug Fixes

- [#&elastic#8203;263](https://github.com/peggyjs/peggy/issues/263):
Broken link to unpkg.
This bug was a symptom of a relatively bad issue in the 2.0.0 release,
where
the web version of peggy was put in the wrong place, and therefore not
tested in the release process. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

###
[`v2.0.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#200)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v1.2.0...v2.0.0)

Released: 2022-05-28

##### Major Changes

- [#&elastic#8203;163](https://github.com/peggyjs/peggy/pull/163): Add
support for
generating source maps, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;160](https://github.com/peggyjs/peggy/pull/160):
Introduce an API for
reporting errors, warnings and information messages from passes. New API
allows reporting several diagnostics at once with intermediate results
checking after each compilation stage, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;218](https://github.com/peggyjs/peggy/pull/218): Add
a `sourceMappingURL`
to the generated code, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;248](https://github.com/peggyjs/peggy/pull/248):
Remove support for
Node.js version 10. When updating dependencies, too many of the tools we
use no longer work on the Node 10, which went out of security
maintenance
more than a year ago. Added support for Node.js version 18, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;251](https://github.com/peggyjs/peggy/pull/251):
Make `commander` and
`source-map-generator` full dependencies. These are not needed for the
pre-packaged web build, but will be used by Node or people that are
doing
their own packaging for the web, from
[@&elastic#8203;hildjj](https://github.com/hildjj)

##### Minor Changes

- [#&elastic#8203;167](https://github.com/peggyjs/peggy/pull/167): New
CLI, from [@&elastic#8203;hildjj](https://github.com/hildjj)
    -   Backward compatible with the previous
- New -t/--test and -T/--testfile flags to directly test the generated
grammar
- [#&elastic#8203;169](https://github.com/peggyjs/peggy/issues/169):
Expose string escape
functions, `stringEscape()` and `regexpClassEscape()`, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;175](https://github.com/peggyjs/peggy/pull/175):
Check allowedStartRules
for validity, from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;185](https://github.com/peggyjs/peggy/pull/185):
Updated eslint rules,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;196](https://github.com/peggyjs/peggy/pull/196): Add
example grammars for
XML and source-mapping, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;204](https://github.com/peggyjs/peggy/pull/204):
Increase coverage for the
    tests, from [@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;210](https://github.com/peggyjs/peggy/pull/210):
Refactor CLI testing,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)

##### Bug fixes

- [#&elastic#8203;164](https://github.com/peggyjs/peggy/pull/164): Fix
some errors in the
typescript definitions, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;170](https://github.com/peggyjs/peggy/issues/170):
Add
missing argument in function call, from
[@&elastic#8203;darlanalves](https://github.com/darlanalves)
- [#&elastic#8203;182](https://github.com/peggyjs/peggy/issues/182):
Fix typo in
documentation, from
[@&elastic#8203;zargold](https://github.com/zargold)
- [#&elastic#8203;197](https://github.com/peggyjs/peggy/pull/197): Fix
a regression of
redundant commas in the character classes in the error messages,
introduced
in
[`fad4ab7`](https://github.com/peggyjs/peggy/commit/fad4ab74d1de67ef1902cd22d479c81ccab73224),
from [@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;198](https://github.com/peggyjs/peggy/pull/198):
Make all build scripts
run on Windows, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;199](https://github.com/peggyjs/peggy/pull/199):
Test web version locally,
using puppeteer, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
-
[#&elastic#8203;211](https://github.com/peggyjs/peggy/pull/211):Command-line
-t requires
from wrong directory, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;212](https://github.com/peggyjs/peggy/pull/212):
Parse errors with zero
length give badly-formatted errors, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;214](https://github.com/peggyjs/peggy/pull/214):
Failing tests don't
    format errors
- [#&elastic#8203;216](https://github.com/peggyjs/peggy/issues/216):
Fix typescript
definition of SyntaxError, from
[@&elastic#8203;cmfcmf](https://github.com/cmfcmf)
- [#&elastic#8203;220](https://github.com/peggyjs/peggy/issues/220):
Fix rollup warnings,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;285](https://github.com/peggyjs/peggy/issues/285):
Work around source-map
bug by throwing an exception if no grammarSource is given when
generating
source maps, from [@&elastic#8203;hildjj](https://github.com/hildjj).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Lukas Olson <lukas@elastic.co>
(cherry picked from commit 238324a)

# Conflicts:
#	package.json
#	src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.test.js
#	x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/__snapshots__/workspace_panel.test.tsx.snap
#	yarn.lock
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [peggy](https://peggyjs.org/)
([source](https://github.com/peggyjs/peggy)) | devDependencies
| major | [`^1.2.0` ->
`^4.2.0`](https://renovatebot.com/diffs/npm/peggy/1.2.0/4.2.0) |

---

### Release Notes

<details>
<summary>peggyjs/peggy (peggy)</summary>

###
[`v4.2.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#420)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.1.1...v4.2.0)

Released: 2024-11-19

##### New features

- [#&elastic#8203;568](https://github.com/peggyjs/peggy/pull/568)
Upgrading to TypeScript 5.6 allowed for generating `parser.d.ts`, which
should may help people that use Peggy programmatically in nonstandard
ways.

##### Bug fixes

- [#&elastic#8203;567](https://github.com/peggyjs/peggy/issues/567)
Load config files and plugins correctly on Windows by using file: URIs
in import().

##### Documentation

- [#&elastic#8203;566](https://github.com/peggyjs/peggy/pull/566)
Slight tweaks to document generation.

###
[`v4.1.1`](https://github.com/peggyjs/peggy/releases/tag/v4.1.1)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.3...v4.1.1)

v4.1.0 did not actually get published due to a workflow issue that
should
be sorted out now.

##### New features

- [#&elastic#8203;477](https://github.com/peggyjs/peggy/issues/477)
Option to output .d.ts files next to .js from CLI.
- [#&elastic#8203;530](https://github.com/peggyjs/peggy/issues/531)
Allow es6 plugins from CLI
- [#&elastic#8203;532](https://github.com/peggyjs/peggy/issues/532)
Allow es6 options files from the CLI

##### Bug fixes

- [#&elastic#8203;531](https://github.com/peggyjs/peggy/issues/531)
Clean up rollup hacks from CLI code.
- [#&elastic#8203;514](https://github.com/peggyjs/peggy/issues/514)
Allow execution of the `peggy` binary on Windows by handling node
runtime flags manually, executing a sub-instance of node to actually run
`peggy`.
- [#&elastic#8203;538](https://github.com/peggyjs/peggy/pull/509)
Fixed error in TS types for `peg$maxFailExpected` and `peg$maxFailPos`.
- [#&elastic#8203;551](https://github.com/peggyjs/peggy/pull/551)
Moved to package-extract instead of a custom script for version file
generation.

###
[`v4.0.3`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#403)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.2...v4.0.3)

Released: 2024-06-19

##### New features

- [#&elastic#8203;509](https://github.com/peggyjs/peggy/pull/509) Add
and implement ES6 export button

##### Bug fixes

- [#&elastic#8203;493](https://github.com/peggyjs/peggy/issues/493)
Allow use of an empty
    array, null, or undefined as allowedStartRules option
- [#&elastic#8203;505](https://github.com/peggyjs/peggy/pull/505) Fix
vscode-eslint settings
    to work with eslint flat config
- [#&elastic#8203;507](https://github.com/peggyjs/peggy/pull/507)
Remove stray semicolon in CSS
- [#&elastic#8203;508](https://github.com/peggyjs/peggy/pull/508) Fix
broken text input in
    web version
- [#&elastic#8203;512](https://github.com/peggyjs/peggy/issues/512)
Add "StartRules" to peg.d.ts
- [#&elastic#8203;513](https://github.com/peggyjs/peggy/issues/513)
Allow whitespace between
    plucked word and its pattern.
- [#&elastic#8203;520](https://github.com/peggyjs/peggy/issues/520)
Grammar with token "constructor" fails to generate
- [#&elastic#8203;522](https://github.com/peggyjs/peggy/issues/522)
Switched from puppeteer
    to playwright for web tests, and added them to CI.

##### Documentation

- [#&elastic#8203;506](https://github.com/peggyjs/peggy/pull/506)
Added END OF INPUT (`!.`).

###
[`v4.0.2`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#402)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.1...v4.0.2)

Released: 2024-02-26

##### Bug fixes

- [#&elastic#8203;490](https://github.com/peggyjs/peggy/issues/490)
Throw error when imports are used in unsupported formats. Supported
formats are now only "es" and "commonjs".
- [#&elastic#8203;494](https://github.com/peggyjs/peggy/pull/494)
Updated docs to make `--allowedRules *` more clear
- [#&elastic#8203;495](https://github.com/peggyjs/peggy/issues/495)
from-mem inadvertantly
made the minimum supported node version v20.8. Updated to latest
from-mem.

###
[`v4.0.1`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#401)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v4.0.0...v4.0.1)

Released: 2024-02-23

##### Bug fixes

- [#&elastic#8203;478](https://github.com/peggyjs/peggy/issues/478)
Add "npx" to some doc
    examples.
-   [#&elastic#8203;479](https://github.com/peggyjs/peggy/issues/479)
    Refactor `cli/fromMem.js` into separate project
    [from-mem](https://github.com/peggyjs/from-mem/).
- [#&elastic#8203;481](https://github.com/peggyjs/peggy/issues/481)
Add CLI test for
    \--library
- [#&elastic#8203;483](https://github.com/peggyjs/peggy/issues/483)
fix errors in
    typescript file.

###
[`v4.0.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#400)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v3.0.2...v4.0.0)

Released: 2024-02-13

##### Major Changes

- [#&elastic#8203;379](https://github.com/peggyjs/peggy/issues/379)
Fix infinite recursion
issue by moving reportInfiniteRecursion to the new prepare pass, and
having
it fail after finding the first issue. This will require plugin authors
    to ensure that reportInfiniteRecursion is in the new pass correctly.
- [#&elastic#8203;417](https://github.com/peggyjs/peggy/pull/417)
BREAKING: change to AST to
allow topLevelInitializer and initializer to be arrays, in support of
multi-file inputs. This will require plugin updates. The CLI and API now
take multiple files as input, where the first file is your main library,
and
subsequent files consist of a library of other rules. The CLI can take
file
names of the form `npm:<package-name>/<filename>` to load library rules
from
an NPM package that is installed relative to the previous non-npm file
name,
    or to the current working directory if this is the first file name.
- [#&elastic#8203;420](https://github.com/peggyjs/peggy/pull/420)
BREAKING: Node v16+ is now
required for running the CLI or using Peggy as a library. Generated code
    still targets older runtimes.
- [#&elastic#8203;456](https://github.com/peggyjs/peggy/pull/456)
BREAKING: Allow imports
from external compiled grammars inside a source grammar, using `import
{rule} from "external.js"`. Note that this syntax will generate either
`import` or `require` in the JavaScript output, depending on the value
of
    the `format` parameter.  This will need explicit support from
    plugins, with a few new AST node types and a few visitor changes.
- [#&elastic#8203;463](https://github.com/peggyjs/peggy/issues/463)
Drop support for
Internet Explorer. Move to eslint flat configs in order to lint
minimized
    browser code for compatibility with
    `defaults, maintained node versions, not op_mini all`.

##### Minor Changes

- [#&elastic#8203;400](https://github.com/peggyjs/peggy/pull/400) Use
`@generated` in generated
    code
- [#&elastic#8203;404](https://github.com/peggyjs/peggy/issues/404)
Add support for -w/--watch
    to the command line interface.
- [#&elastic#8203;415](https://github.com/peggyjs/peggy/issues/415)
Added `browser` key to package.json, pointing to Webpack output.
- [#&elastic#8203;420](https://github.com/peggyjs/peggy/pull/420)
Updated dependencies to
    avoid audit warnings.
- [#&elastic#8203;425](https://github.com/peggyjs/peggy/pull/425) Add
a pass to simplify single-character choices
- [#&elastic#8203;427](https://github.com/peggyjs/peggy/pull/427)
Avoid double extraction of
    substrings in various MATCH\_ bytecodes
- [#&elastic#8203;430](https://github.com/peggyjs/peggy/pull/430) Make
generate-js.js ts clean
- [#&elastic#8203;432](https://github.com/peggyjs/peggy/pull/432) Add
peggy.code-workspace
- [#&elastic#8203;435](https://github.com/peggyjs/peggy/pull/435)
Setup tsconfig to detect use of library functions from es6 or later
- [#&elastic#8203;436](https://github.com/peggyjs/peggy/pull/436) Get
rid of tsd
- [#&elastic#8203;437](https://github.com/peggyjs/peggy/pull/437)
Better type checking for visitor
- [#&elastic#8203;438](https://github.com/peggyjs/peggy/pull/438) Make
test build deterministic
- [#&elastic#8203;439](https://github.com/peggyjs/peggy/pull/439) Make
peg$computePosDetails a little faster
- [#&elastic#8203;440](https://github.com/peggyjs/peggy/issues/440)
Create directories for
    output and source-map if they do not exist, rather than erroring.
- [#&elastic#8203;446](https://github.com/peggyjs/peggy/pull/446) Add
a right-associative `ExponentiationExpression` rule (operator `**`) to
`javascript.pegjs` example grammar.
- [#&elastic#8203;451](https://github.com/peggyjs/peggy/pull/451) Make
stack.js ts clean
- [#&elastic#8203;452](https://github.com/peggyjs/peggy/pull/452)
Fixes to prepare generate-bytecode.js for ts-check
- [#&elastic#8203;453](https://github.com/peggyjs/peggy/pull/453) Make
generate-bytecode.js ts-clean
- [#&elastic#8203;460](https://github.com/peggyjs/peggy/pull/453)
Allow `-t` and `-T` testing
    from the CLI with `--format es`.

##### Bug Fixes

- [#&elastic#8203;405](https://github.com/peggyjs/peggy/pull/405) Doc
example doesn't correspond to code example. From
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;415](https://github.com/peggyjs/peggy/issues/415)
Make docs match reality with `import`.
- [#&elastic#8203;426](https://github.com/peggyjs/peggy/pull/426) Fix
typo in XML example.
- [#&elastic#8203;434](https://github.com/peggyjs/peggy/issues/434)
Fixed bad example in docs.
- [#&elastic#8203;445](https://github.com/peggyjs/peggy/issues/415)
Fix indentation in `examples/javascript.pegjs`.
- [#&elastic#8203;450](https://github.com/peggyjs/peggy/issues/450)
Fixed misleading documentation.
- [#&elastic#8203;466](https://github.com/peggyjs/peggy/issues/466)
Add docs for developers.

###
[`v3.0.2`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#302)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v3.0.1...v3.0.2)

Released: 2023-03-21

##### Minor Changes

- [#&elastic#8203;392](https://github.com/peggyjs/peggy/issues/392)
Removed the --optimize
command line argument, which has been invalid since v1.2. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

##### Bug Fixes

- [#&elastic#8203;371](https://github.com/peggyjs/peggy/issues/371)
Error using online Peggy - "Can't find variable: util". From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;374](https://github.com/peggyjs/peggy/issues/374)
CLI throws exception
on grammar errors. From
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;381](https://github.com/peggyjs/peggy/issues/381)
Repetitions with code blocks
for min or max not handling non-integer returns correctly. From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;382](https://github.com/peggyjs/peggy/pull/382)
Update grammarSource
documentation. From
[@&elastic#8203;AndrewRayCode](https://github.com/AndrewRayCode).
- [#&elastic#8203;384](https://github.com/peggyjs/peggy/issues/384)
Improve the error.format()
documentation. From
[@&elastic#8203;AndrewRayCode](https://github.com/AndrewRayCode).
- [#&elastic#8203;386](https://github.com/peggyjs/peggy/issues/386)
Ensure '\*' as
allowed-start-rule is documented for CLI. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

###
[`v3.0.1`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#301)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v3.0.0...v3.0.1)

Released: 2022-03-05

##### Minor Changes

- [#&elastic#8203;329](https://github.com/peggyjs/peggy/issues/329)
Allow plugin options in
generate. This change loosens type checking strictness to allow for
options
unknown to Peggy, but used by plugins such as ts-pegjs. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

##### Bug Fixes

- [#&elastic#8203;329](https://github.com/peggyjs/peggy/issues/329)
Allow type definition for ParserBuildOptions to include plugin options.
From [@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;346](https://github.com/peggyjs/peggy/issues/346)
Allow extra semicolons
between rules. From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;347](https://github.com/peggyjs/peggy/issues/347)
Disallow '$' as an initial
character in identifiers. This is not a breaking change because no
grammar
could have successfully used these in the past. From
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;354](https://github.com/peggyjs/peggy/pull/354)
Various minor nits in the
docs, including indentation and ensuring that the CNAME file is correct.
- [#&elastic#8203;357](https://github.com/peggyjs/peggy/issues/357)
Fix infinite recursion
possibility in repetition delimeters. From
[@&elastic#8203;hildjj](https://github.com/hildjj) and
[@&elastic#8203;Mingun](https://github.com/Mingun).
- [#&elastic#8203;359](https://github.com/peggyjs/peggy/issues/359) Do
not treat as many
words as reserved. Clarify the documentation about identifiers. Ensure
that it is more clear that the target language being generated
determines
what words are reserved. Clarify that reserved word checking is only
done for labels. From [@&elastic#8203;nene](https://github.com/nene).
- [#&elastic#8203;364](https://github.com/peggyjs/peggy/issues/364)
Fix passing an incorrect
external label to the expression inside the `repeated` node. From
[@&elastic#8203;Mingun](https://github.com/Mingun).

###
[`v3.0.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#300)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v2.0.1...v3.0.0)

Released: 2023-02-21

##### Major Changes

- [#&elastic#8203;280](https://github.com/peggyjs/peggy/issues/280)
Add inline examples to
the documentation, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;240](https://github.com/peggyjs/peggy/issues/240)
Generate SourceNodes for
    bytecode, from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;338](https://github.com/peggyjs/peggy/pull/338)
BREAKING CHANGE. Update
dependencies, causing minimum supported version of node.js to move to
14.
Generated grammar source should still work on older node versions and
some
older browsers, but testing is currently manual for those. from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;291](https://github.com/peggyjs/peggy/pull/291): Add
support for
repetition operator `expression|min .. max, delimiter|`, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;339](https://github.com/peggyjs/peggy/pull/339):
BREAKING CHANGE. Updated
the list of JavaScript reserved words. This will break existing grammars
that use any of the new words in their rule or label names. from
[@&elastic#8203;hildjj](https://github.com/hildjj)

Important information for plug-in authors: PR
[#&elastic#8203;291](https://github.com/peggyjs/peggy/issues/291)
added 4 new opcodes to the bytecode:

-   `IF_LT`
-   `IF_GE`
-   `IF_LT_DYNAMIC`
-   `IF_GE_DYNAMIC`

and added a new AST node and a visitor method `repeated`. Do not forget
to update your plug-ins.

Important information for grammar authors: the following words, which
used to
be valid identifiers for rules and labels, are now treated as JavaScript
reserved words, and will cause errors at compile time if you are using
them:

-   abstract
-   arguments
-   as
-   async
-   boolean
-   byte
-   char
-   double
-   eval
-   final
-   float
-   from
-   get
-   goto
-   int
-   long
-   native
-   of
-   set
-   short
-   synchronized
-   throws
-   transient
-   volatile

##### Minor Changes

- [#&elastic#8203;274](https://github.com/peggyjs/peggy/issues/274)
`"*"` is now a valid `allowedStartRule`, which means all rules are
allowed, from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;229](https://github.com/peggyjs/peggy/issues/229)
new CLI option
`-S <rule>` or `--start-rule <rule>` to specify the start rule when
testing,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;236](https://github.com/peggyjs/peggy/issues/236)
Website: show line numbers
in parser input textarea, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;280](https://github.com/peggyjs/peggy/issues/280)
new output type
`source-with-inline-map`, which generates source text with an inline
map,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;285](https://github.com/peggyjs/peggy/issues/285)
Require that a non-empty
string be given as a grammarSource if you are generating a source map,
from
    [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;206](https://github.com/peggyjs/peggy/pull/206): New
output type `ast` and
an `--ast` flag for the CLI to get an internal grammar AST for
investigation
(can be useful for plugin writers), from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;294](https://github.com/peggyjs/peggy/pull/294)
Website: show errors in the
    editors, from [@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;297](https://github.com/peggyjs/peggy/pull/297)
Website: add Discord widget,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;299](https://github.com/peggyjs/peggy/issues/299)
Add example grammar for a
[SemVer.org](https://semver.org) semantic version string, from
[@&elastic#8203;dselman](https://github.com/dselman)
- [#&elastic#8203;307](https://github.com/peggyjs/peggy/issues/307)
Allow grammars to have
relative offsets into their source files (e.g. if embedded in another
doc),
    from [@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;308](https://github.com/peggyjs/peggy/pull/308) Add
support for reading test
data from stdin using `-T -`, from
[@&elastic#8203;hildjj](https://github.com/hildjj).
- [#&elastic#8203;313](https://github.com/peggyjs/peggy/pull/313)
Create the website using
eleventy, from
[@&elastic#8203;camcherry](https://github.com/camcherry)

##### Bug Fixes

- [#&elastic#8203;283](https://github.com/peggyjs/peggy/issues/283)
Fix incorrect type
information for DiagnosticCallback, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;287](https://github.com/peggyjs/peggy/issues/287)
Allow large outputs
to be received without blocking on the CLI tests, from
[@&elastic#8203;hildjj](https://github.com/hildjj)

###
[`v2.0.1`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#201)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v2.0.0...v2.0.1)

Released: 2022-01-01

##### Major Changes

-   None

##### Minor Changes

- [#&elastic#8203;261](https://github.com/peggyjs/peggy/pull/261):
Remove documentation from
README.md, instead linking to the HTML documentation. HTML documentation
on
<https://peggyjs.org> is now served from the `docs` branch, so that it
won't
update as we change the `main` branch. `main` must be merged onto `docs`
as
    a part of the release process going forward.
- [#&elastic#8203;266](https://github.com/peggyjs/peggy/issues/266):
Expose the private
field `problems` in the `Session` class, from
[@&elastic#8203;hildjj](https://github.com/hildjj).

##### Bug Fixes

- [#&elastic#8203;263](https://github.com/peggyjs/peggy/issues/263):
Broken link to unpkg.
This bug was a symptom of a relatively bad issue in the 2.0.0 release,
where
the web version of peggy was put in the wrong place, and therefore not
tested in the release process. From
[@&elastic#8203;hildjj](https://github.com/hildjj).

###
[`v2.0.0`](https://github.com/peggyjs/peggy/blob/HEAD/CHANGELOG.md#200)

[Compare
Source](https://github.com/peggyjs/peggy/compare/v1.2.0...v2.0.0)

Released: 2022-05-28

##### Major Changes

- [#&elastic#8203;163](https://github.com/peggyjs/peggy/pull/163): Add
support for
generating source maps, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;160](https://github.com/peggyjs/peggy/pull/160):
Introduce an API for
reporting errors, warnings and information messages from passes. New API
allows reporting several diagnostics at once with intermediate results
checking after each compilation stage, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;218](https://github.com/peggyjs/peggy/pull/218): Add
a `sourceMappingURL`
to the generated code, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;248](https://github.com/peggyjs/peggy/pull/248):
Remove support for
Node.js version 10. When updating dependencies, too many of the tools we
use no longer work on the Node 10, which went out of security
maintenance
more than a year ago. Added support for Node.js version 18, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;251](https://github.com/peggyjs/peggy/pull/251):
Make `commander` and
`source-map-generator` full dependencies. These are not needed for the
pre-packaged web build, but will be used by Node or people that are
doing
their own packaging for the web, from
[@&elastic#8203;hildjj](https://github.com/hildjj)

##### Minor Changes

- [#&elastic#8203;167](https://github.com/peggyjs/peggy/pull/167): New
CLI, from [@&elastic#8203;hildjj](https://github.com/hildjj)
    -   Backward compatible with the previous
- New -t/--test and -T/--testfile flags to directly test the generated
grammar
- [#&elastic#8203;169](https://github.com/peggyjs/peggy/issues/169):
Expose string escape
functions, `stringEscape()` and `regexpClassEscape()`, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;175](https://github.com/peggyjs/peggy/pull/175):
Check allowedStartRules
for validity, from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;185](https://github.com/peggyjs/peggy/pull/185):
Updated eslint rules,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;196](https://github.com/peggyjs/peggy/pull/196): Add
example grammars for
XML and source-mapping, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;204](https://github.com/peggyjs/peggy/pull/204):
Increase coverage for the
    tests, from [@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;210](https://github.com/peggyjs/peggy/pull/210):
Refactor CLI testing,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)

##### Bug fixes

- [#&elastic#8203;164](https://github.com/peggyjs/peggy/pull/164): Fix
some errors in the
typescript definitions, from
[@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;170](https://github.com/peggyjs/peggy/issues/170):
Add
missing argument in function call, from
[@&elastic#8203;darlanalves](https://github.com/darlanalves)
- [#&elastic#8203;182](https://github.com/peggyjs/peggy/issues/182):
Fix typo in
documentation, from
[@&elastic#8203;zargold](https://github.com/zargold)
- [#&elastic#8203;197](https://github.com/peggyjs/peggy/pull/197): Fix
a regression of
redundant commas in the character classes in the error messages,
introduced
in
[`fad4ab7`](https://github.com/peggyjs/peggy/commit/fad4ab74d1de67ef1902cd22d479c81ccab73224),
from [@&elastic#8203;Mingun](https://github.com/Mingun)
- [#&elastic#8203;198](https://github.com/peggyjs/peggy/pull/198):
Make all build scripts
run on Windows, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;199](https://github.com/peggyjs/peggy/pull/199):
Test web version locally,
using puppeteer, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
-
[#&elastic#8203;211](https://github.com/peggyjs/peggy/pull/211):Command-line
-t requires
from wrong directory, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;212](https://github.com/peggyjs/peggy/pull/212):
Parse errors with zero
length give badly-formatted errors, from
[@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;214](https://github.com/peggyjs/peggy/pull/214):
Failing tests don't
    format errors
- [#&elastic#8203;216](https://github.com/peggyjs/peggy/issues/216):
Fix typescript
definition of SyntaxError, from
[@&elastic#8203;cmfcmf](https://github.com/cmfcmf)
- [#&elastic#8203;220](https://github.com/peggyjs/peggy/issues/220):
Fix rollup warnings,
    from [@&elastic#8203;hildjj](https://github.com/hildjj)
- [#&elastic#8203;285](https://github.com/peggyjs/peggy/issues/285):
Work around source-map
bug by throwing an exception if no grammarSource is given when
generating
source maps, from [@&elastic#8203;hildjj](https://github.com/hildjj).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Lukas Olson <lukas@elastic.co>
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

1 similar comment
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

lukasolson added a commit that referenced this pull request Mar 25, 2025
# Backport

This will backport the following commits from `main` to `9.0`:
- [Update dependency peggy to v4 (main)
(#212280)](#212280)

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@nickofthyme nickofthyme added backport:skip This PR does not require backporting and removed backport:all-open Backport to all branches that could still receive a release labels Mar 27, 2025
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 27, 2025
@nickofthyme
Copy link
Contributor

nickofthyme commented Mar 27, 2025

I don't think this needs to be backported. Renovate has backport:all-open as default backport for some reason. Replaced with backport:skip.

@azasypkin
Copy link
Contributor

I don't think this needs to be backported. Renovate has backport:all-open as default backport for some reason. Replaced with backport:skip.

@nickofthyme, is there any reason we don't want to backport to at least 9.0 and 8.x?

Missing backports that touch yarn.lock make other backports more complicated (e.g., #216284 (comment)), as they almost always will require manual conflict resolution. Plus, we'll have to live with 8.x for a number of years, and old packages might have bugs (and vulnerabilities) that we'll need to address - but it'd be harder to do later.

That's all to say, if there aren't significant risks in backporting dependency upgrades, we should generally try to backport them to as many old but supported branches as possible (which is why backport:all-open is the default).

@nickofthyme
Copy link
Contributor

nickofthyme commented Mar 28, 2025

@azasypkin In this case I have no clue what peggy touches and if a backport is needed. It doesn't seem like there is a need to do so here especially not to all-open.

I don't believe backport:all-open is the best default, that rational only applies in cases of security patches.

It would be more sensible to me if the default was all active branches (i.e. 8.x), especially when doing major version upgrades.

That's all to say, if there aren't significant risks in backporting dependency upgrades, we should generally try to backport them to as many old but supported branches as possible (which is why backport:all-open is the default).

I would agree with this for patches and security fixes, everything else is all risk and little reward.

@markov00
Copy link
Contributor

Missing backports that touch yarn.lock make other backports more complicated (e.g., #216284 (comment)), as they almost always will require manual conflict resolution.

@azasypkin I believe we should never manually resolve conflicts on a yarn.lock, I always pull that branch, reset the yarn.lock and update it via yarn kbn bootstrap this correct the file without mistakes.

@azasypkin
Copy link
Contributor

azasypkin commented Mar 28, 2025

@azasypkin In this case I have no clue what peggy touches

Do you mean that your team doesn't actually use peggy, and the ownership defined in

kibana/renovate.json

Lines 3660 to 3678 in 6e5fe31

{
"groupName": "Peggy",
"matchDepNames": [
"peggy"
],
"reviewers": [
"team:kibana-visualizations",
"team:kibana-data-discovery"
],
"matchBaseBranches": [
"main"
],
"labels": [
"release_note:skip",
"backport:all-open"
],
"minimumReleaseAge": "7 days",
"enabled": true
},
should be transferred to another team that actually uses it, or…?

I would agree with this for patches and security fixes, everything else is all risk and little reward.

That's what I'm trying to figure out since I'm not an owner of this dependency and don't have any context. Were there any breaking changes in peggy upgrades that you feel are risky, or do you generally lack confidence in the quality of peggy updates? I see it's a part of devDependencies that's why I'm trying to understand the risk you might be alluding to.

I'm asking because we're also working on ensuring that Kibana predominantly uses dependencies that are "healthy" and that we have enough confidence in them.

It would be more sensible to me if the default was all active branches (i.e. 8.x), especially when doing major version upgrades.

What do you mean by active? Today, IIRC, we define active branches as those we're planning to release from - meaning 8.17, 8.18, 8.19 (8.x), 9.0, and 9.1 (main). That's exactly what all-open covers. The only exception is 7.17, which we don't need to touch unless there's a strong reason, and it's easy to reject a backport to it if unnecessary.

The goal is to keep all branches that our users rely on in production with up to date dependencies (for all Elastic products, not just Kibana). If there's a good reason to exclude a particular dependency upgrade from all-open, that's fine, but it should be a concise and explicit decision with a clear rationale.

@azasypkin I believe we should never manually resolve conflicts on a yarn.lock, I always pull that branch, reset the yarn.lock and update it via yarn kbn bootstrap this correct the file without mistakes.

Correct, that's what I mean by a manual backport (which also requires an additional review), as opposed to a backport fully handled by the automation (based on backport tool) when there are no conflicts in yarn.lock that require manual conflict resolution.

@azasypkin
Copy link
Contributor

azasypkin commented Mar 28, 2025

(FWIW, this particular peggy upgrade isn't a huge deal — it's just a great excuse to check if we're all aligned on dependency backport policies and whether there are any issues or burdens with maintaining dependencies that are slowing you down or causing confusion. That way, we can see if there's anything we can fix, whether it's alignment, tooling, or something else 🙂)

@nickofthyme
Copy link
Contributor

nickofthyme commented Mar 28, 2025

Do you mean that your team doesn't actually use peggy, and the ownership defined in

No it is the correct team but I personally am not intimately familiar with peggy usage.

Were there any breaking changes in peggy upgrades that you feel are risky, or do you generally lack confidence in the quality of peggy updates? I see it's a part of devDependencies that's why I'm trying to understand the risk you might be alluding to.

I think this is the opposite mindset -- I would reverse this statement to ask "what is the benefit to backporting this dependency?" Regardless of the type of dependency.

I didn't realize it was a part of devDependencies but it looks to be a webpack file loader for timelion 🦁 . But even as a devDependency it's also a build dependency which could cause unknown issues. In some other case it could be that it is truly dev dependency (no unknown impact) and would be convenient to have on 8.x for some reason, I think that's perfectly fine.

I'm asking because we're also working on ensuring that Kibana predominantly uses dependencies that are "healthy" and that we have enough confidence in them.

I love this idea but I don't think that means backporting all upgrades to all open versions.

What do you mean by active?

Sorry idk the specific internal naming. By active I was meaning the branches currently accepting features. Right now this would be 8.x and main, everything else is open, per se, but it's not accepting features.

[This] isn't a huge deal — it's just a great excuse to check if we're all aligned on dependency

Exactly! I think we should come to an agreement across kibana/elastic about the best approach.

The main thing that scares me is updating dependencies for the sack of updating them, not knowing what regressions are hidden in that simple act.

Take #216284 for example, we are upgrading vega to the latest patch version. I think this is ok for active branches still accepting features because these branches will have more thorough manual testing before being released. But we are backporting this to 8.17 and 8.18 which work fine as is and have no reason to upgrade this dependency. There's no security benefit or known kibana bug fix. This approach could easily lead to regressions, especially when talking about minor or major upgrades.


This is simply my take and I in the end I think it's a balance and a case-by-case decision. But having a formal document for our approach and general guidelines would really nice, if it doesn't exist already!

@thomasneirynck
Copy link
Contributor

I did a quick search and find these two references:

In

not sure how that tinymath actually ends up using this.


wrt where to backport:

is there any reason we don't want to backport to at least 8.18/9.0 and 8.x?

I agree I don't see much reason not to do this. There is some lead time still, and we will benefit from having the code aligned.

If we are hesitant due to the "opaqueness" of this change (and I don't know how significant this change is at all), I do agree we could skip backport to 8.17. I'd only do this if there is a particular reason this change looks "dangerous".

The main thing that scares me is updating dependencies for the sack of updating them, not knowing what regressions are hidden in that simple act.

Yes, but the paradigm is shifting: with Serverless, Kibana is released from main. When we are withholding backports to already released branches out of safety-concerns, we are not showing that concern to our Serverless users. Safety will have to come from being confident in our automated testing, not by preventing code changes.

everything else is open, per se, but it's not accepting features.

Yes. This is annoying edge case imho. This is neither a feature nor a bug fix. It's an automated patch. This leans more towards bug fix imho.

But having a formal document for our approach and general guidelines would really nice, if it doesn't exist already!

Agreed that this is an edge-case and can be clarified. afaict, we don't have clear guidelines for these renovate version bumps. I can follow up on this to see if can get broader clarification on "chores" like this.

Recommendation:

  • Trust the process and backport to all open branches. What is the worst case? A bug is introduced that will require a rollback on all branches, iso of only the buggy branches. The best case is that code remains neatly aligned.
  • if we are too uncertain (and this is for the team to decide), backport this to 8.x only but motivate why this upgrade in particular seems so risky. Is there missing test coverage for the functionality? Over time, we will better start to understand these test gaps, and close them.

@lukasolson
Copy link
Contributor

This has already been backported:

I've closed the other backport PRs.

@azasypkin
Copy link
Contributor

Yes, but the paradigm is shifting: with Serverless, Kibana is released from main. When we are withholding backports to already released branches out of safety-concerns, we are not showing that concern to our Serverless users. Safety will have to come from being confident in our automated testing, not by preventing code changes.

Thanks, @thomasneirynck, that's a very good point and one of the main reasons we strive to keep our dependencies up to date and limit their growth. Whatever we merge on Thursday might reach users as early as Tuesday, and it's unlikely that manual verification will catch issues before production is impacted. That's why we should rely on thorough reviews of dependency upgrades (including reading release notes) and automated testing.

Depending on the level of confidence in a particular dependency, we might need to tweak minimumReleaseAge to upgrade only when it's considered stable enough.

Yes. This is annoying edge case imho. This is neither a feature nor a bug fix. It's an automated patch. This leans more towards bug fix imho.

++, it's regular maintenance that's closer to bug fixes than features, as long as we don't make interfaces of third-party dependencies part of our own public interfaces (e.g., for vega, we wouldn't backport any major version bumps in a Kibana patch release without a strong need).

Agreed that this is an edge-case and can be clarified. afaict, we don't have clear guidelines for these renovate version bumps. I can follow up on this to see if can get broader clarification on "chores" like this.

Yeah, we can definitely add more details to our Managing third-party dependencies internal development docs regarding the suggested backport approach and the reasoning behind it.

Recommendation:

Agreed on both, @thomasneirynck, I'll take an action item for our team to codify these in our existing dev docs.

I didn't realize it was a part of devDependencies but it looks to be a webpack file loader for timelion 🦁 . But even as a devDependency it's also a build dependency which could cause unknown issues. In some other case it could be that it is truly dev dependency (no unknown impact) and would be convenient to have on 8.x for some reason, I think that's perfectly fine.

Well, let's be a bit more pragmatic - how likely is it that a dev dependency upgrade with a green CI and a review from owners who know the dependency will break anything? 🙂

Take #216284 for example, we are upgrading vega to the latest patch version. I think this is ok for active branches still accepting features because these branches will have more thorough manual testing before being released. But we are backporting this to 8.17 and 8.18 which work fine as is and have no reason to upgrade this dependency. There's no security benefit or known kibana bug fix.

I wouldn't be as confident claiming that, considering that a member of the security team is upgrading the Vega dependency himself - even backporting it to 7.17 😛

--

Anyway, thanks a lot, folks, for the discussion - it's valuable. There are certainly things we can improve and clarify in our documentation and communication, but we should also acknowledge that our security, maintenance, and risk posture is evolving. Something that was considered OK in the past won't necessarily be OK in the future, and reviews of dependency upgrades might require just as much attention as any other feature or bug-fix review.

lukasolson added a commit that referenced this pull request Mar 31, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- [Update dependency peggy to v4 (main)
(#212280)](#212280)

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants