Changelog - beckchr/staxon GitHub Wiki
StAXON 1.3 (2014/02/06)
- added module
staon-jsr353
providing a streaming backend for the JSON Processing API (JSR-353)
- updated dependency to
jackson-2.3.1
, gson-2.2.4
- added
namespaceMappings
configuration property
StAXON 1.2 (2012/09/26)
- updated dependency to
jackson-2.0.6
- support for JSON primitives (number/boolean)
- added
JsonXMLStreamWriter.writeNumber(Number)
, writeBoolean(Boolean)
- added
JsonXMLStreamReader.hasNumber()
, getNumber()
, hasBoolean()
, getBoolean()
- added
JsonXMLOutputFactory.PROP_AUTO_PRIMITIVE
property to auto-convert to JSON primitives
JsonXMLInput/OutputFactory.createXMLStreamReader/Writer(...)
now return Json
XMLStreamReader/Writer
StAXON 1.1 (2012/08/20)
- updated dependencies of
staxon-gson
to gson-2.2.2
and staxon-jackson
to jackson-2.0.5
- new
StreamSourceDelegate
, StreamTargetDelegate
convenience classes
- support for
XMLStreamReader.getLocation()
, include row/column in exception messages (issue #6)
- ability to specify space, indent and newline strings for pretty printing (issue #5)
- fixed: parser doesn't match closing braces/brackets type (issue #7)
- fixed:
SimpleXMLEventReader.add(XMLEventReader reader)
throws RuntimeException
(issue #8)
- fixed: avoid writing newline in
PrettyXMLWhitespaceHandler.postEndDocument()
(issue #4)
StAXON 1.0 (2012/02/03)
- added
DOMEventConsumer
to translate XML events to DOM
- added
JsonXMLConfig.repairingNamespaces
property
- close underlying stream when creating a reader from
Source
with system id only
- added missing package Javadocs
StAXON 0.9.5 (2012/01/14)
- upgrade Gson dependency to version 2.1
- new class
SimpleXMLEventFactory
(extends XMLEventFactory
)
- support
XMLOutputFactory.IS_REPAIRING_NAMESPACES
property
- added convenience methods to
JsonXMLMapper
accepting InputStream
/OutputStream
- include root element in
@JsonXML.multiplePaths
if and only if @JsonXML.multiplePaths == false
StAXON 0.9.4 (2011/12/18)
- moved abstract framework (
AbstractXMLStreamReader/Writer
et al) classes to de.odysseus.staxon.base
- introduce
JsonXMLConfig
interface to configure JsonXMLInputFactory
and JsonXMLOutputFactory
- factored out
JsonJAXBRootProvider
from JsonJAXBBinder
to determine root names
- allow for relative (suffix) paths in XMLMultipleStream/EventWriter (e.g. "bob" will match "/alice/bob")
StAXON 0.9.3 (2011/12/02)
- added JAX-RS sample project
- XMLMultipleEvent/StreamWriter names in multiple paths now must be local (without prefix)
- JsonXMLInputFactory/JsonXMLOutputFactory.PROP_VIRTUAL_ROOT property now has type QName
- @JsonXML.virtualRoot() is now a boolean (StAXON calculates the root name if set to
true
)
- added boolean
matchRoot
argument to XMLMultipleEvent/StreamWriter constructors
- fixed: JsonXMLBinding.getXmlTypeName(...) does not include prefix
- fixed: AbstractXMLStreamWriter.writeEndDocument() throws exception when there are open scopes
- fixed: FindBugs issues
StAXON 0.9.2 (2011/11/18)
- support reading and writing "document arrays" (
<?xml-multiple?>
, followed by a sequence of documents)
- new JAXB utilities (
@JsonXML
, JsonXMLMapper
, JsonXMLBinder
)
- new
staxon-jaxrs
module with message body readers/writers for JAXB from/to JSON
- support mixing auto-array and multiple-path features to trigger arrays
- upgraded
staxon-gson
's dependency to Gson 2.0
- fixed some minor bugs
StAXON 0.9.1 (2011/10/29)