<commit_before><html>
<!--
 Copyright (C) 2005, 2006 <NAME>.
 Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 XStream committers.
 All rights reserved.
 
 The software in this package is published under the terms of the BSD
 style license a copy of which has been included with this distribution in
 the LICENSE.txt file.
 
 Created on 29. January 2005 by <NAME>
 -->
  <head>
    <title>Change History</title>
  </head>
  <body>

    <p>Changes are split into three categories:</p>

    <ul>
      <li><b>Major changes</b>: The major new features that all users should know about.</li>
      <li><b>Minor changes</b>: Any smaller changes, including bugfixes.</li>
      <li><b>API changes</b>: Any changes to the API that could impact existing users.</li>
    </ul>

	<p>Full details can be found in Jira's
	<a href="http://jira.codehaus.org/browse/XSTR?report=com.atlassian.jira.plugin.system.project:roadmap-panel">Roadmap</a> and
	<a href="http://jira.codehaus.org/browse/XSTR?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change Log</a>.
	</p>

    <h1 id="upcoming">Upcoming</h1>

    <p>Not yet released.</p>

    <h2>Major changes</h2>
    
    <ul>
    	<li>Support java.util.concurrent.ConcurrentHashMap with the MapConverter. This will also avoid a bug in JRockit
    	JDK reported in JIRA:XSTR-608.</li>
    	<li>JIRA:XSTR-699: Support for Hibernate 4 with XStream's Hibernate module as default for Java 6 or higher.</li>
    </ul>

    <h2>Minor changes</h2>
    
    <ul>
    	<li>JVM.loadClass will now also initialize the loaded class and ignore any occurring LinkageError.</li>
    	<li>JIRA:XSTR-596: SubjectConverter will be no longer registered if initialization of javax.security.auth.Subject fails.</li>
    	<li>JIRA:XSTR-683: Inheritance of implicit collections, arrays or maps is dependent on declaration sequence.</li>
    	<li>Inherited implicit collections, arrays or maps can be overwritten with own definition in subtype.</li>
    	<li>JIRA:XSTR-688: Cannot omit XML elements from derived fields.</li>
    	<li>JIRA:XSTR-696: Ill-formed JSON generated, because JSON writer is fed with type of declaring field instead of
    	the real object's type.</li>
    	<li>JIRA:XSTR-685: Deserialization from file or URL keeps stream open.</li>
    	<li>JIRA:XSTR-684: XML 1.0 character validation fails for characters from 0x10 to 0x1f.</li>
    	<li>JavaBeanConverter supports now instantiation for a specific type and can therefore be used in
    	@XStreamConverter annotation.</li>
    	<li>SerializableConverter is broken if the serialized type is the default implementation.</li>
    	<li>Method marshalUnserializableParent of SerializableConverter is protected now to skip the default mechanism
    	in a derived converter that uses the default constructor to create the original type (as an alternative for
    	JIRA:XSTR-695).</li>
    	<li>FieldDictionary may call sort of FieldKeySorter implementation with wrong type as key.</li>
    	<li>Sometimes DependencyInjectionFactory tries to instantiate objects with mismatching constructor arguments.</li>
    	<li>HSQLDB has to be a test dependency only for XStream's Hibernate module.</li>
    </ul>

    <h1 id="1.4.2">1.4.2</h1>

    <p>Released 3. November 2011.</p>

    <h2>Major changes</h2>

    <ul>
    	<li>XStream libraries can be used now directly in Android, therefore support of Java 1.4.2 has been stopped with the delivery.
    	Anyone who needs a version for Java 1.4.2 can build it easily from source, this build is still supported and part of CI.</li>
    	<li>JIRA:XSTR-675: New extended HierarchicalStreamReader interface with peekNextChild method. All XStream
    	readers implement the new interface (by <NAME>).</li>
    	<li>JIRA:XSTR-673: Collections.EMPTY_LIST, Collections.EMPTY_SET and Collections.EMPTY_MAP supported with own
    	alias and defined as immutable.</li>
    	<li>JIRA:XSTR-631: Collections.singletonList(), Collections.singletonSet() and Collections.singletonMap()
    	supported with own alias and own converters.</li>
    	<li>JIRA:XSTR-406 + JIRA:XSTR-663: Support additional parameters for XStreamConverter annotation (e.g. to declare a
    	ToAttributedValueConverter).</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
    	<li>WstxDriver did not trigger Woodstox, but BEA StAX implementation.</li>
    	<li>JIRA:XSTR-260: PrettyPrintWriter does not handle tab and new line characters in attributes.</li>
    	<li>JIRA:XSTR-667: Cannot serialize empty list with JsonHierarchicalStreamDriver.</li>
    	<li>JIRA:XSTR-661: TreeMarshaller.CircularReference is not a ConversionException.</li>
    	<li>JIRA:XSTR-562: StAX: Namespace attribute is not written in non-repairing mode for second sibling.<li>
    	<li>JIRA:XSTR-664: ClassCastException in HibernatePersistentSortedSetConverter and
    	HibernatePersistentSortedMapConverter.</li>
    	<li>JIRA:XSTR-674: Recreate binary compatibility with 1.3.x series for method
    	CustomObjectInputStream.getInstance(...).</li>
    	<li>JIRA:XSTR-671: CannotResolveClassException should accept cause.</li>
    	<li>JIRA:XSTR-672: Collections.EMPTY_LIST, Collections.EMPTY_SET and Collections.EMPTY_MAP used for in implicit
    	collection should not throw ReferencedImplicitElementException.</li>
    	<li>JIRA:XSTR-676: Introduce MissingFieldException thrown at deserialization time indicating a missing field or
    	property (by <NAME>).</li><commit_msg>Fix HTML syntax.<commit_after><html>
