Skip to content

Commit

Permalink
edit changelog and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
anne17 committed Nov 3, 2022
1 parent 75e7f4e commit cd5366b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,38 @@
# Changelog

## [5.0.1.dev0]
## [5.1.0] - 2022-11-03

### Added

- Added exporter for Korp frontend config files.
- Added the `--keep-going` flag, which makes Sparv continue with other independent tasks when a task fails.
- Added an [overview of some of the built-in
annotations](https://spraakbanken.gu.se/sparv/#/user-manual/available-analyses) in the documentation.
- Added `AnnotationName` and `ExportAnnotationNames` classes, to be used instead of the `is_input` parameter.
- Lists of annotations can now be used as input and output for annotators by using the `List` type hint.
- Added support for optional annotator outputs.
- Added support for uninstallers using the `@uninstaller` decorator.
- Added `Marker` and `OutputMarker` classes, to be used mainly by installers and uninstallers.
- Added a new annotator `misc:concat2` which concatenates two or more annotations with an optional separator.
- Added a `remove` method to the `Annotation` classes for removing annotation files.
- Added a metadata field: `short_description`.
- Added a setting for truncating the annotations `misc_head` and `misc_tail` to avoid crashes by cwb-encode.

### Changed

- Removed the `is_input` parameter from the `ExportAnnotationsAllSourceFiles` class as it didn't make sense.
- Installers and uninstallers are now required to create markers.
- Removed Korp modes info from CWB info file as it is included in the Korp config.
- Disable highlighting of numbers in the log output because it was confusing.
- Slightly improved the `sbx_freq_list_date` exporter.
- The util functions `install_directory` and `ìnstall_file` have been replaced by the more general `install_path`.

### Fixed

- Fixed 'maximum recursion depth exceeded' problem by upgrading Stanza.
- The preloader now respects the compression setting.
- Fixed progress bars not working when running preloaded annotators.
- Fixed a rare logging crash.

## [5.0.0] - 2022-08-10

Expand Down
4 changes: 2 additions & 2 deletions docs/docsify/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<img class="top-logo" src="_media/sparv.png" height="200">

# Sparv Pipeline Documentation (development version)
# Sparv Pipeline Documentation

> Språkbanken's text analysis tool
<p class="version"> version 5.0.1.dev0 </p>
<p class="version"> version 5.1.0 </p>

<p class="links">
<a class="button" target="_blank" href="https://github.com/spraakbanken/sparv-pipeline">Sparv on GitHub</a>
Expand Down
1 change: 1 addition & 0 deletions docs/md2pdf/make_pdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ USER_MANUAL_FILES="
../user-manual/running-sparv.md
../user-manual/requirements-for-source-files.md
../user-manual/corpus-configuration.md
../user-manual/available-analyses.md
"

DEVELOPERS_GUIDE_FILES="
Expand Down
2 changes: 1 addition & 1 deletion sparv/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Main Sparv package."""

__version__ = "5.0.1.dev0"
__version__ = "5.1.0"

0 comments on commit cd5366b

Please sign in to comment.