Skip to content

Latest commit

 

History

History
214 lines (171 loc) · 9.55 KB

CHANGELOG.md

File metadata and controls

214 lines (171 loc) · 9.55 KB

Change Log

All notable changes to the "php-docblocker" extension will be documented in this file.

  • Allow configuration of default type
  • Fixed fully qualifies class namespace detection can be incorrect with _ #214
  • Supported fully qualifies class namespace use with bracket use some\namespace\{ ClassA, ClassB, ... }
  • Supported fully qualifies class namespace use with comma use some\namespace\ClassA, some\namespace\ClassB, ...
  • Fix issue with coverage reports not firing
  • Supported PHP 8.1 Readonly Properties
  • Supported PHP 8.1 Intersection Types

2.6.1 - 2021-10-12

  • Fix double start delimeter when vscode setting editor.autoClosingBrackets is set to never
  • Improve class head tolerance when there isn't one or it's too long
  • Increased class head limit to 300 lines

2.6.0 - 2021-09-27

Added

  • Aligning of @param and @return - Thanks @MGApcDev
  • Added option for param description
  • Added option for return description
  • Added option for var description

2.5.0 - 2021-09-22

Added

  • Psalm and Phan annotations - Thanks @imliam

Updated

  • Fixes issue with multi-line functions that have a trailing comma

Operational

  • Add auto-merge to release workflow
  • Create release using bot token
  • Make tests run on push and PR sychronize only
  • Convert updateChangelog.js script to use typescript
  • Add script to generate the table of tags for the README.md

2.4.0 - 2021-09-05

  • Add support for params which have a trailing comma
  • Add support for constructor promotion
  • Add GitHub workflow to prepare and publish releases

2.3.0 - 2021-08-23

  • Add support for PHP8 union types in function params - Thanks @tianyiw2013
  • Add support for PHP8 union types in function return types - Thanks @tianyiw2013
  • Add support for PHP8 union types in class properties - Thanks @tianyiw2013
  • Switched build checks system to GitHub actions

2.2.3 - 2021-08-18

  • Remove usage of FS module to fix start up errors in vscode web

2.2.2 - 2021-08-18

  • Improve compatability with vscode web

2.2.1 - 2021-08-17

  • Supported workspace trust - Thanks @tianyiw2013
  • Add case insensitive matching - Thanks @tianyiw2013
  • Improve detection of types from certain default values - Thanks @tianyiw2013

2.2.0 - 2021-08-11

  • Use esbuild to improve startup performance
  • Add support for PHP 7.4 typed properties
  • Fix issue where if you have a comma in a default value it incorrectly splits the arguments

2.1.0 - 2019-11-19

  • Add should to list of bool return type functions - Thanks @ImClarky
  • Fix issue where functions named with a bool return prefix were incorrectly given bool return type - Thanks @ImClarky
  • Fix issue with snake case class names in PHP7 return types - Thanks @rmccue

2.0.1 - 2019-07-08

  • Fix issue in templating system where custom order was not being honored

2.0.0 - 2019-06-30

  • Add templating system to handle how DocBlocks are created. While not strictly a breaking change it is a major update so this is why it has been released as 2.0.0

1.9.0 - 2019-06-30

  • Add PHPUnit annotations to docblock completions - Thanks @goodjack

1.8.0 - 2019-03-13

  • Add a command to trigger DocBlocking
  • Update configuration description around short names - Thanks @dave470003

1.7.0 - 2018-12-23

  • Add description to snippet to avoid confusion
  • Add option to turn of void return type when the return could not be detected
  • Remove tabstop on variable names generating DocBlocks - Thanks @markjaquith

1.6.0 - 2018-03-26

  • Add configuration option to full qualify class names in param and returns
  • Rework internal config value fetching to allow better testing

1.5.0 - 2018-03-24

  • Add author configuration so the Author tag pulls in your name/email
  • Add returnGap option which adds a space between your @params and @return tags
  • Add list of completion tags to the README.md

1.4.0 - 2018-03-23

  • Allow using vscode variables in your extra tags see list of variables here for the docs

1.3.3 - 2017-12-22

  • Fixed typo in readme. - Thanks Dominik Liebler
  • Fixed missing canDo return type - Thanks @jens1o
  • Fixed transforming short names with PHP7 typehints into their long form when useShortNames is false

1.3.2 - 2017-10-07

  • Improve compatibility with vscode v1.17 by resolving the issue with the snippet end being before the closing */

1.3.1 - 2017-10-06

  • Fix compatibility issues with vscode v1.17 now language config has been merged into the core

1.3.0 - 2017-09-29

  • Add basic HHVM/Hack support - Thanks @beefsack
  • Change @method snippet to not include a $ - Thanks @ADmad
  • Fix issue when using a referenced function

1.2.0 - 2017-05-26

  • Add support for PHP7.1 nullable types
  • Add config option to allow enforcing short named return types. Thanks @jens1o

1.1.0 - 2017-05-20

  • Add extra snippets. Thanks @jens1o

1.0.0 - 2017-04-20

  • Add support for ...$args
  • Support PHP7 return types
  • Infer boolean return type for methods that start is or has
  • Add more @ tags from the PHPDoc documentation
  • Fix issue with function typehints using namespaces

0.4.2 - 2017-03-31

  • Fix travis not getting the right status code back when tests fail
  • Fix issue where completion @ tags weren't matching properly

0.4.1 - 2017-03-29

  • Fix for issue causing built in php intellisense to be broken
  • Add code coverage to CI and more unit tests to get full code coverage

0.4.0 - 2017-03-17

  • Add Inferring of types in properties
  • Add Inferring of types using function param defaults
  • Fix issue where function parameters passed by reference fail to parse

0.3.3 - 2017-03-16

  • Fix matching of multiline class properties
  • Fix the falling back to a simple block
  • Fix issue with multiline arguments with type hints
  • Fix @param completion spitting out @var
  • Fix Interface class not triggering
  • Refactor unit tests and add more checks and a more comprehensive realworld test

0.3.2 - 2017-03-15

  • Fixed overflow of function capture meaning it was being applied to properties

0.3.1 - 2017-03-15

  • Fixed regression in functions without params not triggering

0.3.0 - 2017-03-15

  • Added unit tests for function signatures and continuous integration
  • Added @package to completions
  • Fixed issue where functions weren't detected in abstract/interface methods
  • Fixed support for multiline function signatures

0.2.0 - 2017-03-13

  • Refactored for potential unit testing
  • Switched to use a completion snippet for the main docblock
  • Fix bug with function that has no params

0.1.1 - 2017-03-12

  • Updated readme and display name

0.1.0 - 2017-03-12

  • Initial release