Skip to content

Releases: deutsche-nationalbibliothek/pica-rs

v0.15.1

31 Mar 17:06
ce97c6f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.15.0...v0.15.1

v0.15.0

23 Mar 08:26
132c913
Compare
Choose a tag to compare

Breaking Changes

As part of the filter command stabilization, the --reduce options is deprecated and will be removed soon. As an replacement use the --keep (-k) option. The new option works the same as --reduce, except that the occurrence must be stated explicitly (old 041A, new 041A/*).

What's Changed

Full Changelog: v0.14.1...v0.15.0

v0.14.1

17 Jan 07:51
bda96b8
Compare
Choose a tag to compare

What's Changed

Fixed

  • Properly handle records without an PPN (filter) by @niko2342 in #569

Performance Measurement

Command Mean [s] Min [s] Max [s] Relative
cat 0.13.0 800.070 ± 0.912 797.793 801.059 2.52 ± 0.01
cat 0.14.1 317.397 ± 1.734 315.380 320.532 1.00
count 0.13.0 763.225 ± 4.285 759.781 774.280 2.85 ± 0.02
count 0.14.1 267.458 ± 1.052 266.436 269.488 1.00
invalid 0.13.0 255.080 ± 0.672 254.173 256.474 1.00
invalid 0.14.1 277.834 ± 0.841 276.890 280.060 1.09 ± 0.00

Full Changelog: v0.14.0...v0.14.1

v0.14.0

16 Jan 12:57
ddf5c2d
Compare
Choose a tag to compare

Fixed

  • #563 Fix false positives of not in operator

Added

  • #557 Add short variant for reduce option (filter)
  • #534 Add cat snapshot tests
  • #524 Add invalid snapshot tests
  • #525 Add long help (invalid)

Changed

  • #562 Use Reader and ReaderBuilder instead of BufReadExt
  • #532 Improve performance of cat command
  • #522 Use BufReadExt to process records (invalid)
  • #523 Move reader/writer logic to config (invalid)
  • #537 Stabilize cat command
  • #538 Stabilize completions command
  • #554 Stabilize count command
  • #566 Cleanup release workflow

Full Changelog: v0.13.0...v0.14.0

v0.13.0

14 Oct 14:08
c49dd3f
Compare
Choose a tag to compare

New Features

  • Add short option for allow- and deny-lists by @niko2342 in #491
  • Allow filter expresions in select command by @niko2342 in #492
  • Allow select command to read from multiple files by @niko2342 in #494
  • Add --append option to select command by @niko2342 in #495
  • Support field occurrence in --reduce expressions by @niko2342 in #496
  • Add Apache Arrow format for allow-/deny-lists by @niko2342 in #497
  • Improve performance of invalid command by @niko2342 in #498

Documentation

  • Document invalid command by @niko2342 in #500
  • Add wget to install instruction for Ubuntu by @a-wendler in #502

Internal Improvements

  • Fix needless borrow by @niko2342 in #477
  • Refactor continuous integration workflow by @niko2342 in #479
  • Change rustfmt config by @niko2342 in #480
  • Update clap dependency to latest version by @niko2342 in #493

Full Changelog: v0.12.1...v0.13.0

v0.12.1

31 Aug 19:44
f4fa695
Compare
Choose a tag to compare

This release fixes a bug when a boolean connected subfield expression starts with a group expression. Until now, the following expression was invalid:

$ pica filter -s "003@{ (0 == '123456789X') && 0 == '123456789X'}"

Fixes

  • Fix parsing of boolean connected filter expressions by @niko2342 in #476
  • Fix clippy warnings by @niko2342 in #475

Full Changelog: v0.12.0...v0.12.1

v0.12.0

04 Apr 09:26
e4ef162
Compare
Choose a tag to compare

New Features

  • Allow spaces in --reduce option by @niko2342 in #442
  • Add --or option to filter command by @niko2342 in #446
  • Add --not option to filter command by @niko2342 in #447
  • Add --tee option to filter command by @niko2342 in #448
  • Add --append option to filter command by @niko2342 in #449

Fixes

  • Fix parsing of and-connected filter expressions by @niko2342 in #444

Full Changelog: v0.11.1...v0.12.0

v0.11.1

08 Mar 19:08
92fbe6f
Compare
Choose a tag to compare

Fixes

  • Fix write to existing files by @niko2342 in #439

Internal Improvements

  • Improve performance of allow-/deny-lists by @niko2342 in #437

Full Changelog: v0.11.0...v0.11.1-92fbe6fc

v0.11.0

04 Mar 08:09
5fd18a9
Compare
Choose a tag to compare

New Features

  • Allow cat command to read from stdin by @niko2342 in #408
  • Add --tee option to cat command by @niko2342 in #410
  • Add --append option to cat command by @niko2342 in #411
  • Add --and option to filter command by @niko2342 in #397
  • Change output format of count command by @niko2342 in #417
  • Add --append option to count command by @niko2342 in #418
  • Allow count command to print single values by @niko2342 in #419
  • Allow count command to read from multiple files by @niko2342 in #416
  • Allow frequency command to read from multiple files by @niko2342 in #422
  • Allow invalid command to read multiple files by @niko2342 in #425
  • Allow filter command to read from multiple files by @niko2342 in #426
  • Allow json command to read from multiple files by @niko2342 in #427
  • Allow partition command to read from multiple files by @niko2342 in #428
  • Allow print command to read from multiple files by @niko2342 in #429
  • Allow sample command to read from multiple files by @niko2342 in #430
  • Allow slice command to read from multiple files by @niko2342 in #431
  • Allow split command to read from multiple files by @niko2342 in #432
  • Allow xml command to read from multiple files by @niko2342 in #433
  • Add --translit option to select command by @niko2342 in #399
  • Add --translit option to json command by @niko2342 in #401
  • Add --translit option to xml command by @niko2342 in #402
  • Add --translit option to print command by @niko2342 in #403
  • Add --translit option to frequency command by @niko2342 in #404

Fixes

  • Fix wrong release id in upload job by @niko2342 in #394
  • Fix RecordMatcher parser by @niko2342 in #395
  • Prevent worklfow trigger on edited activity by @niko2342 in #398
  • Rename completion command to completions by @niko2342 in #413
  • Add completions for Elvish and Powershell by @niko2342 in #414
  • Fix mdbook installation by @niko2342 in #421

Documentation

  • Restructure user documentation by @niko2342 in #406
  • Add installation instructions by @niko2342 in #407
  • Document completions command by @niko2342 in #415
  • Document count command by @niko2342 in #420
  • Document frequency command by @niko2342 in #423
  • Fix wrong help of --translit option by @niko2342 in #424

Internal Improvements

  • Implement Display for RecordMatcher by @niko2342 in #396
  • Remove code duplicates by @niko2342 in #405
  • Fix clap-rs deprication warnings by @niko2342 in #409

Full Changelog: v0.10.0...v0.11.0-5fd18a99

v0.10.0

09 Feb 11:44
2ab4564
Compare
Choose a tag to compare

New Features

  • Add count command by @niko2342 in #376
  • Add --reduce parameter to filter command by @niko2342 in #378
  • Add color specs to print configuration by @niko2342 in #389

Documentation

  • Unify definition of select command by @nichtich in #380
  • Fix invalid pica filter by @niko2342 in #385
  • Update installation instruction by @niko2342 in #387

Internal Improvements

  • Update clap-rs to 3.0 by @niko2342 in #377
  • Add check for unused dependencies in Cargo.toml by @niko2342 in #379
  • Remove gnd2skos tool by @niko2342 in #384
  • Fix needless borrow by @niko2342 in #386
  • Refactor release workflow by @niko2342 in #390

Full Changelog: v0.9.1...v0.10.0