NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #554 most downloaded on Packagist
Peast is PHP library that generates AST for JavaScript code
Last release 22 days ago
15 Sep 2026
Release timing varies
gaps range from 3 weeks to 8 months
Most releases are documented
notes for 42 of 53 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
53 releases · first in 2016
Fixed bug where rendering a "using" or "using await" declaration inside a switch case not always wrap it into brackets
Added ES2026 parser with no additional features
One column per quarter.
Fixed deprecation warning about null array index on PHP 8.5 when parsing trailing comments
Fixed bug where single BlockStatement where wrongly expanded removing brackets
Fixed bug when parsing SpreadElement followed by NewExpression between parenthesis
Fixed warning on PHP 8.5 when handling large numbers
Fixed bug where const declarations were allowed without an initializer
const declarations were allowed without an initializerFixed bug where const declarations were allowed without an initializer
const declarations were allowed without an initializerFixed bug where continue and break were allowed outside iteration and break statements
continue and break were allowed outside iteration and break statementsImplemented ES2025 parser with import attributes
Removed implicitly nullable parameter declarations for PHP 8.4 compatibility
Fixed bug where a regex that started with /= raised a syntax error
/= raised a syntax errorFixed bug where, in some situations, scanner allowed invalid characters after a slash
Implemented ES2024 parser, no new syntax features have been introduced
Fixed rendering of let and const inside switch cases that always require brackets
let and const inside switch cases that always require bracketsFixed rendering of let and const inside if, for and while that always require brackets
let and const inside if, for and while that always require bracketsFixed bug where async keyword was lost when rendering an object async method
Fixed bug on hashbang comment detection
Implemented ES2022 parser with hashbang comments
* Implemented comments rendering
Fixed a case of conditional expression parsed as a wrong optional chain
Fixed parsing of multiline template literals in return statements
Implemented parsing of arbitrary module namespace identifier names
Fixed identifiers bug introduced in the last release
Implemented parsing of top level await
#field in obj syntaxrawName that contains their raw name, including unconverted unicode escape sequences, while the name property still contains the converted value as before. Renderer now prints rawName for identifiers to prevent automatic conversion of escaped keywords.Fixed parsing of adjacent JSX expressions
Fixed parsing of get and set as property names and class fields
get and set as property names and class fieldsFixed bug when parsing surrogate pairs in php 7.4+
Added support for surrogate pairs in strings and templates
Fixed bug when parsing spread operator inside objects returned by arrow functions
Implemented ES2022 parser with class fields and private class methods
Added options array to Traverser constructor and shortcut method on nodes
Implemented ES2021 parser with logical assignment operators and numeric separators
Implemented parsing of coalescing operator
Implemented parsing of import.meta syntax
import.meta syntaxImplemented parsing of export * as ns from "source" syntax
export * as ns from "source" syntaxFixed parsing of semicolon after do-while statement
Handled invalid UTF-8 characters in the source code by throwing an exception or replacing them with a substitution character by setting the new strict
Fixed another bug when rendering nested "if" statements with Compact formatter
Fixed rendering of nested "if" statements with Compact formatter
Fixed rendering of arrow functions that generates invalid code
Fixed parsing of regular expressions by disabling scan errors inside them
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →