Skip to content

release: v1.5.2 - #10475

Open
sriramveeraghanta wants to merge 25 commits into
masterfrom
release/v1.5.2
Open

sriramveeraghanta wants to merge 25 commits into
masterfrom
release/v1.5.2

Conversation

@sriramveeraghanta

Copy link
Copy Markdown
Member

✨ Features

  • Expanded sub-work items in the list layout now stay expanded after a page refresh.

🐞 Bug fixes

  • Attachments whose names have no extension now show their name instead of . in the attachment list, the delete confirmation and Intake cards. Intake attachment cards now show the file type and icon.
  • Inviting workspace members with a malformed request now returns a 400 instead of a server error.
  • On mobile, the Calendar layout shows the selected day's work items once instead of twice.
  • On mobile, the sub-work items list scrolls sideways, so each sub-work item's state, priority, assignee and dates can be reached.
  • On narrow screens, the project tab overflow menu stays visible, so Cycles, Modules, Views, Pages and Intake can be opened from the project header.
  • On phones, the work item list no longer scrolls sideways into an empty area.
  • On phones, the project view header fits the screen: layouts are picked from a single menu, and Add work item is an icon button.
  • On mobile, the Analytics button is vertically aligned with the other header buttons on the work items, cycle and module pages.
  • On mobile, the bottom of settings pages can be scrolled into view, and the settings menu closes after you pick an item.

🛡️ Security

This release continues the access control and hardening work from v1.5.1. Self-hosted instances should upgrade.

Access control

  • Looking up a published project board's anchor now requires sign-in and active project membership. Previously anyone with the workspace slug and project ID could get the board's share link, including for secret projects.
  • Workspace guests no longer see other users' email addresses in the external API's expand results, such as assignees, creators, members and the project lead.
  • Assets saved without a project ID are now checked against the project of the work item, comment or page they are bound to. Draft assets are readable only by their creator.
  • Public Space boards now serve only assets attached to the work items the board shows, or to their external comments. Assets on internal comments, on archived, draft or triage work items, and unbound assets return a 404.
  • Guests who can only see their own work items now get a 403 when adding or removing reactions on other work items, not only when listing them.
  • Public votes are now looked up by the board's anchor, and the public project members endpoint only accepts project boards.

Authentication and rate limits

  • Password reset submissions are now rate limited per IP, sharing the sign-in budget. A malformed reset link now redirects with an invalid-link error instead of a server error.
  • NUM_PROXIES now defaults to 1, so rate limits use the client address added by the bundled proxy and can't be bypassed with a forged X-Forwarded-For header.
  • The live server's document conversion endpoint now requires the shared LIVE_SERVER_SECRET_KEY, checked in constant time. PDF export now requires a valid session and active membership of the workspace.

Content and injection

  • Module descriptions are now sanitized on create and update.
  • Inline styles in rich text now keep only the properties the editor writes. Other CSS, such as positioning and url() backgrounds, is removed.
  • PDF export now downloads external images itself, from public addresses only, without following redirects, and up to 10 MB. Other images render as placeholders.
  • The Unsplash image search proxy now URL-encodes its query parameters, so callers can't add or override parameters, and no longer follows redirects.

Dependencies and images

⚠️ Upgrade notes

  • Proxies and rate limits: NUM_PROXIES now defaults to 1. If a load balancer or CDN sits in front of the bundled proxy, raise NUM_PROXIES by one per extra hop (for example 2) and add its ranges to TRUSTED_PROXIES. Otherwise every client is rate-limited as the load balancer's address.
  • Live server key: the API, worker and beat-worker must use the same LIVE_SERVER_SECRET_KEY as the live server. Otherwise duplicating a page or work item can't convert its description. The CLI Docker Compose file and the AIO image already pass one value to all of them.
  • Legacy Space links: old /<workspace>/<project-id> Space links now redirect only signed-in project members. Everyone else sees a 404. /issues/<anchor> share links are unchanged.
  • Rich text styles: inline styles are limited to color, background-color, text-align, width and min-width. Other inline CSS is removed the next time the content is saved.
  • External API: for workspace guests, user objects in expand results no longer include email, except their own.
  • Migrations: this release has no new migrations.

akshat5302 and others added 25 commits November 24, 2026 13:22
* fix: clear the 2026-11-23 nightly scan findings

Busts the cached apk layer so rebuilt Alpine images pick up krb5-libs
1.22.3-r0, libpq 18.7-r0, libxml2 2.13.9-r3 and libxslt 1.1.43-r4,
moves golang.org/x/net to v0.62.0 (CVE-2026-78661) in the Caddy build,
effect to 3.22.1 (CVE-2026-121707) and soupsieve to 4.1.3
(CVE-2026-126190, CVE-2026-126191).

