v1.5.0
HumanSignal/label-studiov1.5.0Jun 16, 2022by anithamuthu2022
AI Summary
Label Studio 1.5.0 is a major release focused on dynamic labeling capabilities, allowing labels to be generated from ML predictions or database lookups instead of static lists. The release introduces image-based labels, taxonomy evolution (annotators can add new classes on-the-fly), and numerous UI/UX improvements including a 'no more tasks' screen, undo/redo for audio, and enhanced Data Manager columns. Note: This release includes long migrations (1-2 hours for large datasets).
Key Highlights
- Dynamic labels - labels can now be generated from ML predictions or database lookups instead of static predefined lists
- Image and hyperlink support for label sets - visual labels for classification and computer vision tasks
- Taxonomy evolution - annotators can add new classes while labeling without predefining them
- New Data Manager columns - 'Last updated by' and lead time per task
- Security fixes - resolved OWASP ZAP and SAST vulnerabilities, plus HyperText JavaScript injection fix
Breaking Changes
- All drafts (including those without initial annotation and attached to annotations) now pass through the ML backend for interactive prediction
- API page_size limit set to < 100 values in /api/projects/ID/tasks endpoint
New Features
- Dynamic labels as task input from ML predictions or database lookups
- Label sets with images and hyperlinks for better visual signaling
- HTML markup customization for choices display
- Annotators can add new classes in taxonomy during labeling
- Default settings functionality in Label Studio Editor
- 'Last updated by' column in Data Manager showing last modifier
- Task ID sorting in ascending order of filenames
- 'No more tasks' screen with ability to go back to previous task
- Default y-scale parameter at label config level for audio UI
- Timeline overlay on waveform for full height timestamp tooltip
- APIs to manage labels in Label Studio
- Lead time column in Data Manager with averaged lead time per task
- HyperTextLabels regions no longer shift on various actions
- Improved API performance for next task in Label Stream
- Faster project list loading
- Quick View mode focuses on current annotating task
- Undo/Redo functionality for audio
- Column settings icon display in Quick View
- OCR TextArea support for editable=false
- Auto-resize images to screen option
Full Release Notes
# Label Studio 1.5.0 Release Notes The latest release of Label Studio is dedicated to more dynamic and custom ways to define, change, and display label sets. Big new features include the ability to show **labels dynamically** (as opposed to statically), for example for [classification](https://labelstud.io/templates/serp_ranking.html) or [computer vision](https://labelstud.io/templates/inventory_tracking.html) tasks use images rather than text for the label name and allow annotators to create new labels and evolve the taxonomy as they work through the dataset. The Label Studio 1.5.0 release includes the new features and enhancements, breaking changes, and bug fixes. ## Important notes about installation This release has long migrations and they can take up to 1-2 hours depending on your task number (relevant for instances with more than 100k tasks). If you want to avoid them, you should run `label-studio --skip-long-migrations` and then call `label-studio calculate_stats_all_orgs`. These migrations affect task counters like total annotation number, canceled number, and prediction number. ## New Features and Enhancements Label Studio 1.5.0 includes the following new features and enhancements. - Introduce dynamic labels as a task input through prediction from the model, or from a database lookup instead of having annotators scroll through an extensive list of choices. Dynamic labeling saves time and increases the consistency of labeling the objects. - Enhance the labeling methods by creating label sets with images and hyperlinks. This results in a better visual signal for annotators. You can also customize the view of choices to be displayed by using HTML markup. - Allow annotators to add new classes in taxonomy as they work through the dataset, without the need to predefine classes. - Add support for default settings functionality to the Label Studio Editor. - Include the `Last updated by` column in Data Manager with information about who made the last modifications for any of the annotations in this task at `updated_at` time. - Easily handle the imported tasks by sorting the task IDs in ascending order of filenames. - Add the `no more tasks` screen at the end of the queue. Now, you can go back to the previous task from the end of the labeling stream. - Set default `y-scale` parameter at label config level for audio UI. - Overlay timeline on top of the waveform for full height timestamp tooltip. - Add a group of APIs to manage labels in the Label Studio. - Create a lead time column in Data Manager with averaged lead time per task. - Improve the `HyperTextLabels` regions to no longer shift on annotation submit/ update/ change annotation/ draft to original toggle/ open close task/ undo redo toggle. - Improve the performance for API querying the next task in Label Stream. - Augment the performance of loading the project lists. - In the Quick View mode, the left-side list of tasks is focused on the current annotating task. - Add `Undo/Redo` functionality for audio. - Display the column (settings) icon when Quick View is opened. - Add support of OCR <TextArea> for `editable=false`. - Enable auto-resize of images to screen option. ## Breaking Changes Label Studio 1.5.0 includes the following breaking changes. - All drafts (including drafts without initial annotation and drafts that are attached to annotation) from the current user’s session pass the ML backend for interactive prediction. - Set the `page_size` limit to < 100 values in `api/projects/ID/tasks` API. ## Bug Fixes Label Studio 1.5.0 includes the following bug fixes. - Fixed an issue where selecting the `Pan` tool wiped out unfinished polygon drawings. - Fixed an issue in audio data type, where the `View all Annotations` mode did not work for some time after the annotation was created. - Fixed performance for annotation results filters. - Fixed Static Application Security Testing (SAST) security issues in Label Studio Open Source. - Fixed an issue where signup permissions were denied for users without an invite link. - Fixed security issues reported by the Open Web Application Security Project (OWASP) Zed Attack Proxy (ZAP) scanner. - Fixed an issue where `required=true` was set along with `visibleWhen` for `TextArea` and `Choices`. - Fixed an issue where the click action on `Create annotations from predictions` in Data Manager generated the `ANNOTATIONS_CREATED` webhook event. - Fixed an issue where the usage of relations between `<BrushLabels>` regions crashed the Label Studio App. - Fixed an issue where the `TextArea` with `displayMode="region-list"` text lost focus in an OCR project. - Fixed image cropping issue. - Fixed an issue where `Text` and `Header` tags failed to work with integers. - Fixed an issue where the label config preview failed when a user applied one custom label config and later replaced it with another custom config. - Fixed an issue where the named entity recognition granularity failed to reflect correctly in exported data. - Fixed `HyperText` security breach / JavaScript injection attack. Removed in-use script elements and replaced them with a stub which was replaced later during execution. Only in-use scripts were executed and placed in the appropriate location. Thank you to all the contributors for making Label Studio 1.5.0 a success!