# Changelog

> Release notes for every version of Prodigy, the annotation tool for AI and NLP, with new features, bug fixes, deprecations and plugin updates.

Source: https://prodi.gy/docs/changelog

This page lists the history of changes to Prodigy. Whenever a new update is
available, you'll receive an email notification sent to the address specified
[at checkout](https://prodi.gy/buy). You can then download the new version via your personal
download link. If your free upgrades expired, you can now add 12 months of
updates to your license [via our online shop](https://prodi.gy/buy). Please allow up to 24 hours
for your license key to be activated for the new versions.

## v1.18.8 (2026-09-08)

This release adds a toggle for hiding all bounding boxes and shapes in the [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) interface, so annotators working on visually dense images can inspect what's underneath their annotations without moving or deleting them.

|         |                                                                                                                                                                                                                                                                                                                                                                         |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add **All shapes** toggle to [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) for hiding and showing all bounding boxes and shapes, with an `s` keyboard shortcut and an [`image_manual_show_shapes`](https://prodi.gy/docs/api-interfaces#image_manual-settings) setting to control the default. Has no effect if `image_manual_legacy` is enabled. |

## v1.18.7 (2026-06-26)

This is a bug fix release that fixes the `reset` button restoring the previous task's preset spans when advancing between examples with preset `audio_spans`.

|         |                                                                                                                                                                                                          |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix `reset` restoring the previous task's preset `audio_spans` instead of the current task's in [`audio.manual`](https://prodi.gy/docs/recipes#audio-manual) when the next example is advanced in place. |

> **Note: Plugin updates**
>
> **`prodigy-company-plugins` v0.5.2** fixes annotation sessions expiring when the [OIDC](https://prodi.gy/docs/sso) provider is configured with a short access token lifetime.
>
> |         |                                                                                                                                                    |
> | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
> | **fix** | Use the refresh token to renew expired [OIDC](https://prodi.gy/docs/sso) session cookies instead of failing the request with a `403 Unauthorized`. |
> | **fix** | Clear the refresh token cookie on logout and when the provider rejects it.                                                                         |
> | **fyi** | An annotation session is now bound by the refresh token's lifetime rather than the access token's.                                                 |

## v1.18.6 (2026-06-18)

This is a bug fix release that fixes preset audio spans being rendered twice in video annotation and resolves an issue with custom logos not displaying.

|         |                                                                                                                                                                                                     |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix preset `audio_spans` being rendered twice in [`audio.manual`](https://prodi.gy/docs/recipes#audio-manual) when a `video` field is present and the media is loaded as an inline base64 data URI. |
| **fix** | Fix custom logo not displaying in the sidebar when set via a [custom theme](https://prodi.gy/docs/api-web-app#themes).                                                                              |

## v1.18.5 (2026-03-26)

This is a bug fix release that fixes audio span labels being overwritten on region resize and resolves an issue with the `delete_orphan_examples` database operation failing on MySQL.

|         |                                                                                                           |
| ------- | --------------------------------------------------------------------------------------------------------- |
| **fix** | Fix audio span labels being overwritten on region resize.                                                 |
| **fix** | Fix `delete_orphan_examples` failing on MySQL due to subquery referencing the target table in a `DELETE`. |

> **Warning: Plugin updates**
>
> **Security notice: `prodigy-company-plugins` v0.5.1** On March 24, 2026, the `litellm` package (versions 1.82.7 and 1.82.8) [was compromised in a supply-chain attack](https://github.com/BerriAI/litellm/issues/24518) and has since been suspended from PyPI entirely. Because `dspy` depends on `litellm`, installing `prodigy-company-plugins` with the DSPy plugin would fail. We have temporarily removed the DSPy plugin and its dependencies from the package. If you previously installed `prodigy-company-plugins` on or after March 24, please check whether you have `litellm` v1.82.7 or v1.82.8 in your environment — see [Matt's post on the support forum](https://support.prodi.gy/t/if-you-installed-prodigy-company-plugins-march-24-check-whether-you-installed-litellm-v1-82-7-or-v1-82-8/7659) for details and remediation steps. The `dspy.*` recipes will be re-enabled in a future release once the `litellm` situation is resolved.
>
> |         |                                                                                                                                |
> | ------- | ------------------------------------------------------------------------------------------------------------------------------ |
> | **fyi** | Temporarily remove DSPy plugin and `dspy`/`litellm` dependencies due to `litellm` supply-chain compromise and PyPI suspension. |

> **Note: Plugin updates**
>
> We're releasing a new plugin: [Prodigy-DSPy](https://prodi.gy/docs/dspy) for integrating [DSPy](https://github.com/stanfordnlp/dspy) programmatic prompt engineering with Prodigy UI. This plugin enables an iterative workflow where human feedback directly guides DSPy's automated prompt optimization. See the [docs](https://prodi.gy/docs/dspy) for details on the workflow and available recipes, and check out our [blog post](https://explosion.ai/blog/human-aligned-llm-evaluation-dspy) and [tutorial code](https://github.com/magdaaniol/multiclinsum_tutorial) for an end-to-end example.
>
> |         |                                                                                                                                                                 |
> | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
> | **new** | Add [`dspy.annotate`](https://prodi.gy/docs/dspy#dspy-annotate) recipe for annotating data with DSPy program predictions.                                       |
> | **new** | Add [`dspy.ner.annotate`](https://prodi.gy/docs/dspy#dspy-ner.annotate) recipe for NER annotation with built-in DSPy NER program.                               |
> | **new** | Add [`dspy.evaluate`](https://prodi.gy/docs/dspy#dspy-evaluate) recipe for evaluating DSPy programs and collecting human feedback on metric performance.        |
> | **new** | Add [`dspy.feedback`](https://prodi.gy/docs/dspy#dspy-feedback) command for synthesizing human feedback into actionable insights using an LLM.                  |
> | **new** | Add [`dspy.optimize`](https://prodi.gy/docs/dspy#dspy-optimize) command for optimizing DSPy programs with human feedback integrated into the optimization loop. |
> | **doc** | Add [Prodigy-DSPy documentation](https://prodi.gy/docs/dspy) with workflow overview, configuration guide, and end-to-end example.                               |

## v1.18.4 (2025-11-24)

|         |                                                                                                                                     |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix `prodigyupdate` event not firing for the first loaded task.                                                                     |
| **fix** | Ensure `prodigysave` fires consistently across all saving methods (UI button, keyboard shortcut, and `save()` JavaScript function). |
| **new** | Fire `prodigyscriptload` for inline embedded JavaScript (with `inline` as the `URL` detail).                                        |

## v1.18.3 (2025-11-07)

|         |                                                                                                                                                                          |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **fix** | Enabled auto-focus of the [`text_input`](https://prodi.gy/docs/api-interfaces#text_input) block in the context of [`pages`](https://prodi.gy/docs/api-interfaces#pages). |
| **fix** | Optimize the database query used by database `drop` command to improve performance on large datasets.                                                                    |

## v1.18.2 (2025-06-04)

|         |                                   |
| ------- | --------------------------------- |
| **fyi** | Bump spaCy dependency to < 3.9.0. |
| **new** | Add support for Python 3.13.      |

## v1.18.1 (2025-04-09)

|         |                                         |
| ------- | --------------------------------------- |
| **fyi** | Bump `fastapi` dependency to < 0.116.0. |

## v1.18.0 (2025-02-24)

This release includes new features for editing text during span annotation and customizing individual UI messages and translations. We've also improved the support for custom JavaScript with additional helper functions and event listeners.

![Screenshot of text editing in NER interface and custom event hook code](https://prodi.gy/docs/changelog_edit-text.png)

|         |                                                                                                                                                                                                                                                                                                                                                 |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | [Text editing](https://prodi.gy/docs/named-entity-recognition#edit-text) feature for span annotation and `--edit-text` setting in [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual) and [`spans.manual`](https://prodi.gy/docs/recipes#spans-manual) with customizable event hook to regenerate and retokenize examples on the back-end. |
| **new** | Support [custom UI messages](https://prodi.gy/docs/api-web-app#ui-language-custom) and localization via `ui_lang_locale` config setting.                                                                                                                                                                                                        |
| **new** | Expose [`window.prodigy.save`](https://prodi.gy/docs/custom-interfaces#javascript) to programmatically save progress from JavaScript.                                                                                                                                                                                                           |
| **new** | Add [`prodigyload`](https://prodi.gy/docs/custom-interfaces#javascript-events) JavaScript event that fires when app has mounted and custom JavaScript and/or CSS have loaded and [`prodigysave`](https://prodi.gy/docs/custom-interfaces#javascript-events) that fires when answers are saved manually by the user.                             |
| **new** | Always expose [`window.prodigy`](https://prodi.gy/docs/custom-interfaces#javascript), even if no custom JavaScript is provided.                                                                                                                                                                                                                 |
| **new** | Add [`tokenize_example`](https://prodi.gy/docs/api-components#tokenize_example) helper for adding tokens to a single example.                                                                                                                                                                                                                   |
| **new** | Add `exclude_urls` argument to [`fetch_media`](https://prodi.gy/docs/api-components#fetch_media) preprocessor to preserve URLs and only fetch base64 data for local paths.                                                                                                                                                                      |
| **fix** | Fix `crypto.randomUUID` error that could occur on the front-end by changing UUID generation.                                                                                                                                                                                                                                                    |
| **fix** | Fix loading of custom JavaScript and CSS so it's added even if no tasks are available.                                                                                                                                                                                                                                                          |
| **doc** | Documentation sections on text editing for [named entity recognition](https://prodi.gy/docs/named-entity-recognition#edit-text) and [span categorization](https://prodi.gy/docs/span-categorization#edit-text).                                                                                                                                 |
| **doc** | Docs on [inspecting what the web app sees](https://prodi.gy/docs/install#logging-window) for recipe development and debugging.                                                                                                                                                                                                                  |
| **doc** | Document [`Stream.from_iterable`](https://prodi.gy/docs/api-components#stream.from_iterable) classmethod for creating `Stream` object from iterable of tasks.                                                                                                                                                                                   |

## v1.17.5 (2025-02-04)

|         |                                             |
| ------- | ------------------------------------------- |
| **fyi** | Bumped `uvicorn` dependency to allow < 0.35 |

## v1.17.4 (2025-01-07)

|         |                                                                                                                                                                                                                                                |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Make sure [`pages`](https://prodi.gy/docs/api-interfaces#pages) does not throw a type error or fall back to [`text`](https://prodi.gy/docs/api-interfaces#text) in case of a longer loading time (for large PDF files and/or slower machines). |

## v1.17.3 (2024-12-18)

|         |                                                                                                     |
| ------- | --------------------------------------------------------------------------------------------------- |
| **fix** | Add filename as `text` in Server loaders\` tasks to make sure it appears in the History side panel. |

> **Note: Plugin updates**
>
> |         |                                                             |
> | ------- | ----------------------------------------------------------- |
> | **fyi** | Pin `prodigy-company-plugins` package to Prodigy >= 1.15.0. |

## v1.17.2 (2024-11-26)

|         |                                                                                                                                                                                                        |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **fix** | Fix a regression introduced in version 1.17.0 where a validation error was thrown when `text : None` was specified in the [`choice`](https://prodi.gy/docs/api-interfaces#choice) block configuration. |

## v1.17.1 (2024-11-25)

|         |                                                                                                       |
| ------- | ----------------------------------------------------------------------------------------------------- |
| **fix** | Fix [`pages`](https://prodi.gy/docs/api-interfaces#pages) UI thumbnail rendering and scroll behavior. |

> **Note: Plugin updates**
>
> |         |                                                                                                                                                                                                                                                                                                                                                                                       |
> | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
> | **new** | New [`pdf.spans.manual`](https://prodi.gy/docs/plugins#pdf-spans.manual) and [`pdf.layout.fetch`](https://prodi.gy/docs/plugins#pdf-layout.fetch) recipes in [Prodigy-PDF](https://prodi.gy/docs/plugins#pdf) plugin for annotating extracted text from PDFs, powered by [`spacy-layout`](https://github.com/explosion/spacy-layout) and [Docling](https://ds4sd.github.io/docling/). |

## v1.17.0 (2024-11-18)

This update features a brand new container interface, [`pages`](https://prodi.gy/docs/api-interfaces#pages), to split a single annotation task over multiple sections, and even combine different interfaces, without losing the simplicity and efficiency of Prodigy's card-based design. Paginated data can be loaded directly from JSON or from a simple [file format](https://prodi.gy/docs/api-loaders#pages-loader) and is already supported across all relevant built-in annotation recipes and in the [Prodigy-PDF](https://prodi.gy/docs/plugins#pdf) plugin.

![Screenshot of the pages interface and data formats](https://prodi.gy/docs/changelog_pages.png)

|         |                                                                                                                                                                                                                                                                                                   |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | [`pages`](https://prodi.gy/docs/api-interfaces#pages) interface for [multi-page tasks](https://prodi.gy/docs/custom-interfaces#pages) like longer documents, PDFs or collections of images.                                                                                                       |
| **new** | [`Pages`](https://prodi.gy/docs/api-loaders#pages-loader) loader for loading paginated files and support for `--loader pages` and paginated input data across relevant built-in recipes.                                                                                                          |
| **new** | [`split_pages`](https://prodi.gy/docs/api-components#split_pages) and [`merge_pages`](https://prodi.gy/docs/api-components#merge_pages) preprocessors and support for pages in [`train`](https://prodi.gy/docs/recipes#train) and [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy). |
| **fix** | Enhance front-end validation of task data to provide more helpful error messages in the UI.                                                                                                                                                                                                       |
| **doc** | Update documentation on [custom interfaces](https://prodi.gy/docs/custom-interfaces#pages), [computer vision](https://prodi.gy/docs/computer-vision#pages) for PDFs, and NER with [long texts](https://prodi.gy/docs/named-entity-recognition#long-text-pages).                                   |
| **fyi** | `"video"` content must now be explicitly set to `None` in [`choice`](https://prodi.gy/docs/api-interfaces#choice) configuration when used in [`blocks`](https://prodi.gy/docs/api-interfaces#blocks) to prevent it from being rendered twice.                                                     |
| **fyi** | `"pages"` and `"page_titles"` are now a protected keys in the JSON data (like `"text"`) and you should avoid using them for anything that's not paginated examples.                                                                                                                               |
| **fyi** | Properties in a JSON task's `"meta"` that start with an underscore `_` are now considered internal and not displayed in the annotation interface.                                                                                                                                                 |

> **Note: Plugin updates**
>
> |         |                                                                                                                                                         |
> | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
> | **new** | Support [`pages`](https://prodi.gy/docs/api-interfaces#pages) and paginated loading of PDFs in [Prodigy-PDF](https://prodi.gy/docs/plugins#pdf) plugin. |

## v1.16.0 (2024-10-22)

For this release, we've removed all Cython-compiled source code and are now shipping Prodigy as cross-platform Python wheels, which makes it easier to develop custom recipes and improves type checking and IDE support. The update also includes several front-end fixes, like the restoration of the timeline for the [`audio`](https://prodi.gy/docs/api-interfaces#audio) interface and enabling wrapping of versions in [`review`](https://prodi.gy/docs/recipes#review). On the backend, we've refactored [`drop`](https://prodi.gy/docs/recipes#drop) to mitigate issues related to `SQLITE_MAX_VARIABLE_NUMBER`.

|         |                                                                                                                                |
| ------- | ------------------------------------------------------------------------------------------------------------------------------ |
| **fyi** | Prodigy is now distributed as pure Python wheels without compiled Cython.                                                      |
| **fix** | Restore timeline functionality for the [`audio`](https://prodi.gy/docs/api-interfaces#audio) interface.                        |
| **fix** | Enable wrapping of versions in the [`review`](https://prodi.gy/docs/recipes#review) interface.                                 |
| **fix** | Improve `llm.fetch` family of recipes by adding the default `accept` answer.                                                   |
| **fix** | Improve the [`drop`](https://prodi.gy/docs/recipes#drop) logic to mitigate potential issues with `SQLITE_MAX_VARIABLE_NUMBER`. |

> **Note: Plugin updates**
>
> We've added a new premium plugin: [Prodigy Modal](https://prodi.gy/docs/modal) for deploying Prodigy in [Modal](https://modal.com/)'s serverless cloud. See the [docs](https://prodi.gy/docs/modal) for details and example workflows. Also check out our [latest blog post](https://explosion.ai/blog/modal-prodigy-serverless-nlp) on how to build a fully custom information extraction pipeline, no infrastructure or GPU setup required.
>
> |         |                                                          |
> | ------- | -------------------------------------------------------- |
> | **new** | Add [Prodigy Modal](https://prodi.gy/docs/modal) plugin. |

## v1.15.8 (2024-10-03)

This patch release restores the possibility to return an instance of the `Controller` object from the recipe.

|         |                                                          |
| ------- | -------------------------------------------------------- |
| **fix** | Re-enable returning `Controller` object from the recipe. |

## v1.15.7 (2024-07-30)

This patch release fixes a bug in training config generation for the default `textcat` and `textcat-multilabel` spaCy components.

|         |                                                                    |
| ------- | ------------------------------------------------------------------ |
| **fix** | Training config generation for `textcat` and `textcat-multilabel`. |

## v1.15.6 (2024-06-19)

This patch release pins the version of `numpy` to <2.0.0 to avoid installation
issues due to backwards-incompatible change introduced in `numpy` 2.0.0.

|         |                        |
| ------- | ---------------------- |
| **fix** | Pin `numpy` to <2.0.0. |

## v1.15.5 (2024-06-13)

This patch release updates the version of `wavesurfer.js` dependency, fixing a
regression in [`audio.manual`](https://prodi.gy/docs/recipes#audio-manual) that prevented marking regions to the left of
the cursor.

|         |                                                                    |
| ------- | ------------------------------------------------------------------ |
| **fix** | Restore marking regions to the left of the cursos in audio.manual. |
| **fyi** | Updated `wavesurfer.js` to ^7.7.15                                 |

## v1.15.4 (2024-05-23)

This patch release fixes a few bugs in [`review`](https://prodi.gy/docs/recipes#review), [`rel.manual`](https://prodi.gy/docs/recipes#rel-manual) and

metrics.iaa.doc recipes.

|         |                                                                                                                                                                       |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Support non string labels in [`metric.iaa.doc`](https://prodi.gy/docs/recipes#metric-iaa.doc).                                                                        |
| **fix** | Fix token disabling via `_` property patterns in [`relations`](https://prodi.gy/docs/api-interfaces#relations).                                                       |
| **fix** | Fix the stream generation in [`review`](https://prodi.gy/docs/recipes#review) so that the relations annotations that differ in order only are not shown as different. |

## v1.15.3 (2024-04-24)

This release adds support for `fastapi` up to 0.111.0.

|         |                                                                                                                                                                |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Allow for `fastapi`<0.111.0.                                                                                                                                   |
| **fix** | Fix the issue with `accept_single` flag not filtering the tasks annotated by a single annotator correctly in [`review`](https://prodi.gy/docs/recipes#review). |
| **fyi** | Make the `No tasks available` screen more informative.                                                                                                         |

> **Note: Plugin updates**
>
> |         |                                                                                                               |
> | ------- | ------------------------------------------------------------------------------------------------------------- |
> | **fyi** | [Prodigy-SSO](https://prodi.gy/docs/sso) v0.2.1: update internals to make it compatible with `fastapi` <0.111 |

## v1.15.2 (2024-03-26)

This patch release updates [`ab.llm.tournament`](https://prodi.gy/docs/recipes#ab-llm.tournament) recipe to `spacy-llm` >=
0.7.0

|         |                                                                                                                                                   |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Update the processing of the model's response in [`ab.llm.tournament`](https://prodi.gy/docs/recipes#ab-llm.tournament) to `spacy-llm` >= 0.7.0 . |
| **fyi** | Internal refactoring of dataset processing to support [`prodigy-evaluate`](https://prodi.gy/docs/plugins/#evaluate) plugin .                      |

> **Note: Plugin updates**
>
> Prodigy 1.15.2 release also comes with a new open-source plugin that adds to
> your QA toolset. [`prodigy-evaluate`](https://prodi.gy/docs/plugins#evaluate) provides commands
> for evaluating spaCy pipeline overall or on a per-example basis using a variety
> of metrics.
>
> |         |                                                                                                           |
> | ------- | --------------------------------------------------------------------------------------------------------- |
> | **new** | [`prodigy-evaluate`](https://github.com/explosion/prodigy-evaluate) plugin for spaCy pipeline evaluation. |
>
> We've updated Prodigy company [SSO plugin](https://prodi.gy/docs/sso) to offer more flexibility
> in scopes defnition making the `profile` scope optional. This can be helpful if
> `profile` results in excessive network payloads.
>
> |         |                                                         |
> | ------- | ------------------------------------------------------- |
> | **new** | Make `profile` scope optional for `prodigy-sso` plugin. |

## v1.15.1 (2024-02-23)

This release improves the training config generation used by [`train`](https://prodi.gy/docs/recipes#train),

[`train-curve`](https://prodi.gy/docs/recipes#train-curve) and [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy) by fixing a bug that previously
prevented the use of transformer spaCy pipelines as base models. Additionally,
the sourcing of the tokenizer from the base model is now automated. We have also
bumped `uvicorn` dependency to allow <0.27.

|         |                                                                  |
| ------- | ---------------------------------------------------------------- |
| **new** | Automate the sourcing of the tokenizer from the base model.      |
| **new** | Allow for `uvicorn` <0.27.                                       |
| **fix** | Allow `transformer` as the embedding layer for spaCy base model. |

## v1.15.0 (2024-02-15)

This release adds support for the new [Prodigy Company Plugins](https://prodi.gy/docs/sso)
package that can be downloaded with a [Company License](https://prodi.gy/buy). This first
premium plugin for SSO (Single Sign-On) features OIDC authentication across a
variety of providers, including Auth0, Okta, Google, Microsoft Entra, and more.
For more details on the new company features see the [OIDC docs](https://prodi.gy/docs/sso).

|         |                                                 |
| ------- | ----------------------------------------------- |
| **new** | Add support for `prodigy-company-license` 0.1.0 |

## v1.14.14 (2024-01-30)

This update allows Prodigy to use `spacy-llm` <1.0.0 with its
[recent addition](https://github.com/explosion/spacy-llm/releases/tag/v0.7.0) of
new tasks including
[entity linking](https://spacy.io/api/large-language-models#nel) and
[translation](https://spacy.io/api/large-language-models#translation), as well as
support for arbitrarily long docs.

|         |                           |
| ------- | ------------------------- |
| **new** | Allow `spacy-llm` <1.0.0. |

## v1.14.13 (2024-01-25)

This update fixes the recipe config override from the task level so that the
`view_id` attribute can be updated. It is now possible to design data streams
with different view\_ids without requiring a server restart.

|         |                                                                                                                                                                                      |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **fix** | It is now possible to overwrite `view_id` (and other config atrributes) from the task level.                                                                                         |
| **new** | Added a "Support" column to [`metric.iaa.span`](https://prodi.gy/docs/recipes#metric-iaa.span) result table to represent that number of examples on which the metric was calculated. |

## v1.14.12 (2023-12-13)

This patch release restores the functionality of the `audio_rate` setting. We
have also upgraded our `wavesurfer.js` dependency to 7.4.4 which is related to
the deprecation of the `show_audio_timeline` setting and a slight change in how
the sound waves are rendered in the UI. We're also excited to announce a new
plugin for image segmentation that leverages Meta's
[Segment Anything](https://github.com/explosion/prodigy-segment) model.

|         |                                                                                                                                                                                   |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Updated `wavesurfer.js` dependency to 7.4.4.                                                                                                                                      |
| **new** | Added a new `window.prodigy.resetQueue` method available in the frontend, meant to be used together with custom events.                                                           |
| **fix** | Fixed `audio_rate` setting for audio recipes.                                                                                                                                     |
| **fyi** | Deprecated the `show_audio_timeline` setting due to `wavesurfer.js` upgrade.                                                                                                      |
| **doc** | Updated the [custom recipes section](https://prodi.gy/docs/custom-recipes) to contain examples that leverage [`radicli`](https://github.com/explosion/radicli) instead of `plac`. |

> **Note: Plugin Updates**
>
> During this release we also released a new plugin:
> [Prodigy-Segment](https://prodi.gy/docs/plugins#segment)! This allows you leverage Meta's
> segment-anything model to select pixels from images.
>
> [Video: https://www.youtube.com/watch?v=W-wYXumFJRE](https://www.youtube.com/watch?v=W-wYXumFJRE)
>
> We've also introduces new features for [Prodigy-ANN](https://prodi.gy/docs/plugins#ann) and
> [Prodigy-LUNR](https://prodi.gy/docs/plugins#lunr), which allows you to reset the stream from
> the UI.
>
> [Video: https://www.youtube.com/watch?v=rz5e35fv0\_Y](https://www.youtube.com/watch?v=rz5e35fv0_Y)
>
> |         |                                                                                                                                   |
> | ------- | --------------------------------------------------------------------------------------------------------------------------------- |
> | **new** | `Prodigy-Segment` plugin is added for image segmention with Meta's Segment Anything model.                                        |
> | **new** | Many `Prodigy-ANN` and `Prodigy-LUNR` recipes now carry a `--allow-reset` flag that allows users to reset the stream from the UI. |
> | **doc** | Updated the [plugins section](docs/plugins) to reflect the new additions.                                                         |

## v1.14.11 (2023-11-30)

This patch release adds support for Python 3.12 and fixes a regression related
to the `prodigy.serve` function introduced during the transition to `radicli`.
Additionally, it restores the functionality of using stdin as a source.

|         |                                                                                                                                                       |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Added support for Python 3.12.                                                                                                                        |
| **new** | Added the [Controller.reset\_stream](https://prodi.gy/docs/api-components#controller-reset_stream) method to allow custom recipes to reset the stream |
| **fix** | Fixed CLI argument proccessing in `prodigy.serve` to make it compatible with `radicli`.                                                               |
| **fix** | Restored the use of stdin as source.                                                                                                                  |

## v1.14.10 (2023-11-16)

This patch release fixes inferring exclusive labels from spaCy textcat models.

|         |                                                              |
| ------- | ------------------------------------------------------------ |
| **fix** | Fixed checking for exclusive labels in spaCy textcat models. |

## v1.14.9 (2023-11-14)

This patch release updates Prodigy to use `spacy-llm` <0.7.0.

|         |                          |
| ------- | ------------------------ |
| **new** | Alow `spacy-llm` <0.7.0. |

## v1.14.8 (2023-11-09)

This patch release fixes a bug when sourcing custom JavaScript from a string.

|         |                                                     |
| ------- | --------------------------------------------------- |
| **fix** | Fixed a bug related to injecting inline JavaScript. |

> **Note: Plugin Updates**
>
> This release is paired with a new
> [prodigy-whisper](https://github.com/explosion/prodigy-whisper) plugin which
> helps with audio transcription by using
> [OpenAI's Whisper](https://openai.com/research/whisper) model in the loop. The
> [docs](https://prodi.gy/docs/plugins#whisper) has all the details on how to use
> this new feature.
>
> |         |                                                                                                    |
> | ------- | -------------------------------------------------------------------------------------------------- |
> | **new** | Added `whisper.audio.transcribe` recipe for audio transcription with a model in the loop.          |
> | **new** | Added `--segment` feature to `whisper.audio.transcribe` to automatically split audio into segments |

## v1.14.7 (2023-11-07)

This release adds an extra validation step to some textcat recipes to make sure
no empty annotations are written into the database. This behavior can be turned
off with a flag if users prefer the original behavior.

|         |                                                                                                                                                                                                                 |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Added validation for empty annotations for exclusive textcat models in [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) and [`textcat.correct`](https://prodi.gy/docs/recipes#textcat-correct). |
| **new** | Added `--accept_empty` flag to [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) and [`textcat.correct`](https://prodi.gy/docs/recipes#textcat-correct) to turn off the new validation.          |
| **fix** | Fixed a bug in [`texcat.correct`](https://prodi.gy/docs/recipes#texcat-correct) that mistook exclusive textcat models for non-exclusive ones.                                                                   |
| **fix** | Fixed a runtime error when combining the `PatternMatcher` with an nlp model in `textcat` recipes.                                                                                                               |
| **fix** | Corrected the spelling of spaCy in the output of the `stats` command.                                                                                                                                           |

> **Note: Plugin Updates**
>
> This release is paired with new features via
> [the Prodigy Hugging Face plugin](https://github.com/explosion/prodigy-hf). As
> of [v0.2.0](https://github.com/explosion/prodigy-hf/releases/tag/v0.2.0) new
> recipes have been added for text classification as well as model-in-the-loop
> recipes. The [docs](https://prodi.gy/docs/plugins#hf) for this plugin have been
> updated too.
>
> |         |                                                                                                     |
> | ------- | --------------------------------------------------------------------------------------------------- |
> | **new** | Added `hf.train.ner` and `hf.train.textcat` to train text classification transformer models recipe. |
> | **new** | Added `hf.correct.ner` and `hf.correct.textcat` to use transformer models while annotating new data |
> | **new** | Added `hf.upload` to upload your annotations to the Hugging Face Hub                                |
> | **doc** | Added a new section for the plugin on the [docs](https://prodi.gy/docs/plugins#hf)                  |

## v1.14.6 (2023-11-02)

This release updates Prodigy to be compatible with spaCy >=3.1.1,<3.8.0 and
Pydantic >=1.10.8,<3.0.

|         |                                              |
| ------- | -------------------------------------------- |
| **new** | Updated `spacy` and `pydantic` dependencies. |

## v1.14.5 (2023-10-24)

This release adds an improved character highlighting feature for

[`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) and [`spans_manual`](https://prodi.gy/docs/api-interfaces#spans_manual) that allows for switching between character and token
highlighting from the UI, while annotating.

We have also facilitated developing with custom css and javascript by adding
support for mounting css and javascript files from local directories and remote
URLs.

|         |                                                                                                                                                                                                                       |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Added a toggle for switching between character and token highlighting in [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) and [`spans_manual`](https://prodi.gy/docs/api-interfaces#spans_manual) UIs. |
| **new** | Support mounting CSS and JS code from local directories and remote URLs.                                                                                                                                              |
| **fix** | Fixed annotator filtering in IAA recipes.                                                                                                                                                                             |

## v1.14.4 (2023-10-12)

This patch release improves error messages and fixes a bug in `spacy-config`
that prevented to config to be saved on disk properly.

|         |                                                                      |
| ------- | -------------------------------------------------------------------- |
| **fix** | Improve error messages for `iaa` and `stream` modules.               |
| **fix** | Fixed an issue with saving the config file to disc in `spacy-config` |

> **Note: Plugin Updates**
>
> This release is paired with new features for some Prodigy plugins.
>
> [Prodigy-PDF](https://prodi.gy/docs/plugins#pdf), as of
> [v0.2.0](https://github.com/explosion/prodigy-pdf/releases/tag/v0.2.0), now
> support the `pdf.image.ocr` recipe. This recipe adds OCR to annotated segments
> from the `pdf.image.manual` recipe and gives a textbox for corrections. This
> recipe uses pytessaract under the hood.
>
> [Video: https://www.youtube.com/watch?v=rwyze49ne8I](https://www.youtube.com/watch?v=rwyze49ne8I)
>
> [Prodigy-ANN](docs/plugins/#ann), as of
> [v0.2.0](https://github.com/explosion/prodigy-ann/releases/tag/v0.2.0), now
> supports recipes that handle retreival for images, besides text via
> `ann.image.index`, `ann.image.fetch` and `image.ann.manual`.
>
> |         |                                                                                                                                                     |
> | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
> | **new** | Add `pdf.image.ocr` recipe.                                                                                                                         |
> | **new** | Add `ann.image.index`, `ann.image.fetch` and `image.ann.manual` recipes.                                                                            |
> | **fix** | Ensure that `pdf.image.manual` stores all required information for OCR.                                                                             |
> | **fix** | Fixed a bug in the `ner.ann.manual`, `spans.ann.manual`, `ner.lunr.manual` and `spans.lunr.manual` recipes that prevented the server from starting. |
> | **fyi** | Changed the first default color in `pdf.image.manual` to a darker color to ensure high constrast.                                                   |

## v1.14.3 (2023-10-06)

This release adds two new commands for computing inter-annotator agreement for
document level and token level annotations. We also introduce Prodigy Plugins:
[Prodigy-PDF](https://github.com/explosion/prodigy-pdf),
[Prodigy-ANN](https://github.com/explosion/prodigy-ann) and
[Prodigy-LUNR](https://github.com/explosion/prodigy-lunr). Prodigy Plugins are
add-ons that extend Prodigy's functionality with third party libraries. They are
open source and can be installed separately to be used with 1.14.3 and above.

[Video: https://www.youtube.com/watch?v=jyu2nbjwfXw](https://www.youtube.com/watch?v=jyu2nbjwfXw)

|         |                                                                                          |
| ------- | ---------------------------------------------------------------------------------------- |
| **new** | Inter annotator agreement for document level and token level annotations.                |
| **fyi** | Prodigy Plugins for PDF processing and selecting relevant subsets of data.               |
| **fix** | Fixed the display of the history in the sidebar.                                         |
| **fix** | Fixed the truncated display of the available recipes outputted by the `prodigy` command. |
| **doc** | Added a new section on inter annotator agreement metrics.                                |
| **doc** | Added a new section on Prodigy Plugins.                                                  |

## v1.14.2 (2023-09-29)

This patch update addresses a backward compatibility issue that was introduced
in version 1.14.0, where the `get_labels` helper function was removed
potentially affecting custom recipes.

|         |                                                           |
| ------- | --------------------------------------------------------- |
| **fix** | Restored `get_label` function for backward compatibility. |

## v1.14.1 (2023-09-29)

This release adds support for custom
[Recipe Event Hooks](https://prodi.gy/docs/custom-interfaces/#custom-events) to allow for basic
interactivity in custom Prodigy Recipes. It adds a new `window.prodigy.event`
function to the `window.prodigy` object available for use in Custom Recipe
JavaScript. This completes the initial work on an ongoing, undocumented feature
we've been using for a while.

|         |                                                                         |
| ------- | ----------------------------------------------------------------------- |
| **new** | Added support for basic interface interactivity via custom event hooks. |

## v1.14.0 (2023-09-21)

This release focuses on improving Prodigy internals. We have substituted `plac`
with [`radicli`](https://github.com/explosion/radicli) for CLI development which
brings DX improvements such as using type hints for argument parsing including
support for custom types as well as custom CLI errors. Please check `radicli`
[documentation](https://github.com/explosion/radicli) for a complete overview of
benefits.

Higher versions of `pydantic` (<3.0), `fastapi` (<0.103.0) and `spacy-llm`
(<0.6.0) dependencies are now supported. Since `spacy-llm` 0.5.0 adds support
for [chain-of-thought prompting](https://arxiv.org/pdf/2305.15444.pdf), there's
now a corresponding section in the
[docs](https://prodi.gy/docs/large-language-models#performance) with examples.

We have also improved typing and error handling across Prodigy.

Finally, some of the older, deprecated helper functions are no longer available:

- `Reddit` dataset loader
- `read_jsonl`, `write_jsonl`, `read_json`, `b64_uri_to_bytes`,
  `pretty_print_ner`, `pretty_print_tc`

|         |                                                                                                                                                                                                         |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Improved CLI by substituting [`plac`](https://plac.readthedocs.io/en/latest/) with [`radicli`](https://github.com/explosion/radicli).                                                                   |
| **new** | Allowed latest versions of `pydantic`, `fastapi` and `spacy-llm`.                                                                                                                                       |
| **doc** | Added LLM section with explainers for chain of thought prompts for [NER](https://prodi.gy/docs/large-language-models#performance) and [spancat](https://prodi.gy/docs/large-language-models#cot-spans). |
| **fyi** | Deprecated `Reddit` loader and older helpers: `read_jsonl`, `write_jsonl`, `read_json`, `b64_uri_to_bytes`, `pretty_print_ner`, `pretty_print_tc`.                                                      |

## v1.13.3 (2023-09-20)

This patch release fixes a bug in the [`review`](https://prodi.gy/docs/recipes#review) recipe which prevented
overwriting `view-id` attribute on CLI. This is particularly relevant when using
datasets with [`block`](https://prodi.gy/docs/api-interfaces#block) `view-id` as input to [`review`](https://prodi.gy/docs/recipes#review), including the
output of `*.llm.correct` recipes.

|         |                                                                                                                                                                                           |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fixed a bug in [`review`](https://prodi.gy/docs/recipes#review) that didn't permit overwriting `view-id` attribute for [`blocks`](https://prodi.gy/docs/api-interfaces#blocks) interface. |

## v1.13.2 (2023-09-07)

This release introduces `spacy-llm` variants of [`terms.openai.fetch`](https://prodi.gy/docs/recipes#terms-openai.fetch) and

[`ab.openai.tournament`](https://prodi.gy/docs/recipes#ab-openai.tournament) recipes. The [`terms.llm.fetch`](https://prodi.gy/docs/recipes#terms-llm.fetch) recipe can generate terms and
phrases using an LLM. And the [`ab.llm.tournament`](https://prodi.gy/docs/recipes#ab-llm.tournament) recipe can be used for prompt engineering
and/or comparing different LLM backends. This means that we now have replacements for all the
`*.openai.*` recipes, which is why they now all carry deprecation notices.

We have also added a new annotation interface [`llm-io`](https://prodi.gy/docs/api-interfaces#llm-io) to facilitate
writing custom LLM recipes and fixed a task router bug related to server
restarts.

|         |                                                                                                                                                   |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Added [`terms.llm.fetch`](https://prodi.gy/docs/recipes#terms-llm.fetch) which can use `spacy-llm` to fetch relevant phrases and terms.           |
| **new** | Added [`ab.llm.tournament`](https://prodi.gy/docs/recipes#ab-llm.tournament) which can be used for prompt engineering and comparing LLM backends. |
| **new** | Added [`llm-io`](https://prodi.gy/docs/api-interfaces#llm-io) interface to show the prompt/response from an LLM.                                  |
| **fix** | Fixed a bug that caused inconsistencies in task routers when dealing with many server restarts.                                                   |
| **fyi** | All the `*.openai.*` recipes now carry deprecation warnings, because there are `spacy-llm` variants to replace them.                              |

## v1.13.1 (2023-08-23)

This release introduces recipes that allow spaCy pipelines to annotate examples.
When you combine these recipes with the [`review`](https://prodi.gy/docs/recipes#review) recipe, you're able to
focus on examples where models disagree.

This pattern is powerful because these examples typically carry a lot of
information for your model. But it is also very useful given the spaCy-LLM
integration introduced in `v1.13.0`, which makes it relatively easy to compare
your own model against an LLM pipeline.

[Video: https://www.youtube.com/watch?v=SuFAXOgw35U](https://www.youtube.com/watch?v=SuFAXOgw35U)

|         |                                                                                                                                                                                                                                                                                                                                                                          |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **new** | Added [`ner.model-annotate`](https://prodi.gy/docs/recipes#ner-model-annotate), [`textcat.model-annotate`](https://prodi.gy/docs/recipes#textcat-model-annotate), [`spans.model-annotate`](https://prodi.gy/docs/recipes#spans-model-annotate) recipes to automatically annotate datasets with models.                                                                   |
| **new** | Added [`make_ner_suggestions`](https://prodi.gy/docs/api-components#make_ner_suggestions), [`make_spancat_suggestions`](https://prodi.gy/docs/api-components#make_spancat_suggestions) and [`make_textcat_suggestions`](https://prodi.gy/docs/api-components#make_textcat_suggestions) helper functions to make it easier to turn spaCy output into annotation examples. |
| **new** | Added [`filter_seen_before`](https://prodi.gy/docs/api-components#filter_seen_before) helper functions to make it easier to remove specific duplicates from your stream in custom recipes.                                                                                                                                                                               |
| **fix** | Fixed a bug that caused duplicate log lines to appear.                                                                                                                                                                                                                                                                                                                   |
| **fix** | Fixed a bug related to config validation for the [`image.manual`](https://prodi.gy/docs/recipes#image-manual) recipe.                                                                                                                                                                                                                                                    |
| **fyi** | The [`review`](https://prodi.gy/docs/recipes#review) recipe is now more explicit and strict when it comes to exiting immediately if the annotation interface isn't supported.                                                                                                                                                                                            |
| **doc** | Added a new section on [reviewing annotations](https://prodi.gy/docs/review).                                                                                                                                                                                                                                                                                            |

## v1.13.0 (2023-08-15)

This release introduces support for
[`spacy-llm`](https://spacy.io/usage/large-language-models), which gives an even
wider support for large language models for NER, textcat and spancat
annotations. Future recipes that leverage large language models will also use
the spaCy-LLM backend and the OpenAI recipes will be deprecated.

[Video: https://www.youtube.com/watch?v=zEu-ZJz0NOo](https://www.youtube.com/watch?v=zEu-ZJz0NOo)

|         |                                                                                                                                                                                                                                                                                                                                                                                              |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Added `spacy-llm` based replacements for the OpenAI workflows for NER and Textcat via the [`ner.llm.correct`](https://prodi.gy/docs/recipes#ner-llm.correct), [`ner.llm.fetch`](https://prodi.gy/docs/recipes#ner-llm.fetch), [`textcat.llm.correct`](https://prodi.gy/docs/recipes#textcat-llm.correct) and [`textcat.llm.fetch`](https://prodi.gy/docs/recipes#textcat-llm.fetch) recipes. |
| **new** | Introduced LLM support for Spancat tasks via the [`spans.llm.correct`](https://prodi.gy/docs/recipes#spans-llm.correct) and [`spans.llm.fetch`](https://prodi.gy/docs/recipes#spans-llm.fetch) recipes.                                                                                                                                                                                      |
| **fyi** | Prodigy will deprecate the `*.openai.*` recipes in the future due to a [deprecation over at OpenAI](https://openai.com/blog/gpt-4-api-general-availability). These recipes will all be replaced with `*.llm.*` variants that use [spaCy LLM](https://spacy.io/usage/large-language-models) as a backend.                                                                                     |
| **doc** | Updated the [large language models](https://prodi.gy/docs/large-language-models) section                                                                                                                                                                                                                                                                                                     |

## v1.12.7 (2023-08-10)

This release fixes the issue where `DatasetSource`, `GeneratorSource` and
`ListSource` might end up in erroneous state at the end of the iteration due to
incorrect position resetting. This would also lead to unexpected progress bar
updates.

|         |                                                                                         |
| ------- | --------------------------------------------------------------------------------------- |
| **fix** | Remove position reset when closing `DatasetSource`, `GeneratorSource` and `ListSource`. |

## v1.12.6 (2023-08-08)

This release fixes intermittent MySQL integrity errors during bulk DB
operations.

|         |                                                               |
| ------- | ------------------------------------------------------------- |
| **fix** | Remove bulk inserts to DB to make the operations more stable. |

## v1.12.5 (2023-07-28)

This release adds temporary support to legacy (pre 1.12.X) loaders in the new
[`get_stream`](https://prodi.gy/docs/api-components/#stream.get_stream) utility. It also fixes a
few minor CLI and config processing bugs. We have also improved the error
message for missing DB drivers.

|         |                                                                                                                                                                |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Add support to legacy (pre 1.12.X) loaders in `get_stream` utility.                                                                                            |
| **fix** | Fix the processing of the `:ignore`, `:accept`, `:reject` suffixes in dataset source CLI.                                                                      |
| **fix** | Improve error message in the event of missing DB drivers.                                                                                                      |
| **fix** | Fix the support for the `delimiter` argument of the legacy `CSV` loader.                                                                                       |
| **fix** | Fix the processing of `hide_arrow_heads` and `hide_true_newline_token` config settings in the [`rel.manual`](https://prodi.gy/docs/recipes#rel-manual) recipe. |

## v1.12.4 (2023-07-19)

This release includes an additional bug fix for the frontend.

|         |                                                                                                                                                                                                                                                                                                   |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue where individual image spans could not be selected in the [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) view for the Polygon and Freehand tools. This builds on the fix in `v1.12.3` which only fixed selection of image spans annotated with the rectangle tool. |

## v1.12.3 (2023-07-17)

This release includes major bug fixes for the frontend and an extra video docs
for task routing:

[Video: https://www.youtube.com/watch?v=vyOtq-UXP-E](https://www.youtube.com/watch?v=vyOtq-UXP-E)

|         |                                                                                                                                                                                        |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue where individual image spans could not be selected in the [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) view                                           |
| **fix** | Fix an issue where the "Save" button could be clicked twice and save a duplicate answer to the database.                                                                               |
| **fix** | Fix an issue that would render `br` elements in the frontend                                                                                                                           |
| **doc** | Added docs on [Database.get\_hashes](https://prodi.gy/docs/api-database#get-hashes) and [Database.count\_dataset](https://prodi.gy/docs/api-database#count-dataset) `Database` methods |
| **doc** | Added a [new video on task routers](https://www.youtube.com/watch?v=vyOtq-UXP-E) that does a deep dive on how to construct your own                                                    |

## v1.12.2 (2023-07-13)

Fixes a bug when using a Prodigy Dataset as a source for an Audio or Image
recipe using the `dataset:my_dataset_name` syntax.

|         |                                                                                       |
| ------- | ------------------------------------------------------------------------------------- |
| **fix** | Fix `FileNotFoundError` when using a Dataset as a source for an Audio or Image recipe |
| **doc** | Fixed inconsistencies related to session ids.                                         |

## v1.12.1 (2023-07-12)

This update adds support for the latest spaCy version.

|         |                                                                         |
| ------- | ----------------------------------------------------------------------- |
| **new** | Extend spaCy support to the latest [v3.6](https://spacy.io/usage/v3-6). |

## v1.12.0 (2023-07-05)

For this version we have completely refactored Prodigy internals to make the
annotation flow more tractable and more customizable. We have reimplemented the
`Controller` and added new abstractions to better represent the stream of tasks
and the input source. This let us deliver a number of new, exciting features
such as partial, configurable feed overlap, custom task routers, custom session
factories, source-based progress estimation, support for Parquet input files,
experimental support for training `coref` component in [`train`](https://prodi.gy/docs/recipes#train), new

[`filter-by-patterns`](https://prodi.gy/docs/recipes#filter-by-patterns) recipe and DX improvements.

v1.12 also provides support for **LLM-assisted workflows** for data annotation
and prompt engineering. We have provided 4 new recipes for bootstrapping NER and
Textcat annotation, 1 for terminology generation and 2 for prompt engineering
including a really creative [`ab.openai.tournament`](https://prodi.gy/docs/recipes#ab-openai.tournament) recipe. As of this
version we support python 3.11 and we drop support for python 3.7.

Thanks to everyone who's helped us by testing the alpha versions. See the
changelog below for a full list of new features.

[Video: https://www.youtube.com/watch?v=-JiwLH9RG1E](https://www.youtube.com/watch?v=-JiwLH9RG1E)

|         |                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **new** | Added a new Controller to facilitate annotation workflow customization.                                                                                                                                                                                                                                                                                                                                                                    |
| **new** | Added support for [task routing](https://prodi.gy/docs/task-routing), allowing you to customise who annotates each example.                                                                                                                                                                                                                                                                                                                |
| **new** | Added `annotations_per_task` setting to easily configure a task router for partial annotator overlap.                                                                                                                                                                                                                                                                                                                                      |
| **new** | Added a selection of task routers to the [public API](https://prodi.gy/docs/api-components#task_routers) that can be used in custom recipes.                                                                                                                                                                                                                                                                                               |
| **new** | Added a `session_factory` [callback for custom recipes](https://prodi.gy/docs/custom-recipes#session_factory), giving you control on how sessions are created.                                                                                                                                                                                                                                                                             |
| **new** | Added support for [spacy-experimental](https://github.com/explosion/spacy-experimental) `coref` component in the `train` and `train-curve` recipes.                                                                                                                                                                                                                                                                                        |
| **new** | All of Prodigy's internal recipes now support the `.parquet` file format as a data source.                                                                                                                                                                                                                                                                                                                                                 |
| **new** | Added `allow_work_stealing` setting in `prodigy.json` that allows you to turn off work stealing.                                                                                                                                                                                                                                                                                                                                           |
| **new** | Added `PRODIGY_LOG_LOCALS` [environment variable](https://prodi.gy/docs/install#env-variables) to supply local variables for when debugging Prodigy error messages                                                                                                                                                                                                                                                                         |
| **new** | Added [get\_hash\_count](https://prodi.gy/docs/api-database#get-hash-count) and [get\_hashes\_min\_cardinality](https://prodi.gy/docs/api-database#get-hashes-min-cardinality) methods to database class, which are useful in custom task routers.                                                                                                                                                                                         |
| **new** | The [`review`](https://prodi.gy/docs/recipes#review) recipe now provides a `--accept-single` flag to also automatically accept annotations from a single annotator when `--auto-accept` is also turned on.                                                                                                                                                                                                                                 |
| **new** | Added a new [`filter-by-patterns`](https://prodi.gy/docs/recipes#filter-by-patterns) recipe that can use match patterns to produce a relevant subset for a downstream task.                                                                                                                                                                                                                                                                |
| **new** | Added support for annotation workflows that use large language models from OpenAI as a model-in-the-loop via the [`ner.openai.correct`](https://prodi.gy/docs/recipes#ner-openai.correct), [`ner.openai.fetch`](https://prodi.gy/docs/recipes#ner-openai.fetch),[`textcat.openai.correct`](https://prodi.gy/docs/recipes#textcat-openai.correct) and [`textcat.openai.fetch`](https://prodi.gy/docs/recipes#textcat-openai.fetch) recipes. |
| **new** | Added support for pattern file generation via OpenAI's large language model with [`terms.openai.fetch`](https://prodi.gy/docs/recipes#terms-openai.fetch) recipe.                                                                                                                                                                                                                                                                          |
| **new** | Added support for prompt engineering recipes via the [`ab.openai.prompts`](https://prodi.gy/docs/recipes#ab-openai.prompts) and [`ab.openai.tournament`](https://prodi.gy/docs/recipes#ab-openai.tournament) recipes.                                                                                                                                                                                                                      |
| **new** | Added new progress calculation based on relative position in a source object.                                                                                                                                                                                                                                                                                                                                                              |
| **new** | Distinguish between `target progress` and `source progess`in the UI.                                                                                                                                                                                                                                                                                                                                                                       |
| **fix** | Fixed a bug related to `allow_newline_highlight` setting in NER recipes.                                                                                                                                                                                                                                                                                                                                                                   |
| **fix** | Fixed a bug multiple labels in the [`mark`](https://prodi.gy/docs/recipes#mark) recipe.                                                                                                                                                                                                                                                                                                                                                    |
| **fix** | Fixed a bug related to multiple labels in the [`choice`](https://prodi.gy/docs/recipes#choice) interface                                                                                                                                                                                                                                                                                                                                   |
| **fix** | Fixed a bug related to trailing slashes in session names. Prodigy will now ignore trailing slashes.                                                                                                                                                                                                                                                                                                                                        |
| **fix** | Added a more helpful error message when a user needs to provide a `/?session=` via the URL                                                                                                                                                                                                                                                                                                                                                 |
| **fyi** | Removed `auto_count_stream` setting and automated counting of generators passed to `stream` component. See [Controller Progress docs](https://prodi.gy/docs/api-components/#controller-get-progress) for new information on progress calculation.                                                                                                                                                                                          |
| **fyi** | Added a warning when custom recipes don't ensure the hashes are set appropriately on their examples.                                                                                                                                                                                                                                                                                                                                       |
| **fyi** | Tracebacks that Prodigy error messages try to hide will now appear in the logs when `PRODIGY_LOGGING` is configured. Details are explained [here](https://prodi.gy/docs/install#tracebacks).                                                                                                                                                                                                                                               |
| **fyi** | Dropped support for python 3.7 due to [end of life](https://devguide.python.org/versions/) on 2023-06-27.                                                                                                                                                                                                                                                                                                                                  |
| **doc** | Added a new usage guides on [task routing](https://prodi.gy/docs/task-routing), [large language models](https://prodi.gy/docs/large-language-models) and [cloud deployments](https://prodi.gy/docs/deployment)                                                                                                                                                                                                                             |
| **doc** | Fixed typos and inconsistencies                                                                                                                                                                                                                                                                                                                                                                                                            |

## v1.11.14 (2023-05-23)

This patch release adds a constraint for
[`typing_extensions`](https://pypi.org/project/typing-extensions/) (<4.6.0) to
avoid a version conflict in Pydantic.

|         |                                         |
| ------- | --------------------------------------- |
| **fix** | Add dependency for `typing_extensions`. |

## v1.11.13 (2023-05-12)

This patch release relaxes the following requirements:
[tqdm](https://pypi.org/project/tqdm/) (>=4.38.0,<5.0.0),
[Jinja2](https://pypi.org/project/Jinja2/) (no pin),
[python-dotenv](https://pypi.org/project/python-dotenv/) (>=0.21.1,<2.0.0).

|         |                                                                 |
| ------- | --------------------------------------------------------------- |
| **fix** | Update dependency versions for tqdm, Jinja2, and python-dotenv. |

## v1.11.12 (2023-05-02)

This patch release fixes an issue with the `--base-model` argument in

[`train`](https://prodi.gy/docs/recipes#train) which resulted in erroneous sourcing of the `tok2vec` component
from the spaCy base model. It also updates the
[peewee](http://docs.peewee-orm.com/en/latest/) (<3.17),
[pydantic](https://docs.pydantic.dev/) (<2.0),
[FastAPI](https://fastapi.tiangolo.com/) (<0.95.1) and
[typeguard](https://pypi.org/project/typeguard/) (<4.0) dependencies.

|         |                                                                               |
| ------- | ----------------------------------------------------------------------------- |
| **fix** | Fix `--base-model` parsing in [`train`](https://prodi.gy/docs/recipes#train). |
| **fix** | Update dependency versions for peewee, pydantic, typeguard and FastAPI.       |

## v1.11.11 (2023-02-23)

This release reverts a backward incompatible change from v1.11.10 that removed
database methods and helpers `get_db`, `set_db` and `disconnect`. These methods
were not part of the documented API, but could be accessed via the Prodigy
source available to users, which might have potentially caused problems.

|         |                                                               |
| ------- | ------------------------------------------------------------- |
| **fix** | Restore database methods `get_db`, `set_db` and `disconnect`. |

## v1.11.10 (2023-01-31)

This release updates Prodigy to use superior versions of
[spaCy](https://spacy.io/usage/v3-5) (up to 3.5),
[pydantic](https://docs.pydantic.dev/) (up to 1.10.4) and
[FastAPI](https://fastapi.tiangolo.com/) (up to 0.89.1) dependencies.

|         |                                                             |
| ------- | ----------------------------------------------------------- |
| **fix** | Update dependency versions for spaCy, pydantic and FastAPI. |

## v1.11.9 (2023-01-23)

This update fixes an issue with duplicate examples in multi-user annotation
flows and includes several smaller bug fixes in recipes.

|         |                                                                                                                                                                 |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add logging from the frontend to the backend if the frontend ever receives a batch with duplicate tasks.                                                        |
| **fix** | Prevent duplicate examples from being shown to annotators, specifically in higher latency, production scenarios.                                                |
| **fix** | Fix the [`audio.transcribe`](https://prodi.gy/docs/recipes#audio-transcribe) recipe by putting the custom UI attributes on each task, instead of in the config. |
| **fix** | Fix an issue where some unsaved examples could be lost during a browser refresh.                                                                                |
| **fix** | Fix the `--wrap` functionality in [`relations`](https://prodi.gy/docs/api-interfaces#relations) interface.                                                      |
| **fix** | Fix multiple copies of session IDs being rendered in [`review`](https://prodi.gy/docs/recipes#review) recipe.                                                   |

## v1.11.8 (2022-07-20)

This update includes various bug fixes and usability improvements and extends
support to the latest spaCy versions.

|         |                                                                                                                                                                                                                                                    |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Extend spaCy support to the latest [v3.4](https://spacy.io/usage/v3-4).                                                                                                                                                                            |
| **new** | Add [`--use_annotations`](https://prodi.gy/docs/span-categorization#suggesters-annotation) argument to [`Span Categorization`](https://prodi.gy/docs/span-categorization) recipes for `suggesters` that require annotations from other components. |
| **new** | [`/health` and `/healthz` API endpoints](https://prodi.gy/docs/api-web-app#rest-api-health) for health checks.                                                                                                                                     |
| **new** | Support tokens with `"disabled": true` in input data for [`rel.manual`](https://prodi.gy/docs/recipes#rel-manual).                                                                                                                                 |
| **new** | [`Controller.from_components`](https://prodi.gy/docs/api-components#controller-from-components) classmethod.                                                                                                                                       |
| **new** | Add validation to ensure [`choice`](https://prodi.gy/docs/api-interfaces#choice) options are unique.                                                                                                                                               |
| **fix** | Allow highlighting newlines in [`sent.correct`](https://prodi.gy/docs/recipes#sent-correct).                                                                                                                                                       |
| **fix** | Prevent binary conflicting spans from being added to both positive and negative examples in [`train`](https://prodi.gy/docs/recipes#train).                                                                                                        |
| **fix** | Fix `--auto-accept` for binary rejection agreements in [`review`](https://prodi.gy/docs/recipes#review).                                                                                                                                           |
| **fix** | Automatically prevent duplicates from appearing in training and evaluation set in [`train`](https://prodi.gy/docs/recipes#train) and [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy).                                               |
| **fix** | Improve default config generation for base models with vectors and ensure vectors are used.                                                                                                                                                        |
| **fix** | Improve warnings for invalid setting combinations in `PatternMatcher`.                                                                                                                                                                             |

## v1.11.7 (2022-01-05)

This update includes fixes to better support
[spaCy v3.2](https://spacy.io/usage/v3-2/) and improves sentence segmentation
correction, data export for binary NER annotations, and stream handling for
multi-user sessions.

|         |                                                                                                                                                                                                                   |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Update spaCy version range to allow installing [spaCy v3.2](https://spacy.io/usage/v3-2/) with Prodigy by default.                                                                                                |
| **fix** | Fix vector handling for spaCy v3.2 compatibility.                                                                                                                                                                 |
| **fix** | Improve caching to prevent duplication in named multi-user sessions.                                                                                                                                              |
| **fix** | Enable newline and whitespace highlighting by default in [`sent.correct`](https://prodi.gy/docs/recipes#sent-correct).                                                                                            |
| **fix** | Ensure binary rejected entity spans are ignored in [`train`](https://prodi.gy/docs/recipes#train) and [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy) if they're also in the accepted annotations. |
| **doc** | Fix typos and inconsistencies.                                                                                                                                                                                    |

## v1.11.6 (2021-11-17)

This update includes wheels for Python 3.10, as well as small fixes to recipes
and config generation.

|         |                                                                                                                                                                        |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Pre-built wheels for Python 3.10.                                                                                                                                      |
| **fix** | Always use best score in [`train-curve`](https://prodi.gy/docs/recipes#train-curve) and [`train`](https://prodi.gy/docs/recipes#train) with `--label-stats`, not last. |
| **fix** | Ensure hashes are set correctly in [`audio.transcribe`](https://prodi.gy/docs/recipes#audio-transcribe).                                                               |
| **fix** | Fix issue that could cause progress `0` to not be reported correctly in custom functions.                                                                              |
| **fix** | Correctly preserve `tok2vec` and `transformer` in [`train`](https://prodi.gy/docs/recipes#train) with base config.                                                     |
| **fix** | Don't auto-add examples already in dataset in [`review`](https://prodi.gy/docs/recipes#review) with `--auto-accept`.                                                   |
| **fix** | Use relative paths for fonts to support custom path prefixes.                                                                                                          |

## v1.11.5 (2021-10-14)

This update includes small fixes to the feed logic for multi-user sessions and
custom progress handling.

|         |                                                                                                           |
| ------- | --------------------------------------------------------------------------------------------------------- |
| **fix** | Simplify feed history tracking for multi-user sessions to prevent duplication.                            |
| **fix** | Correctly handle progress `0.0` returned by custom progress functions.                                    |
| **fix** | Fix display of input content in [`compare`](https://prodi.gy/docs/recipes#compare) recipe.                |
| **fix** | Include `.prodigy-spans` CSS class in [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) UI. |

## v1.11.4 (2021-09-13)

|         |                                                                                     |
| ------- | ----------------------------------------------------------------------------------- |
| **fix** | Fix issue that could cause stream to repeat batches of questions in some scenarios. |

## v1.11.3 (2021-09-08)

This release includes various small fixes to stream handling, data loading and
config generation.

|         |                                                                                                                                                     |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Exclude previously accepted labels during binary annotation with `--exclusive` in [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual). |
| **fix** | Fixing feed overlap bug that could cause session history to not be tracked correctly after reset.                                                   |
| **fix** | Ensure recipe's `update` callback is executed when annotating without a dataset.                                                                    |
| **fix** | Fix handling of `meta` column in CSV loader and add its value to a dict.                                                                            |
| **fix** | Handle non-dictionary `"meta"` values correctly in `PatternMatcher`.                                                                                |
| **fix** | Correctly set both `_session_id` and `_annotator_id` in controller.                                                                                 |
| **fix** | Don't remove frozen scores used by non-frozen components during config generation in [`train`](https://prodi.gy/docs/recipes#train).                |
| **fix** | Ensure that pre-defined spans receive a `"score"` in [`ner.teach`](https://prodi.gy/docs/recipes#ner-teach).                                        |

## v1.11.2 (2021-08-20)

This update includes small fixes to the train curve plots and recipes that don't
save data.

|         |                                                                                                                                                                               |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fyi** | Add warning when using deprecated `--ner-missing` in [`train`](https://prodi.gy/docs/recipes#train) and [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy).       |
| **fix** | Add workaround for using v2.x and v3.x of [`plotext`](https://github.com/piccolomo/plotext) in [`train-curve`](https://prodi.gy/docs/recipes#train-curve) with `--show-plot`. |
| **fix** | Fix handling of `False` as dataset value returned by recipe.                                                                                                                  |
| **fix** | Fix handling of `"meta"` dict in [`choice`](https://prodi.gy/docs/api-interfaces#choice) options.                                                                             |
| **fix** | Fix links in PyPi server [`/index` endpoint](https://prodi.gy/docs/install#pip-requirements).                                                                                 |

## v1.11.1 (2021-08-17)

This update includes a new workflow for correcting a trained span categorizer,
as well as various small fixes to the config generation, stream setup and UI.

|         |                                                                                                                                                                 |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | [`spans.correct`](https://prodi.gy/docs/recipes#spans-correct) workflow for correcting a trained [span categorizer](https://prodi.gy/docs/span-categorization). |
| **new** | Support [`/index` endpoint](https://prodi.gy/docs/install#pip-requirements) in PyPi download server for package index to use in `requirements.txt`.             |
| **fix** | Fix config generation in [`train`](https://prodi.gy/docs/recipes#train) if no logger is present in the config.                                                  |
| **fix** | Prevent error in stream counting for slower streams and don't pre-count if `--update` is set.                                                                   |
| **fix** | Fix issue that'd cause CSV reader to fail for `None` column headers.                                                                                            |
| **fix** | Ensure hashes are always added before task validation.                                                                                                          |
| **fix** | Prevent labels from wrapping in [`spans_manual`](https://prodi.gy/docs/api-interfaces#spans_manual).                                                            |

## v1.11.0 (2021-08-12)

This release updates Prodigy to use the new
[spaCy v3](https://spacy.io/usage/v3), which brings you lots of new exciting
features like end-to-end support for transformer-based pipelines, a training
config system for reproducible results, as well as new trainable components for
sentence segmentation and span categorization that you can create annotations
for with Prodigy. Thanks to the 300+ (!) nightly users who helped us test this
new release!

Prodigy v1.11 includes a bunch of new features, including a new installation
process via pip and new wheels for Python 3.9 and ARM architectures, a new
recipe and UI for annotating **overlapping and nested spans**, new recipes for
improving a **sentence recognizer** model, new training and data export recipes
that seamlessly integrate with spaCy's config system and let you train multiple
components with different evaluation sets, support for updating the model in the
loop in `ner.correct` and a new `textcat.correct` to go along with it, improved
handling of binary annotations in `ner.teach` for better results, as well as new
customization options and settings.

> **Warning: Important note**
>
> This release requires the latest [spaCy v3.1](https://spacy.io/usage/v3-1). If
> you've trained your own pipelines with spaCy v2.x, you will need to re-train
> them to use them with this version of spaCy and Prodigy.
>
> Note that the [`train`](https://prodi.gy/docs/recipes#train), [`train-curve`](https://prodi.gy/docs/recipes#train-curve) and [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy) commands
> have changed significantly to support training multiple components at the same
> time, so make sure to check the documentation for these commands for the new
> usage and available arguments.

|         |                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Support for [spaCy v3](https://spacy.io/usage/v3), including transformer-based pipelines, training configs, new trainable components and more.                                                                                                                                                                                                                                                     |
| **new** | Improved [wheel installation](https://prodi.gy/docs/install#pip): download the best-matching wheel via `pip` using your license key!                                                                                                                                                                                                                                                               |
| **new** | Pre-built wheels for Python 3.9 and ARM architectures.                                                                                                                                                                                                                                                                                                                                             |
| **new** | New [`train`](https://prodi.gy/docs/recipes#train) command that supports training multiple components from different datasets and evaluation datasets (using the `eval:` prefix) and mixing manual and binary datasets.                                                                                                                                                                            |
| **new** | New [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy) command that generates all data you need: training and evaluation corpora in spaCy's binary format, initialized label sets for faster training and optional config file.                                                                                                                                                        |
| **new** | New [`train-curve`](https://prodi.gy/docs/recipes#train-curve) command with support for multiple components and visual plots.                                                                                                                                                                                                                                                                      |
| **new** | [`spans.manual`](https://prodi.gy/docs/recipes#spans-manual) workflow and [`spans_manual`](https://prodi.gy/docs/api-interfaces#spans_manual) UI for annotating any number of potentially overlapping and nested spans. Also see the [span categorization](https://prodi.gy/docs/span-categorization) docs for details.                                                                            |
| **new** | Support for training spaCy's new [`SpanCategorizer`](https://spacy.io/api/spancategorizer) in [`train`](https://prodi.gy/docs/recipes#train) and [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy), based on annotations collected with [`spans.manual`](https://prodi.gy/docs/recipes#spans-manual).                                                                                 |
| **new** | Update the model in the loop in [`ner.correct`](https://prodi.gy/docs/recipes#ner-correct) using the `--update` flag.                                                                                                                                                                                                                                                                              |
| **new** | [`textcat.correct`](https://prodi.gy/docs/recipes#textcat-correct) recipe for correcting and updating an existing text classifier.                                                                                                                                                                                                                                                                 |
| **new** | [`sent.teach`](https://prodi.gy/docs/recipes#sent-teach) and [`sent.correct`](https://prodi.gy/docs/recipes#sent-correct) recipes for improving a [sentence recognizer](https://spacy.io/api/sentencerecognizer) model.                                                                                                                                                                            |
| **new** | Improved [`ner.teach`](https://prodi.gy/docs/recipes#ner-teach) workflow for more accurate results with spaCy v3. In addition to binary questions about entity suggestions, you're now also asked questions about texts with no entities at all. If an example includes no highlighted suggestions, you can hit accept to confirm that it contains no entities, or reject if it contains entities. |
| **new** | [`progress`](https://prodi.gy/docs/recipes#progress) command to calculate annotation progress over time.                                                                                                                                                                                                                                                                                           |
| **new** | The `-F` argument to provide a file path for custom recipe scripts now supports multiple, comma-separated paths and can also be used to load custom [registered functions](https://spacy.io/usage/training#custom-functions) for spaCy configs. It works across all recipes, including the built-in workflows.                                                                                     |
| **new** | Add `--auto-accept` flag to [`review`](https://prodi.gy/docs/recipes#review) recipe to automatically accept annotations with no conflicts and add them to the database.                                                                                                                                                                                                                            |
| **new** | Support `"history_text"` property in task for customizing preview shown in sidebar history.                                                                                                                                                                                                                                                                                                        |
| **new** | Allow optional `"meta"` and `"score"` in [`choice`](https://prodi.gy/docs/api-interfaces#choice) options, which will be displayed with the option.                                                                                                                                                                                                                                                 |
| **new** | Include the UNIX timestamp of when an annotation was answered in the UI as `"_timestamp"`.                                                                                                                                                                                                                                                                                                         |
| **new** | Support counting finite and potentially filtered generator streams for better progress estimation via `"auto_count_stream": true`. Note that this setting should only be used for streams that are **not** dynamic and depend on outside state (e.g. an updated model in the loop).                                                                                                                |
| **new** | Add `total_examples_target` for the total number of examples that should be annotated to reach a progress of 100%. Useful for infinite streams or if completion doesn't map to stream size.                                                                                                                                                                                                        |
| **new** | `PRODIGY_CONFIG` and `PRODIGY_CONFIG_OVERRIDES` [environment variables](https://prodi.gy/docs/install#config-overrides) to provide custom path to global config JSON and override individual config settings on the CLI.                                                                                                                                                                           |
| **new** | Dark mode [theme](https://prodi.gy/docs/api-web-app#themes)! Enable it by setting `"theme": "dark"` in your `prodigy.json`.                                                                                                                                                                                                                                                                        |
| **new** | Support overriding [color palettes](https://prodi.gy/docs/api-web-app#theme-color-palettes) used for labels via `"palettes"` in `"custom_theme"`.                                                                                                                                                                                                                                                  |
| **new** | Support `"style"` property on individual `"tokens"` in [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) and [`spans_manual`](https://prodi.gy/docs/api-interfaces#spans_manual).                                                                                                                                                                                                    |
| **new** | Add more human-readable [CSS class names](https://prodi.gy/docs/custom-interfaces#css) and data attributes.                                                                                                                                                                                                                                                                                        |
| **fyi** | The [`train`](https://prodi.gy/docs/recipes#train) command now handles binary annotations out-of-the-box, so you won't have to explicitly set `--binary` or `--ner-missing` anymore. Future annotations created with binary workflows like [`ner.teach`](https://prodi.gy/docs/recipes#ner-teach) will now also set `"_is_binary": true` explicitly in the data.                                   |
| **fyi** | Per-label stats in the output of [`train`](https://prodi.gy/docs/recipes#train) can now be toggled via the `--label-stats` flag.                                                                                                                                                                                                                                                                   |
| **fyi** | The `--textcat-exclusive` argument is not needed anymore in [`train`](https://prodi.gy/docs/recipes#train) and related workflows and has been removed. Instead, you can explicitly provide datasets via `--textcat` (exclusive categories) and `--textcat-multilabel` (non-exclusive categories).                                                                                                  |
| **fyi** | The `--init-tok2vec` argument has been removed from [`textcat.teach`](https://prodi.gy/docs/recipes#textcat-teach). You can now pretrained embeddings directly via the spaCy pipeline you load in.                                                                                                                                                                                                 |
| **fyi** | Examples are now accepted automatically in [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) if when you select an option with mutually exclusive categories. You can override this by setting `"choice_auto_accept": false`..                                                                                                                                                      |
| **fyi** | The `force_stream_order` config setting is now deprecated and the default behavior of the feeds. Batches are now always sent and re-sent in the same order wherever possible.                                                                                                                                                                                                                      |
| **fyi** | Long [deprecated old recipes](https://prodi.gy/docs/recipes#deprecated) and functions have been removed.                                                                                                                                                                                                                                                                                           |
| **fix** | Fix various issues and inconsistencies around stream handling and feed overlap when using named [multi-user sessions](https://prodi.gy/docs/api-web-app#multi-user-sessions) with a single instance of Prodigy.                                                                                                                                                                                    |
| **fix** | Fix span selection in [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI via tap on mobile devices.                                                                                                                                                                                                                                                                                  |
| **fix** | Correctly handle vectors for languages without uppercase/lowercase distinction in [`terms.teach`](https://prodi.gy/docs/recipes#terms-teach).                                                                                                                                                                                                                                                      |
| **fix** | Fix issue that could cause next batch to be blocked when using `"instant_submit": true`.                                                                                                                                                                                                                                                                                                           |
| **fix** | Fix issue in CSV loader that would handle title-cased `Label` columns incorrectly.                                                                                                                                                                                                                                                                                                                 |
| **fix** | Fix base64 conversion to be forwards-compatible.                                                                                                                                                                                                                                                                                                                                                   |
| **fix** | Ensure that `html_template` overrides are correctly interpreted in [`blocks`](https://prodi.gy/docs/api-interfaces#blocks) UI.                                                                                                                                                                                                                                                                     |
| **fix** | Deep-merge all config settings provided via global and local `prodigy.json`, recipe config and overrides to support changing only individual nested properties.                                                                                                                                                                                                                                    |
| **fix** | Fix issue that could cause config keyword arguments to not be set correctly in [`prodigy.serve`](https://prodi.gy/docs/api-components#serve).                                                                                                                                                                                                                                                      |
| **doc** | Add span categorization [usage docs](https://prodi.gy/docs/span-categorization) and [feature page](https://prodi.gy/features/span-categorization).                                                                                                                                                                                                                                                 |
| **doc** | Update [installation docs](https://prodi.gy/docs/install) and add instructions for PyPi.                                                                                                                                                                                                                                                                                                           |
| **doc** | Update various documentation references for spaCy v3 and recipe API changes.                                                                                                                                                                                                                                                                                                                       |

## v1.10.8 (2021-04-08)

This release includes various small fixes to the annotation interfaces, UI
customizability and progress reporting.

|         |                                                                                                                                                                                     |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Fire `prodigyend` event if no more tasks are available.                                                                                                                             |
| **new** | Add `batch_size` argument to `PatternMatcher.__call__`.                                                                                                                             |
| **new** | Add human-readable `.prodigy-spans` class for containers in [`ner`](https://prodi.gy/docs/api-interfaces#ner), [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) etc. |
| **fix** | Correctly recognize [`relations`](https://prodi.gy/docs/api-interfaces#relations) as manual UI in [`review`](https://prodi.gy/docs/recipes#review).                                 |
| **fix** | Fix issue with disabled pipes during `--binary` training.                                                                                                                           |
| **fix** | Handle trailing newlines and wrapping correctly in [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI.                                                                |
| **fix** | Fix handling of label position for long labels in [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI.                                                                 |
| **fix** | Ensure total and session annotation counts are reflected correctly in controller passed to custom `progress` callback with `update` callback.                                       |
| **fix** | Improve error handling when using `prodigy.serve` with non-servable functions.                                                                                                      |

## v1.10.7 (2021-02-27)

|         |                                                  |
| ------- | ------------------------------------------------ |
| **fix** | Ensure Prodigy works with the latest `pydantic`. |

## v1.10.6 (2021-02-14)

This release includes a few small fixes, including an update to prevent
Prodigy's dependencies from pulling in a package incompatible with Python 3.6.

|         |                                                                                                                                                       |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add newlines for newline tokens in [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI (if wrapping is enabled).                         |
| **new** | Support path-based routing and path-strip proxies by using relative paths in the web app.                                                             |
| **fix** | Prevent dependencies from pulling in newer `uvloop` version that's incompatible with Python 3.6.                                                      |
| **fix** | Fix issue that could cause config overrides to not be reflected correctly when calling [`prodigy.serve`](https://prodi.gy/docs/api-components#serve). |
| **fix** | Fix bug in [`dep.correct`](https://prodi.gy/docs/recipes#dep-correct) that could cause the heads to not be sent to spaCy correctly.                   |
| **fix** | Prevent closed socket from killing the server by removing custom signal handlers.                                                                     |
| **fix** | Use better pattern ID delimiter in pattern matcher to prevent conflicts with user-defined labels.                                                     |

## v1.10.5 (2020-11-11)

This release includes updates to the relations and review workflows, fixes for
feed overlap and multi-user session handling, new UI customization options and a
Portuguese UI translation, as well as various other small fixes and
improvements.

> **Warning: Important note**
>
> This release introduces one small breaking change: the `feed_overlap` setting
> now defaults to `false` instead of `true`. If you're working with multi-user
> sessions and you want each example to be only sent out once per session, make
> sure you're explicitly setting `"feed_overlap": true` in your `prodigy.json`.

|         |                                                                                                                                                                                                                                                                                                                         |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Support custom span label colors in [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI.                                                                                                                                                                                                                   |
| **new** | Support `label_style` setting config instead of just `ner_manual_label_style` to indicate that it applies to [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual), [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) and [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI. |
| **new** | Add `--show-skipped` option to [`review`](https://prodi.gy/docs/recipes#review) interface to include answers that would otherwise be skipped, like ignored answers or rejected examples in manual interfaces.                                                                                                           |
| **new** | Allow clicking on a version in [`review`](https://prodi.gy/docs/api-interfaces#review) interface to update final annotation.                                                                                                                                                                                            |
| **new** | Add `swipe_gestures` [config](https://prodi.gy/docs/install#config) setting to customize left/right mapping.                                                                                                                                                                                                            |
| **new** | Fire `prodigyspanselected` event in [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) and [`relations`](https://prodi.gy/docs/api-interfaces#relations).                                                                                                                                              |
| **new** | Add [UI translation](https://prodi.gy/docs/api-web-app#ui-language) for Portuguese. Thanks to [Cristiana S Parada](https://github.com/Cristianasp) for the contribution!                                                                                                                                                |
| **fyi** | The `feed_overlap` config setting now defaults to `false` and Prodigy will show a warning if an overlapping feed is used without named sessions.                                                                                                                                                                        |
| **fix** | Use symbols for whitespace characters in [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI.                                                                                                                                                                                                              |
| **fix** | Fix issue that could cause head or child span of first token to not be represented correctly in [`relations`](https://prodi.gy/docs/api-interfaces#relations) interface.                                                                                                                                                |
| **fix** | Fix issue that could cause span label changes to not be reflected correctly in `"relations"` meta generated by [`relations`](https://prodi.gy/docs/api-interfaces#relations) UI and make sure `"spans"` are always sorted by default.                                                                                   |
| **fix** | Set default batch size in calls to [`nlp.pipe`](https://spacy.io/api/language#pipe) in recipes.                                                                                                                                                                                                                         |
| **fix** | Ensure that custom database is correctly passed to `RepeatingFeed`.                                                                                                                                                                                                                                                     |
| **fix** | Fix issue that could cause excluded datasets to not be represented correctly in named sessions.                                                                                                                                                                                                                         |
| **fix** | Always sort files alphabetically in [loaders](https://prodi.gy/docs/api-loaders) that read from directories.                                                                                                                                                                                                            |
| **fix** | Make [`train`](https://prodi.gy/docs/recipes#train) fail more gracefully if no data is available.                                                                                                                                                                                                                       |
| **fix** | Fix issue that could cause `honor_token_whitespace` to not be reflected correctly.                                                                                                                                                                                                                                      |
| **fix** | Don't explicitly set delimiter in CSV loader and let Python guess.                                                                                                                                                                                                                                                      |
| **fix** | Correctly interpret image spans without `"points"` in [`image`](https://prodi.gy/docs/api-interfaces#image) UI.                                                                                                                                                                                                         |

## v1.10.4 (2020-09-08)

This update includes small fixes to the stream state management and hashing and
improves handling of pre-defined tokens and spans in recipes and interfaces. It
also introduces new customization options for the manual image and audio UIs.

|         |                                                                                                                                                                                                                                                                                         |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Support customizing the JSON key used to store image spans in [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual). Can be used to combine the interface with other interfaces that use `"spans"`, e.g. [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual). |
| **new** | Expose `WaveSurfer` instance in [`audio_manual`](https://prodi.gy/docs/api-interfaces#audio_manual) to allow implementing [custom controls](https://prodi.gy/docs/api-interfaces#audio_manual-advanced).                                                                                |
| **fix** | Support pre-defined `"tokens"` in [`rel.manual`](https://prodi.gy/docs/recipes#rel-manual).                                                                                                                                                                                             |
| **fix** | Ensure that custom values in pre-defined, non-edited `"spans"` are preserved in [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual).                                                                                                                                        |
| **fix** | Fix issue that could cause `--exclude` datasets to not be considered with non-overlapping feeds.                                                                                                                                                                                        |
| **fix** | Add filter to prevent state conflicts of incoming answers in high-latency or low-CPU situations.                                                                                                                                                                                        |
| **fix** | Fix incorrect span offset issue in [`print-dataset`](https://prodi.gy/docs/recipes#print-dataset) and [`print-stream`](https://prodi.gy/docs/recipes#print-stream).                                                                                                                     |
| **fix** | Make label detection in NER annotation model consistent with spaCy if label contains hyphen.                                                                                                                                                                                            |
| **fix** | Fix hasing consistency in [`review`](https://prodi.gy/docs/recipes#review) and ensure existing binary answer doesn't impact hash.                                                                                                                                                       |

## v1.10.3 (2020-08-03)

This update fixes a problem with the exclude logic by input hashes and adds
support for custom tokenization in the manual relation annotation workflow.

|         |                                                                                            |
| ------- | ------------------------------------------------------------------------------------------ |
| **new** | Allow pre-defined `"tokens"` in [`rel.manual`](https://prodi.gy/docs/recipes#rel-manual).  |
| **fix** | Fix issue that could cause `exclude_by": "input"` to re-send tasks with overlapping feeds. |

## v1.10.2 (2020-07-21)

This update includes small fixes to the exclude logic in repeating streams,
improvements to dependency parsing annotation and training, and updates to the
ASGI server. Check out the [release notes for v1.10](https://prodi.gy/docs/changelog#v1.10.0) for all the new
features introduced in the latest update!

|         |                                                                                                                                                                                       |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue that'd cause repeating feed to not honor `exclude_by`.                                                                                                                      |
| **fix** | Fix problem in [`dep.correct`](https://prodi.gy/docs/recipes#dep-correct) sentence segmentation that could lead Prodigy to incorrectly report misaligned tokenization.                |
| **fix** | Correctly print dependency parser training results in [`train`](https://prodi.gy/docs/recipes#train).                                                                                 |
| **fix** | Update to support latest version of [`uvicorn`](https://github.com/encode/uvicorn).                                                                                                   |
| **fix** | Allow changing expected max length for MySQL via `PRODIGY_MYSQL_MAX_LEN` environment variable to prevent Prodigy from raising an error if the field type was changed to `mediumblob`. |

## v1.10.1 (2020-07-02)

This update includes small fixes for problems introduced in v1.10.0, as well as
improvements to the spaCy v2.3 integration, more customization for audio and
video transcription, and a new UI translation for French. Check out the
[release notes for v1.10](https://prodi.gy/docs/changelog#v1.10.0) for all the new features introduced in the
latest update!

|         |                                                                                                                                                                              |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Support customizing field ID used to store transcript in [`audio.transcribe`](https://prodi.gy/docs/recipes#audio-transcribe).                                               |
| **new** | Add [UI translation](https://prodi.gy/docs/api-web-app#ui-language) for French. Thanks to [Thierno Ibrahima DIOP](https://twitter.com/bayethiernodiop) for the contribution! |
| **fix** | Fix sentence segmentation issue that could cause [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) UI to crash.                                                |
| **fix** | Make [`terms.teach`](https://prodi.gy/docs/recipes#terms-teach) compatible with [spaCy v2.3](https://spacy.io/usage/v2-3) by pre-populating the lexeme cache.                |
| **fix** | Only show pattern matches for provided labels in [`ner.teach`](https://prodi.gy/docs/recipes#ner-teach).                                                                     |
| **fix** | Fix issue in [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) on touch devices that would prevent selecting first token.                                      |
| **fix** | Ensure overriding `"text": None` in [`blocks`](https://prodi.gy/docs/recipes#blocks) doesn't cause errors in certain interfaces.                                             |

## v1.10.0 (2020-06-17)

Our biggest release yet includes a bunch of new features, interfaces and recipes
for [dependency and relation](https://prodi.gy/docs/dependencies-relations) annotation,
[audio and video](https://prodi.gy/docs/audio-video) annotation, as well as a new and improved
[manual image annotation](https://prodi.gy/docs/computer-vision) interface with support for
editing shapes and bounding boxes. We've also added new
[recipe callbacks](https://prodi.gy/docs/custom-recipes#callbacks) for modifying examples placed
in the database and validating answers at runtime, added more settings for
whitespace-handling in manual NER annotation, including a mode for
[character-based highlighting](https://prodi.gy/docs/named-entity-recognition#highlight-chars),
and introduced various new config settings to customize the web app and
annotation interfaces. Thanks to everyone who's helped us beta test the new
features – your feedback has helped a lot! See the changelog below for a full
list of new features.

[Video: https://www.youtube.com/watch?v=KCrIa538u4I](https://www.youtube.com/watch?v=KCrIa538u4I)

> **Warning: Important notes**
>
> This release includes a few breaking changes, mostly small improvements to
> inconsistent APIs, replacement of already deprecated behavior, or bug fixes that
> now lead to different – but more correct – results. It also updates to
> [spaCy v2.3](https://github.com/explosion/spaCy/releases/tag/v2.3.0), which
> means you'll have to download **new models** and retrain your existing models.
>
> The `source` argument of built-in recipes does **not** default to reading from
> standard input anymore. If you want to
> [load from standard input](https://prodi.gy/docs/api-loaders#loaders-stdin), e.g. to pipe data
> forward, set it to `-` explicitly. The deprecated `--api` arguments on the
> built-in recipes have been removed and merged with `--loader`. The
> [`progress` function](https://prodi.gy/docs/custom-recipes#components) returned by custom
> recipes now follows a consistent API and will always receive the
> [controller](https://prodi.gy/docs/api-components#controller) and the return value of the
> `update` callback (if available) as arguments.

|         |                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Flexible [`relations`](https://prodi.gy/docs/api-interfaces#relations) interface for fully manual dependency and relationship annotation and joint span and dependency relation annotation.                                                                                                                                                                                                                          |
| **new** | New recipes [`rel.manual`](https://prodi.gy/docs/recipes#rel-manual), [`coref.manual`](https://prodi.gy/docs/recipes#coref-manual) and [`dep.correct`](https://prodi.gy/docs/recipes#dep-correct) for efficient manual and model-assisted dependency annotation.                                                                                                                                                     |
| **new** | [`audio`](https://prodi.gy/docs/api-interfaces#audio) and [`audio_manual`](https://prodi.gy/docs/api-interfaces#audio_manual) interfaces binary and fully manual audio and video annotation. Add and modify segments for different labels and collect feedback about pre-highlighted regions.                                                                                                                        |
| **new** | [`audio.manual`](https://prodi.gy/docs/recipes#audio-manual) and [`audio.transcribe`](https://prodi.gy/docs/recipes#audio-transcribe) recipes for audio and video annotation and transcription, as well as [community recipes](https://prodi.gy/docs/audio-video#model) for using Prodigy with pretrained [`pyannote.audio`](https://github.com/pyannote/pyannote-audio) models for speaker diarization in the loop. |
| **new** | New and improved [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) interface with support for moving and resizing shapes, adjusting polygons, freehand annotation, more detailed data format and more settings.                                                                                                                                                                                    |
| **new** | Support `dataset:{name}` and `dataset:{name}:{answer}` syntax as `source` argument in recipes to allow [loading from existing datasets](https://prodi.gy/docs/api-loaders#datasets). For example, `dataset:my_set` will use examples dataset `my_set` as the input data and `dataset:my_set:accept` will only load in accepted answers.                                                                              |
| **new** | Add [`validate_answer`](https://prodi.gy/docs/custom-recipes#validate_answer) recipe component to perform custom validation of annotations created in the UI and prevent invalid answers from being submitted.                                                                                                                                                                                                       |
| **new** | Allow recipes to return a [`before_db` callback](https://prodi.gy/docs/custom-recipes#before_db) for modifying examples before they're placed in the database, e.g. to strip out base64 data.                                                                                                                                                                                                                        |
| **new** | Update Prodigy for the latest [spaCy v2.3](https://github.com/explosion/spaCy/releases/tag/v2.3.0) and [new models](https://spacy.io/models).                                                                                                                                                                                                                                                                        |
| **new** | Support multi-arc dependency annotations (e.g. created with [`dep.correct`](https://prodi.gy/docs/recipes#dep-correct)) in [`train`](https://prodi.gy/docs/recipes#train).                                                                                                                                                                                                                                           |
| **new** | Set information about trailing whitespace in [`add_tokens`](https://prodi.gy/docs/api-components#add_tokens) and reflect whitespace (or lack of whitespace) between tokens in [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) (can be changed using the `"honor_token_whitespace"` setting).                                                                                                         |
| **new** | Add `--highlight-chars` flag to [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual) and `use_chars` argument to [`add_tokens`](https://prodi.gy/docs/api-components#add_tokens) to allow highlighting individual characters instead of full tokens.                                                                                                                                                             |
| **new** | Add `"field_suggestions"` property to [`text_input`](https://prodi.gy/docs/api-interfaces#text_input) UI to allow specifying a list of auto-suggestions to show when the user types or presses ↓.                                                                                                                                                                                                                    |
| **new** | Allow disabling and reordering of the accept, reject, ignore and undo buttons at the bottom of the screen via the `"buttons"` [config setting](https://prodi.gy/docs/install#config).                                                                                                                                                                                                                                |
| **new** | Add options `--width` (card with and maximum image width) and `--remove-base64` (remove base64-encoded image data) to [`image.manual`](https://prodi.gy/docs/recipes#image-manual).                                                                                                                                                                                                                                  |
| **new** | Add `file_ext` argument to `Images` and `ImageServer` [loaders](https://prodi.gy/docs/api-loaders#media-loaders), always preserve original local file path as `"path"` and add `Audio`, `AudioServer`, `Video` and `VideoServer` [loaders](https://prodi.gy/docs/api-loaders#media-loaders).                                                                                                                         |
| **new** | Expose generic [`Base64` and `Server` helpers](https://prodi.gy/docs/api-loaders#media-loaders) to load any data as a base64-string or via a web server and add generic [`fetch_media` preprocessor](https://prodi.gy/docs/api-components#fetch_media).                                                                                                                                                              |
| **new** | Add `--rehash` flag to [`db-merge`](https://prodi.gy/docs/recipes#db-merge) to force-overwrite hashes.                                                                                                                                                                                                                                                                                                               |
| **new** | Add `--base-model` argument to [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy) to customize tokenizer and sentencizer.                                                                                                                                                                                                                                                                                |
| **new** | Allow individual tasks to override global or UI [config](https://prodi.gy/docs/install#config) via a key `"config"`.                                                                                                                                                                                                                                                                                                 |
| **new** | Add [`"ui_lang"` config](https://prodi.gy/docs/api-web-app#ui-language) and translations of descriptions, messages and tooltips in the annotation UI to German, Spanish, Dutch and Chinese.                                                                                                                                                                                                                          |
| **new** | Make sidebar history length default to `batch_size` and allow customizing it via the `history_size` [config setting](https://prodi.gy/docs/install#config). Note that the history size can't be larger than the batch size.                                                                                                                                                                                          |
| **new** | Show recipe name in project info in sidebar and allow customizing info via `"project_info"` config.                                                                                                                                                                                                                                                                                                                  |
| **new** | Add [`Controller`](https://prodi.gy/docs/api-components#controller) methods and attributes for retrieving total counts and progress by session ID.                                                                                                                                                                                                                                                                   |
| **new** | Warn if global or local `prodigy.json` settings override potentially critical recipe components.                                                                                                                                                                                                                                                                                                                     |
| **new** | Support custom label colors manual interfaces and automatically pick contrasting text color.                                                                                                                                                                                                                                                                                                                         |
| **new** | Show keyboard shortcuts for toolbar buttons on hover.                                                                                                                                                                                                                                                                                                                                                                |
| **new** | Show friendlier error if `prodigy.json` contains invalid JSON.                                                                                                                                                                                                                                                                                                                                                       |
| **fix** | Make `progress` function returned by recipes consistent and always pass it the controller and the return value of the `update` callback, if available.                                                                                                                                                                                                                                                               |
| **fix** | Correctly report per-session progress for streams with a length and multi-user sessions and take `feed_overlap` into account.                                                                                                                                                                                                                                                                                        |
| **fix** | Improve support for using `"force_stream_order": True` (repeating feed) with `"feed_overlap": False` (no overlap between sessions).                                                                                                                                                                                                                                                                                  |
| **fix** | Make all manual recipes default to `"force_stream_order": True` for more intuitive stream behavior: batches of tasks are now always re-sent until they're answered and refreshing the page will show the same batch again.                                                                                                                                                                                           |
| **fix** | Fix issue that could cause the [`review`](https://prodi.gy/docs/api-interfaces#review) to not displayed changes when user hits undo.                                                                                                                                                                                                                                                                                 |
| **fix** | Preserve `"choice_style"` config setting on tasks so it can be re-applied when running [`review`](https://prodi.gy/docs/recipes#review).                                                                                                                                                                                                                                                                             |
| **fix** | Support simpler data format in [`diff`](https://prodi.gy/docs/api-interfaces#diff) interface to make it work combined with [`choice`](https://prodi.gy/docs/api-interfaces#choice) in a [`blocks`](https://prodi.gy/docs/api-interfaces#blocks) interface and prevent clash of `"accept"` property used by both UIs.                                                                                                 |
| **fix** | Adjust display of spans with RTL text when `"writing_mode": "rtl"` is enabled.                                                                                                                                                                                                                                                                                                                                       |
| **fyi** | The deprecated `--api` recipe argument has been removed and merged with `--loader`.                                                                                                                                                                                                                                                                                                                                  |
| **fyi** | [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) now doesn't perform additional checks for the pre-v1.9 syntax with an (unused) spaCy model argument anymore.                                                                                                                                                                                                                                        |
| **fyi** | Loading from [standard input](https://prodi.gy/docs/api-loaders#loaders-stdin) now requires the `source` argument to be set to `-` explicitly.                                                                                                                                                                                                                                                                       |
| **fyi** | The `"show_stats"` setting to display [detailed stats in the sidebar](https://prodi.gy/docs/api-web-app#statistics) is now set to `true` by default.                                                                                                                                                                                                                                                                 |
| **fyi** | The `"spans"` data created with [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) now also include a `"type"` (either `"rect"`, `"polygon"` or `"freehand"`), as well as `"width"`, `"height"`, `"x"`, `"y"` and `"center"` values for rects.                                                                                                                                                      |
| **fyi** | Forced stream order and repeating batches by default means that you should use [named sessions](https://prodi.gy/docs/api-web-app#multi-user-sessions) or set `"force_stream_order": False` if you want multiple users connecting to the same instance. Otherwise, you may get duplicate questions.                                                                                                                  |
| **doc** | Add [documentation](https://prodi.gy/docs/dependencies-relations) and [feature page](https://prodi.gy/features/dependencies-relations) for dependency relation annotation.                                                                                                                                                                                                                                           |
| **doc** | Add [documentation](https://prodi.gy/docs/audio-speech) and [feature page](https://prodi.gy/features/audio-speech) for audio and speech annotation.                                                                                                                                                                                                                                                                  |
| **doc** | Update feature pages for [named entity recognition](https://prodi.gy/features/named-entity-recognition) and [computer vision](https://prodi.gy/features/computer-vision).                                                                                                                                                                                                                                            |
| **doc** | Add docs section on [efficient NER annotation for fine-tuning transformers](https://prodi.gy/docs/named-entity-recognition#transformers-tokenizers) like BERT.                                                                                                                                                                                                                                                       |
| **doc** | Add docs section on [recipe callback functions](https://prodi.gy/docs/custom-recipes#callbacks) in detail.                                                                                                                                                                                                                                                                                                           |
| **doc** | Document [`b64_to_bytes`](https://prodi.gy/docs/api-components#b64_to_bytes), [`file_to_b64`](https://prodi.gy/docs/api-components#file_to_b64) and [`bytes_to_b64`](https://prodi.gy/docs/api-components#bytes_to_b64) utilities for converting base64.                                                                                                                                                             |
| **doc** | Tidy up [global config docs](https://prodi.gy/docs/install#config) and move settings specific to a single interface to [interface docs](https://prodi.gy/docs/api-interfaces).                                                                                                                                                                                                                                       |
| **doc** | Fix various typos and inconsistencies.                                                                                                                                                                                                                                                                                                                                                                               |

## v1.9.10 (2020-06-05)

This patch release includes small fixes to the `force_stream_order` setting to
prevent a race condition and duplicate examples. Stay tuned for v1.10, which is
coming soon and will include lots of cool new features!

|         |                                                                                                                                                      |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add [`Controller.all_session_ids`](https://prodi.gy/docs/api-components#controller), all named sessions that have connected to the current instance. |
| **fix** | Fix race condition that could cause `force_stream_order` to produce duplicate tasks.                                                                 |
| **fix** | Correctly exclude currently shown task when requesting new questions with `force_stream_order`.                                                      |

## v1.9.9 (2020-03-17)

This release includes an important fix for a training regression introduced in
the previous version, as well as small improvements.

|         |                                                                                                                                              |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue that'd cause rejected binary text classification annotations to be filtered out in [`train`](https://prodi.gy/docs/recipes#train). |
| **fix** | Improve handling of rejected and ignored examples across different annotation types in [`train`](https://prodi.gy/docs/recipes#train).       |
| **fix** | Relax unnecessarily strict validation for [`diff`](https://prodi.gy/docs/api-interfaces#diff) tasks.                                         |

## v1.9.8 (2020-03-14)

This release includes a new built-in recipe [`match`](https://prodi.gy/docs/recipes#match) for selecting examples
based on pattern matches, as well as various bug fixes and improvements.

|         |                                                                                                                                                                                                  |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **new** | General-purpose [`match`](https://prodi.gy/docs/recipes#match) recipe to only match patterns in text with various configurations.                                                                |
| **fix** | Use custom `--view-id` set in [`review`](https://prodi.gy/docs/recipes#review) to determine how to merge examples.                                                                               |
| **fix** | Improve default configuration in [`train`](https://prodi.gy/docs/recipes#train) for NER models with `--init-tok2vec`.                                                                            |
| **fix** | Fix filtering that could cause incorrect totals to be reported before training.                                                                                                                  |
| **fix** | Fix async handling of built-in and user-provided databases.                                                                                                                                      |
| **fix** | Fix hashing of patterns that'd cause incorrect line numbers to be displayed.                                                                                                                     |
| **fix** | Fix compiler setting that'd cause [`print-stream`](https://prodi.gy/docs/recipes#print-stream) and [`print-dataset`](https://prodi.gy/docs/recipes#print-dataset) to not output colored results. |
| **fix** | Check for correct view ID when printing text classification datasets with [`print-dataset`](https://prodi.gy/docs/recipes#print-dataset).                                                        |
| **fix** | Correctly pass `--eval-split` to [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy).                                                                                                 |
| **fix** | Show correct path to Prodigy installation root (not recipe root) in [`stats`](https://prodi.gy/docs/recipes#stats) command.                                                                      |
| **fix** | Fix issue that could cause span rendering problems in [`ner`](https://prodi.gy/docs/api-interfaces#ner) if text contains emoji.                                                                  |
| **fix** | Fix UI issue that'd cause card headings to overlay expanded sidebar on small screens.                                                                                                            |
| **doc** | Fix various typos and links.                                                                                                                                                                     |

## v1.9.7 (2020-02-21)

This release includes small fixes and improvements to the built-in recipes and
interfaces.

|         |                                                                                                                                                                                                       |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add `overwrite` flag to [`add_tokens`](https://prodi.gy/docs/api-components#add_tokens) preprocessor to overwrite existing `"tokens"`.                                                                |
| **new** | Allow [`review`](https://prodi.gy/docs/recipes#review) recipe to overwrite view ID (e.g. to render [`blocks`](https://prodi.gy/docs/api-interfaces#blocks) annotations differently).                  |
| **fix** | Accept pre-set tokens correctly in [`add_tokens`](https://prodi.gy/docs/api-components#add_tokens) to make it easier to provide custom tokenization.                                                  |
| **fix** | Improve backwards-compatibility checks of arguments in [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual).                                                                              |
| **fix** | Correctly report numbers of `textcat` examples in [`train`](https://prodi.gy/docs/recipes#train) and filter out ignored answers instead of just ignoring the examples during training and evaluation. |
| **fix** | Fix handling of integer option `"id"` values in [`print-dataset`](https://prodi.gy/docs/recipes#print-dataset).                                                                                       |
| **fix** | Fix issue that'd cause [`text_input`](https://prodi.gy/docs/api-interfaces#text_input) value to not reset and auto-focus correctly between tasks.                                                     |
| **fix** | Fix incorrect validation errors for [`dep`](https://prodi.gy/docs/api-interfaces#dep) UI and `"card_css"` setting.                                                                                    |
| **fix** | Set more explicit MIME types for JS bundle for server configs that prevent MIME type sniffing.                                                                                                        |
| **fix** | Adjust [`eighties` theme](https://prodi.gy/docs/api-web-app#themes) to prevent dark text on dark background in [`choice`](https://prodi.gy/docs/api-interfaces#choice) options.                       |

## v1.9.6 (2020-01-27)

This release includes small fixes related to async database usage in Python 3.7+
and text classification training with the new [`train`](https://prodi.gy/docs/recipes#train) recipe.

|         |                                                                                                                  |
| ------- | ---------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue with async database usage in Python 3.7+ that could cause MySQL connection errors.                     |
| **fix** | Ensure `--textcat-exclusive` setting is passed down correctly in [`train`](https://prodi.gy/docs/recipes#train). |

## v1.9.5 (2020-01-10)

This release includes small fixes related to multiprocessing and new features
introduced in v1.9.0.

|         |                                                                                                                                            |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **fix** | Make [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual) with `--patterns` correctly return all examples instead of only the matches. |
| **fix** | Fix error when loading evaluation examples in new [`train`](https://prodi.gy/docs/recipes#train) recipe with `--binary` enabled.           |
| **fix** | Fix issue in [`train`](https://prodi.gy/docs/recipes#train) with `--binary` when restoring pipeline component before saving the model.     |
| **fix** | Fix Foreign Key constraint error that could occur in `Database.drop_examples`.                                                             |
| **fix** | Add thread locking to database reconnect methods in controller.                                                                            |
| **fix** | Fix accuracy output for tagger and parser in [`train`](https://prodi.gy/docs/recipes#train).                                               |

## v1.9.4 (2019-12-28)

This release includes small fixes, a new option for changing keyboard shortcuts
for labels and multiple choice options, and a new loader for serving images.

|         |                                                                                                                                                  |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| **new** | Add [`"keymap_by_label"` config]() to change keyboard shortcuts for labels and choice options.                                                   |
| **new** | Add [`image-server` loader](https://prodi.gy/docs/api-loaders#input-images) for serving images from a directory (and bypassing base64 encoding). |
| **fix** | Fix too strict [validation](https://prodi.gy/docs/install#validation) for [`review`](https://prodi.gy/docs/api-interfaces#review) content.       |

## v1.9.3 (2019-12-23)

This release includes small fixes to the new interfaces introduced in v1.9.0.

|         |                                                                                                                                            |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **fix** | Fix too strict [validation](https://prodi.gy/docs/install#validation) for [`blocks`](https://prodi.gy/docs/api-interfaces#blocks) content. |
| **fix** | Prevent input field in [`text_input`](https://prodi.gy/docs/api-interfaces#text_input) from losing focus on update.                        |

## v1.9.2 (2019-12-20)

This release includes small fixes to bugs introduced in v1.9.0.

|         |                                                                                                                                                                                 |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix error in [`PatternMatcher`](https://prodi.gy/docs/api-components#patternmatcher) when assigning combined matches to tasks with no `"meta"`.                                 |
| **fix** | Fix too strict [validation](https://prodi.gy/docs/install#validation) for [`html`](https://prodi.gy/docs/api-interfaces#html) tasks with no `"html"` key but `"html_template"`. |

## v1.9.1 (2019-12-19)

This release includes small fixes to bugs introduced in v1.9.0.

|         |                                                                                                    |
| ------- | -------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue with loading recipes from [entry points](https://prodi.gy/docs/install#entry-points).    |
| **fix** | Fix too strict [validation](https://prodi.gy/docs/install#validation) for `"db"` recipe component. |

## v1.9.0 (2019-12-18)

This release introduces tons of new features and improvements, including new
recipes, interfaces and workflows. We also redesigned the website, rewrote the
documentation from scratch and added lots of new pages, usage guides, demos and
examples. We hope you like it! Some highlights in Prodigy v1.9 include new
unified [training recipes](https://prodi.gy/docs/recipes#training), two new
[annotation interfaces](https://prodi.gy/docs/api-interfaces) for free-form text input and
combining different UIs, config settings for making streams repeat questions
until they're answered, and changing keyboard shortcuts, official support for
[spaCy v2.2](https://spacy.io/usage/v2-2) and a
[new recipe](https://prodi.gy/docs/recipes#data-to-spacy) for converting Prodigy annotations of
different types to a single training corpus in spaCy's JSON format. See the
changelog below for a full list of new features.

> **Warning: Important notes**
>
> This version of Prodigy **drops support for Python 3.5** and introduces support
> for **Python 3.8**. It also updates to
> [spaCy v2.2](https://spacy.io/usage/v2-2), which means you'll have to download
> **new models** and retrain your existing models.
>
> This release also includes many (backwards-compatible) changes to Prodigy's
> internals. Those shouldn't affect you, but if you've been copy-pasting from the
> built-in recipes or your recipes are calling into undocumented internals, you
> might want to double-check your code and update it.
>
> The only backwards-incompatible change: [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) doesn't take a
> `spacy_model` argument now, which was never actually used and added by mistake.
> Also note that the `PRODIGY_README.html` has been deprecated and is now fully
> covered by the online docs.

|         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add new general-purpose [`train`](https://prodi.gy/docs/recipes#train) and [`train-curve`](https://prodi.gy/docs/recipes#train-curve) recipes to replace the task-specific training recipes and make overall training process more consistent.                                                                                                                                                                                                                                                                                   |
| **new** | Show accuracy per entity type, tag or text category in training results.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **new** | Add [`data-to-spacy`](https://prodi.gy/docs/recipes#data-to-spacy) recipe that takes Prodigy datasets for NER, text classification, tagging and parsing and outputs a merged corpus (optionally split into training and evaluation data) in spaCy's JSON format that you can use with `spacy train`.                                                                                                                                                                                                                             |
| **new** | Add `--patterns` argument to [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual) to pre-highlight suggestions from patterns. This workflow is going to replace the binary [`ner.match`](https://prodi.gy/docs/recipes#ner-match).                                                                                                                                                                                                                                                                                           |
| **new** | Add general-purpose [`print-stream`](https://prodi.gy/docs/recipes#print-stream) and [`print-dataset`](https://prodi.gy/docs/recipes#print-dataset) recipes that can output different data types. Those recipes are going to replace the more specific print utilities like [`ner.print-stream`](https://prodi.gy/docs/recipes#ner-print-stream).                                                                                                                                                                                |
| **new** | Add [`blocks`](https://prodi.gy/docs/api-interfaces#blocks) interface to freely [combine annotation interfaces](https://prodi.gy/docs/custom-interfaces).                                                                                                                                                                                                                                                                                                                                                                        |
| **new** | Add [`text_input`](https://prodi.gy/docs/api-interfaces#text_input) interface to collect free-form text input from annotators.                                                                                                                                                                                                                                                                                                                                                                                                   |
| **new** | New `"force_stream_order"` [config setting](https://prodi.gy/docs/install#config). If `True`, tasks will always be sent out in the same order and re-sent until they're answered – even if you refresh the app in your browser.                                                                                                                                                                                                                                                                                                  |
| **new** | Support [customizing keyboard shortcuts](https://prodi.gy/docs/api-web-app#actions-custom).                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **new** | Support tokenizing terms in [`terms.to-patterns`](https://prodi.gy/docs/recipes#terms-to-patterns) to create patterns for multi-token terms.                                                                                                                                                                                                                                                                                                                                                                                     |
| **new** | Add `"exclude_by"` config setting to allow recipes to specify whether to filter by input hash or task hash so that manual recipes don't repeat the same content with different suggestions.                                                                                                                                                                                                                                                                                                                                      |
| **new** | Support `blank:{lang}`, e.g. `blank:en` as an alternative spaCy model in [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual), [`textcat.teach`](https://prodi.gy/docs/recipes#textcat-teach) and [`train`](https://prodi.gy/docs/recipes#train) to start off with a blank model.                                                                                                                                                                                                                                            |
| **new** | Pass `--label` values added to [`mark`](https://prodi.gy/docs/recipes#mark) to the `"labels"` config so the recipe can be used with manual interfaces like [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual) and [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual).                                                                                                                                                                                                                              |
| **new** | Add `--no-fetch` flag to [`image.manual`](https://prodi.gy/docs/recipes#image-manual) to disable base64 conversion of images.                                                                                                                                                                                                                                                                                                                                                                                                    |
| **new** | Add `--fetch-media` flag to [`review`](https://prodi.gy/docs/recipes#review) recipe to temporarily replace paths with base64 data.                                                                                                                                                                                                                                                                                                                                                                                               |
| **new** | Also support `-` as the value of `source` arguments to read from standard input and make this the recommended best practice (instead of omitting the argument).                                                                                                                                                                                                                                                                                                                                                                  |
| **new** | Always auto-create datasets and deprecate [`dataset`](https://prodi.gy/docs/recipes#dataset) command.                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **new** | Make [`compare`](https://prodi.gy/docs/recipes#compare) and [`ner.eval-ab`](https://prodi.gy/docs/recipes#ner-eval-ab) recipes use the more flexible [`choice`](https://prodi.gy/docs/api-interfaces#choice) interface and deprecate the [`compare`](https://prodi.gy/docs/api-interfaces#compare) UI.                                                                                                                                                                                                                           |
| **new** | Add more [human-readable class names](https://prodi.gy/docs/custom-interfaces#js-css) to use in custom CSS and JS.                                                                                                                                                                                                                                                                                                                                                                                                               |
| **new** | Support new syntax in [`prodigy.serve`](https://prodi.gy/docs/api-components#serve) that lets you pass in the full command-line command to start Prodigy from within Python.                                                                                                                                                                                                                                                                                                                                                     |
| **new** | Add [data validation](https://prodi.gy/docs/install#validation) for `prodigy.json` / recipe config, recipe components and training examples.                                                                                                                                                                                                                                                                                                                                                                                     |
| **new** | Make the printed output and messages prettier and more consistent.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **new** | Make [FastAPI](https://fastapi.tiangolo.com/) the default REST API library and include [interactive API docs](https://prodi.gy/docs/changelog#rest-api-docs).                                                                                                                                                                                                                                                                                                                                                                    |
| **new** | Drop support for Python 3.5 and make wheel installers support Python 3.8.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **new** | Update Prodigy for [spaCy v2.2](https://spacy.io/usage/v2-2).                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **fix** | Show an example suggested by patterns in [`textcat.teach`](https://prodi.gy/docs/recipes#textcat-teach) only once with all matches instead of once per match.                                                                                                                                                                                                                                                                                                                                                                    |
| **fix** | Fix error that'd occur when passing in long label sets on the command line (due to Prodigy checking if it's a valid file path).                                                                                                                                                                                                                                                                                                                                                                                                  |
| **fix** | Remove unused `spacy_model` argument from [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual).                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **fix** | Exclude by input hash instead of task hash in [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual), [`ner.correct`](https://prodi.gy/docs/recipes#ner-correct), [`pos.correct`](https://prodi.gy/docs/recipes#pos-correct), [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) and [`image.manual`](https://prodi.gy/docs/recipes#image-manual), using the new `"exclude_by"` setting. Examples will only be shown again if their content is identical, not if they include different highlighted suggestions. |
| **fix** | Fix handling of [newline tokens](https://prodi.gy/docs/api-interfaces#ner_manual-newlines) in [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual) for multiple newline character and adjust style of `↵` symbols. Newline-only tokens are now unselectable by default to prevent creating newline token entities. You can set `"allow_newline_highlight": true` to change this.                                                                                                                                             |
| **fix** | Show error if MySQL database is used and JSON blob saved to the database is longer than 65535 characters, to prevent MySQL DB from truncating example.                                                                                                                                                                                                                                                                                                                                                                           |
| **fyi** | Rename `ner.make-gold` and `pos.make-gold` to [`ner.correct`](https://prodi.gy/docs/recipes#ner-correct) and [`pos.correct`](https://prodi.gy/docs/recipes#pos-correct). The old names are still supported so your code won't break.                                                                                                                                                                                                                                                                                             |
| **fyi** | Deprecate [various outdated recipes](https://prodi.gy/docs/recipes#deprecated), the built-in [live APIs](https://prodi.gy/docs/api-loaders#apis) and the `recipe_args` dict. You can still use all of these features and your code shouldn't break but they'll be removed in v2.                                                                                                                                                                                                                                                 |
| **fyi** | Refactor the whole code base and module organization and various other internals, and added simple type annotations to recipe functions.                                                                                                                                                                                                                                                                                                                                                                                         |
| **doc** | New documentation and website redesigned and rewritten completely from scratch, with tons of new content, demos and usage examples. The new site also replaces the `PRODIGY_README.html` that used to be available for download with Prodigy.                                                                                                                                                                                                                                                                                    |
| **doc** | Update [`prodigy-recipes`](https://github.com/explosion/prodigy-recipes) repo.                                                                                                                                                                                                                                                                                                                                                                                                                                                   |

## v1.8.5 (2019-10-19)

This update includes a fix for a regression introduced in v1.8.4, as well as
small improvements to the dataset creation and stream handling.

|         |                                                                                                                        |
| ------- | ---------------------------------------------------------------------------------------------------------------------- |
| **new** | Warn after exhausting streams with many duplicates.                                                                    |
| **fix** | Fix issue introduced in v1.8.4 that could cause the client to send back empty answers if users annotated very quickly. |
| **fix** | Remove `default` session from client and correctly populate session datasets.                                          |

## v1.8.4 (2019-10-07)

This update includes various small fixes to the interfaces and recipes.

|         |                                                                                                                                                                             |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Experimental: Allow moving selected bounding boxes in [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) interface via keyboard shortcuts `←` `→` `↑` `↓`. |
| **new** | Add `prodigyundo` event for custom JavaScript.                                                                                                                              |
| **fix** | Fix issue that'd cause label change in [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) to not be reflected correctly.                                   |
| **fix** | Disable unselecting of radio button if `choice_auto_accept` is enabled.                                                                                                     |
| **fix** | Always prefer rending `"html"` in [`classification`](https://prodi.gy/docs/api-interfaces#classification) interface, if available.                                          |
| **fix** | Improve handling of [`choice`](https://prodi.gy/docs/api-interfaces#choice) tasks in [`review`](https://prodi.gy/docs/recipes#review) recipe.                               |
| **fix** | Re-add default spacing for most common HTML elements in [`html`](https://prodi.gy/docs/api-interfaces#html) interface.                                                      |
| **fix** | Ensure `bin/prodigy` and `bin/pgy` are interpreted as shell scripts.                                                                                                        |
| **fix** | Make [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) correctly support single-label use cases.                                                             |
| **fix** | Fix handling of pre-defined spans in `EntityRecognizer`.                                                                                                                    |
| **fix** | Fix detection of user databases via entry points.                                                                                                                           |
| **fix** | Fix race condition that'd fire `prodigyanswer` event incorrectly.                                                                                                           |
| **fix** | Prevent card labels from being displayed on top of modals.                                                                                                                  |
| **fix** | Improve fallback if labels are provided to the app in incorrect format.                                                                                                     |
| **fix** | Fix handling of related sessions in feeds if `"feed_overlap"` is enabled.                                                                                                   |

## v1.8.3 (2019-06-07)

This update includes fixes to [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train), the NER preprocessing
logic and Prodigy's dependencies.

|         |                                                                                                                                                                                |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **fix** | Fix issue in [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train) that wouldn't pass `exclusive` setting to the model and converter functions correctly. |
| **fix** | Fix handling of multiple choice data in [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train).                                                            |
| **fix** | Fix segmentation bug that caused spans ending on text boundaries to be dropped.                                                                                                |
| **fix** | Make sure span is fully excluded if `skip=True` is set in `add_tokens` preprocessor.                                                                                           |
| **fix** | Add `srsly` to direct dependencies and pin to latest version.                                                                                                                  |
| **doc** | Fix typos and inconsistencies.                                                                                                                                                 |

## v1.8.2 (2019-05-28)

This update includes small fixes to the [`terms.teach`](https://prodi.gy/docs/recipes#terms-teach) and [`review`](https://prodi.gy/docs/recipes#review)
recipes, as well as improvements to the pretraining support.

|         |                                                                                                                                     |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue in [`review`](https://prodi.gy/docs/recipes#review) recipe that'd raise error if no versions were generated.              |
| **fix** | Make [`terms.teach`](https://prodi.gy/docs/recipes#terms-teach) skip vocab entries with no vectors to prevent unnecessary warnings. |
| **fix** | Fix serialization issue of sentencizer in [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train).               |
| **fix** | Ensure hyperparameters from pretraining are passed to [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train).   |

## v1.8.1 (2019-05-21)

This update includes small fixes to the text classification workflows.

|         |                                                                                                                                            |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **fix** | Fix handling of rejected example scores in [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual).                               |
| **fix** | Ensure handling of `--eval-id` in [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train) remains backwards-compatible. |

## v1.8.0 (2019-05-20)

This release updates Prodigy for the brand new
[spaCy v2.1](https://spacy.io/usage/v2-1), which features BERT-style
[language model pretraining](https://spacy.io/usage/training#transfer-learning),
an
[extended match pattern API](https://spacy.io/usage/rule-based-matching#adding-patterns-attributes-extended)
and faster tokenization. We've also added support for basic authentication and
several completely new built-in recipes and workflows for reviewing annotations
from multiple sessions and resolving conflicts, manual multiple-choice text
classification, and merging two or more existing datasets.

> **Warning: Important note**
>
> Before you update, please note that spaCy v2.1 requires new models. This also
> means that models you've trained with previous versions are **not** compatible
> with the new version, and you'll need to retrain your custom models to be able
> to use them with this update of Prodigy. spaCy v2.1 also features a completely
> rewritten matcher engine that fixes various bugs with operators. If you're using
> patterns in Prodigy, you may see slightly different results. Any changes here
> should be positive – but they're still changes.

|         |                                                                                                                                                                                                                                                    |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Update Prodigy for [spaCy v2.1](https://spacy.io/usage/v2-1).                                                                                                                                                                                      |
| **new** | Add [language model pretraining](https://spacy.io/usage/v2-1#pretraining) support via `--init-tok2vec` in training recipes.                                                                                                                        |
| **new** | New interface and [`review`](https://prodi.gy/docs/recipes#review) recipe for reviewing and reconciling annotations from multiple sessions on the same data. View conflicting annotations, resolve them in the UI and create a final training set. |
| **new** | Add [`textcat.manual`](https://prodi.gy/docs/recipes#textcat-manual) recipe to annotate text categories using the [`choice`](https://prodi.gy/docs/api-interfaces#choice) UI.                                                                      |
| **new** | Make [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train) accept annotations in [`choice`](https://prodi.gy/docs/api-interfaces#choice) format.                                                                              |
| **new** | Add `--exclusive` flag to [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train) to train mutually exclusive categories.                                                                                                       |
| **new** | Add [`ner.silver-to-gold`](https://prodi.gy/docs/recipes#ner-silver-to-gold) recipe to convert binary accept/reject annotations to gold-standard data with no missing values.                                                                      |
| **new** | Add [`db-merge`](https://prodi.gy/docs/recipes#db-merge) recipe to merge two or more datasets into a new set.                                                                                                                                      |
| **new** | Add basic authentication to the app with `PRODIGY_BASIC_AUTH_USER` and `PRODIGY_BASIC_AUTH_PASS` env variables.                                                                                                                                    |
| **new** | Add `PRODIGY_ALLOWED_SESSIONS` env variable to specify allowed named sessions.                                                                                                                                                                     |
| **new** | Store `"_session_id"` and `"_view_id"` with annotations.                                                                                                                                                                                           |
| **new** | New REST API powered by [FastAPI](https://github.com/tiangolo/fastapi). Set the `PRODIGY_FASTAPI` environment variable and install `fastapi` (Python 3.6+) to try it out.                                                                          |
| **fix** | Fix issue in [`image_manual`](https://prodi.gy/docs/api-interfaces#image_manual) UI that'd cause boxes to not be deleted correctly.                                                                                                                |
| **fix** | Make sure flag button isn't covered by title in annotation UI.                                                                                                                                                                                     |
| **fix** | Use named logger `"prodigy"` to allow customizing logging behavior.                                                                                                                                                                                |
| **fix** | Allow [`textcat.eval`](https://prodi.gy/docs/recipes#textcat-eval) recipe to read from `stdin` as expected.                                                                                                                                        |
| **fix** | Prevent incorrectly raised `KeyError` in `split_sentences` preprocessor.                                                                                                                                                                           |
| **fix** | Raise error if `Database.add_examples` doesn't receive list/tuple of dataset names.                                                                                                                                                                |
| **fix** | Make sure [`choice`](https://prodi.gy/docs/api-interfaces#choice) interface adds `"accept": []` if no selection is made.                                                                                                                           |
| **fix** | If `instant_submit` is enabled, send answer before requesting new questions.                                                                                                                                                                       |
| **fix** | Prevent keyboard in custom `<input>` and `<textarea>` elements.                                                                                                                                                                                    |
| **fix** | Preserve docstrings of compiled Cython classes, methods and functions.                                                                                                                                                                             |
| **doc** | Improve various typos and inconsistencies and add new sections for new features.                                                                                                                                                                   |

## v1.7.1 (2019-02-23)

This update includes a small fix to the `"instant_submit"` feature introduced in
the previous release.

|         |                                                                                                    |
| ------- | -------------------------------------------------------------------------------------------------- |
| **fix** | Fix issue that could cause tasks to not receive an `"answer"` when `"instant_submit"` was enabled. |

## v1.7.0 (2019-02-18)

This update makes it easy to set up named multi-user sessions in a single
instance. It also introduces a new setting for instant submissions and support for custom
CSS and JavaScript across all interfaces. Of course, we also fixed various bugs
and inconsistencies to make sure Prodigy runs as smoothly as possible.

By the way, if you want to add 12 months of updates to your license, you can now
do so [via our online shop](https://prodi.gy/buy)!

|         |                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add `"instant_submit"` option to send back a task instantly after it's answered in the app, skipping the history and immediately triggering the update callback if available.                                                                                                                                                                                                                                                                        |
| **new** | Support custom named sessions via query parameters in the app to enable multi-user workflows in single instances. For example, accessing the app with `/?session=alex` will add all annotations to a session dataset `dataset-alex`. The boolean `"feed_overlap"` setting lets you control whether to have each example sent out once so it's annotated by _someone_ or whether to allow overlaps and send out each example to _everyone_ (default). |
| **new** | Add `"global_css"` option across all interfaces, more human-readable class names and expose `data-prodigy-view-id` and `data-prodigy-recipe` for custom interface or recipe-specific styling.                                                                                                                                                                                                                                                        |
| **new** | Add `"javascript"` option across all interfaces and fire custom events on mount, update and answer.                                                                                                                                                                                                                                                                                                                                                  |
| **new** | Add `--batch-size` option to [`drop`](https://prodi.gy/docs/recipes#drop) command to prevent database errors when deleting large datasets.                                                                                                                                                                                                                                                                                                           |
| **fix** | Make labels in [`pos.teach`](https://prodi.gy/docs/recipes#pos-teach) and [`pos.make_gold`](https://prodi.gy/docs/recipes#pos-make_gold) correctly default to built-in label scheme and raise error if no fine-grained labels are provided.                                                                                                                                                                                                          |
| **fix** | Make sure `PatternMatcher` only shows matches for recipe labels.                                                                                                                                                                                                                                                                                                                                                                                     |
| **fix** | Fix bug that would cause `add_tokens` preprocessor to raise an error.                                                                                                                                                                                                                                                                                                                                                                                |
| **fix** | Correctly handle `min_length` in `split_sentences` preprocessor.                                                                                                                                                                                                                                                                                                                                                                                     |
| **fix** | Fix bug that'd cause text classification tasks to not be deep copied correctly.                                                                                                                                                                                                                                                                                                                                                                      |
| **fix** | Raise error if [`terms.to-patterns`](https://prodi.gy/docs/recipes#terms-to-patterns) is used without label to prevent `null` value.                                                                                                                                                                                                                                                                                                                 |
| **fix** | Fix problem that'd cause dependency arcs to be rendered incorrectly.                                                                                                                                                                                                                                                                                                                                                                                 |
| **fix** | Improve relative sizing of bounding boxes and labels for large images.                                                                                                                                                                                                                                                                                                                                                                               |
| **fix** | Ensure task can only be flagged via keyboard shortcut if `"show_flag"` is enabled.                                                                                                                                                                                                                                                                                                                                                                   |
| **fix** | Drop third-party dependency `mmh3` that was causing problems for some users.                                                                                                                                                                                                                                                                                                                                                                         |
| **fix** | Make manual NER interface more touch-friendly.                                                                                                                                                                                                                                                                                                                                                                                                       |
| **doc** | New video: [FAQ #1: Tips & tricks for NLP, annotation and training](https://www.youtube.com/watch?v=tMAU3gLbKII).                                                                                                                                                                                                                                                                                                                                    |
| **doc** | Improve various typos and inconsistencies and add new sections for new features.                                                                                                                                                                                                                                                                                                                                                                     |

## v1.6.1 (2018-10-17)

|         |                                                               |
| ------- | ------------------------------------------------------------- |
| **fix** | Fix `split_sentences` pre-processor for untokenized examples. |

## v1.6.0 (2018-10-16)

This update takes advantage of pre-built binary wheels for our dependencies and
speeds up the installation by up to 10 times! We've also added official support
for Python 3.7, made excluding the current dataset the default behavior, fixed
issues related to patterns, text classification and NER training and improved
some internals to get Prodigy ready for multi-user workflows.

|         |                                                                                                                                                                                                                                           |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Add official support and wheels for Python 3.7.                                                                                                                                                                                           |
| **new** | Use spaCy v2.0.16 to take advantage of pre-built wheels and allow up to 10 times faster installation.                                                                                                                                     |
| **new** | Automatically exclude examples already present in the current dataset (e.g. make `--exclude dataset` the default behavior). To disable this feature, you can set `"auto_exclude_current": false` in your `prodigy.json` or recipe config. |
| **new** | Add `--loader` argument to [`image.manual`](https://prodi.gy/docs/recipes#image-manual).                                                                                                                                                  |
| **new** | Make annotation card header sticky for long content.                                                                                                                                                                                      |
| **new** | Improve internal handling of sessions and streams to get Prodigy ready for better multi-user workflows.                                                                                                                                   |
| **fix** | Fix prior in `PatternMatcher` to prevent matches from being excluded by sorter.                                                                                                                                                           |
| **fix** | Ensure spans and tokens are correctly updated in `split_sentences` preprocessor.                                                                                                                                                          |
| **fix** | Improve [`textcat.eval`](https://prodi.gy/docs/recipes#textcat-eval) recipe and make sure labels are added automatically.                                                                                                                 |
| **fix** | Fix issue that would require refreshing the app when using the manual interface with a low batch size.                                                                                                                                    |
| **fix** | Make sure dataset links are removed when dropping a dataset via [`drop`](https://prodi.gy/docs/recipes#drop).                                                                                                                             |
| **fix** | Fix memory leak in NER training that could cause segmentation fault for large datasets.                                                                                                                                                   |
| **fix** | Fix issue in `TextClassifier`, where active learning didn't resume from weights.                                                                                                                                                          |
| **fix** | Exclude `"model"` key from hashes so that identical predictions by different models receive the same hash.                                                                                                                                |
| **fix** | Add server middleware to prevent response caching in IE 11.                                                                                                                                                                               |
| **fix** | Improve NER model loading with large vectors.                                                                                                                                                                                             |
| **doc** | Fix various typos and inconsistencies.                                                                                                                                                                                                    |

## v1.5.1 (2018-06-13)

This update includes several bug fixes and stability improvements related to the
new part-of-speech tagging recipes and the built-in pattern matcher model, as
well as a better identification system for match patterns.

|         |                                                                                                                                                                                                                    |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **new** | Add `--resume` argument to [`ner.match`](https://prodi.gy/docs/recipes#ner-match) to update matcher from dataset.                                                                                                  |
| **new** | Use hashes as pattern IDs to allow updating existing matchers even if pattern files change across sessions.                                                                                                        |
| **fix** | Make [`pos.teach`](https://prodi.gy/docs/recipes#pos-teach) and [`pos.batch-train`](https://prodi.gy/docs/recipes#pos-batch-train) work as expected with both fine-grained and coarse-grained part-of-speech tags. |
| **fix** | Fix bug in [`ner.iob-to-gold`](https://prodi.gy/docs/recipes#ner-iob-to-gold) that'd cause export to fail.                                                                                                         |
| **fix** | Small improvements to UI and web app stability.                                                                                                                                                                    |

## v1.5.0 (2018-06-07)

This update includes new recipes for part-of-speech tagging, an experimental
release of the new manual image labeling interface and a new mechanism for
adding custom loaders, database connectors and recipes via Python entry points.
We've also added validation for incoming streams and detailed error messages for
incorrect task formats, enhanced the training options for sparse and
gold-standard named entity data, and improved handling of newlines and
formatting tokens in the manual NER interface.

|         |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | New recipes for part-of-speech tagging: [`pos.teach`](https://prodi.gy/docs/recipes#pos-teach), [`pos.batch-train`](https://prodi.gy/docs/recipes#pos-batch-train) and [`pos.train-curve`](https://prodi.gy/docs/recipes#pos-train-curve).                                                                                                                                                                        |
| **new** | **Experimental:** Manual [image annotation](https://demo.prodi.gy/?view_id=image_manual) interface and [`image.manual`](https://prodi.gy/docs/recipes#image-manual) recipe.                                                                                                                                                                                                                                       |
| **new** | Add annotation task validation. Before the Prodigy server starts, your stream is checked against a schema to make sure it has the correct format. If not, Prodigy tells you what the problem is.                                                                                                                                                                                                                  |
| **new** | Allow adding custom recipes, databases and loaders via entry points.                                                                                                                                                                                                                                                                                                                                              |
| **new** | Add `--no-missing` flag to [`ner.batch-train`](https://prodi.gy/docs/recipes#ner-batch-train) to assume all correct spans are in the gold annotation, and any spans not in the gold annotation are incorrect. This is especially useful when training from annotations collected with [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual) or [`ner.make-gold`](https://prodi.gy/docs/recipes#ner-make-gold). |
| **new** | Add `--resume` argument to [`terms.teach`](https://prodi.gy/docs/recipes#terms-teach) to update target vector from dataset.                                                                                                                                                                                                                                                                                       |
| **new** | Add "true" newlines to newline tokens `↵` manual interfaces. The behavior can be turned off by setting `"hide_true_newline_tokens": true`.                                                                                                                                                                                                                                                                        |
| **new** | Allow marking tokens as `"disabled": true` in manual interfaces. Disabled tokens can't be highlighted and can be used to assist annotators with formatting.                                                                                                                                                                                                                                                       |
| **new** | Converter recipe [`ner.iob-to-gold`](https://prodi.gy/docs/recipes#ner-iob-to-gold) to convert IOB tags to Prodigy's JSONL.                                                                                                                                                                                                                                                                                       |
| **fix** | Disable and restore other pipeline components in `batch-train` recipes.                                                                                                                                                                                                                                                                                                                                           |
| **fix** | Ensure seed terms are added to the dataset correctly.                                                                                                                                                                                                                                                                                                                                                             |
| **fix** | Fix bug that would cause web app to fail with annotation instructions.                                                                                                                                                                                                                                                                                                                                            |
| **fix** | Make keyboard shortcuts in [`choice`](https://prodi.gy/docs/api-interfaces#choice) interface work as expected again.                                                                                                                                                                                                                                                                                              |
| **fix** | Add missing import and make [`image.test`](https://prodi.gy/docs/recipes#image-test) work out-of-the-box again.                                                                                                                                                                                                                                                                                                   |
| **doc** | Add sections on Python entry points and document new recipes and interfaces.                                                                                                                                                                                                                                                                                                                                      |
| **doc** | Fix various typos and inconsistencies.                                                                                                                                                                                                                                                                                                                                                                            |

## v1.4.2 (2018-04-10)

This update includes various bug fixes and efficiency improvements.

|         |                                                                                                                             |
| ------- | --------------------------------------------------------------------------------------------------------------------------- |
| **new** | Allow custom HTML in [`classification`](https://prodi.gy/docs/api-interfaces#classification) interface.                     |
| **new** | Allow pre-defined selections in [`choice`](https://prodi.gy/docs/api-interfaces#choice) interface, e.g. `"accept": [1, 3]`. |
| **fix** | Improve memory usage of [`terms.teach`](https://prodi.gy/docs/recipes#terms-teach).                                         |
| **fix** | Fix data integrity error when dropping datasets using MySQL.                                                                |
| **fix** | Fix bug in error message of custom recipe validation introduced in `v1.4.1`.                                                |
| **fix** | Resolve problem with image preloading in [`image`](https://prodi.gy/docs/api-interfaces#image) interfaces.                  |
| **fix** | Make keyboard shortcuts work as expected in [`choice`](https://prodi.gy/docs/api-interfaces#choice) interface.              |
| **doc** | Fix various typos and inconsistencies.                                                                                      |

## v1.4.1 (2018-03-26)

This update improves efficiency of the [`ner.batch-train`](https://prodi.gy/docs/recipes#ner-batch-train) recipe and fixes
the handling of task and input hashes in the database methods and `--exclude`
option. It also comes with various improvements to error messages and web app
stability.

|         |                                                                                                                                                            |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Improve efficiency of [`ner.batch-train`](https://prodi.gy/docs/recipes#ner-batch-train) – up to 10× faster for some workloads!                            |
| **fix** | Fix problem that would cause text classification tasks created from pattern matches to not have a label assigned to the task.                              |
| **fix** | Ensure that `--exclude` logic is always applied after the stream is (re)hashed.                                                                            |
| **fix** | Fix bug that would cause hashes to not be returned correctly by the database.                                                                              |
| **fix** | Allow the `"instructions"` setting to be `false` or `null`.                                                                                                |
| **fix** | Improve error messages if recipe file is not valid and if dataset doesn't exist in [`terms.to-patterns`](https://prodi.gy/docs/recipes#terms-to-patterns). |
| **fix** | Various improvements to UI and web app stability.                                                                                                          |

## v1.4.0 (2018-03-11)

This update includes a new
[annotation interface](https://demo.prodi.gy/?view_id=dep) for relations and
dependencies, as well as an experimental [`dep.teach`](https://prodi.gy/docs/recipes#dep-teach) recipe.

[`textcat.teach`](https://prodi.gy/docs/recipes#textcat-teach) now takes a file of match patterns instead of seed terms, and manual interfaces
now support lists of up to 30 labels with keyboard shortcuts. We've also improved the customization
of various components.

|         |                                                                                                                                                                                                                                                                                                                                                                       |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Dependency and relation [annotation interface](https://demo.prodi.gy/?view_id=dep) and recipes [`dep.teach`](https://prodi.gy/docs/recipes#dep-teach), [`dep.batch-train`](https://prodi.gy/docs/recipes#dep-batch-train) and [`dep.train-curve`](https://prodi.gy/docs/recipes#dep-train-curve) recipes for training a dependency parsing model. Still experimental! |
| **new** | Allow using [`textcat.teach`](https://prodi.gy/docs/recipes#textcat-teach) with a patterns file instead of seed terms.                                                                                                                                                                                                                                                |
| **new** | Support list view and keyboard shortcuts for larger label sets in manual interfaces.                                                                                                                                                                                                                                                                                  |
| **new** | Add option to display modal with [annotation instructions](https://prodi.gy/docs/api-web-app#instructions).                                                                                                                                                                                                                                                           |
| **new** | Allow skipping examples with mismatched tokenization in `add_tokens`.                                                                                                                                                                                                                                                                                                 |
| **new** | Make swipe gestures optional via `"swipe": true`.                                                                                                                                                                                                                                                                                                                     |
| **new** | Allow overwriting the host and port via `PRODIGY_HOST` and `PRODIGY_PORT` environment variables.                                                                                                                                                                                                                                                                      |
| **new** | Add `split_sents_threshold` [config setting](https://prodi.gy/docs/install#config) and `--unsegmented` command-line option to disable sentence segmentation.                                                                                                                                                                                                          |
| **new** | Update [NewsAPI](https://newsapi.org) loader to use v2.                                                                                                                                                                                                                                                                                                               |
| **fix** | Prevent MySQL server from timing out between requests.                                                                                                                                                                                                                                                                                                                |
| **fix** | Correctly port over spans in `split_sentences` preprocessor.                                                                                                                                                                                                                                                                                                          |
| **fix** | Always add labels from examples and `--labels` in [`ner.batch-train`](https://prodi.gy/docs/recipes#ner-batch-train) and consistently allow loading label sets from a string or a text file.                                                                                                                                                                          |
| **fix** | Fix issue that caused print recipes to not display colors when piped to `less`.                                                                                                                                                                                                                                                                                       |
| **fix** | Ensure that pre-set task meta isn't overwritten in the `PatternMatcher`.                                                                                                                                                                                                                                                                                              |
| **fix** | Show error message in the web app if `view_id` is invalid.                                                                                                                                                                                                                                                                                                            |
| **doc** | Add [live demo](https://demo.prodi.gy/?view_id=dep) for new [`dep`](https://prodi.gy/docs/api-interfaces#dep) interface.                                                                                                                                                                                                                                              |
| **doc** | Add Prodigy Cookbook with quick solutions to various tasks.                                                                                                                                                                                                                                                                                                           |
| **doc** | Add glossary to "First Steps" workflow.                                                                                                                                                                                                                                                                                                                               |
| **doc** | Order recipes in `PRODIGY_README.html` table of contents by type.                                                                                                                                                                                                                                                                                                     |

### v1.3.0 (2018-02-01)

This update introduces a new [`ner.make-gold`](https://prodi.gy/docs/recipes#ner-make-gold) recipe that lets you create
gold-standard data faster by manually correcting a model's predictions. We've
also added a new [`pos.make-gold`](https://prodi.gy/docs/recipes#pos-make-gold) recipe for
[annotating part-of-speech tags](https://demo.prodi.gy/?view_id=pos_manual), as
well as converters to create spaCy training data from Prodigy datasets.

|         |                                                                                                                                                                                                                         |
| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **new** | Improved [`ner.make-gold`](https://prodi.gy/docs/recipes#ner-make-gold) workflow: run a model over your text and manually correct the entities to create gold-standard data.                                            |
| **new** | Add `"ner_manual_label_style"` option to display label set as list of dropdown (always uses dropdown for more than 10 labels) and add number keyboard shortcuts to list of labels.                                      |
| **new** | Experimental [`pos.make-gold`](https://prodi.gy/docs/recipes#pos-make-gold) recipe for manual POS annotation.                                                                                                           |
| **new** | Experimental [`ner.gold-to-spacy`](https://prodi.gy/docs/recipes#ner-gold-to-spacy) and [`pos.gold-to-spacy`](https://prodi.gy/docs/recipes#pos-gold-to-spacy) converters.                                              |
| **new** | Add option for custom label color schemes for NER and POS tagging.                                                                                                                                                      |
| **new** | Add UI option to "flag" tasks to bookmark them for later via `"show_flag"` setting and a flag icon and `f` keyboard shortcut. Add `--flagged-only` setting to [`db-out`](https://prodi.gy/docs/recipes#db-out) command. |
| **new** | Rename `split_tokens` pre-processor to `add_tokens`.                                                                                                                                                                    |
| **fix** | Fix rendering and use icons for whitespace tokens in [`ner_manual`](https://prodi.gy/docs/api-interfaces#ner_manual).                                                                                                   |
| **fix** | Fix rendering of RTL languages in manual interfaces via `"writing_dir"` setting.                                                                                                                                        |
| **fix** | Overwrite database settings correctly when using `connect()`.                                                                                                                                                           |
| **fix** | Fix bug in logging timestamp and log minutes correctly.                                                                                                                                                                 |
| **fix** | Only use colored CLI output if supported by user's terminal.                                                                                                                                                            |
| **fix** | Don't disable entity recognizer in [`textcat.batch-train`](https://prodi.gy/docs/recipes#textcat-batch-train).                                                                                                          |
| **doc** | Document preprocessor components and models' `batch_train` methods.                                                                                                                                                     |
| **doc** | Fix various typos and add more examples.                                                                                                                                                                                |
| **doc** | Add docstrings to internals so they can be inspected using `help()`.                                                                                                                                                    |

### v1.2.0 (2018-01-09)

This update introduces [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual), a new recipe and interface for
[manual NER annotation](https://demo.prodi.gy/?view_id=ner_manual). You can now
highlight one or more text spans per task and select the entity label from a
dropdown menu. To allow faster annotation and less fiddly clicking, token
boundaries are used to determine the entity spans when highlighting them. Note
that this workflow replaces `ner.mark` and `boundaries`.

|         |                                                                                                          |
| ------- | -------------------------------------------------------------------------------------------------------- |
| **new** | [`ner.manual`](https://prodi.gy/docs/recipes#ner-manual) recipe and interface for manual NER annotation. |
| **new** | `"card_css"` option to inject custom CSS into annotation card.                                           |
| **new** | Experimental `"show_whitespace"` for basic [`ner`](https://prodi.gy/docs/api-interfaces#ner) interface.  |
| **fix** | Make `--exclude` argument and recipe option work as expected.                                            |
| **fix** | Don't merge and modify NER spans before adding example to the database.                                  |
| **doc** | Document API of `PatternMatcher` model.                                                                  |
| **doc** | Improve formatting of available recipes in `prodigy --help`.                                             |
| **doc** | Fix various typos and inconsistencies.                                                                   |

### v1.1.0 (2017-12-18)

|         |                                                                                                            |
| ------- | ---------------------------------------------------------------------------------------------------------- |
| **new** | Automatically add new entity labels in [`ner.batch-train`](https://prodi.gy/docs/recipes#ner-batch-train). |
| **new** | Improve speed during NER training and allow setting the beam width via CLI.                                |
| **new** | Filter out ignored examples before creating training and evaluation sets.                                  |
| **new** | Re-add improved version of [`ner.eval`](https://prodi.gy/docs/recipes#ner-eval) recipe.                    |
| **new** | Handle broken JSONL in Reddit loader.                                                                      |
| **new** | Use spaCy model to assign labels in [`ner.print-stream`](https://prodi.gy/docs/recipes#ner-print-stream).  |
| **doc** | Small improvements to documentation.                                                                       |
