Releases: CogStack/cogstack-nlp
medcat/v2.0.0
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)
- Save method has a new name (
- 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
🛠️ 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
Mostly workflow changes to release #67 .
What's Changed
- Adding functionality for offline loading by @shubham-s-agarwal in #67
- Fix typo in v1 production workflow by @mart-r in #80
Full Changelog: medcat/v1.16.0...medcat/v1.16.5
medcat/v2.0.0b4
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
First official PyPI-available beta release of MedCAT 2.0.
Full Changelog: medcat/v2.0.0b2...medcat/v2.0.0b3
medcat/v2.0.0b2
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
Second attempt at a 2.0 beta release.
What's Changed
Full Changelog: medcat/v2.0.0b0...medcat/v2.0.0b1
medcat/v2.0.0b0
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
This PR finally fixes the multiprocessing issue on Linux (#38)
Full Changelog: medcat/v0.13.4...medcat/v0.13.5
medcat/v0.13.4
Patch release to fix an issue with negative examples in supervised training data sets.
medcat/v0.13.3
Designed to fix another, Linux-specific multiprocessing issue (#36).
Full Changelog: medcat/v0.13.2...medcat/v0.13.3