Commit cc6ffd1c authored by Benito van der Zander's avatar Benito van der Zander

0.9.6 version stuff

parent d90d3b84
Some important changes:
--------Xidel 0.9.5 --------
* add x:request for HTTP or follow-like requests inside a query
* more new functions: x:argc, x:argv, x:integer, x:integer-to-base
* various performance improvements and internal restructuring
--------Xidel 0.9.6 --------
(2016-11-20)
* add function x:request for HTTP or follow-like requests inside a query
* new functions: x:argc, x:argv, x:integer, x:integer-to-base
* fix that entities were not decoded, if --output-encoding was not set
* better default encoding setting when converting between Windows terminal encoding and utf8 for piped files
* better default encoding settings when converting between Windows terminal encoding and utf8 for piped files
* a new JSON parser with two distinct modes: input formats json/json-strict for accepting/rejecting invalid JSON
* JSON output is prettified.
* It uses a new JSON parser and has an input format json-strict
* An xquery version declaration disables all extension unless a version code like "3.0-xidel" or "3.0-jsoniq" is used. #!xidel in the first line is ignored, so it can be used for executable XQuery scripts.
* various fixes, performance improvements and internal restructuring
--------Xidel 0.9.4 --------
(2016-06-08)
......
......@@ -4,8 +4,8 @@ rm -rf $builddir/
mkdir -p $builddir/DEBIAN $builddir/usr/bin $builddir/usr/share/doc/xidel $builddir/usr/share/man/man1/
./install.sh $builddir
cp -r meta/debian/control meta/debian/conffiles $builddir/DEBIAN/
gzip -9 -c meta/debian/changelog > $builddir/usr/share/doc/xidel/changelog.gz
gzip -9 -c meta/xidel.1 > $builddir/usr/share/man/man1/xidel.1.gz
gzip -9 -n -c meta/debian/changelog > $builddir/usr/share/doc/xidel/changelog.gz
gzip -9 -n -c meta/xidel.1 > $builddir/usr/share/man/man1/xidel.1.gz
cp meta/debian/copyright $builddir/usr/share/doc/xidel/copyright
version=$(xidel --version | head -1 | grep -oE "[0-9.]+")
......
......@@ -443,14 +443,19 @@ xml-strict: The input will be parsed as strict XML.
json: The input will be parsed as JSON and stored in . and the $json variable.
It can be changed by assigning to $json(..)(..).. :=
json-strict: Like json, but invalid JSON will be rejected.
XPath/JSONiq/Xidel also provide functions to load data explicitly within expressions:
fn:doc Loads an HTML/XML document from an url
fn:unparsed-text Loads a text document from an url
fn:parse-xml Parses an XML document from a string
fn:parse-html Parses an HTML document from a string
pxp:json or jn:json-doc Loads a JSON file
pxp:json or jn:json-doc Loads a JSON file. The following options can be set as map in the 2nd arg:
jsoniq-multiple-top-level-items: allow multiple items
liberal: allow invalid JSON
trailing-comma: allow trailing commas
file:read-text Loads a local text file
=========================================== Output formats =============================================
......
......@@ -38,7 +38,7 @@ var cgimode: boolean = false;
majorVersion: integer = 0;
minorVersion: integer = 9;
buildVersion: integer = 5;
buildVersion: integer = 6;
type EXidelException = class(Exception);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment