Skip to content

Release v3.0.0#289

Merged
gerteck merged 27 commits into
mainfrom
develop
Jul 1, 2026
Merged

Release v3.0.0#289
gerteck merged 27 commits into
mainfrom
develop

Conversation

@gerteck

@gerteck gerteck commented Jul 1, 2026

Copy link
Copy Markdown
Member

Overview of changes:

Release v3.0.0

SEMVER impact of the PR:

  • Major (when you make incompatible API changes)
  • Minor (when you add functionality in a backward compatible manner)
  • Patch (when you make backward compatible bug fixes)

Checklist: ☑️

  • Updated the documentation for feature additions and enhancements
  • Added tests for bug fixes or features
  • Linked all related issues
  • No unrelated changes

Merge Instructions:

  • For feature branches merging to develop: Prefer Squash and Merge.
  • For release/hotfix branches merging to main, or subsequent sync back-merges merging to develop: ONLY use Create a Merge Commit.

gerteck and others added 27 commits April 4, 2026 17:45
Sync: Release v2.3.0 back to develop
* Run prettier format
* Apply prettier formatting
* Run ESLint lint and add fixes
* Update version declaration in global types and linting
* Add linting step to CI
* run npm audit fix
*upgrade @rollup/plugin-terser to version 1.0.0
* security: implement input sanitization for adaptation themes, URL placeholders, and tab header HTML
* Prevent placeholder binding in event handlers.
* Add testcases and docs
* cover check for full template values in href and src attributes
* Consolidate URL sanitization logic into url-utils
* Add sanitization to include namespaced and form attributes
* Move workflow to development
* Fix outdated links
* Add devguide, setting up
…der (#262)

* Update adaptations paths to <versions> to unify structure
* Rename current "highlight" to "box"
* Add highlight as textual highlight
* Reorganize docs
* Add resolution of path to vitest
* Commonize annotation types for both box and highlight
* Add annotations to text highlights
* Add focused view banner for highlights
* prevent accidental modal closure
* refactor: remove manual ellipsis characters and replace with visual chevron indicators for annotation previews
* Refactor annotations to shared folder
* Make empty ribbon height same as non-empty ribbon
* Update colors of ribbons as well as duplicate shadow on the ribbons
* refactor: apply consistent code formatting and clean up syntax across highlight and overlay components
* style: simplify and unify drop shadow effects and annotation transforms across components
* style: update text highlight color palette and add configurable vertical offset to annotation components
* style: simplify highlight styles to use solid background colors instead of text decorations
* style: update annotation ribbon colors, text truncation, and polygon clipping paths
* feat: add dynamic annotation repositioning on window resize events
* fix: improve text resolution logic
 - Fix offset math bug where cross-element highlights with unnormalized HTML whitespace miscalculates `rawEnd` index.
* style: update BoxOverlay drop shadow offset and spread for improved visibility
* Abstract out colors and commonize annotation colors
* refactor: standardize highlight color handling using DEFAULT_ANNOTATION_COLOR_KEY and shared color definitions
* Update docs
* feat: add optional link label support to shareable URLs
* refactor: disable svelte/prefer-svelte-reactivity rule and remove redundant inline overrides
* refactor: centralize URL parameter injection and ensure link labels take precedence in share links
* fix: update URL parameter filtering to correctly handle empty key-value pairs
* refactor: rename sanitizeTabHeader to sanitizeHtml to support broader component usage
* feat: add support for rich HTML content and global icon stylesheets in Label component
*  expand annotation color palette with dynamic text coloring and grid-based UI layouts
* feat: implement cv-insertion custom element and loader to support runtime injection of adaptation-specific content.
fix: conditionally load insertions and deduplicate stylesheet injections in shadow DOM components
* Remove annotation viewport clamping causing wrong positions
* Position annotation editors above "+note"
* perf: optimize UI updates by replacing ResizeObserver with requestAnimationFrame and adding unit tests
…utton (#285)

* feat: wrap link label input in a styled container for better visual grouping and interaction
* update annotation ribbons to support multi-line text with dynamic sizing
* refactor: decouple HighlightColorPicker from shareStore and add support for text highlight color management
* refactor: replace label support with custom align, outline, and hide-badge attributes for insertions
* refactor: add `default-style` and `default-badge` attributes to `Insertion` component and update documentation
* style: remove background color from insertion container and update pill background to use themeable variable
* docs: update insertion examples and clarify attribute behavior descriptions
@gerteck gerteck merged commit 1e26cf2 into main Jul 1, 2026
3 checks passed
@github-actions github-actions Bot added the r.Major Major version increment label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

r.Major Major version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants