Skip to content

2.0.0

Compare
Choose a tag to compare
@mtdowling mtdowling released this 12 Jan 01:45
· 65 commits to master since this release
  • Moving to a flattened namespace structure.
  • Runtimes are now only PHP callables.
  • Fixed an error in the way empty JSON literals are parsed so that they now
    return an empty string to match the Python and JavaScript implementations.
  • Removed functions from runtimes. Instead there is now a function dispatcher
    class, FnDispatcher, that provides function implementations behind a single
    dispatch function.
  • Removed ExprNode in lieu of just using a PHP callable with bound variables.
  • Removed debug methods from runtimes and instead into a new Debugger class.
  • Heavily cleaned up function argument validation.
  • Slice syntax is now properly validated (i.e., colons are followed by the
    appropriate value).
  • Lots of code cleanup and performance improvements.
  • Added a convenient JmesPath\search() function.
  • IMPORTANT: Relocating the project to https://github.com/jmespath/jmespath.php