Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Releases: nette/tokenizer

Released version 3.1.0

13 Sep 11:30
@dg dg
Compare
Choose a tag to compare
  • Revert "Stream: removed code that I don't know what is doing"

Released version 3.0.0

05 Feb 22:49
@dg dg
Compare
Choose a tag to compare

Deprecated Nette\Utils\Tokenizer & TokenIterator and added new Nette\Tokenizer\Tokenizer and Nette\Tokenizer\Stream that represents tokens as objects Nette\Tokenizer\Token instead of arrays.

  • requires PHP 7.1
  • uses PHP 7.1 features
  • added PHP 7.1 scalar and return type hints
  • added declare(strict_types=1);
  • added Stream::consumeToken() & consumeValue() [Closes #17]

Released version 2.3.0

08 Sep 14:07
@dg dg
Compare
Choose a tag to compare
  • requires PHP 5.4 and supports PHP up to 7.2
  • added new classes Nette\Tokenizer\Tokenizer & Nette\Tokenizer\Stream
    • Tokenizer::tokenize return Stream instead of array
    • token is represented by object Token instead of array
    • removed support for 'simple' mode
  • Nette\Utils\Tokenizer & Nette\Utils\TokenIterator are marked as deprecated (BC break)

Released version 2.2.4

14 Jul 07:51
@dg dg
Compare
Choose a tag to compare
  • coding style: fixes, lowercase true/false/null
  • @return self -> static

For the details you can have a look at the diff.

Released version 2.2.3

23 Aug 13:42
@dg dg
Compare
Choose a tag to compare
  • improved coding style
  • travis: migrating to container-based infrastructure

For the details you can have a look at the diff.

Released version 2.2.1

14 Jul 07:52
@dg dg
Compare
Choose a tag to compare
  • improved coding style

For the details you can have a look at the diff.

Released version 2.2.0

12 May 21:57
@dg dg
Compare
Choose a tag to compare

The first standalone release. For more information see readme.md.