Skip to content

Releases: CogStack/cogstack-nlp

medcat/v2.0.0

18 Aug 12:51

Choose a tag to compare

We’re excited to announce the release of MedCAT v2. This is a major refactor that brings a more modular, flexible, and maintainable foundation for clinical NLP, while staying compatible with existing v1 models.

This release focuses on:

  • Refactored structure for lower coupling and greater extensibility
  • Modularity via optional install extras (install only what you need)
  • Improved flexibility in tokenization, NER, and annotation pipelines
  • Backwards compatibility for v1 models, with automatic conversion

✨ What’s New

  • Decoupled from spacy → now possible to use lightweight regex tokenizer or other (custom) backends
  • Optional extras: install support only for the components you need (spacy, meta-cat, deid, rel-cat, dict-ner)
  • Training is now structured around dedicated classes for clearer workflows
  • Tutorials and scripts have been rebuilt from the ground up for v2
  • Added support for a supervised training web service (experimental, under development)

⚠️ Breaking Changes

  • Saving/Loading:
    • Save method has a new name (CAT.save_model_pack)
    • v2 saves models in a new format (but still loads v1 models, with slower load times due to conversion)
  • Training:
    • Training APIs now go through separate trainer classes
  • Defaults:
    • Default install no longer includes spacy or advanced components (see migration guide for how to enable them)

For a complete list, see: BREAKING_CHANGES.md

📖 Migration Guide

If you’re upgrading from v1, please read the dedicated Migration Guide. It covers:

  • Installation instructions
  • Changes to saving/loading
  • v1 model compatibility notes
  • Updated tutorials and example scripts
  • FAQ and troubleshooting

🔗 Useful Links

📦 PyPI

📘 Documentation

🧩 Migration Guide

💬 Discussion Forum

🛠️ Repository

Feedback

v2 is a big step forward, and we’d love your input!
Please open a GitHub issue or join the discussion forum for:

  • Missing documentation
  • Bugs or breaking behaviour
  • Feedback on error/log messages
  • Suggestions for future improvements

MedCAT v1.16.5

12 Aug 08:26
22ba8a0

Choose a tag to compare

Mostly workflow changes to release #67 .

What's Changed

Full Changelog: medcat/v1.16.0...medcat/v1.16.5

medcat/v2.0.0b4

18 Jul 14:10

Choose a tag to compare

There's a fair few fixes in this patch / beta release.
Most notably, some bug fixes for multiprocessing and some quality of life changes for that as well as well as other QoL changes.

What's Changed

  • CU-8699twteb: Update docs links to point to up to date page by @mart-r in #48
  • CU-8699rvhe9 Refer to PyPI medcat v2 by @mart-r in #46
  • CU-8699td0xq: Move to v2 model pack by @mart-r in #47
  • Fix license in pyproject.toml by @mart-r in #49
  • Improve some logging in MetaCAT when no suitable category is found by @mart-r in #50
  • CU-8699upt9a Allow saving output onto disk when multiprocessing by @mart-r in #52
  • CU-8699vkmu4: Allow load with merging config(s) by @mart-r in #53
  • CU-8699vq0he: Improve addon access from CAT by @mart-r in #55
  • CU-8699vnuwf Ignore hidden files when loading model packs by @mart-r in #54

Full Changelog: medcat/v2.0.0b3...medcat/v2.0.0b4

medcat/v2.0.0b3

11 Jul 14:39

Choose a tag to compare

First official PyPI-available beta release of MedCAT 2.0.

Full Changelog: medcat/v2.0.0b2...medcat/v2.0.0b3

medcat/v2.0.0b2

11 Jul 14:38

Choose a tag to compare

Third attempt as a PyPI release for 2.0.0 beta.

Full Changelog: medcat/v2.0.0b1...medcat/v2.0.0b2

medcat/v2.0.0b1

11 Jul 12:32

Choose a tag to compare

Second attempt at a 2.0 beta release.

What's Changed

  • Add permissions for MedCAT release @mart-r in #42

Full Changelog: medcat/v2.0.0b0...medcat/v2.0.0b1

medcat/v2.0.0b0

11 Jul 12:30

Choose a tag to compare

First attempt at a 2.0 beta release.

What's Changed

  • CU-8699nbgbh Test against changes by @mart-r in #26
  • CU-8699rg5cc: Add new workflow to publish to PyPI using TPM by @mart-r in #40

Full Changelog: medcat/v0.13.4...medcat/v2.0.0b0

medcat/v0.13.5

09 Jul 15:04

Choose a tag to compare

This PR finally fixes the multiprocessing issue on Linux (#38)

Full Changelog: medcat/v0.13.4...medcat/v0.13.5

medcat/v0.13.4

08 Jul 16:57

Choose a tag to compare

Patch release to fix an issue with negative examples in supervised training data sets.

medcat/v0.13.3

08 Jul 15:12

Choose a tag to compare

Designed to fix another, Linux-specific multiprocessing issue (#36).

Full Changelog: medcat/v0.13.2...medcat/v0.13.3