From 0028a3b20a892e6f6e58ea0ab52596c4ba83fd36 Mon Sep 17 00:00:00 2001 From: Taylor Steinberg Date: Mon, 9 Nov 2026 10:41:14 -0500 Subject: [PATCH 1/4] docs: update changelog for the next release Cover every change since 1.32.0, sort entries into Breaking, New, and Fixed, link each entry to its pull request, and apply the Posit doc-reviewer release notes rules. Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 98 +++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 54 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 7a558367..8e427148 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,60 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased -- `deploy notebook --static` no longer requires a requirements file or - `--force-generate`, and no longer reads `renv.lock`. The static bundle contains - only the rendered HTML, so the selected Python environment only needs `nbconvert`, - `ipykernel`, and the packages the notebook imports. That environment no longer - needs rsconnect installed. (#923) -- `deploy notebook --static` warns about options that have no effect on the - rendered HTML, such as `--requirements-file`, `--force-generate`, `--image`, and - the environment management options, and about extra files, which aren't included. -- `--override-python-version` with a major and minor version, such as `3.11`, - requests the latest Python patch release in that series instead of `3.11.0`. - This requires Posit Connect 2025.03.0 or later; older servers use the local - Python version, so pass a full version such as `3.11.5` for those. (#901) -- Inspects activated or project virtual environments, including with `uv tool install`. - Global installations now inspect activated environments. `rsconnect preflight` checks - the same environment's Python version. Use `--python` to override selection. (#889) -- **Breaking:** Posit Connect content can be targeted only by GUID. `--app-id` with - a numeric Connect content ID fails with an error explaining how to find the - content's GUID, and rsconnect-python no longer calls the legacy - `/__api__/applications/{id}` endpoint. Connect Cloud and shinyapps.io application - IDs are unaffected. (#881) -- The `deploy` commands and `preflight` accept `--guid` to target an existing - Posit Connect content item, matching the `--guid` option on the `content` - commands. `--app-id` continues to work, and is the option to use for Connect - Cloud and shinyapps.io. (#885) -- Deploying to Posit Connect in Snowflake (SPCS) with `--app-id` or `--guid` - updates the existing content item instead of failing with "Unable to infer - Connect client." -- Generating requirements from an environment now requires pip 20.3 or later. - Older environments can upgrade pip or provide a requirements file. -- Reports editable dependencies outside the deployment directory, which Posit Connect - cannot install, in both generated and user-provided requirements. Requirement - filtering no longer drops unrelated packages whose name or path contains `rsconnect`. -- Getting-started documentation recommends `rsconnect login` for Posit Connect, - with API keys as an alternative. -- `rsconnect token` prints the OAuth access token stored by `rsconnect login` for a - Posit Connect server, so other tools, such as the Connect SDKs, can make API - requests with your login. `--refresh` gets a new token after the server rejects - the current one, and `--format json` prints machine-readable output. It exits - with status 4 when you need to log in again, and it never prints API keys. -- OAuth token refreshes are serialized across processes, so concurrent commands - don't invalidate each other's rotated refresh tokens. A command whose token was - already refreshed by another process uses the new token without refreshing again. - -- When client credentials can't publish to a Posit Connect Cloud account because the - account requires single sign-on (SSO), the error now says so, instead of - suggesting the publisher role. -- `rsconnect bootstrap` uses the `/__api__/v1/bootstrap` endpoint, falling back to - the deprecated `/__api__/v1/experimental/bootstrap` endpoint on Posit Connect - versions before 2024.05.0. (#594) -- `rsconnect deploy` deploys and activates rendered and static content (R Markdown, - Quarto, Jupyter notebooks, and HTML) in one step, without verifying a draft - first. Activating a draft makes Connect render it a second time, and if the - render fails, Connect keeps serving the previously-active bundle. With `--draft`, - rendered and static content is deployed as a draft but not verified. (#872) +### Breaking { #unreleased-breaking } + +- ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Requires a globally unique identifier (GUID) to target Posit Connect content. Numeric `--app-id` values fail with instructions for finding the GUID. Connect Cloud and shinyapps.io IDs still work. +- ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Rejects a requirements file outside the deployment directory, including through a symlink, instead of warning. +- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Requires pip 20.3 or later to generate requirements from an environment. For older environments, upgrade pip or provide a requirements file. + +### New { #unreleased-new } + +- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Adds `rsconnect token`, which prints the OAuth access token from `rsconnect login` for tools such as the Connect SDKs. It never prints API keys. +- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Adds `--refresh` to `rsconnect token` to get a new token after the server rejects the current one, and `--format json` for machine-readable output. +- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Exits `rsconnect token` with status 4 when you must log in again. +- ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Adds `--guid` to the `deploy` commands and `preflight` to target existing Connect content, matching the `content` commands. Use `--app-id` for Connect Cloud and shinyapps.io. +- ([#925](https://github.com/posit-dev/rsconnect-python/pull/925)): Warns when `deploy notebook --static` receives options or extra files that do not affect the rendered HTML, such as `--requirements-file`, `--force-generate`, and `--image`. +- ([#932](https://github.com/posit-dev/rsconnect-python/pull/932)): Warns when `pip freeze` generates requirements with a local Python version that does not satisfy the project requirement, as `rsconnect preflight` does. +- ([#919](https://github.com/posit-dev/rsconnect-python/pull/919)): Recommends `rsconnect login` for Connect in the getting-started documentation, with API keys as an alternative. + +### Fixed { #unreleased-fixed } + +- ([#924](https://github.com/posit-dev/rsconnect-python/pull/924)): Stops requiring a requirements file or `--force-generate` for `deploy notebook --static`, and stops reading `renv.lock`. The environment needs only `nbconvert`, `ipykernel`, and the notebook imports. +- ([#883](https://github.com/posit-dev/rsconnect-python/pull/883)): Deploys and activates rendered and static content, such as R Markdown, Quarto, notebooks, and HTML, in one step. Verifying a draft first made Connect render the content twice. +- ([#883](https://github.com/posit-dev/rsconnect-python/pull/883)): Deploys rendered and static content as a draft with `--draft`, without verifying it. +- ([#911](https://github.com/posit-dev/rsconnect-python/pull/911)): Requests the latest patch release when `--override-python-version` has only a major and minor version, such as `3.11`. Connect versions before 2025.03.0 need a full version, such as `3.11.5`. +- ([#920](https://github.com/posit-dev/rsconnect-python/pull/920)): Inspects activated or project virtual environments, including from `uv tool install`, and checks the same environment in `rsconnect preflight`. Use `--python` to choose a different environment. +- ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Updates existing content when deploying to Connect in Snowpark Container Services (SPCS) with `--app-id` or `--guid`, instead of failing with "Unable to infer Connect client". +- ([#879](https://github.com/posit-dev/rsconnect-python/pull/879)): Uses the `/__api__/v1/bootstrap` endpoint for `rsconnect bootstrap`, falling back to the deprecated experimental endpoint before Connect 2024.05.0. +- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Serializes OAuth token refreshes across processes, so concurrent commands do not invalidate each other's rotated refresh tokens. +- ([#868](https://github.com/posit-dev/rsconnect-python/pull/868), [#878](https://github.com/posit-dev/rsconnect-python/pull/878)): Explains that single sign-on (SSO) blocks publishing to a Connect Cloud account with client credentials, instead of suggesting the publisher role. +- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Reports editable dependencies outside the deployment directory, which Connect cannot install, in generated and user-provided requirements. +- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Keeps packages whose name or path contains `rsconnect` when filtering requirements. +- ([#931](https://github.com/posit-dev/rsconnect-python/pull/931)): Rewrites editable dependencies inside the deployment directory, written as absolute paths or `file:` URLs, as paths relative to the bundle so Connect can install them. +- ([#931](https://github.com/posit-dev/rsconnect-python/pull/931)): Reports local editable dependencies in single-notebook bundles, which do not include local packages, instead of failing on the server. +- ([#928](https://github.com/posit-dev/rsconnect-python/pull/928)): Excludes development dependencies and other dependency groups from requirements exported from `uv.lock`. +- ([#929](https://github.com/posit-dev/rsconnect-python/pull/929)): Exports `uv.lock` for notebooks and Quarto documents that you pass as a bare or relative path. +- ([#891](https://github.com/posit-dev/rsconnect-python/pull/891)): Regenerates `requirements.txt` with `--force-generate` in the `write-manifest` commands for Python frameworks, such as `write-manifest api`. +- ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Records requirements file paths relative to the deployment directory in manifests, including absolute paths and paths such as `deps/../requirements.txt`. +- ([#890](https://github.com/posit-dev/rsconnect-python/pull/890)): Writes the manifest for `write-manifest voila` to the given directory and uses its requirements file, instead of the parent directory's. +- ([#905](https://github.com/posit-dev/rsconnect-python/pull/905)): Accepts `pyproject.toml` files that start with a UTF-8 byte order mark. +- ([#903](https://github.com/posit-dev/rsconnect-python/pull/903)): Reports a malformed `pyproject.toml` as an error instead of a traceback. +- ([#904](https://github.com/posit-dev/rsconnect-python/pull/904)): Reports `project.dependencies` entries in `pyproject.toml` that are not strings as invalid. +- ([#906](https://github.com/posit-dev/rsconnect-python/pull/906)): Shows the current directory as `.` in the missing requirements file error instead of leaving it blank. +- ([#907](https://github.com/posit-dev/rsconnect-python/pull/907)): Reports a dangling symlink and how to fix it during bundling, instead of a traceback. +- ([#908](https://github.com/posit-dev/rsconnect-python/pull/908)): Reports a concise error instead of a traceback when `nbconvert` fails to render a notebook for `deploy notebook --static`. +- ([#912](https://github.com/posit-dev/rsconnect-python/pull/912)): Removes the duplicate `--verbose` option from `content build ls`. +- ([#933](https://github.com/posit-dev/rsconnect-python/pull/933)): Requires `snowflake-cli` 2.8.2 or later on Python 3.8 and 3.9, and 3.23.0 or later on Python 3.10 and later, in the `snowflake` extra. ## [1.32.0] - 2026-10-16 From 7fd45889c0a2756cb8c4e7f09fec1b1bc4afb364 Mon Sep 17 00:00:00 2001 From: Taylor Steinberg Date: Mon, 9 Nov 2026 10:42:24 -0500 Subject: [PATCH 2/4] docs: remove changelog section anchors Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 8e427148..daa2898e 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,13 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased -### Breaking { #unreleased-breaking } +### Breaking - ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Requires a globally unique identifier (GUID) to target Posit Connect content. Numeric `--app-id` values fail with instructions for finding the GUID. Connect Cloud and shinyapps.io IDs still work. - ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Rejects a requirements file outside the deployment directory, including through a symlink, instead of warning. - ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Requires pip 20.3 or later to generate requirements from an environment. For older environments, upgrade pip or provide a requirements file. -### New { #unreleased-new } +### New - ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Adds `rsconnect token`, which prints the OAuth access token from `rsconnect login` for tools such as the Connect SDKs. It never prints API keys. - ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Adds `--refresh` to `rsconnect token` to get a new token after the server rejects the current one, and `--format json` for machine-readable output. @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ([#932](https://github.com/posit-dev/rsconnect-python/pull/932)): Warns when `pip freeze` generates requirements with a local Python version that does not satisfy the project requirement, as `rsconnect preflight` does. - ([#919](https://github.com/posit-dev/rsconnect-python/pull/919)): Recommends `rsconnect login` for Connect in the getting-started documentation, with API keys as an alternative. -### Fixed { #unreleased-fixed } +### Fixed - ([#924](https://github.com/posit-dev/rsconnect-python/pull/924)): Stops requiring a requirements file or `--force-generate` for `deploy notebook --static`, and stops reading `renv.lock`. The environment needs only `nbconvert`, `ipykernel`, and the notebook imports. - ([#883](https://github.com/posit-dev/rsconnect-python/pull/883)): Deploys and activates rendered and static content, such as R Markdown, Quarto, notebooks, and HTML, in one step. Verifying a draft first made Connect render the content twice. From fb283cd520ce83c3856cf82036f0323f4d5ee613 Mon Sep 17 00:00:00 2001 From: Taylor Steinberg Date: Mon, 9 Nov 2026 10:43:33 -0500 Subject: [PATCH 3/4] docs: list pip and requirements path changes as fixes Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index daa2898e..b437a7c3 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -10,8 +10,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Breaking - ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Requires a globally unique identifier (GUID) to target Posit Connect content. Numeric `--app-id` values fail with instructions for finding the GUID. Connect Cloud and shinyapps.io IDs still work. -- ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Rejects a requirements file outside the deployment directory, including through a symlink, instead of warning. -- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Requires pip 20.3 or later to generate requirements from an environment. For older environments, upgrade pip or provide a requirements file. ### New @@ -36,12 +34,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ([#868](https://github.com/posit-dev/rsconnect-python/pull/868), [#878](https://github.com/posit-dev/rsconnect-python/pull/878)): Explains that single sign-on (SSO) blocks publishing to a Connect Cloud account with client credentials, instead of suggesting the publisher role. - ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Reports editable dependencies outside the deployment directory, which Connect cannot install, in generated and user-provided requirements. - ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Keeps packages whose name or path contains `rsconnect` when filtering requirements. +- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Requires pip 20.3 or later to generate requirements from an environment. For older environments, upgrade pip or provide a requirements file. - ([#931](https://github.com/posit-dev/rsconnect-python/pull/931)): Rewrites editable dependencies inside the deployment directory, written as absolute paths or `file:` URLs, as paths relative to the bundle so Connect can install them. - ([#931](https://github.com/posit-dev/rsconnect-python/pull/931)): Reports local editable dependencies in single-notebook bundles, which do not include local packages, instead of failing on the server. - ([#928](https://github.com/posit-dev/rsconnect-python/pull/928)): Excludes development dependencies and other dependency groups from requirements exported from `uv.lock`. - ([#929](https://github.com/posit-dev/rsconnect-python/pull/929)): Exports `uv.lock` for notebooks and Quarto documents that you pass as a bare or relative path. - ([#891](https://github.com/posit-dev/rsconnect-python/pull/891)): Regenerates `requirements.txt` with `--force-generate` in the `write-manifest` commands for Python frameworks, such as `write-manifest api`. - ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Records requirements file paths relative to the deployment directory in manifests, including absolute paths and paths such as `deps/../requirements.txt`. +- ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Rejects a requirements file outside the deployment directory, including through a symlink, instead of warning. - ([#890](https://github.com/posit-dev/rsconnect-python/pull/890)): Writes the manifest for `write-manifest voila` to the given directory and uses its requirements file, instead of the parent directory's. - ([#905](https://github.com/posit-dev/rsconnect-python/pull/905)): Accepts `pyproject.toml` files that start with a UTF-8 byte order mark. - ([#903](https://github.com/posit-dev/rsconnect-python/pull/903)): Reports a malformed `pyproject.toml` as an error instead of a traceback. From 2b29058734b585cad9ae945bb9f48fef6ed91ff4 Mon Sep 17 00:00:00 2001 From: Taylor Steinberg Date: Mon, 9 Nov 2026 10:45:39 -0500 Subject: [PATCH 4/4] docs: follow Keep a Changelog 1.1.0 in the changelog Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 125 +++++++++++++++++++++++++++++++--------------- 1 file changed, 84 insertions(+), 41 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index b437a7c3..e7d632a7 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,55 +2,55 @@ All notable changes to this project will be documented in this file. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [Unreleased] -### Breaking +### Added -- ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Requires a globally unique identifier (GUID) to target Posit Connect content. Numeric `--app-id` values fail with instructions for finding the GUID. Connect Cloud and shinyapps.io IDs still work. +- Adds `rsconnect token`, which prints the OAuth access token from `rsconnect login` for tools such as the Connect SDKs. It never prints API keys [#884](https://github.com/posit-dev/rsconnect-python/pull/884). +- Adds `--refresh` to `rsconnect token` to get a new token after the server rejects the current one, and `--format json` for machine-readable output [#884](https://github.com/posit-dev/rsconnect-python/pull/884). +- `rsconnect token` exits with status 4 when you must log in again [#884](https://github.com/posit-dev/rsconnect-python/pull/884). +- Adds `--guid` to the `deploy` commands and `preflight` to target existing Connect content, matching the `content` commands. Use `--app-id` for Connect Cloud and shinyapps.io [#915](https://github.com/posit-dev/rsconnect-python/pull/915). +- Warns when `deploy notebook --static` receives options or extra files that do not affect the rendered HTML, such as `--requirements-file`, `--force-generate`, and `--image` [#925](https://github.com/posit-dev/rsconnect-python/pull/925). +- Warns when `pip freeze` generates requirements with a local Python version that does not satisfy the project requirement, as `rsconnect preflight` does [#932](https://github.com/posit-dev/rsconnect-python/pull/932). +- Recommends `rsconnect login` for Connect in the getting-started documentation, with API keys as an alternative [#919](https://github.com/posit-dev/rsconnect-python/pull/919). -### New +### Removed -- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Adds `rsconnect token`, which prints the OAuth access token from `rsconnect login` for tools such as the Connect SDKs. It never prints API keys. -- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Adds `--refresh` to `rsconnect token` to get a new token after the server rejects the current one, and `--format json` for machine-readable output. -- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Exits `rsconnect token` with status 4 when you must log in again. -- ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Adds `--guid` to the `deploy` commands and `preflight` to target existing Connect content, matching the `content` commands. Use `--app-id` for Connect Cloud and shinyapps.io. -- ([#925](https://github.com/posit-dev/rsconnect-python/pull/925)): Warns when `deploy notebook --static` receives options or extra files that do not affect the rendered HTML, such as `--requirements-file`, `--force-generate`, and `--image`. -- ([#932](https://github.com/posit-dev/rsconnect-python/pull/932)): Warns when `pip freeze` generates requirements with a local Python version that does not satisfy the project requirement, as `rsconnect preflight` does. -- ([#919](https://github.com/posit-dev/rsconnect-python/pull/919)): Recommends `rsconnect login` for Connect in the getting-started documentation, with API keys as an alternative. +- **Breaking:** Removes support for targeting Posit Connect content by numeric ID. Use the content's globally unique identifier (GUID) instead. Numeric `--app-id` values fail with instructions for finding the GUID. Connect Cloud and shinyapps.io IDs still work [#915](https://github.com/posit-dev/rsconnect-python/pull/915). ### Fixed -- ([#924](https://github.com/posit-dev/rsconnect-python/pull/924)): Stops requiring a requirements file or `--force-generate` for `deploy notebook --static`, and stops reading `renv.lock`. The environment needs only `nbconvert`, `ipykernel`, and the notebook imports. -- ([#883](https://github.com/posit-dev/rsconnect-python/pull/883)): Deploys and activates rendered and static content, such as R Markdown, Quarto, notebooks, and HTML, in one step. Verifying a draft first made Connect render the content twice. -- ([#883](https://github.com/posit-dev/rsconnect-python/pull/883)): Deploys rendered and static content as a draft with `--draft`, without verifying it. -- ([#911](https://github.com/posit-dev/rsconnect-python/pull/911)): Requests the latest patch release when `--override-python-version` has only a major and minor version, such as `3.11`. Connect versions before 2025.03.0 need a full version, such as `3.11.5`. -- ([#920](https://github.com/posit-dev/rsconnect-python/pull/920)): Inspects activated or project virtual environments, including from `uv tool install`, and checks the same environment in `rsconnect preflight`. Use `--python` to choose a different environment. -- ([#915](https://github.com/posit-dev/rsconnect-python/pull/915)): Updates existing content when deploying to Connect in Snowpark Container Services (SPCS) with `--app-id` or `--guid`, instead of failing with "Unable to infer Connect client". -- ([#879](https://github.com/posit-dev/rsconnect-python/pull/879)): Uses the `/__api__/v1/bootstrap` endpoint for `rsconnect bootstrap`, falling back to the deprecated experimental endpoint before Connect 2024.05.0. -- ([#884](https://github.com/posit-dev/rsconnect-python/pull/884)): Serializes OAuth token refreshes across processes, so concurrent commands do not invalidate each other's rotated refresh tokens. -- ([#868](https://github.com/posit-dev/rsconnect-python/pull/868), [#878](https://github.com/posit-dev/rsconnect-python/pull/878)): Explains that single sign-on (SSO) blocks publishing to a Connect Cloud account with client credentials, instead of suggesting the publisher role. -- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Reports editable dependencies outside the deployment directory, which Connect cannot install, in generated and user-provided requirements. -- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Keeps packages whose name or path contains `rsconnect` when filtering requirements. -- ([#909](https://github.com/posit-dev/rsconnect-python/pull/909)): Requires pip 20.3 or later to generate requirements from an environment. For older environments, upgrade pip or provide a requirements file. -- ([#931](https://github.com/posit-dev/rsconnect-python/pull/931)): Rewrites editable dependencies inside the deployment directory, written as absolute paths or `file:` URLs, as paths relative to the bundle so Connect can install them. -- ([#931](https://github.com/posit-dev/rsconnect-python/pull/931)): Reports local editable dependencies in single-notebook bundles, which do not include local packages, instead of failing on the server. -- ([#928](https://github.com/posit-dev/rsconnect-python/pull/928)): Excludes development dependencies and other dependency groups from requirements exported from `uv.lock`. -- ([#929](https://github.com/posit-dev/rsconnect-python/pull/929)): Exports `uv.lock` for notebooks and Quarto documents that you pass as a bare or relative path. -- ([#891](https://github.com/posit-dev/rsconnect-python/pull/891)): Regenerates `requirements.txt` with `--force-generate` in the `write-manifest` commands for Python frameworks, such as `write-manifest api`. -- ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Records requirements file paths relative to the deployment directory in manifests, including absolute paths and paths such as `deps/../requirements.txt`. -- ([#910](https://github.com/posit-dev/rsconnect-python/pull/910)): Rejects a requirements file outside the deployment directory, including through a symlink, instead of warning. -- ([#890](https://github.com/posit-dev/rsconnect-python/pull/890)): Writes the manifest for `write-manifest voila` to the given directory and uses its requirements file, instead of the parent directory's. -- ([#905](https://github.com/posit-dev/rsconnect-python/pull/905)): Accepts `pyproject.toml` files that start with a UTF-8 byte order mark. -- ([#903](https://github.com/posit-dev/rsconnect-python/pull/903)): Reports a malformed `pyproject.toml` as an error instead of a traceback. -- ([#904](https://github.com/posit-dev/rsconnect-python/pull/904)): Reports `project.dependencies` entries in `pyproject.toml` that are not strings as invalid. -- ([#906](https://github.com/posit-dev/rsconnect-python/pull/906)): Shows the current directory as `.` in the missing requirements file error instead of leaving it blank. -- ([#907](https://github.com/posit-dev/rsconnect-python/pull/907)): Reports a dangling symlink and how to fix it during bundling, instead of a traceback. -- ([#908](https://github.com/posit-dev/rsconnect-python/pull/908)): Reports a concise error instead of a traceback when `nbconvert` fails to render a notebook for `deploy notebook --static`. -- ([#912](https://github.com/posit-dev/rsconnect-python/pull/912)): Removes the duplicate `--verbose` option from `content build ls`. -- ([#933](https://github.com/posit-dev/rsconnect-python/pull/933)): Requires `snowflake-cli` 2.8.2 or later on Python 3.8 and 3.9, and 3.23.0 or later on Python 3.10 and later, in the `snowflake` extra. +- Stops requiring a requirements file or `--force-generate` for `deploy notebook --static`, and stops reading `renv.lock`. The environment needs only `nbconvert`, `ipykernel`, and the notebook imports [#924](https://github.com/posit-dev/rsconnect-python/pull/924). +- Deploys and activates rendered and static content, such as R Markdown, Quarto, notebooks, and HTML, in one step. Verifying a draft first made Connect render the content twice [#883](https://github.com/posit-dev/rsconnect-python/pull/883). +- Deploys rendered and static content as a draft with `--draft`, without verifying it [#883](https://github.com/posit-dev/rsconnect-python/pull/883). +- Requests the latest patch release when `--override-python-version` has only a major and minor version, such as `3.11`. Connect versions before 2025.03.0 need a full version, such as `3.11.5` [#911](https://github.com/posit-dev/rsconnect-python/pull/911). +- Inspects activated or project virtual environments, including from `uv tool install`, and checks the same environment in `rsconnect preflight`. Use `--python` to choose a different environment [#920](https://github.com/posit-dev/rsconnect-python/pull/920). +- Updates existing content when deploying to Connect in Snowpark Container Services (SPCS) with `--app-id` or `--guid`, instead of failing with "Unable to infer Connect client" [#915](https://github.com/posit-dev/rsconnect-python/pull/915). +- Uses the `/__api__/v1/bootstrap` endpoint for `rsconnect bootstrap`, falling back to the deprecated experimental endpoint before Connect 2024.05.0 [#879](https://github.com/posit-dev/rsconnect-python/pull/879). +- Serializes OAuth token refreshes across processes, so concurrent commands do not invalidate each other's rotated refresh tokens [#884](https://github.com/posit-dev/rsconnect-python/pull/884). +- Explains that single sign-on (SSO) blocks publishing to a Connect Cloud account with client credentials, instead of suggesting the publisher role [#868](https://github.com/posit-dev/rsconnect-python/pull/868) [#878](https://github.com/posit-dev/rsconnect-python/pull/878). +- Reports editable dependencies outside the deployment directory, which Connect cannot install, in generated and user-provided requirements [#909](https://github.com/posit-dev/rsconnect-python/pull/909). +- Keeps packages whose name or path contains `rsconnect` when filtering requirements [#909](https://github.com/posit-dev/rsconnect-python/pull/909). +- Requires pip 20.3 or later to generate requirements from an environment. For older environments, upgrade pip or provide a requirements file [#909](https://github.com/posit-dev/rsconnect-python/pull/909). +- Rewrites editable dependencies inside the deployment directory, written as absolute paths or `file:` URLs, as paths relative to the bundle so Connect can install them [#931](https://github.com/posit-dev/rsconnect-python/pull/931). +- Reports local editable dependencies in single-notebook bundles, which do not include local packages, instead of failing on the server [#931](https://github.com/posit-dev/rsconnect-python/pull/931). +- Excludes development dependencies and other dependency groups from requirements exported from `uv.lock` [#928](https://github.com/posit-dev/rsconnect-python/pull/928). +- Exports `uv.lock` for notebooks and Quarto documents that you pass as a bare or relative path [#929](https://github.com/posit-dev/rsconnect-python/pull/929). +- Regenerates `requirements.txt` with `--force-generate` in the `write-manifest` commands for Python frameworks, such as `write-manifest api` [#891](https://github.com/posit-dev/rsconnect-python/pull/891). +- Records requirements file paths relative to the deployment directory in manifests, including absolute paths and paths such as `deps/../requirements.txt` [#910](https://github.com/posit-dev/rsconnect-python/pull/910). +- Rejects a requirements file outside the deployment directory, including through a symlink, instead of warning [#910](https://github.com/posit-dev/rsconnect-python/pull/910). +- Writes the manifest for `write-manifest voila` to the given directory and uses its requirements file, instead of the parent directory's [#890](https://github.com/posit-dev/rsconnect-python/pull/890). +- Accepts `pyproject.toml` files that start with a UTF-8 byte order mark [#905](https://github.com/posit-dev/rsconnect-python/pull/905). +- Reports a malformed `pyproject.toml` as an error instead of a traceback [#903](https://github.com/posit-dev/rsconnect-python/pull/903). +- Reports `project.dependencies` entries in `pyproject.toml` that are not strings as invalid [#904](https://github.com/posit-dev/rsconnect-python/pull/904). +- Shows the current directory as `.` in the missing requirements file error instead of leaving it blank [#906](https://github.com/posit-dev/rsconnect-python/pull/906). +- Reports a dangling symlink and how to fix it during bundling, instead of a traceback [#907](https://github.com/posit-dev/rsconnect-python/pull/907). +- Reports a concise error instead of a traceback when `nbconvert` fails to render a notebook for `deploy notebook --static` [#908](https://github.com/posit-dev/rsconnect-python/pull/908). +- Removes the duplicate `--verbose` option from `content build ls` [#912](https://github.com/posit-dev/rsconnect-python/pull/912). +- Requires `snowflake-cli` 2.8.2 or later on Python 3.8 and 3.9, and 3.23.0 or later on Python 3.10 and later, in the `snowflake` extra [#933](https://github.com/posit-dev/rsconnect-python/pull/933). ## [1.32.0] - 2026-10-16 @@ -940,7 +940,50 @@ rsconnect deploy notebook \ - first release -[Unreleased]: https://github.com/posit-dev/rsconnect-python/compare/1.5.0...HEAD +[Unreleased]: https://github.com/posit-dev/rsconnect-python/compare/1.32.0...HEAD +[1.32.0]: https://github.com/posit-dev/rsconnect-python/compare/1.31.1...1.32.0 +[1.31.1]: https://github.com/posit-dev/rsconnect-python/compare/1.31.0...1.31.1 +[1.31.0]: https://github.com/posit-dev/rsconnect-python/compare/1.30.0...1.31.0 +[1.30.0]: https://github.com/posit-dev/rsconnect-python/compare/1.29.0...1.30.0 +[1.29.0]: https://github.com/posit-dev/rsconnect-python/compare/1.28.2...1.29.0 +[1.28.2]: https://github.com/posit-dev/rsconnect-python/compare/1.28.1...1.28.2 +[1.28.1]: https://github.com/posit-dev/rsconnect-python/compare/1.28.0...1.28.1 +[1.28.0]: https://github.com/posit-dev/rsconnect-python/compare/1.27.1...1.28.0 +[1.27.1]: https://github.com/posit-dev/rsconnect-python/compare/1.27.0...1.27.1 +[1.27.0]: https://github.com/posit-dev/rsconnect-python/compare/1.26.0...1.27.0 +[1.26.0]: https://github.com/posit-dev/rsconnect-python/compare/1.25.2...1.26.0 +[1.25.2]: https://github.com/posit-dev/rsconnect-python/compare/1.25.1...1.25.2 +[1.25.1]: https://github.com/posit-dev/rsconnect-python/compare/1.25.0...1.25.1 +[1.25.0]: https://github.com/posit-dev/rsconnect-python/compare/1.24.0...1.25.0 +[1.24.0]: https://github.com/posit-dev/rsconnect-python/compare/1.23.0...1.24.0 +[1.23.0]: https://github.com/posit-dev/rsconnect-python/compare/1.22.0...1.23.0 +[1.22.0]: https://github.com/posit-dev/rsconnect-python/compare/1.21.0...1.22.0 +[1.21.0]: https://github.com/posit-dev/rsconnect-python/compare/1.20.0...1.21.0 +[1.20.0]: https://github.com/posit-dev/rsconnect-python/compare/1.19.1...1.20.0 +[1.19.1]: https://github.com/posit-dev/rsconnect-python/compare/1.19.0...1.19.1 +[1.19.0]: https://github.com/posit-dev/rsconnect-python/compare/1.18.0...1.19.0 +[1.18.0]: https://github.com/posit-dev/rsconnect-python/compare/1.17.1...1.18.0 +[1.17.1]: https://github.com/posit-dev/rsconnect-python/compare/1.17.0...1.17.1 +[1.17.0]: https://github.com/posit-dev/rsconnect-python/compare/1.16.0...1.17.0 +[1.16.0]: https://github.com/posit-dev/rsconnect-python/compare/1.15.0...1.16.0 +[1.15.0]: https://github.com/posit-dev/rsconnect-python/compare/1.14.1...1.15.0 +[1.14.1]: https://github.com/posit-dev/rsconnect-python/compare/1.14.0...1.14.1 +[1.14.0]: https://github.com/posit-dev/rsconnect-python/compare/1.13.0...1.14.0 +[1.13.0]: https://github.com/posit-dev/rsconnect-python/compare/1.12.1...1.13.0 +[1.12.1]: https://github.com/posit-dev/rsconnect-python/compare/1.12.0...1.12.1 +[1.12.0]: https://github.com/posit-dev/rsconnect-python/compare/1.11.0...1.12.0 +[1.11.0]: https://github.com/posit-dev/rsconnect-python/compare/1.10.0...1.11.0 +[1.10.0]: https://github.com/posit-dev/rsconnect-python/compare/1.9.0...1.10.0 +[1.9.0]: https://github.com/posit-dev/rsconnect-python/compare/1.8.1...1.9.0 +[1.8.1]: https://github.com/posit-dev/rsconnect-python/compare/1.8.0...1.8.1 +[1.8.0]: https://github.com/posit-dev/rsconnect-python/compare/1.7.1...1.8.0 +[1.7.1]: https://github.com/posit-dev/rsconnect-python/compare/1.7.0...1.7.1 +[1.7.0]: https://github.com/posit-dev/rsconnect-python/compare/1.6.0...1.7.0 +[1.6.0]: https://github.com/posit-dev/rsconnect-python/compare/1.5.4...1.6.0 +[1.5.4]: https://github.com/posit-dev/rsconnect-python/compare/1.5.3...1.5.4 +[1.5.3]: https://github.com/posit-dev/rsconnect-python/compare/1.5.2...1.5.3 +[1.5.2]: https://github.com/posit-dev/rsconnect-python/compare/1.5.1...1.5.2 +[1.5.1]: https://github.com/posit-dev/rsconnect-python/compare/1.5.0...1.5.1 [1.5.0]: https://github.com/posit-dev/rsconnect-python/compare/1.4.5...1.5.0 [1.4.5]: https://github.com/posit-dev/rsconnect-python/compare/1.4.4...1.4.5 [1.4.4]: https://github.com/posit-dev/rsconnect-python/compare/1.4.3...1.4.4