Skip to content

Releases: metafacture/metafacture-core

Metafacture Core Distribution 6.0.0

11 Mar 08:12
metafacture-core-6.0.0
Compare
Choose a tag to compare

We switched to Java version 11.

Changes

New Features

  • IO: Open gzip compressed content from HTTP #511

Bug fixes

  • IO: Fix misconception of "Content-Encoding" #513
  • IO: Close resources #514

Others

  • Provide examples for every flux-command #488
  • Upgrade Gradle wrapper #520
  • Switch to Java version 11 #518

Metafacture Core Distribution 5.7.0

24 Nov 14:54
metafacture-core-5.7.0
Compare
Choose a tag to compare

Changes

New Features

  • Morph function: Switch from java.net.URLEncoder to guavas PercentEscaper to be conform to RFC 3986 #490

Bug fixes

  • IO: Increment count before starting new file in ObjectFileWriter #501

Others

Metafacture Core Distribution 5.6.0

09 Jun 14:22
metafacture-core-5.6.0
Compare
Choose a tag to compare

Changes

New Features

  • CSV: Add CsvEncoder #483
  • HTTP: Emit combined text for mixed content in HtmlDecoder #477

Bug fixes

  • HTTP: Reset inputUsed after processing to fix reusing opener #480

Others

  • Update dependencies #489

Metafacture Core Distribution 5.5.0

03 Mar 12:15
metafacture-core-5.5.0
8a3e605
Compare
Choose a tag to compare

Changes

New Features

  • JSON: schema validator #443
  • Metamorph: Optionally set key and/or value column in FileMap #471
  • Metamorph: Option to ignore lines matching pattern in FileMap #472
  • IO: Optionally let ObjectFileWriter append to existing file instead of overwriting #475

Bug fixes

  • IO: setters would only take effect for subsequently opened files in ObjectFileWriter

Metafacture Core Distribution 5.4.0

30 Sep 14:57
metafacture-core-5.4.0
Compare
Choose a tag to compare

Changes

New Features

  • HTTP: Enable other methods to HttpOpener than just GET - i.e. DELETE, HEAD, OPTIONS, POST, PUT and TRACE #463
  • HTTP: Enable generic header support in HttpOpener #456
  • File: Add support for compressed files as FileMap input #455
  • JSON: Implement JSON booleans and numbers #458

Other

  • Update OAI-PMH harvester library #360
  • "./gradlew fluxCommands" to see the currently available options (743e90e)

