NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #1924 by repository stars
Last release 6 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 9 of 11 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
35 releases · first in 2018
Nothing published for this version
Nothing published for this version
Merge pull request #117 from z7zmey/refactoring
Merge pull request #117 from z7zmey/refactoring
Refactoring
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[ #105 ] Fix counting newlines in strings [ #110 ] Fix JSON dumper [ #109 ] Do not override Stmts in printNodeRoot() [ #111 ] NamespaceResolver: Resol
[ #107 ] fix infinite loop when $ appear between variable and the end of a template string
[#107] fix infinite loop when $ appear between variable and the end of a template string
Nothing published for this version
[ #82 ] PHP 7.4 [ #93 ] Wrong line number when parsing string [ #91 ] Scanner doesn't support \x80-\xff identifiers [ #86 ] JsonDumper don't work [ #7
Nothing published for this version
#96 handle lexer errors
#96 handle lexer errors
Nothing published for this version
golang/json dumper saving and printing free-floating comments and whitespaces
golang/json dumper
saving and printing free-floating comments and whitespaces
attribute StringVar was removed from expr.Variable
node stmt.Die was removed, added Die attribute to stmt.Exit instead
save position within node
use sync.Pool to reuse scanner.Token
__halt_compiler(); terminates parsing process
accept backslash+newline in single quotes
fixed /*/ comment termination
fixed crash on an empty list item, missed items are represented by empty *expr.ArrayItem
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
#44 : if array item list ends by a comma, last nil does not removed #44 : fixed crash on an empty list item #41 : Namespace resolver now does not reso
#44: if array item list ends by a comma, last nil does not removed
#44: fixed crash on an empty list item
#41: Namespace resolver now does not resolve build-in primitives
Fixed bug: Namespace resolver fails when TraitUse does not contain adaptations
#40: memory allocations reduced for position.Position by using sync.Pool
#27: memory allocations reduced for scanner.Token by using sync.Pool
#26: TrimLeft replaced by TrimLeftFunc (small optimization)
#38: fixed saving positions for php5 ArrayDimFetch, PropertyFetch and MethodCall nodes
#34: fixed saving position for Class node
Nothing published for this version
Possibility to parse files concurrently
Enhancements:
Breaking changes:
DocComment and PlainComment typesboolWithToken, altSintaxNode, nodesWithEndToken typesnode.Root, node.ArgumentList, stmt.TraitAdaptationList, stmt.CaseList, stmt.ClassExtends, stmt.ClassImplements, stmt.InterfaceExtends, expr.Reference nodesClosureUse node purpose, now it represents variables list instead of wrapping the variableBuilder was renamed to PositionBuilderscanner.CreateToken returns pointerscanner.Token saves position as position.PositionParser interface moved to parser packagetoken package merged into scanner packagePositions and Comments moved into parser packageFixes:
(binary) castheredocLabel variable moved from global into scanner.LexerOptimisations:
scanner.Lexer.charsToBytes and renamed to scanner.Lexer.tokenStringNothing published for this version
Created simple pretty printer Created Heredoc node Fixed Heredoc scanning Fixed template strings and backquoted strings scanning Dumper now writes to
Created simple pretty printer
Created Heredoc node
Fixed Heredoc scanning
Fixed template strings and backquoted strings scanning
Dumper now writes to io.writer
Removed redundant nop before InlineHtml
Renamed assign.AssignRef to assign.Reference
Renamed cast nodes, remove Cast prefix
Nothing published for this version
Namespace resolver is a visitor that traverses nodes and resolves name nodes as fully qualified names. It does not change AST but collects resolved na
Namespace resolver is a visitor that traverses nodes and resolves name nodes as fully qualified names.
It does not change AST but collects resolved names into map[node.Node]string
For Class, Interface, Trait, Function, ConstList nodes collects name with current namespace.
For Name, Relative, 'FullyQualified' nodes resolves use aliases and collects a fully qualified name.
goreportcard.com warningsWalker to Walkable interfaceNames interfacedumper and namespace_resolver testsNothing 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 →