Co-Authored-By: WOZCODE <contact@withwoz.com>

* fix: move the web and admin Caddy builders to x/net v0.62.0

Both images build their own Caddy and still pinned x/net v0.60.0, so they
kept shipping CVE-2026-78661 after the proxy was fixed. Same x/crypto
v0.58.0 and x/text v0.43.0 floors as apps/proxy.

Co-Authored-By: WOZCODE <contact@withwoz.com>

---------

Co-authored-by: WOZCODE <contact@withwoz.com>
)

The public anchor lookup (/api/public/workspaces/<slug>/projects/<project_id>/anchor/)
was AllowAny, so anyone with a workspace slug and project id could get a
published board's share link without being given it.

It now needs a session (401 otherwise) and an active membership in the
project. A signed-in non-member gets the same 404 as for a project that
was never published.
* fix: throttle password reset submissions

ResetPasswordEndpoint and ResetPasswordSpaceEndpoint are plain Django views,
so DRF throttle_classes never ran on them. Apply throttle_auth_redirect like
the other redirect-flow auth views.

A uidb64 that decodes to a non-UUID also raised ValidationError and returned
a 500; redirect with the invalid/expired token error instead.

* fix(space): show a banner when auth requests are rate limited

The Spaces auth helper had no entry for RATE_LIMIT_EXCEEDED (5900), so a
throttled Spaces sign-in, sign-up or password reset fell back to the
plain form without saying why. Map it to a banner, as the web app does.
…ens (#10454)

* fix(web): keep the project tab overflow menu reachable on narrow screens

* fix(web): align the overflow menu when no project tab fits

---------

Co-authored-by: AppSunder <AppSunder@users.noreply.github.com>
…ens (#10456)

Co-authored-by: AppSunder <AppSunder@users.noreply.github.com>
…10455)

Co-authored-by: AppSunder <AppSunder@users.noreply.github.com>
* fix(web): let the sub-work-item list scroll sideways on mobile

The row's properties (state, priority, assignee, dates) are fixed-width, so on a
phone the title collapsed to zero width and the overflow pushed the whole page
column sideways instead of the list. The top-level list is now its own horizontal
scroll container and the title keeps a minimum width.

* fix(web): size the sub-item title's minimum from its own content

A fixed min-w-28 on the identifier and title container left the title with no width
when a long project identifier filled it. The title now has its own minimum width, so
the container's minimum is the identifier plus the gap plus a readable part of the title.

---------

Co-authored-by: AppSunder <AppSunder@users.noreply.github.com>
…es (#10441)

* [SECU-2] fix(security): authenticate live HTTP endpoints and keep PDF export off internal addresses

- /convert-document/ requires the shared live-server secret (constant-time
  comparison); the API's page duplication task now sends it, with a timeout.
- /pdf-export/ checks the session (requireAuth) and then workspace
  membership (requireWorkspaceMembership) before any work, following the
  Silo guard pattern.
- @plane/decorators: stacked @Middleware decorators run in written order.
- PDF renderer only hands inline image data to <Image>. External image
  URLs are downloaded by the export through a guard that connects only to
  public addresses, follows no redirects and caps size and time.

* [SECU-2] fix(live): open a fresh connection for every external image download

A pooled keep-alive socket is reused without a DNS lookup, so it would skip the
public-address check. Also adds a test that runs the pdf-export guards against
an HTTP stand-in for the API.

* [SECU-2] fix(live): bound external image downloads by an absolute deadline

A socket timeout only measures inactivity, so a slow trickle never tripped it,
and a non-200 body was drained with no size cap. Both now destroy the request.
* [INFRA-1596] fix: clear the 2026-12-02 nightly scan findings

Bump react-router 8.5.3 and ws 8.23.0 / 7.5.14, minimatch 11.0.10, and
floor cross-spawn at 7.1.0. Bump APK_SECURITY_PATCH to 2026-12-02 for
OpenSSL 3.5.10.

* [INFRA-1596] fix(web): open god mode with a document navigation

react-router 8.5.2 makes navigate() reject an absolute URL on another
origin, and router.push goes through navigate(). GOD_MODE_URL is the
admin app's origin, so use window.location.assign. The item is hidden
today (isUserInstanceAdmin is false).
…refresh (#10180)

* feat(web): persist expanded sub-work items in list layout

* fix(web): key persisted expansion by row, tolerate blocked storage, fetch visible rows only

* fix(web): keep restored sub-rows lazy and key expansion by nesting level

* fix(web): fetch a restored row's sub-work items once per page load
…10471)

* fix(web): close the settings menu after choosing an item on mobile

The hamburger menu in the settings pages only closed on a click outside it, so choosing an item navigated but left the menu open over the new page. Close it when the route changes.

* fix(web): close the settings menu when the current page is selected

---------

Co-authored-by: AppSunder <AppSunder@users.noreply.github.com>
On a phone the settings pages put a nav bar above a container that is h-full, so the content is the nav height taller than its overflow-hidden parent and the last rows cannot be scrolled into view (the project Members list is cut off). Make the wrapper a flex column and let the content fill what is left.

Co-authored-by: AppSunder <AppSunder@users.noreply.github.com>
#10429)

- Move the hidden-issue check into IssueReactionViewSet.initial() so it covers create and delete as well as list. Before this, only list was guarded, so a restricted guest could add or remove reactions on issues they didn't create.
- Raise PermissionDenied instead of returning an ad-hoc 403 response from list.
- Add contract tests. A restricted guest gets 403 on a foreign issue, and the existing reaction and activity stay untouched. Guests on their own issues, members and unrestricted guests are unaffected.
The proxy pasted query, page and per_page into the Unsplash URL, so a
caller could add or override parameters, and it followed redirects with
no timeout. Pass them as requests params, stop following redirects, time
out after 10s and return 502 when Unsplash cannot be reached. Also drops a
stray '$' that was sent in the search page value.
…es (#10447)

The sanitizer allowed any CSS in style attributes on every element, so
stored content could carry fixed-position overlays or url() beacons.
Keep only the properties the editor writes (color, background-color,
text-align, width, min-width) via nh3's filter_style_properties, which
needs nh3 0.3.
* fix: sanitize module description HTML on write

ModuleWriteSerializer accepted description_html as sent; every other rich
text field runs through validate_html_content. Sanitize it on create and
update the same way.

* fix: sanitize only string module descriptions

Module.description_html is a JSONField. Wrapping a non-string value in
str() stored its Python repr; leave non-string JSON values unchanged and
sanitize HTML strings only.
…or (#10449)

* fix: resolve public vote and member lookups by project board anchor

IssueVotePublicViewSet looked the board up by workspace slug, so the vote
list was empty for a real anchor and answered for a workspace slug.
ProjectMembersEndpoint accepted any board's anchor; limit it to project
boards like the other public project endpoints.

* fix: limit public vote list to board-visible issues and return actor_details

Now that the vote list resolves the board, apply _issue_in_board_scope so
votes on draft, archived or triage issues stay hidden, as for vote create.
Return actor_details, the shape of the issue detail's vote_items that the
Spaces store replaces with this list.

* fix: load vote actors in the public vote list query
…oject_id (#10427)

* [WEB-10374] fix: derive the owning project of assets with an empty project_id

* [WEB-10374] fix: keep bulk bind from moving owned assets and record a project the uploader belongs to
…10424)

* [WEB-10372] fix: hide user emails from workspace guests in v1 expand

* [WEB-10372] fix: fail closed on user email, read request from serializer context

* [WEB-10372] fix: keep user emails in all webhook payloads
…10371)

* fix: validate workspace invitation payload shape

- Reject `emails` that is not a list of objects with a string `email`
  and an integer `role`, returning a 400 instead of failing later
  with a server error on malformed input.
- Add contract tests covering malformed payloads and the valid case.

* fix: reject non-decimal role digits in workspace invites

- str.isdigit() accepts characters such as superscript digits that
  int() cannot parse, so a crafted role could pass payload validation
  and then fail on conversion.
- Use isdecimal() so only characters int() can parse are accepted.
- Add a contract test case covering a superscript-digit role.
* fix: default NUM_PROXIES to one proxy hop

With NUM_PROXIES unset, DRF keys throttles on the whole X-Forwarded-For
header. The bundled Caddy proxy keeps client-sent entries, so every
request could pick a fresh throttle bucket and skip the auth rate limit.

Default to 1, the bundled proxy, so the throttle keys on the address the
proxy appended. Installs behind another load balancer set it to 2, as the
CLI README already describes.

* test: pin NUM_PROXIES in the spoofed X-Forwarded-For test

A local NUM_PROXIES override in apps/api/.env reaches the Docker test run
and would change which address the throttle keys on.
Copilot AI balanced review requested due to automatic review settings December 3, 2026 20:48
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f5669650-30c0-4265-8e63-d8c4887ea510

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 3ad2c27.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants