Skip to content

Latest commit

 

History

History
1366 lines (582 loc) · 21.4 KB

CHANGELOG.adoc

File metadata and controls

1366 lines (582 loc) · 21.4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project follows the rules of Semantic Versioning.

12.8.4 = 2024-09-03

  • Increase codePointLimit of LoaderOptions in Snakeyaml from 3M to 10M

12.8.3 = 2024-07-16

  • Fix an issue in post to Gateway to have payload encoded

  • Compilation in JDK21, but keep byte code still in 17

prev12.8.3 = 2024-07-09

  • Prepare for the upcoming release to 12.8.3:

  • Moving JDK to 21 from 17

  • Upgrade gradle from 7.4.2 to 8.5

  • Update SpotBugs plugins version to 6.0.18

  • Upgrade mockito to 4.11.0

  • Fix an issue in post to Gateway to have payload encoded

12.8.2 = 2023-11-08

  • Upgrade json from 20230227 to 20231013.

12.8.1 = 2023-08-30

  • Update com.github.ben-manes.versions to 0.47.0

12.8.0 = 2023-06-28

  • Major release to 12.8.0:

  • Moving JDK to 17 from 11

  • Update SpotBugs version from 4.2.1 to 4.7.3

12.7.5 = 2023-05-30

  • Upgrade json from 20220320 to 20230227.

12.7.4 = 2023-05-02

  • Upgrade snakeyaml from 1.33 to 2.0.

  • Fix a YamlMap newLoader() to use new constructors for SafeConstructor and Representer instead.

12.7.3 = 2022-12-16

  • Fix a YamlMap newLoader() to use SafeConstructor() instead.

12.7.1 = 2022-11-03

  • Fix a YamlMap toString() issue to add a single quote to a value that ends with colon.

12.7.0 = 2022-11-02

  • Merged from dev_refactory to master for sdk refactoring, major release to 12.7.0:

  • Cleanup server specific yaml visitors

  • Remove configuration sub-project

  • Remove stringtemplate sub-project

12.6.4 = 2022-10-07

  • Upgrade snakeyaml from 1.32 to 1.33

12.6.3 = 2022-09-15

  • Upgrade snakeyaml from 1.31 to 1.32

12.6.2 = 2022-09-07

  • Upgrade snakeyaml from 1.30 to 1.31

12.6.1 = 2022-06-20

  • Disable testcases using google.com because agent of build server has an issue with it.

12.6.0 = 2022-06-06

  • Add rdb related objects and builders to support new architecture

12.5.6 = 2022-02-24

  • Fix tests and set up application required for legacy example

12.5.1 = 2021-11-08

  • Fix the issue of jackson handling java 8 date

12.5.0 = 2021-11-03

  • Add new data transfer objects for the new architecture (postgres)

12.4.6 - 2021-09-09

  • Downgrade evo-inflector version from 1.3 to 1.2.2

12.4.5 - 2021-09-09

  • Try to re-publish, target to fix issue with missing dependency in POM files

  • Add sourceCompatibility to JDK 11

  • Manually add dependencies

  • Always add maven central, always add Gradle plugin repo

12.4.4 - 2021-09-08

  • Target to rebuild and publish again, in order to fix issues of incorrect JDK version, stick to OpenJDK 11 instead

12.4.3 - published on 2021-09-08

  • Third party dependency upgrades for all libraries

  • Gradle 7.2

  • Code changes to match the new Gradle and third party libraries

  • Fix issues reported by latest static code analysis

12.4.2 - 2021-08-20

Fixed in infoarchive-sdk-core

  • Add support for setting the OAuth scopes. This enables clients to work with OTDS and IA in case the OAuth client does not have otds:groups default scope

12.4.1 - 2021-08-03

Fixed in infoarchive-yaml

  • Fix import table search missing sql query

12.4.0 - 2021-03-25

Added in infoarchive-sdk-core

  • Add a new API to get the server version on ArchiveConnection

  • Provide more flexibility on the follow method on RestClient to specify the max number of records and specify a page

  • Add a utility method to determine if a job instance is still running

  • Provide a job utility method to access logs for job instance, order item and batch item

Fixed in infoarchive-sdk-core

  • Improved error handling on rest calls

  • Fix default constructor of JobDefinition, JobInstance, OrderItem, ReceptionRequest

12.3.2 - 2021-02-18

  • Third party dependency upgrades for the following libraries:

    Apache commonsCodec version:		1.13
    Apache httpclient version: 		4.5.13
    Jackson version:					2.12.1