... and various smaller fixes and improvements (e.g. Mark deprecated Flux command options in help output #451)

Metafacture Core Distribution 5.3.2

20 May 12:59
metafacture-core-5.3.2
2cb7aff
Compare
Choose a tag to compare

Changes

Bug fixes

  • Strings: Call LineRecorder receiver's closeStream() #433
  • Flux: Throw ANTLR errors in FluxParser #421
  • XML/biblio: Do not trim control field values in MARCXML handler #440

Other

  • Use protected on all on...() methods #435

Metafacture Core Distribution 5.3.2 release candidate

20 May 08:53
metafacture-core-5.3.2-rc1
0d3029d
Compare
Choose a tag to compare

Changes

Bug fixes

  • Strings: Call LineRecorder receiver's closeStream() #433
  • Flux: Throw ANTLR errors in FluxParser #421
  • XML/biblio: Do not trim control field values in MARCXML handler #440

Other

  • Use protected on all on...() methods #435

Metafacture Core Distribution 5.3.1

06 Dec 15:36
metafacture-core-5.3.1
Compare
Choose a tag to compare

Changes

Reverted

  • The dependency upgrade of log4j:1.2.12 to log4j-core:2.14.1 can be problematic, so this is reverted in 36ed969 and the dependency is only minor updated to log4j:1.2.17.
  • an API break concerning the accessibility of FilenameUtilin FilenameExtractor is reverted in 7c1ea04.

Possible caveats

Using a metamorph.xsd of your own and making use of FileMap you have to also update your locally metamorph.xsd like:

-      <attribute name="separator" type="string" use="optional" default="\t">
+      <attribute name="separator" type="string" use="optional" default="&#09;">

This will occur only quite rarely. This is the result of a bug fix (d528ac9) (in effect the default separator defined (falsely) in metamorph.xsd has had no effect at all).

Metafacture Core Distribution 5.3.0

29 Nov 15:28
metafacture-core-5.3.0
a81f2bf
Compare
Choose a tag to compare

Consider this release as deprecated .

The update of the dependency of log4j:log4j:1.2.12 to org.apache.logging.log4j:log4j-core:2.14.1 will not play along if you use metafacture as a library along with log4j-slf4j-impl in an other version than org.apache.logging.log4j:log4j-slf4j-impl:2.14.1 and results in:

[...] java.lang.NoClassDefFoundError: Could not initialize class org.metafacture.metamorph.Metamorph
Caused by:
java.lang.ClassNotFoundException: org.apache.logging.log4j.util.ReflectionUtil [...]

Use the upcoming Metafacture Core Distribution 5.3.1 to be on the safe side.
(The update of the log4j dependency will be part of the upcoming Metafacture Core Distribution 6.0.0)

Changes

Bug fixes

  • XML/biblio: Fix creation of Marc XML namespaces #403
  • XML/biblio: Fix Namespace-prefixes of elements and attributes #377
  • XML/biblio: Marc-XML-encoder: record-type written as controlfield not as attribut of record-field #402
  • XML/biblio: Improve handling of XML attributes and element values #394
  • XML/biblio: Encode top-level MARC record leader as proper XML element instead of control field. #336
  • XML/biblio: Make simple XML encoder value tag name configurable #379
  • JSON: Fix _elseNested loses array-key in JSON #374
  • Metamorph: Fix _elseNested only outputs two hierachy levels #378
  • Metamorph: Fix "setreplace" using a FileMap #381
  • Metamorph: Guarantee that tests should verify that no unexpected interactions occurred #339

New Features

  • JSON: Make JSON encoder array marker configurable #393
  • JSON: Add or enhance a function to extract JSON-Records from an JSON-API #382
  • Mangling: Split up event stream into records #385
  • Metamorph: Allow empty values in setreplace map #420
  • Triples: Sort triples numerically #380
  • YAML: Add YAML Encoder/Decoder #399

Other

  • Update release and publish process #311
  • Checkstyle and javadoc #389 #396
  • Update and apply EditorConfig file #388
  • Add initial CONTRIBUTING.md #382
  • Fix insecure logging configuration #364

... and various smaller fixes and improvements (e.g. #417)

Metafacture Core Distribution 5.2.0

22 Apr 13:15
metafacture-core-5.2.0
e132278
Compare
Choose a tag to compare

Changes

Bug fixes

  • Fix flux.bat for running on Windows #315
  • OAI-Pmh fails with SAXParseException #334
  • Ignore null values in Regexp function. #337
  • Metamorph tests verify that no unexpected interactions occurred (first batch). #341
  • Escape feedback char in _else data. #344
  • Don't handle empty '[]' as character class #348
  • _elseNested: Entity with more than one subfield results in multiple entities #338

New Features

  • Add HTML input support #312
  • Allow to omit id in JsonToElasticsearchBulk #323
  • Add original OAI-PMH opener #320
  • Support flux options via setters in JsonToElasticsearchBulk #326
  • Add constructor to allow Entity creation w/o Metamorph #327
  • Make MARCXML namespace for record elements configurable. #331
  • Allow flushing collectors to only emit when complete #332
  • Pass data through metamorph else #333
  • ADD contains and not-contains to metamorph; CHG extent filter to work… #317
  • Allow comments in JSON files. #345
  • Add option to set record IDs in ObjectToLiteral #354
  • Optionally decompress concatenated streams. #358
  • Add filter-null-values Flux command for NullFilter #362
  • Support HTML attribute values as subfields #361

Other

  • Tweak help output for Markdown formatting #316
  • Migrate from travis to github actions to test build #352