Skip to content

Releases: deutsche-nationalbibliothek/pica-rs

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

v0.9.1

21 Dec 16:45
74703f1
Compare
Choose a tag to compare

Fixes

  • Fix incorrect behaviour of != operator by @niko2342 in #372

Documentation

Internal Improvements

  • Mark builder functions as #[must_use] by @niko2342 in #373

Full Changelog: v0.9.0...v0.9.1

v0.9.0

15 Dec 10:44
16a3daa
Compare
Choose a tag to compare

New Features

  • Allow $ as subfield indicator by @niko2342 in #355
  • Add wildcard character in tag matcher expressions by @niko2342 in #356
  • Add new variant for multiple subfield codes by @niko2342 in #357
  • Add xml command by @niko2342 in #359
  • Add lazy syntax in filter and select expressions by @niko2342 in #362
  • Allow cardinality operator in a subfield list matcher by @niko2342 in #368

Internal Improvements

  • Add From trait for record and field matcher by @niko2342 in #360
  • Update clap to version 3.0.0-rc.4 by @niko2342 in #369

Full Changelog: v0.8.0...v0.9.0

v0.8.0

30 Nov 13:34
c218b39
Compare
Choose a tag to compare

New Features

  • select: Add --unique flag by @niko2342 in #348

Fixes

  • Not possible to use cardinality operator in boolean expr. by @niko2342 in #353

Documentation

Internal Improvements

  • Update to Rust 2021 edition by @niko2342 in #349
  • Move matchers into separate modules by @niko2342 in #353

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

22 Nov 08:12
23d59ce
Compare
Choose a tag to compare

New Features

  • Add --case-ignore flag to filter and select command by @niko2342 in #301
  • Add cardinality operator by @niko2342 in #335
  • Add a wildcard character for all subfield codes by @niko2342 in #336
  • Add string similarity operator by @niko2342 in #337
  • Add allow-/deny-listing by @niko2342 in #339

Fixes

  • Fix partition template unit test on OS X by @niko2342 in #338
  • Replace $ with $$ in subfield values of PICA Plain print by @niko2342 in #302
  • Fix clippy warnings by @niko2342 in #292

Documentation

Internal Improvements

  • Use byte strings in filter by @niko2342 in #299
  • Use code coverage instrumentation by @niko2342 in #305
  • Handle zero-occurrence the same as no-occurrence by @niko2342 in #304
  • Update to clap beta.5 by @niko2342 in #320
  • Use pre-compiled crates to speed-up CI jobs by @niko2342 in #321
  • Refactor filter component by @niko2342 in #334

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

17 Sep 18:10
e3fefbe
Compare
Choose a tag to compare

New Features

  • #283 Add --no-empty-columns flag to select command
  • #284 Use Pica Plain format in print command
  • #265 Add semantic relations between concepts (gnd2skos)
  • #276 Add denylisting of (label,idn)-pairs (gnd2skos)

Fixes

  • #282 Fix --limit parameter in filter command
  • #269 Fix description of print command

Internal Improvements

  • #285 Enable unreachable-pub and rust-2021-compatibility warnings
  • #268 Refactor integration tests

v0.5.0

09 Aug 09:14
a3e7dc3
Compare
Choose a tag to compare

New Features

  • #259 Add tag patterns in select and filter expressions (e.g. 0[12]3A)
  • #255 Multiple subfield codes in filter and path expressions (e.g. 012A.[abc])
  • #237 Static selector values in select expressions (e.g. "[email protected], 'abc'")
  • #257 Add occurrence ranges (e.g. 047A/01-03)
  • #223 Add --header option to frequency command
  • #234 Allow filter to start and end with whitespaces
  • #195 Add configuration file support
  • #209 Read filter expressions from file
  • #212 Gzip compress writer output
  • #239 Add license information

Fixes

  • #226 Fix threshold option in frequency command

Internal Improvements

  • #263 Start coverage after test job succeeds
  • #208 Cache build dependencies (GitHub workflows)
  • #260 Add fuzz testing
  • #227 Add frequency integration tests
  • #250 Setup documentation skeleton

v0.4.0

25 May 13:07
cfc272c
Compare
Choose a tag to compare

New Features

  • #201 Add not in operator
  • #202 Add --header parameter to select command
  • #199 Add --limit parameter to print command
  • #200 Add --limit parameter to filter command
  • #166 Add gnd2skos tool

Fixes

  • #213 Handle invalid regular expressions properly
  • #215 Handle invalid path expression properly (partition command)
  • #216 Handle invalid slice options properly
  • #217 Handle invalid chunk size properly (split command)
  • #193 Fix "Pica Error: Broken pipe"

Internal Improvements

  • #210 Add finder functions first and all
  • #214 Refactor integration tests

v0.3.0

10 Apr 05:24
v0.3.0
b582a5c
Compare
Choose a tag to compare

New Features

  • #172 Add threshold parameter to frequency command
  • #184 Change license to MIT or Unlicense to be less restrictive
  • #181 Optimize release profile

Fixes

  • #183 Fix limit parameter in frequency command
  • #179 Flush writers in partition command

Internal Improvements

  • #176 Introduce ByteRecord data type
  • #177 Introduce StringRecord data type
  • #180 Add Reader and Writer
  • #178 Refactor Path data type
  • #174 Implement Serializer for StringRecord
  • #190 Remove obsolete common module
  • #185 Change format of release tags (0.3.0v0.3.0)
  • #182 Refactor unit- and integration tests
  • #173 Set imports granularity to "module" (rustfmt)