Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 3.73 KB

CHANGELOG.md

File metadata and controls

98 lines (67 loc) · 3.73 KB

Version history

dev branch / next version (3.x.x)

3.0.1 (2025-01-25)

  • fixed null access on empty indentation config
  • fixed extract interface misplacing resolved type hint, fixes vshaxe/vshaxe#655

3.0.0 (2024-12-23)

  • added ExtractType refactor module
  • added ExtractInterface refactor module
  • added ExtractMethod refactor module
  • added Extract Constructor Params refactor module as vars or finals
  • added Rewrite Vars to Finals and Rewrite Finals to Vars refactor module
  • added Wrap with Try…Catch refactor module
  • added invalidateFile / removeFile to allow rescan in case of file changes or deletion
  • added support for create and delete file operations as edits
  • added support for local function extraction
  • added indentation options for snippet formatting
  • changed Refactor class to Rename
  • changed getFullModulName call to fullModuleName property
  • changed order of type resolution to built-in then external typer
  • fixed type name renaming not changing in use locations
  • fixed discovery of arrow functions as type hints
  • fixed extracting from functions with type parameters
  • fixed discovery of identifiers in if conditions
  • fixed code gen for empty return or throw as last expressions of selection
  • fixed parameter collection from string interpolation
  • fixed importInsertPos for files with comment headers
  • fixed enum field rename eating dot separator
  • fixed abstract enum type resolution
  • fixed rename field with null-safe access operator
  • refactored typehint data structure
  • refactored identifier discovery

2.3.1 (2024-11-01)

  • fixed classification of parameters in arrow functions
  • fixed discovery of vars in pattern extraction, fixes #11

2.3.0 (2024-10-28)

  • added file reader interface
  • fixed discovery of identifiers in callback functions, fixes #10

2.2.3 (2024-09-22)

  • fixed package rename when identifier has multiple matches in folder structure, fixes #3
  • fixed failing to rename local symbol, fixes #4
  • fixed failing to rename simple public symbols, fixes #5
  • fixed crash on string interpolation, fixes #6
  • fixed crash when parsing a return macro @:pos, fixes #8
  • fixed crash with array comprehension, fixes #9

2.2.2 (2022-05-23)

  • fixed bug in readBlock passing incorrect child token

2.2.1 (2022-05-20)

  • fixed local var scope

2.2.0 (2022-05-03)

  • added canRename API call

2.1.4 (2022-05-02)

  • fixed handling of star imports

2.1.3 (2022-05-01)

  • fixed package renaming

2.1.2 (2022-04-25)

2.1.1 (2022-04-23)

  • fixed identifier collection

2.1.0 (2022-04-19)

  • added support for handling shadowed identifiers during local var/param rename
  • fixed detecting local var shadows when renaming a field

2.0.0 (2022-04-16)

  • added external typer interface to utilise type information from Haxe compiler (#2)
  • refactored codebase to use asynchronous promises (#2)
  • dropped non JS support in favour of using js.lib.Promise (#2)

1.0.0 (2020-12-07)

  • initial version with built-in "type-guessing"