<!--
 Copyright (C) 2005, 2006 <NAME>.
 Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 XStream committers.
 All rights reserved.
 
 The software in this package is published under the terms of the BSD
 style license a copy of which has been included with this distribution in
 the LICENSE.txt file.
 
 Created on 29. January 2005 by <NAME>
 -->
  <head>
    <title>Change History</title>
  </head>
  <body>

    <p>Changes are split into three categories:</p>

    <ul>
      <li><b>Major changes</b>: The major new features that all users should know about.</li>
      <li><b>Minor changes</b>: Any smaller changes, including bugfixes.</li>
      <li><b>API changes</b>: Any changes to the API that could impact existing users.</li>
    </ul>

	<p>Full details can be found in Jira's
	<a href="http://jira.codehaus.org/browse/XSTR?report=com.atlassian.jira.plugin.system.project:roadmap-panel">Roadmap</a> and
	<a href="http://jira.codehaus.org/browse/XSTR?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change Log</a>.
	</p>

    <h1 id="upcoming">Upcoming</h1>

    <p>Not yet released.</p>

    <h2>Major changes</h2>
    
    <ul>
    	<li>Support java.util.concurrent.ConcurrentHashMap with the MapConverter. This will also avoid a bug in JRockit
    	JDK reported in JIRA:XSTR-608.</li>
    	<li>JIRA:XSTR-699: Support for Hibernate 4 with XStream's Hibernate module as default for Java 6 or higher.</li>
    </ul>

    <h2>Minor changes</h2>
    
    <ul>
    	<li>JVM.loadClass will now also initialize the loaded class and ignore any occurring LinkageError.</li>
    	<li>JIRA:XSTR-596: SubjectConverter will be no longer registered if initialization of javax.security.auth.Subject fails.</li>
    	<li>JIRA:XSTR-683: Inheritance of implicit collections, arrays or maps is dependent on declaration sequence.</li>
    	<li>Inherited implicit collections, arrays or maps can be overwritten with own definition in subtype.</li>
    	<li>JIRA:XSTR-688: Cannot omit XML elements from derived fields.</li>
    	<li>JIRA:XSTR-696: Ill-formed JSON generated, because JSON writer is fed with type of declaring field instead of
    	the real object's type.</li>
    	<li>JIRA:XSTR-685: Deserialization from file or URL keeps stream open.</li>
    	<li>JIRA:XSTR-684: XML 1.0 character validation fails for characters from 0x10 to 0x1f.</li>
    	<li>JavaBeanConverter supports now instantiation for a specific type and can therefore be used in
    	@XStreamConverter annotation.</li>
    	<li>SerializableConverter is broken if the serialized type is the default implementation.</li>
    	<li>Method marshalUnserializableParent of SerializableConverter is protected now to skip the default mechanism
    	in a derived converter that uses the default constructor to create the original type (as an alternative for
    	JIRA:XSTR-695).</li>
    	<li>FieldDictionary may call sort of FieldKeySorter implementation with wrong type as key.</li>
    	<li>Sometimes DependencyInjectionFactory tries to instantiate objects with mismatching constructor arguments.</li>
    	<li>HSQLDB has to be a test dependency only for XStream's Hibernate module.</li>
    </ul>

    <h1 id="1.4.2">1.4.2</h1>

    <p>Released 3. November 2011.</p>

    <h2>Major changes</h2>

    <ul>
    	<li>XStream libraries can be used now directly in Android, therefore support of Java 1.4.2 has been stopped with the delivery.
    	Anyone who needs a version for Java 1.4.2 can build it easily from source, this build is still supported and part of CI.</li>
    	<li>JIRA:XSTR-675: New extended HierarchicalStreamReader interface with peekNextChild method. All XStream
    	readers implement the new interface (by <NAME>).</li>
    	<li>JIRA:XSTR-673: Collections.EMPTY_LIST, Collections.EMPTY_SET and Collections.EMPTY_MAP supported with own
    	alias and defined as immutable.</li>
    	<li>JIRA:XSTR-631: Collections.singletonList(), Collections.singletonSet() and Collections.singletonMap()
    	supported with own alias and own converters.</li>
    	<li>JIRA:XSTR-406 + JIRA:XSTR-663: Support additional parameters for XStreamConverter annotation (e.g. to declare a
    	ToAttributedValueConverter).</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
    	<li>WstxDriver did not trigger Woodstox, but BEA StAX implementation.</li>
    	<li>JIRA:XSTR-260: PrettyPrintWriter does not handle tab and new line characters in attributes.</li>
    	<li>JIRA:XSTR-667: Cannot serialize empty list with JsonHierarchicalStreamDriver.</li>
    	<li>JIRA:XSTR-661: TreeMarshaller.CircularReference is not a ConversionException.</li>
    	<li>JIRA:XSTR-562: StAX: Namespace attribute is not written in non-repairing mode for second sibling.</li>
    	<li>JIRA:XSTR-664: ClassCastException in HibernatePersistentSortedSetConverter and
    	HibernatePersistentSortedMapConverter.</li>
    	<li>JIRA:XSTR-674: Recreate binary compatibility with 1.3.x series for method
    	CustomObjectInputStream.getInstance(...).</li>
    	<li>JIRA:XSTR-671: CannotResolveClassException should accept cause.</li>
    	<li>JIRA:XSTR-672: Collections.EMPTY_LIST, Collections.EMPTY_SET and Collections.EMPTY_MAP used for in implicit
    	collection should not throw ReferencedImplicitElementException.</li>
    	<li>JIRA:XSTR-676: Introduce MissingFieldException thrown at deserialization time indicating a missing field or
    	property (by <NAME>).</li>
{'fraction_non_alphanumeric': 0.0989010989010989, 'fraction_numerical': 0.027655677655677655, 'mean_word_length': 3.8863534675615212, 'pattern_counts': {'":': 0, '<': 239, '<?xml version=': 0, '>': 239, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4660756', 'n_tokens_mistral': 3626, 'n_tokens_neox': 3329, 'n_words': 1127}