From b9f67ce614ebd22a4a459a54e535eb33e1680f67 Mon Sep 17 00:00:00 2001 From: Kalle Stenflo Date: Wed, 1 Oct 2014 15:17:14 +0200 Subject: [PATCH] Updated versions in docs. --- Procfile | 2 +- README.md | 12 +++++++----- changelog.md | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 changelog.md diff --git a/Procfile b/Procfile index aa168b44..6e456061 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: java $JAVA_OPTS -Dserver.http.port=$PORT -DresourceBase=json-path-web-test/target/classes/webapp/ -jar json-path-web-test/target/json-path-web-test-1.0.1-SNAPSHOT.one-jar.jar \ No newline at end of file +web: java $JAVA_OPTS -Dserver.http.port=$PORT -DresourceBase=json-path-web-test/target/classes/webapp/ -jar json-path-web-test/target/json-path-web-test-*.one-jar.jar \ No newline at end of file diff --git a/README.md b/README.md index 891aa40b..b64461ad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -Jayway JsonPath (1.0.0) -=============== +Jayway JsonPath 1.1.0 +===================== **A Java DSL for reading JSON documents.** @@ -10,7 +10,10 @@ Jayway JsonPath is a Java port of [Stefan Goessner JsonPath implementation](http News ---- -26 Sep 2014 - JsonPath 1.0.0 was released +01 Oct 2014 - Released JsonPath 1.1.0 +26 Sep 2014 - Released JsonPath 1.0.0 + +For details see [change log](changelog.md). Getting Started --------------- @@ -21,7 +24,7 @@ JsonPath is available at the Central Maven Repository. Maven users add this to y com.jayway.jsonpath json-path - 1.0.0 + 1.1.0 ``` @@ -181,7 +184,6 @@ When evaluating a path you need to understand the concept of when a path is `def * `..` - a deep scan operator * `?()` - an expression * `[, (, )]` - multiple array indexes -* `['', '' (, '')]` - multiple object properties `Indefinite` paths always returns a list. diff --git a/changelog.md b/changelog.md new file mode 100644 index 00000000..7ce70f1b --- /dev/null +++ b/changelog.md @@ -0,0 +1,24 @@ +1.1.0 (2014-10-01) +================== +* Reintroduced method JsonProvider.createMap(). This should never have been removed. **NOTE: This is a breaking change if you implemented your own JsonProvider based on the 1.0.0 API** +* Filters threw exception if an item being filtered did not contain the path being filtered upon. +* Multi-property selects works as it did in 0.9. e.g. `$[*]['category', 'price']` +* Cache results when predicates refer to path in document e.g. `$[*][?(@.price <= $.max-price)]` will only evaluate `$.max-price` once. + +1.0.0 (2014-09-26) +================== +* Complete rewrite of internals. Major API changes. +* Better compliance with the Goessner implementation + +Release history +=============== +* 0.9.0 (2013-09-26) +* 0.8.1 (2012-04-16) +* 0.8.0 (2012-03-08) +* 0.5.6 (2012-02-09) +* 0.5.5 (2011-07-15) +* 0.5.4 (2011-06-26) +* 0.5.3 (2011-02-18) +* 0.5.2 (2011-02-08) + +