12.3.1 - 2020-12-18

  • Minor version update

12.3.0 - 2020-10-19

Added

  • Added API for running Jobs

12.2.0 - 2020-10-14

Added

  • Added Aips and Aip resources to datamodel

12.1.6 - 2020-09-03

Fixed

  • Do not insert 'aic' and 'query' for searches, that are references as "use_existing"

12.1.5 - 2020-05-18

Fixed

  • Delete temporary files after SIP creation when using FileBuffer

12.1.4 - 2020-04-30

Fixed

  • Allow multiple external properties in ZipConfiguration

12.1.3 - 2020-04-16

Fixed

  • Tests for ZipConfiguration

12.1.2 - 2020-04-16

Fixed

  • Fix properties resolution when legacy ZipConfiguration API is used.

12.1.1 - 2020-04-14

Fixed

  • Unwanted configuration files may be included in ZipConfiguration. Introduced alternative API to avoid inclusion unwanted configuration.properties in ZipConfiguration. Old API is marked as deprecated.

12.0.1 - 2020-03-12

Fixed

  • ignore the 'null' values for aic/query/database when inserting default references

12.0.0 - 2020-03-11

Fixed

  • added SHA3-224, SHA3-256, SHA3-384 and SHA-512 hashes support

11.3.3 - 2020-02-05

Fixed

  • Fix issue with handling attributes for searches

11.3.2 - 2020-02-04

Fixed

  • When there are searches for both SIP and Table based applications, then import doesn’t work as both references "database" and "aic" are presented in single search

11.3.1 - 2020-01-10

Fixed

  • Optimize logic of 'includes' statement

11.3.0 - 2020-01-09

Fixed

  • Support of 'includes' statement for external folders from nested level from yml files

11.2.13 - 2019-12-16

Fixed

  • Add API for xmlBuilder to work with CDATA elements

11.2.12 - 2019-10-02

Fixed

  • Preventing NPE when testing for xQuery

11.2.11 - 2019-09-05

Fixed

  • Extend API to remove attributes recursively

11.2.10 - 2019-06-05

Fixed

  • Added API for recursively removing yaml elements by key name

11.2.9 - 2019-03-18

Fixed

  • Build with JDK 11

  • No longer DIP link relation available in cache

11.2.8 - 2019-02-15

Fixed

  • Prepare to JDK11

11.2.7 - 2019-01-21

Fixed

  • Third party dependency upgrades to the latest available versions

11.2.6 - 2018-11-12

Fixed

  • Do not add default ingest configuration by default. IA Server takes care of default ingest configuration instead of the client.

11.2.5 - 2018-08-27

Fixed

  • Unnecessary conversion from String to Integer in YAML

11.2.4 - TBD

Fixed

  • Follow link without paging limits when finding a specific application.

11.2.3 - 2018-06-21

Fixed

  • Undid previous fix in normalization of YAML configuration which was backwards incompatible and led to issues during import

11.2.2 - 2018-06-08

Fixed

  • Minor fix in normalization of YAML configuration

11.2.1 - 2018-06-06

Fixed

  • Normalization of YAML configuration sets default log level for ingestion nodes to INFO

11.2.0 - 2018-06-04

Added

  • XmlBuilder.element(String, Optional<String>)

Fixed

  • ZipConfiguration.of now handles spaces in paths

Deprecated

  • The following methods in ArchiveClient are now deprecated: fetchContent(), fetchOrderContent(), and uploadTransformation()

Fixed

  • InfoArchiveRestClient.search() now handles pages properly

11.1.1 - 2018-05-28

Fixed

  • XmlUtil.escape() now escapes Unicode characters that are marked invalid for XML

11.1.0 - 2018-05-22

Added

  • RestClient now supports a number of upload() methods

11.0.1 - 2018-05-17

Fixed

  • XQuery objects now support inlining of external resources

  • XQuery objects' query object is now translated to a string, even if it doesn’t use namespaces

11.0.0 - 2018-05-07

Removed

  • com.opentext.ia.sdk.client.api.ArchiveClient.query()

  • com.opentext.ia.yaml.configuration.ObjectConfiguration.canConfigureObject()

  • Default values for receiver node SIP formats (IA server 16EP5 and later have this built in)

Changed

  • com.opentext.ia.sdk.sip.ContentAssemblerDefault.getMetrics() now returns a read-only object

  • com.opentext.ia.sdk.sip.ContentAssemblerDefault.getZip() is now protected instead of public

