Skip to content

Releases: lars-sh/parent

v0.9.18

11 Sep 17:30

Choose a tag to compare

Download at Maven Search

Changed

  • The OSSRH integration was replaced by the Maven Central Repository. You will need to migrate existing OSSRH_* environment variables to CENTRAL_PUBLISHING_* and the Maven property nexus-staging.autoReleaseAfterClose was migrated to central-publishing.autoPublish and central-publishing.waitUntil.

v0.9.17

24 Feb 18:38

Choose a tag to compare

Download at Maven Search

Added

  • de.larssh.utils.Optionals.comparator which takes a key extractor as parameter.
  • de.larssh.utils.text.Csv stores the CSV separator and escape characters now to create output that is similar to the input.

Changed

  • Make the shade property createDependencyReducedPom configurable using the Maven property shade.createDependencyReducedPom.

v0.9.16

21 Jun 17:00

Choose a tag to compare

Download at Maven Search

Fixed

  • Removed warnings in PMD output as of removed rules

v0.9.15

21 Jun 12:49

Choose a tag to compare

Download at Maven Search

Changed

  • de.larssh.utils.text.ParseException renamed to de.larssh.utils.text.StringParseException to avoid confusion with java.text.ParseException
  • de.larssh.utils.Finals.lazy now returns a CachingSupplier to allow others to determine if the lazy-loading value has been calculated already
  • de.larssh.utils.net.SecureConnections.getSocketFactory updated from using TLS to TLSv1.2

Fixed

  • de.larssh.utils.text.Strings.toLowerCaseAscii and de.larssh.utils.text.Strings.toUpperCaseAscii for single character strings

Removed

  • de.larssh.utils.maven.AetherUtils and de.larssh.utils.maven.DependencyScope
  • Triggering builds on all pushes to avoid duplicate triggering. Instead, builds are triggered for pull requests and pushes to the master branch only.

v0.9.14

30 Dec 22:56

Choose a tag to compare

Download at Maven Search

Fixed

  • Possible NullPointerException in de.larssh.utils.text.Lines.consecutive(...)

Removed

  • POM Property jar.manifest.addClasspath

v0.9.13

27 Dec 03:40

Choose a tag to compare

Download at Maven Search

Added

  • Methods to handle lower and upper case handling on an ASCII basis: de.larssh.utils.text.Characters.*Ascii* and de.larssh.utils.text.Strings.*Ascii
  • Structures to handle CSV data (de.larssh.utils.text.Csv) and corresponding methods in de.larssh.utils.text.StringConverters
  • Support being unmodifiable on demand for de.larssh.utils.collection.Proxied*
    Therefore protected getters were renamed to getProxied* and now differentiate between read-only access and the need to check for write access.
    In addition a method isModifiable is forced to be implemented.
  • Method overloads to retrieve the first non-null or present value: de.larssh.utils.Nullables.getFirst and de.larssh.utils.Optionals.getFirst
  • Method de.larssh.utils.io.ProcessBuilders.toCommandLine to create command line string out of ProcessBuilder instances

Changed

  • Renamed constants of de.larssh.utils.text.SplitLimit to be more precise
  • Renamed methods de.larssh.utils.text.Strings.toNeutral* to de.larssh.utils.text.Strings.to*Neutral to match the naming of the new ASCII methods.
  • Most methods inside de.larssh.utils.text.Strings allow to pass any kind of CharSequence, not just String.
  • Allow underscores in the name of test methods.

Fixed

  • Support point-relative paths in de.larssh.utils.io.Resources

Removed

  • de.larssh.utils.test.Assertions#assertEqualsAndHashCode as most equals and hashCode implementations don't need to be tested in a that specific way.

v0.9.12

03 Apr 10:49

Choose a tag to compare

Download at Maven Search

Added

  • Creation of a GitHub Action for release deployment to OSSRH (Maven Central via Sonartype Nexus).
    You can enable this feature by setting the Maven property parent-pom.create-github-release-yml to true.
  • Possibility to add custom Checkstyle rules on a per-project basis.

Changed

  • GitHub snapshot builds are signed by default.
    This might require additional action to specify the private key and its passphrase in GitHub. Checkout the Readme for more information.
  • Providing snapshot builds through GitHub Packages
  • Using JDK16 for builds instead of JDK14.

v0.9.11

04 Jan 16:46

Choose a tag to compare

Download at Maven Search

Added

  • Creation of GitHub Action configuration instead of Travis CI file.
    You can still enable the creation of .travis.yml by setting the Maven property parent-pom.create-travis-yml to true.
  • Creation of a GitHub native Dependabot configuration file
    Use the Maven property parent-pom.create-dependabot-yml to suppress writing this file.
  • Class de.larssh.utils.io.MultiInputStream
  • Class de.larssh.utils.io.MultiReader

Changed

  • Moved class Resources to new package de.larssh.utils.io
  • Rename file travis-suppressions.sh to mvn-suppressions.sh
  • Update formatter and clean-up settings for Eclipse 2020-12

Fixed

  • Fix formatting of multiline else if statements
  • Fix creation of the Spotbugs Eclipse plugin configuration

v0.9.10

17 Oct 23:17

Choose a tag to compare

Download at Maven Search

Added

  • Checkstyle check XAvoidSerialVersionUID, warning on usage of serialVersionUID.
  • Collection of XML processing attributes, features and properties inside package de.larssh.utils.xml

Changed

v0.9.9

20 Aug 13:29

Choose a tag to compare

Download at Maven Search

Added

  • Interface de.larssh.utils.collection.PeekableIterator
  • Method de.larssh.utils.collection.Iterators.iterator(elements supplier)
  • Method de.larssh.utils.collection.Iterators.peekableIterator(iterator)
  • Method de.larssh.utils.collection.Iterators.stream(iterator)
  • Method de.larssh.utils.collection.Iterators.stream(elements supplier)
  • Method de.larssh.utils.collection.Streams.indexed(stream)
  • Method de.larssh.utils.collection.Streams.indexedLong(stream)
  • Method de.larssh.utils.text.Patterns.quote(input)

Changed

  • Method Maps.Builder#get() is not typed any longer to simplify generics of Maps.Builder
  • Methods inside de.larssh.utils.text.Lines no longer require Google Guava to be part of your dependencies.
  • Updated the list of JDKs to be used by Travis CI based on the list of currently supported JDKs.

Fixed

  • Travis didn't fail, even though Maven failed building
  • PMD errors were not printed and therefore didn't let the build fail.
  • PMD checks are no longer processed in aggregate mode unless building reports.