Releases: deutsche-nationalbibliothek/pica-rs
v0.15.1
What's Changed
- Fix false positives of
!~
operator by @nwagner84 in #605 - Upgrade
arrow2
from 0.16 to 0.17 by @nwagner84 in #606
Full Changelog: v0.15.0...v0.15.1
v0.15.0
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
- Rephrase misleading documentation (
invalid
) by @nwagner84 in #572 - Add paragraph on
invalid
command to README by @nichtich in #573 - Allow optional subfield matcher in a path expression by @nwagner84 in #577
- Add citation information by @nichtich in #576
- Stabilize
frequency
command by @nwagner84 in #575 - Include CLI completion files in packages by @nichtich in #578
- Extend documentation of
filter
command by @nichtich in #588 - Stabilize
slice
command by @nwagner84 in #590 - Transliteration of matcher expressions by @nwagner84 in #592
- Add
--seed
option tosample
command by @nwagner84 in #593 - Stabilize
split
command by @nwagner84 in #594 - Stabilize
filter
command by @nwagner84 in #595 - Add set-builder notation for path expressions by @nwagner84 in #596
- Stabilize
partition
command by @nwagner84 in #598 - Deprecate
--reduce
option by @nwagner84 in #601
Full Changelog: v0.14.1...v0.15.0
v0.14.1
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
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
andReaderBuilder
instead ofBufReadExt
- #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
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 toselect
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
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
New Features
- Allow spaces in
--reduce
option by @niko2342 in #442 - Add
--or
option tofilter
command by @niko2342 in #446 - Add
--not
option tofilter
command by @niko2342 in #447 - Add
--tee
option tofilter
command by @niko2342 in #448 - Add
--append
option tofilter
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
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
New Features
- Allow
cat
command to read fromstdin
by @niko2342 in #408 - Add
--tee
option tocat
command by @niko2342 in #410 - Add
--append
option tocat
command by @niko2342 in #411 - Add
--and
option tofilter
command by @niko2342 in #397 - Change output format of
count
command by @niko2342 in #417 - Add
--append
option tocount
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 toselect
command by @niko2342 in #399 - Add
--translit
option tojson
command by @niko2342 in #401 - Add
--translit
option toxml
command by @niko2342 in #402 - Add
--translit
option toprint
command by @niko2342 in #403 - Add
--translit
option tofrequency
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 tocompletions
by @niko2342 in #413 - Add completions for
Elvish
andPowershell
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
forRecordMatcher
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
New Features
- Add
count
command by @niko2342 in #376 - Add
--reduce
parameter tofilter
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