10.1.0 - 2018-04-11

Added

  • ZipConfiguration now accepts a ZipCustomization

10.0.6 - 2018-04-09

Fixed

  • Wrap all exceptions that indicate a YAML syntax error in YamlSyntaxErrorException

10.0.5 - 2018-04-03

Fixed

  • Fixed ZipConfiguration when using properties in includes

10.0.4 - 2018-03-28

Fixed

  • Fixed serialization of YAML

10.0.3 - 2018-03-28

Fixed

  • Fixed serialization of YAML

10.0.2 - 2018-03-27

Fixed

  • Fixed normalization of YAML configuration

10.0.1 - 2018-03-27

Fixed

  • Fix in ZipConfiguration when recursively including files outside the tree where the root YAML file lives

10.0.0 - 2018-03-26

Removed

  • ConfigurationBuilder.withJobDefinition()

Added

  • Added ZipBuilder

  • Support additional binary formats during YAML normalization: custom, pdf

Fixed

  • Some fixes in ZipConfiguration (which now uses the new ZipBuilder)

9.16.0

Warning
Version 9.16.0 violated semantic versioning and should have been 10.0.0.

9.15.0 - 2018-03-19

Added

  • Added support for binary resources in YAML: during normalization these are not inlined. Use binary: true to indicate a binary resource, or use a format or file extension that is considered binary. For now, only zip is supported

9.14.1 - 2018-03-14

Fixed

  • During YAML normalization, pattern matching with wildcards now correctly handles characters with special meaning in regular expressions

9.14.0 - 2018-03-13

Added

  • YAML normalization now supports inlining multiple resources based on a pattern; see ResourcesResolver

Fixed

  • During YAML normalization, the default value will be used if a property has an empty value in a .properties file

  • When inlining YAML files, YAML normalization merges items of the same type instead of throwing an exception

  • When serializing a YamlMap to string, text values that start with * are now properly quoted

9.13.1 - 2018-03-08

Fixed

  • YAML normalization now inlines multiple content resources

9.13.0 - 2018-03-02

Added

  • Configuration builders now support content objects

9.12.0 - 2018-02-19

Added

  • YAML configuration includes can now be skipped by making it an object and adding configure: ignore. This makes it possible to conditionally include a file using a property. The object should should have a key resource, the value of which is the resource to include.

Fixed

  • ZipConfiguration.of(file) threw a NullPointerException when file was a simple file without path, like new File("configuration.yml").

9.11.3 - 2018-02-09

Fixed

  • ArchiveClient.query() is now deprecated, since searching by AIC will be deprecated in the server starting with 16EP4. This method will be removed in version 10 of the SDK.

9.11.2 - 2018-01-17

Fixed

  • Minor fix in ZipConfiguration

9.11.1 - 2018-01-17

Fixed

  • Minor fix in normalization of YAML configuration

9.11.0 - 2018-01-16

Added

  • Added ConfigurationPropertiesFactory

9.10.1 - 2018-01-05

Fixed

  • #40: JWT refresh thread should be a daemon thread

9.10.0 - 2017-12-22

Added

  • Added ZipConfiguration

9.9.1 - 2017-12-20

Fixed

  • Fix normalization of YAML configuration

9.9.0 - 2017-12-20

Added

  • Added JsonConfiguration and JsonConfigurationProducer

  • Added builder for xDB cluster configuration

9.8.0 - 2017-12-15

Added

  • Added ObjectConfiguration.IGNORE

9.7.1 - 2017-12-14

Fixed

  • Fix default value in ConfigurationBuilder

9.7.0 - 2017-12-08

Added

  • Support more types in ConfigurationBuilder

9.6.2 - 2017-12-14

Fixed

  • Fix default value in ConfigurationBuilder

9.6.1 - 2017-12-06

Fixed

  • Fix property resolution when no properties files are provided

9.6.0 - 2017-12-06

Added

  • Support more types in ConfigurationBuilder

9.5.0 - 2017-11-27

Added

  • Support more types in ConfigurationBuilder

9.4.4 - 2017-11-23

Fixed

  • Minor fixes in normalization of YAML configuration

9.4.3 - 2017-11-17

Fixed

  • YamlMapConfigurationProducer now correctly handles null values

9.4.2 - 2017-11-17

Fixed

  • Configuration builders set properties without defaults to null values

9.4.1 - 2017-11-17

Fixed

  • Configuration builders set default values for mandatory properties and allow changing them

9.4.0 - 2017-11-17

