Skip to content

Latest commit

 

History

History
347 lines (175 loc) · 15.3 KB

CHANGELOG.md

File metadata and controls

347 lines (175 loc) · 15.3 KB

Change Log

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

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

DO NOT ADD CHANGES HERE - ADD THEM USING log_change.sh
  • Add constants for system property keys to EventLoggingService.

  • Improve javadoc.

  • Add interface ValidationErrorHandler and change ExceptionAndLoggingErrorHandler and LoggingErrorHandler to implement it. Change constructors on DefaultEventLoggingService to take a Supplier<ValidationErrorHandler> instead of a ErrorHandler. Add QuietErrorHandler and make this the default. Default behaviour for no-args constructor on DefaultEventLoggingService is now to log a single Logger message containing all found validation messages at either ERROR or WARN level as appropriate. Previous behaviour was to log a stacktrace for the first validation failure in LOG mode. THROW mode previously only worked if ExceptionAndLoggingErrorHandler was used, now it can be used with LoggingErrorHandler or QuietErrorHandler, throwing when validation has done as much as it can.

  • Make constructor for event.logging.base.impl.EventLoggerBuilderImpl public.

  • Change to JAXB 4 dependencies (javax.xml => jakarta.xml).

  • Change minimum Java version to Java 11.

  • Issue gchq/event-logging-schema#86 : Change PermittedOrganisations.permittedOrganisation from type Organistaion to List<Organistaion>.

  • Issue gchq/event-logging-schema#62 : Add field id to AnyContent.

  • Issue gchq/event-logging-schema#84 : Change BaseFile.hash type from Hash to List<Hash>. This also affects the builder methods in File and Folder. Replace withHash(myHash) with addHash(myHash) or withHash(List.of(myHash)).

  • Issue gchq/event-logging-schema#80 : Change Location.floor type from BigInteger to String.

  • Issue gchq/event-logging-schema#75 : Add field changes to UpdateEventAction.

  • Issue gchq/event-logging-schema#85 : Add IN enumeration to TermCondition.

  • Issue gchq/event-logging-schema#67 : Add field outcome to UnknownEventAction.

  • Issue gchq/event-logging-schema#74 : Add field date to Email.

  • Issue gchq/event-logging-schema#69 : Add field data to the following classes: AntiMalwareThreat, Door, EventTime, Location, NetworkEventAction, SystemDetail.

  • Change the class used for representing dates and times from java.util.Date to java.time.Instant.

  • Issue gchq/event-logging-schema#76 : Add Data element to Permission to allow for non-enumerated permission types. Add Create, Delete and Use to PermissionAttributeSimpleType.

  • Change the java module name from event.logging.api to uk.gov.gchq.eventlogging.

  • Fix CI build.
  • Fix CI build.
  • Remove json schema artefact from release.
  • Uplift schema version to v4.0.0.
  • No change to event-logging library. Change Maven repository credentials.
  • No change to event-logging library. Fix automated build.
  • No change to event-logging library. Fix automated build.
  • No change to event-logging library. Fix build process.
  • Update schema to schema-v4.0-beta.10 which fixes a number of typos in the schema annotations and thus the event-logging javadoc.
  • Issue #14 : Change DeviceUtil to strip square brackets from IPv6 addresses to ensure they are valid in the Schema.
  • Make construcotr for MockEventLoggerBuilder public.
  • Fix CI build.
  • Remove loggedResult() and loggedAction() methods from EventLoggingService. Instead use loggedWorkBuilder().
  • Add loggedWorkBuilder() to EventLoggingService.

  • Deprecate loggedXXX methods in EventLoggingService.

  • No changes to event-logging. Fix build process.
  • No changes to event-logging. Fix build process.
  • No changes to event-logging. Fix build process.
  • No changes to event-logging. Fix build process.
  • No changes to event-logging. Fix build process.
  • No changes to event-logging. Fix build process.
  • No changes to event-logging. Fix build process.
  • No changes to event-logging. Fix build process.
  • Fix problem of a failure Outcome not being added when an exception is thrown during loggedWork in log().
  • Change filename of Maven artifacts from event-logging-api... to event-logging....
  • Change maven coordinates to uk.gov.gchq.eventlogging:event-logging and publish on maven central instead of bintray.
  • Fix build number.

[v5.0-beta.14_schema-v4.0-beta.3] - 2021-04-08

  • Issue gchq/stroom#2170 : Added better logging for FQDN resolution.

  • Uplift gradle version.

  • Uplift schema to v4.0-beta.3.

  • No changes
  • No changes
  • Add additional createOutcome methods to EventLoggingUtil.
  • Add Purpose arg to loggedXXX methods.

  • Add example application

  • Improve README

  • Add missing handling of unsuccessful logged work outcome.
  • Add overloaded log and createEvent methods to EventLoggingService.
  • Add overloaded log method to EventLoggingService.
  • Improve loggedXXX methods in EventLoggingService.
  • Add loggedResult and loggedAction methods.
  • Add AdvancedQueryOperator interface.
  • Change HasOutcome#getOutcome to return BaseOutcome, improve binding for HasOutcome.
  • Add HasOutcome interface and make all complex types with an Outcome element implement it.