Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.6 KB

CHANGELOG.md

File metadata and controls

35 lines (21 loc) · 1.6 KB

Changelog

3.1.0

  • Add Parser::reverseParse() doing the opposite of Parser::parse() #10 by @nickinthebox

3.0.3

  • Test array access + avoid warning #9 by @jdeniau

3.0.2

  • Fixes merge issue with mix of true & Fields for the same key

3.0.1

  • Fixes typing issue with doctrine/lexer 2 #8 by @jdeniau

3.0.0

Changed

  • [BREAKING] return type of Parser::parse() is an instance of Mapado\RequestFieldsParser\Fields instead of an array. It does implements ArrayAccess and IteratorAggregate so you still can access data as array, but you cannot use array methods on it. You can convert the result to an array by calling the toArray() function. You can convert an array to a Fields using Fields::fromArray(). You can also call the keys() method to get all keys. You can cast it to a string to get the same string as a parsable string.
  • [BREAKING] Drop support for PHP < 8.1 #2
  • [BREAKING] Drop support for doctrine/lexer < 2.0 and allow doctrine/lexer 3 #3 and #4

2.0.0

Changed

  • [Breaking] Added compatibility for PHP 8.1