Added

  • ConfigurationBuilder builds an InfoArchive configuration. YamlMapConfigurationProducer builds a configuration in YAML that can be imported. This is a proof of concept and not ready for production.

9.3.0 - 2017-11-14

Added

  • XmlBuilder.xml() allows adding an existing XML document into the document being built

9.2.4 - 2017-11-08

Fixed

  • Minor fixes in normalization of YAML configuration

9.2.3 - 2017-11-07

Fixed

  • Minor fixes in normalization of YAML configuration

9.2.2 - 2017-11-06

Fixed

  • Minor fixes in normalization of YAML configuration

9.2.1 - 2017-11-06

Fixed

  • Minor fixes in normalization of YAML configuration

9.2.0 - 2017-11-3

Added

  • ActiveArchiver makes it easier to assemble multiple SIPs and ingest them as soon as they become available

Fixed

  • #39: BatchSipAssemblerWithCallback returns unusable SIP files

9.1.4 - 2017-10-31

Fixed

  • Minor fixes in normalization of YAML configuration

9.1.3 - 2017-10-31

Fixed

  • Inline nested includes in YAML configuration

  • Minor fixes in normalization of YAML configuration

9.1.2 - 2017-10-25

Fixed

  • Allow empty default when resolving properties in YAML configuration

9.1.1 - 2017-10-24

Fixed

  • Resolve properties in a list of strings in YAML configuration

9.1.0 - 2017-10-24

Added

  • YAML configuration supports including other configurations

  • YAML configuration supports resolving properties

9.0.1 - 2017-10-17

Fixed

  • SIP ingestion doesn’t work against IA 4.2 server

9.0.0 - 2017-10-12

Changed

  • YamlMap no longer implements Cloneable, but provides a copy factory instead: YamlMap.from(YamlMap source)

Added

  • SipSegmentationStrategy.byMaxProspectiveSipSize()

Fixed

  • Minor fixes in normalization of YAML configuration

8.6.1 - 2017-10-09

Fixed

  • Minor fixes in normalization of YAML configuration

8.6.0 - 2017-10-06

Added

  • Add YamlDiff to see the differences between two YAML files

Fixed

  • Fix YamlMap.from() to load ISO dates as strings

8.5.6 - 2017-10-06

Fixed

  • Minor fixes in normalization of YAML configuration

8.5.5 - 2017-10-05

Fixed

  • Be compatible with multiple SnakeYaml versions

8.5.4 - 2017-10-05

Fixed

  • Fix YamlMap.from() to load ISO dates as strings

8.5.3 - 2017-10-03

Fixed

  • Fix YamlMap.toString()

8.5.2 - 2017-10-03

Fixed

  • Fix YamlMap.toString()

8.5.1 - 2017-10-02

Fixed

  • Fix YamlSequence.sort()

8.5.0 - 2017-09-27

Added

  • Added DigitalObject.getSize()

Fixed

  • Fix YamlSequence.sort()

8.4.0 - 2017-09-26

Added

  • Added YamlSequence.sort()

8.3.3 - 2017-09-25

Fixed

  • Minor fixes in normalization of YAML configuration

8.3.2 - 2017-09-25

Fixed

  • Minor fixes in normalization of YAML configuration

8.3.1 - 2017-09-25

Fixed

  • Minor fixes in normalization of YAML configuration

8.3.0 - 2017-09-25

Added

  • Added BatchSipAssemblerWithCallback

Fixed

  • Minor fixes in normalization of YAML configuration

8.2.0 - 2017-09-22

Added

  • Added ObjectConfiguration with a third option ("create, but do not update") for the configure property.

8.1.0 - 2017-09-20

Added

  • Added entries filter to YamlMap.sort() to exclude entries from being sorted.

8.0.0 - 2017-09-20

Changed

  • YamlMap.sort(boolean) performs a non-recursive sort when given false. This is the exact opposite of the previous behavior of sorting everything but the top level. This new approach allows complete control over sorting (using a visitor), where some objects can be sorted and others left alone, or different objects can be sorted with different comparators.

7.4.7 - 2017-09-18

Fixed

  • Minor fixes in normalization of YAML configuration

7.4.6 - 2017-09-15

Fixed

  • Minor fixes in normalization of YAML configuration

7.4.5 - 2017-09-14

Fixed

  • Fix handling of line separator

7.4.4 - 2017-09-14

Fixed

  • Minor fixes in normalization of YAML configuration

7.4.3 - 2017-09-13

