Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.0.0 #472

Merged
merged 2 commits into from
Feb 13, 2024
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
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@
.eslintrc.js
.gitattributes
.github
.ncurc.cjs
.nyc_output
.vscode/
*.map
benchmark
bin/*.mjs
build/
CHANGELOG.md
CONTRIBUTING.md
coverage/
docs
eslint.config.js
examples
jest.config.js
lib/.eslintrc.json
peggy.code-workspace
pnpm-lock.yaml
rollup.config.mjs
src
Expand All @@ -23,4 +28,3 @@ tools
tsconfig*.json
web-test/
yarn.lock
peggy.code-workspace
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Change Log

This file documents all notable changes to Peggy.

Unreleased
----------
4.0.0
-----

Released: TBD
Released: 2024-02-13

### Major Changes

Expand Down Expand Up @@ -38,6 +38,8 @@ Released: TBD

### Minor Changes

- [#400](https://github.com/peggyjs/peggy/pull/400) Use `@generated` in generated
code
- [#404](https://github.com/peggyjs/peggy/issues/404) Add support for -w/--watch
to the command line interface.
- [#415](https://github.com/peggyjs/peggy/issues/415) Added `browser` key to package.json, pointing to Webpack output.
Expand All @@ -59,12 +61,17 @@ Released: TBD
- [#451](https://github.com/peggyjs/peggy/pull/451) Make stack.js ts clean
- [#452](https://github.com/peggyjs/peggy/pull/452) Fixes to prepare generate-bytecode.js for ts-check
- [#453](https://github.com/peggyjs/peggy/pull/453) Make generate-bytecode.js ts-clean
- [#460](https://github.com/peggyjs/peggy/pull/453) Allow `-t` and `-T` testing
from the CLI with `--format es`.

### Bug Fixes

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

3.0.2
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="label">Download browser version</div>
<span id="download">
<a title="Download a minified version of Peggy for the browser"
href="https://unpkg.com/peggy@3.0.2/browser/peggy.min.js">minified</a>
href="https://unpkg.com/peggy@4.0.0/browser/peggy.min.js">minified</a>
</span>
<iframe id="discord"
src="https://discordapp.com/widget?id=985995982909100082&theme=dark"
Expand Down
4 changes: 2 additions & 2 deletions docs/js/benchmark-bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/examples.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 3.0.2.
// @generated by Peggy 4.0.0.
//
// https://peggyjs.org/
(function(root) {
Expand Down
4 changes: 2 additions & 2 deletions docs/js/test-bundle.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/vendor/peggy/peggy.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 3.0.2.
// @generated by Peggy 4.0.0.
//
// https://peggyjs.org/

Expand Down
2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

"use strict";

module.exports = "3.0.2";
module.exports = "4.0.0";
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peggy",
"version": "3.0.2",
"version": "4.0.0",
"description": "Parser generator for JavaScript",
"keywords": [
"grammar",
Expand Down
2 changes: 1 addition & 1 deletion test/cli/fixtures/imports_peggy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 3.0.2.
// @generated by Peggy 4.0.0.
//
// https://peggyjs.org/

Expand Down
2 changes: 1 addition & 1 deletion test/cli/fixtures/lib.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by Peggy 3.0.2.
// @generated by Peggy 4.0.0.
//
// https://peggyjs.org/

Expand Down