Changelog nsx-runtime

Filter x

2021.1.0 (2021-06-09)

Added

  • Added Options.Option#asOptional() to convert to java.util.Optional

Changed

  • Changed nsx-runtime target version to Java 8
    • for Java 7 legacy projects, use nsx-runtime v2020.x or older
  • Moved DataRef, DataRefValidation, and DataRefWithFunctionalKey to a new nsx-shared-ref module
    • nsx-shared-common now depends on this module
  • Moved @Nullable and @NotNull annotations to nsx-contract-annotations module

Deprecated

  • Deprecated for removal all net.democritus.validation.IConverter subclasses
    • use IConverter instead
    • Expanders will no longer use them (see Expanders changelog)
  • Deprecated majority of classes and methods in nsx-common
    • This includes most of StringUtil and DirUtil (see the method javadocs for alternatives)
    • all stream-like classes (IMapper, CollectionUtil, …)
    • Some methods can still be un-deprecated if they are deemed valuable
    • There is currently no plan to remove the deprecated methods

Removed

  • Removed unnecessary dependencies from nsx-shared-cli to nsx-common and nsx-shared-common
  • Removed module nsx-common-java7 as it never ended up being used

Fixed

  • Fixed Options#some allowing null value to be represented as Some instead of throwing an exception
    • use Options#notNull when the value can be null

2021.0.2 (date n/a)

Fixes

  • Fixed DataRef#equals when comparing null ids

2021.0.1 (2021-05-04)

Fixes

  • Fixed NullPointerException in DataRef.getDataRefLink() when the mId field in the DataRef object is null.
  • Fixed file name in DownloadAction contentDisposition not being encoded when using non-ASCII characters

2021.0.0 (2021-01-29)

Added

  • Added skipCount field to SearchDetails
  • Added Path-based overloads for DocumentReader/DocumentWriter
  • Improved support around NavigationMenu
    • added an extra default-complete fallback profile support – this profile will be generated by expanders
    • added XSDs for applicationMenu & componentMenu
    • improved error reporting and removed some error suppression

Fixed

  • Fixed DataRef#equals comparing identity of boxed types instead of their values

2020.11.2 (2021-01-08)

Updated

  • Updated struts to v2.5.26

2020.11.1 (2020-10-21)

Fixed

  • Fixed SemVer Version validation of preRelease & build to match the spec.

2020.11.0 (2020-10-09)

Updated

  • nsx-parent 2019.5 -> 2020.9.1

Added

  • Added @Documented annotation on @NotNull/@Nullable annotations

Deprecated

  • Deprecated all nsx-common stream-like classes (IPredicate, CollectionUtil, …)
    • for Java 8, use native streams
    • for Java 7, use nsx-common-java7 module instead

Removed

  • Removed improper BufferedRandomAccessFile

2020.10.0 (2020-09-24)

  • Added BatchProcessingContext and EngineServiceProcessingContext

2020.9.0 (2020-09-08)

Added

  • Added http method enforcement to all ActionSupport actions

Changed

  • [internal] Reformatted codebase

2020.8.0 (2020-06-12)

Changed

  • Terminated experimental branch release (not part of 2020.9.0+)

2020.7.3 (2020-08-20)

Added

  • Added @NotNull and @Nullable annotations

2020.7.2 (2020-08-20)

Added

  • Extracted DocumentBuilder to a separate class and added DocumentBuilder.createDocument()
  • Added DocumentStream.attributes() to stream DOM Element attributes

Fixed

  • CliParser#printAndExitOnIssues now correctly returns non-zero exit code on error

2020.7.1 (2020-06-19)

Fixed

  • Fixed Version comparison for pre-release versions.

2020.7.0 (2020-05-28)

Added

  • Added nsx-shared-xml module
    • Added DocumentReader/DocumentWriter with disabled DTDs and any online resolution
    • Added DocumentStream for easier processing of DOM child elements

2020.6.0 (2020-04-10)

Added

  • Added SemVer implementation in net.democritus.versioning.Version

Changed

  • Target Java 7
  • Update commons-beanutils

2020.5.0 (2020-03-19)

Removed

  • Moved struts TranslateTextAction and LocalizedTextTranslator to struts-stack

2020.4.0 (2020-03-04)

Added

  • Added LocalizedTextTranslator as a replacement for struts 2.3 LocalizedTextUtil

2020.3.2 (2020-03-04)

Added

  • Added nsx-shared-tomee providing ResponseEncodingFilter to force UTF-8 server responses.
  • Added javadoc to jar

2020.3.1 (2020-02-26)

Changed

  • Readded localization overriding for TranslateTextAction struts action

2020.3.0 (2020-02-21)

Added

  • Added CliParser::getRemainingArguments

Changed

  • Merged nsx-libraries’ nsx-common and nsx-logging into nsx-runtime
  • Changed JAVAAEE6 JNDI local name to java:app/<component>/... from java:global/<deployment>/<component>/...

2020.2.0 (2020-02-07)

Changed

  • Migrated nsx-presentation-struts2 for struts 2.3 -> 2.5
  • Updated opencsv dependency 2.3 -> 4.6 (highest available for JDK7)

Removed

  • Dropped modules nsx-shared-jaxrs, nsx-shared-yaml

2020.1 (date n/a)

Added

  • Added clearer error message to ComponentJNDI failures

2019.7.1 (2019-12-03)

Added

  • Add constructors to FlowParameterContext and TaskParameterContext that allow the passing down of Context