Fixed

  • Minor fixes in normalization of YAML configuration

7.4.2 - 2017-09-13

Fixed

  • Minor fixes in normalization of YAML configuration

7.4.1 - 2017-09-12

Fixed

  • YamlMap.replace() should handle nested maps and lists

7.4.0 - 2017-09-12

Added

  • Added YamlMap.replace() to replace one entry with another while maintaining order

Fixed

  • Minor fixes in normalization of YAML configuration

  • Ending whitespace in values is removed

7.3.10 - 2017-09-11

Fixed

  • Separate top-level YAML sections by blank lines in YamlMap.toString()

7.3.9 - 2017-09-11

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.8 - 2017-09-10

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.7 - 2017-09-08

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.6 - 2017-09-08

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.5 - 2017-09-08

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.4 - 2017-09-07

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.3 - 2017-09-06

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.2 - 2017-09-06

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.1 - 2017-09-05

Fixed

  • Minor fixes in normalization of YAML configuration

7.3.0 - 2017-09-04

Added

  • Added Visitor.afterVisit()

7.2.1 - 2017-09-04

Fixed

  • YamlMap.entries() are once again sorted by key (regression in previous version), but now sorted in the same order that the sort() method would sort them

7.2.0 - 2017-09-01

Added

  • Added YamlMap.sort() overload that allows keeping the top level unsorted

7.1.4 - 2017-09-01

Fixed

  • Fix building URIs with parameters

7.1.3 - 2017-09-01

Fixed

  • Fix RestClient.get() overload with media type to correctly set the Accept header

7.1.2 - 2017-08-31

Fixed

  • Fix NullPointerException when sorting YAML sequences when the maps in the sequence don’t all have the same keys

7.1.1 - 2017-08-31

Fixed

  • Add request & response headers to error message for failed HTTP request

7.1.0 - 2017-08-30

Added

  • Added RestClient.get() overload that accepts a media type

  • Added MediaTypes.ZIP

7.0.11 - 2017-08-30

Fixed

  • Minor fixes in YAML sorting & iterating

7.0.10 - 2017-08-29

Fixed

  • Minor fixes in YAML sorting & iterating

7.0.9 - 2017-08-29

Fixed

  • Minor fix in normalization of YAML configuration

7.0.8 - 2017-08-25

Fixed

  • Minor fixes in normalization of YAML configuration

7.0.7 - 2017-08-25

Fixed

  • Minor fixes in normalization of YAML configuration

7.0.6 - 2017-08-25

Fixed

  • YamlMap.sort() now sorts sequences of maps based on the name property

7.0.5 - 2017-08-24

Fixed

  • Minor fixes in normalization of YAML configuration

7.0.4 - 2017-08-23

Fixed

  • Minor fixes in normalization of YAML configuration

7.0.3 - 2017-08-22

Fixed

  • YamlMap.from() leaves it up to the caller to close the provided stream

7.0.2 - 2017-08-18

Fixed

  • Minor fixes in normalization of YAML configuration

7.0.1 - 2017-08-18

Fixed

  • YamlMap.sort() now correctly handles sequences

7.0.0 - 2017-08-17

Changed

  • YamlMap.getRawData() is no longer public

  • Value.getRawData() is no longer public

Added

  • Added YamlMap.sort() (with and without Comparator parameter)

6.3.1 - 2017-08-16

Fixed

  • Value.toList() now returns a live list that can be directly manipulated to change the YAML

6.3.0 - 2017-08-16

Added

  • Added YamlMap.from() to parse YAML from a string, file, or input stream

  • Added YamlMap.toStream() to consume YAML as an input stream

Fixed

  • YamlMap.toString() now produces correct YAML and also leaves out properties with null values

6.2.1 - 2017-08-14

Fixed

  • Minor fix in normalization of YAML configuration

6.2.0 - 2017-08-14

Added

  • Added ResourceResolver.fromClassPath(Class<?>) to search the classpath in the package in which the provided class lives.

Fixed

  • Added synchronized in more places in SipAssembler and BatchSipAssembler

  • Minor fix in normalization of YAML configuration

6.1.1 - 2017-08-14

Fixed

  • Several minor fixes in normalization of YAML configuration

6.1.0 - 2017-08-04

Added

  • Added support for custom attributes in packaging information in SIPs. Custom attributes show up in the confirmations that InfoArchive generates after ingesting the SIPs.

Fixed

  • Added synchronized to some methods in BatchSipAssembler to prevent concurrency issues.