diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 53b7bc9..895bf0e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.2" + ".": "2.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 7074a07..5edf850 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [2.0.0](https://github.com/alex-feel/st-copy/compare/v1.1.2...v2.0.0) (2026-06-17) + + +### ⚠ BREAKING CHANGES + +* Custom Components v2 requires Streamlit >= 1.56 and Python >= 3.10 (previously Streamlit >= 1.45 and Python >= 3.9). The component is now frameless (no iframe); the public copy_button() signature and return value are unchanged. + +### Features + +* migrate to Streamlit Custom Components v2 and fix horizontal layout ([1831952](https://github.com/alex-feel/st-copy/commit/1831952320b2b50962c134539b810901a0a4aeba)), closes [#27](https://github.com/alex-feel/st-copy/issues/27) + + +### Bug Fixes + +* embed the frontend bundle inline instead of via an asset_dir manifest ([34478f8](https://github.com/alex-feel/st-copy/commit/34478f8956d16a1eb0aaf8d4aec58095290927e6)) +* include the frontend bundle as a wheel artifact instead of a force-include so editable builds don't require it ([d6f0036](https://github.com/alex-feel/st-copy/commit/d6f0036f8fd61b283444fa47d6d2cd514ada72c5)) + ## [1.1.2](https://github.com/alex-feel/st-copy/compare/v1.1.1...v1.1.2) (2025-06-15) diff --git a/pyproject.toml b/pyproject.toml index 54223f9..f1da3cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "st-copy" -version = "1.1.2" +version = "2.0.0" description = "Streamlit copy‑to‑clipboard button component" readme = "README.md" authors = [{ name = "Aleksandr Filippov", email = "alex-feel.saga628@passmail.com" }] diff --git a/src/st_copy/frontend/package.json b/src/st_copy/frontend/package.json index 930b978..02b2529 100644 --- a/src/st_copy/frontend/package.json +++ b/src/st_copy/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "1.1.2", + "version": "2.0.0", "type": "module", "scripts": { "dev": "vite build --watch",