diff --git a/CHANGELOG.md b/CHANGELOG.md index faf1cfb..95ad559 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 0.2.0 (2015-05-17) + +* Feature: Support echo replacements (asterisk for password prompts) + (#11) + + ```php +$stdio->getReadline()->setEcho('*'); +``` + +* Feature: Add accessors for text input buffer and current cursor position + (#8 and #9) + + ```php +$stdio->getReadline()->setInput('hello); +$stdio->getReadline()->getCursorPosition(); +``` + +* Feature: All setters now return self to allow easy method chaining + (#7) + + ```php +$stdio->getReadline()->setPrompt('Password: ')->setEcho('*')->setInput('secret'); +``` + +* Feature: Only redraw() readline when necessary + (#10 and #14) + ## 0.1.0 (2014-09-08) * First tagged release diff --git a/README.md b/README.md index 74a6514..b3a3d8c 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The recommended way to install this library is [through composer](https://getcom ```JSON { "require": { - "clue/stdio-react": "~0.1.0" + "clue/stdio-react": "~0.2.0" } } ```