Skip to content

release: v1.5.1 - #10376

Merged
sriramveeraghanta merged 51 commits into
masterfrom
release/v1.5.1
Nov 25, 2026
Merged

sriramveeraghanta merged 51 commits into
masterfrom
release/v1.5.1

Conversation

@sriramveeraghanta

@sriramveeraghanta sriramveeraghanta commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

🐞 Bug fixes

  • Fixed cycle and module burndown charts, analytics and progress views returning a server error when a points estimate holds text such as "M = 2". Text values now count as no estimate.
  • Fixed direct file uploads failing with a server error because the S3 storage backend was never fully initialized.
  • Fixed accepted project invitations not adding the user to the project on sign-in.
  • Invite links now survive sign-in and sign-up, including OAuth and magic-code sign-in, so invitees land back on the invitation.
  • Fixed a deadlock when sending batched email notifications, and the first email marking every work item's notifications as sent.
  • Fixed a race that made saving recently visited items fail.
  • The external API now returns 400 instead of 500 for an intake work item name longer than 255 characters.
  • Clicking a link in read-only content no longer opens it in two tabs.
  • On mobile, the sidebar toggle stays reachable on project pages, and the sidebar closes after you pick a project.
  • On Docker Compose installs, the default DATABASE_URL and AMQP_URL now use the POSTGRES_* and RABBITMQ_* values from plane.env.
  • Translated the settings sidebar category headings in 16 locales, and the rich filter labels, filter operators and Power K search placeholder in every locale.
  • Fixed the spelling of GitLab and plane.so in every locale, kept the Sticky brand name in Spanish, French, Italian and Portuguese (Brazil), and fixed missing translation keys for the attach button label and "Unassigned" in analytics.

🛡️ Security

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

Access control

  • The external API attachment upload and upload confirmation now require active project membership. Previously a work item's creator could still upload after being removed from the project.
  • Applied the guest restriction to sub-work items. On a project where guests can't see all work items, a guest now gets a 403 for a parent they didn't create and sees only the sub-work items they created.
  • Publishing, updating and unpublishing a project's board now require a project admin, matching the web app.
  • The user activity feed, the workspace dashboard work item lists and recent visits now only carry data from projects the user is still an active member of.
  • Asset upload, bulk-bind and duplication now keep an asset in the URL's workspace, and bind it only to a work item, comment or page of that workspace and project, to the caller's own draft, or to the caller.
  • External API asset upload confirmation now requires the same permission as the app and only marks the asset as uploaded.
  • Workspace guests no longer see other members' email addresses on the user profile endpoint or the external API project member endpoints. The external API project member list now returns only active members.
  • The external API project list, lite list and detail no longer return public projects to workspace guests, and the project summary requires active project membership or a workspace admin. Workspace estimates and entity search follow the same visibility.
  • Made page is_locked, archived_at and audit fields read-only on create and update. Locking and archiving go through their own endpoints.
  • An intake item's duplicate_to must now be a work item in the same project, in the app and the external API.
  • Updating an intake work item through the external API now requires its creator, a project admin, or a workspace admin who is a member of the project, matching the app.
  • Label, state and workspace-leave requests now check permissions before invalidating the cache.

Authentication and sessions

  • Accepting invitations addressed to an account's email without the emailed invite token now requires a verified email on instances with SMTP configured. An email is verified by a magic-code or OAuth sign-in, a completed password reset, or a confirmed email change. Accepting through the invite link is unchanged.
  • Magic sign-in codes now have eight digits.
  • Turning off an OAuth provider in the admin settings now disables its sign-in endpoints. Previously it only hid the button while client credentials were set.
  • next_path is now validated after full percent-decoding and encoded in redirect URLs, so it can't add parameters or a fragment. The Gitea error redirects now validate it too.
  • The connected accounts response no longer includes stored OAuth access, refresh and ID tokens.
  • Updating an API token no longer returns the token value.

Content and injection

  • Page descriptions are now sanitized on create and update.
  • The editor now writes text, background and table colors into inline styles only when they are plain CSS colors.
  • Clicking an editor link opens only the clicked anchor's resolved URL, checks it for dangerous schemes, and opens it with noopener,noreferrer.
  • Pasted HTML is now parsed inertly, so it can't load or run anything.
  • Editor file nodes build asset API paths only from a plain asset ID.
  • The live server's PDF export now validates the page, project and workspace identifiers.
  • Uploads on the legacy multipart routes now check the content type against the allowed attachment types and the file size limit, and are stored without a canned ACL.

Data exposure and resource limits

  • Workspace export archives are now uploaded as private objects instead of public-read, with the full export token in the object key.
  • Work item link previews and webhook deliveries now stop reading a response past a size and time limit.
  • The API activity log now records only requests authenticated with an API key, and truncates the stored request and response bodies.
  • When CORS_ALLOWED_ORIGINS isn't set, the allowed origins now come from the instance's base URLs. If none are configured, all origins are allowed, but without credentials.
  • Updated effect to 3.22.4 (GHSA-7589-6fvf-x4pw) and soupsieve to 4.1.2 (GHSA-mmhr-3c5m-f64f, GHSA-7g44-g9rc-x53w, GHSA-6655-6qjp-jx7x).

⚠️ Upgrade notes

  • Invitations: on an instance with SMTP, an account that signed up with a password accepts invitations through the emailed invite link, or verifies its email first by signing in with a magic code or OAuth, or resetting its password. Instances without SMTP keep matching invitations by email.
  • OAuth providers: sign-in through a provider now also requires IS_GOOGLE_ENABLED, IS_GITHUB_ENABLED, IS_GITLAB_ENABLED or IS_GITEA_ENABLED to be 1, which is what the admin settings toggle sets. The sign-in buttons already followed this flag, so a provider whose button shows keeps working.
  • CORS: without CORS_ALLOWED_ORIGINS, only the origins of WEB_URL, APP_BASE_URL, ADMIN_BASE_URL, SPACE_BASE_URL and LIVE_BASE_URL are allowed. Set CORS_ALLOWED_ORIGINS if other origins call the API from a browser.
  • Points estimates: a points estimate now rejects non-numeric values with a 400, in the app and the external API. Categories estimates still accept text.
  • External API: the project member list returns active members only, and workspace guests no longer get public projects or other members' email addresses.
  • Migrations: this release has no new migrations.

AppSunder and others added 30 commits November 13, 2026 18:35
…10274)

In tabbed navigation the project header (z-20, painted later) sits on top
of the mobile sidebar (also z-20), so it covers the sidebar's own toggle
and only the project icon shows. The sidebar also stayed open after a
project was picked, unlike every other sidebar link on mobile.

- raise the mobile sidebar overlay above the page headers
- collapse the sidebar on mobile when a project is opened
…tor (#10312)

Mirrors the web app rule for updating an intake work item: the creator, a
project admin, or a workspace admin who is a member of the project.
…sponse (#10303)

AccountSerializer returned the stored OAuth access, refresh and id tokens to the browser. No client reads them, so they are no longer serialised.
Label, state and workspace-leave writes ran their cache invalidation before
the role check. The permission decorator now sits outermost, so a denied
request no longer touches the cache.
Both the web and the public API intake serializers now reject a duplicate_to work item that does not belong to the intake item's project.
Public API project list, lite list and detail no longer return public projects to workspace guests; the project summary needs active project membership or workspace admin. Workspace estimates and entity-search project results follow the project list's visibility.
* fix(security): make page system fields read-only on the page serializer

is_locked, archived_at and the audit fields are no longer writable through page create/update; lock state and archival only change through the dedicated lock and archive endpoints.

* test: keep endpoint calls out of assert statements in page read-only tests

---------

Co-authored-by: Sriram Veeraghanta <veeraghanta.sriram@gmail.com>
The workspace user-profile endpoint and the public API project member endpoints no longer return other members' email addresses to workspace guests, matching the workspace member list. The public API project member list also returns active members only.
* fix(web): translate hardcoded rich filter and Power K strings (#10272)

The rich filters row and the top-nav Power K input rendered several
English literals that never went through t(), so they stayed English
in every locale:

- "Clear all" fallback and the "Filters" modal button label
- "Remove filter" aria-label on the condition close button
- "Invalid filter" label and its tooltip
- "Search commands..." placeholder in the Power K input
- hardcoded "Save as" passed as saveViewOptions.label in the
  project view and workspace view layouts (the component already
  falls back to the translated rich_filters.view_controls.save_as)

Reuse existing common.clear_all / common.filters keys and add
rich_filters.filter_item.{remove,invalid,invalid_tooltip} and
power_k.search_menu.search_commands to all 22 locales.

Touching top-nav-power-k.tsx made the pre-commit hook enforce its
existing lint warnings, so fix those too:

- add the missing isOpen / containerRef deps to handleKeyDown, so
  Arrow/Enter no longer read a stale isOpen after the panel opens
  without the search term changing
- add inputRef to the ref-registration effect deps
- mark the click-to-focus search wrapper role="presentation"
  instead of role="button"; keyboard users focus the input directly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(web): translate rich filter property and operator labels (#10272)

Filter chips still read "Assignees is …" / "Start date between …" in
every locale: property labels are hardcoded in the packages/utils filter
configs and operator labels come from the @plane/constants label maps,
neither of which can call t().

Property labels
- TCreateFilterConfigParams accepts an optional `label`, which the
  config factories already spread over their English default.
- useWorkItemFiltersConfig passes translated labels, reusing existing
  keys (common.assignees, start_date, common.state_group, ...) plus a
  new rich_filters.properties.subscriber. Labels are resolved to plain
  strings first so each config only rebuilds when the language changes
  (t() itself is a new function every render).
- The add-filter dropdown search now matches the translated label.

Operator labels
- Add CORE_(DATE_)OPERATOR_LABEL_I18N_KEYS_MAP next to the label maps
  and partial OPERATOR_/DATE_OPERATOR_LABEL_I18N_KEYS_MAP aggregates;
  operators without a key keep their English label.
- FilterConfig.getLabelI18nKeyForOperator mirrors getLabelForOperator
  (custom operatorLabel overrides return no key), and operator options
  carry labelI18nKey.
- FilterItem renders t(key) for the selected operator and the options.

Also rename three shadowing callback params in the config hook that the
pre-commit lint (--deny-warnings) flagged once the file was touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Asset upload, bulk-bind and duplicate now keep the asset in the URL workspace and only bind it to an issue, comment or page of that workspace and project (or, on the workspace route, of a project the caller is an active member of), to the caller's own draft, or to the caller as user.
The user activity feed, the user workspace dashboard issue lists and recent-visit entity data now follow the same visibility rule as the issue list, so they only carry data from projects the user is still an active member of.
Publishing, updating and unpublishing a project board now require the project admin role, matching the web app. Project members keep read access.
- POST /api/v1/.../intake-issues/ passed the name straight to
  Issue.objects.create, so a name over 255 chars raised a Postgres
  DataError and returned HTTP 500.
- Validate against the Issue.name max_length before creating and return
  a 400 with a clear error message.
- Add contract tests for names just over and exactly at the limit.
- Reformat the on_results lambda in the list endpoint.
- Each per-issue email previously received all of the receiver's log
  ids, so concurrent send tasks updated the same email_notification_logs
  rows and deadlocked. The first email also marked every issue's logs
  as sent.
- Track log ids per issue so each email only touches its own rows.
- Set processed_at before dispatching send tasks so that update can't
  race their sent_at updates on the same rows.
- Add a unit test checking each email gets only its issue's log ids.
- Previously the task created the row, then called save(update_fields=...)
  to set created_by/updated_by. If a concurrent task evicted the row
  (the cap-at-20 delete) in between, the second save raised "Save with
  update_fields did not affect any rows".
- Set created_by_id/updated_by_id on the initial INSERT and pass
  disable_auto_set_user=True so BaseModel.save doesn't null them (there
  is no request user in a background task).
- Add a unit test asserting audit fields are set with a single save.
Dispatch inputs, the ref name and job outputs were expanded into run
scripts by Actions before the shell parsed them. Read them as shell
variables instead, the way feature-deployment.yml already does.
Every helm and kubectl call skipped TLS verification of the cluster API,
and the Helm installer was fetched from the moving main branch in a job
that holds the kubeconfig. Verify TLS and pin the installer to the
v3.22.1 commit and version.
Third-party actions were referenced by mutable tag, including ones that
receive Docker Hub credentials, the Tailscale OAuth secret or a write
token. Pin each to the commit its tag points at today, with the version
in a trailing comment.
Switching a provider off in the instance settings only hid it in the UI; the auth endpoints kept working while client credentials were set. Each provider now also requires its IS_<PROVIDER>_ENABLED value to be "1" and reports <PROVIDER>_NOT_CONFIGURED otherwise.
Six digits left too small a code space for the per-code and per-window attempt caps. The code stays numeric and is still generated with secrets; the sign-in forms do not validate its length, so only the example placeholders change.
The token value is meant to be visible only in the create response. Respond to PATCH with the read serializer, which excludes it.
validate_next_path now also requires the fully percent-decoded form of the path to pass its checks, and get_safe_redirect_url emits next_path as an encoded query value so it cannot add parameters or a fragment to the redirect URL. The two Gitea error redirects that passed next_path through unvalidated now use the validator.
An editor file node's src is stored document content. Only a plain asset id (UUID) is now used to build an asset API path, and it is encoded where it is interpolated; any other non-http src results in no request. For legacy http sources the asset key is read from a parsed URL and must be a single plain path segment.
Clipboard markup is now parsed with DOMParser instead of being assigned to an element of the page's document, so it cannot load or run anything while image-components are prepared for duplication.
The link click handler now resolves the anchor that contains the click target, uses only that anchor's browser-resolved href (never the mark attribute from the editor state), applies the shared dangerous-scheme check, and opens with noopener,noreferrer, honouring only _blank and _self as targets.
Text, background and table colors are stored document content. A value is now written into an inline style only when it is a plain CSS color (hex, rgb()/hsl() with numeric arguments, or a var() reference to a custom property); anything else renders without a style declaration.
The live server's /pdf-export request now requires UUIDs for the page and project ids and applies the workspace slug rule already used when authorising documents. The page services encode these values where they build API request paths.
The public API upload confirmation now requires the same permission as the
web app (can_modify_asset) and only marks the asset as uploaded.
Page create and update now pass description_html through the shared HTML
sanitiser, as the page description endpoint and work item serializers do.
pablohashescobar and others added 21 commits November 17, 2026 01:54
The export archive is only meant to be fetched through its presigned URL, so
it is no longer uploaded with a public-read ACL, and its object key now
carries the full export token.
The API activity log is now written only for requests that authenticated
with an API key, and the stored request and response bodies are truncated
to a fixed length.
The work item link crawl (page title and favicon) and webhook delivery now
stream the response and stop at a byte cap and a time limit instead of
reading the whole body. An oversized favicon falls back to the default
icon, and the webhook log keeps only the start of the response body.
When CORS_ALLOWED_ORIGINS is not set, the allowed origins are now derived
from the instance's own base URLs. If none of those is configured either,
all origins are still allowed, but without credentials.
The sub-issues list now follows the same guest rule as the other issue sub-resources and the issue list: a guest on a project without guest_view_all_features gets 403 for a parent they did not create and only sees the sub-issues they created.
* fix: fill creds in compose from env

* fix: fall back to default creds & respect pg port
* Call `super().__init__()` in `S3Storage.__init__` so `location` gets set

- `S3Storage` never called `super().__init__()`, so django-storages
  state such as `location` and `bucket_name` was never set up.
- Because `S3Storage` is `STORAGES["default"]`, every direct FileField
  upload failed with `AttributeError: 'S3Storage' object has no
  attribute 'location'`.
- Add a unit test checking that the base attributes are initialised.

* fix: validate legacy multipart uploads and store them without an ACL

With super().__init__() in place, S3Storage works as the default FileField
storage again, so the legacy multipart routes (workspace and user
file-assets, issue-attachments) accept uploads.

- S3Storage sets default_acl = None, so a FileField upload sends no canned
  ACL whatever AWS_DEFAULT_ACL says.
- FileAssetSerializer and IssueAttachmentSerializer reject an uploaded file
  whose declared content type is missing or outside ATTACHMENT_MIME_TYPES,
  or that is larger than FILE_SIZE_LIMIT, as the presigned routes do.
…0355)

The settings sidebar groups its pages under category headings
(Your profile, Developer, Work structure, Execution, Administration),
and the work item sidebar shows "Completed on" before the completion
date. These six common keys were copied from English during the
react-i18next migration and were only translated for bg, de, ja and nl,
so every other language showed them in English.

Translate them for cs, es, fr, id, it, ko, pl, pt-BR, ro, ru, sk, tr-TR,
ua, vi-VN, zh-CN and zh-TW, reusing each locale's existing wording for
profile, developer, completed and administration and the register its
"Your account" string already uses.
* fix(security): require a verified email to accept invitations without the invite token

Listing and accepting the invitations addressed to an account's email without the emailed invite token, and applying already-accepted invites at sign-in, now require a verified email. The flag is set where control of the mailbox is shown: a magic-code or OAuth sign-in, a completed password reset, and a confirmed email change. Accepting with the emailed token is unchanged and does not verify the account.

* fix(web): keep the invite link through sign-in and sign-up

A signed-out invitee who pressed Accept on /workspace-invitations was sent to
sign in with only the pathname in next_path, so invitation_id, slug and token
were gone by the time they had a session. Accepting with the emailed token is
the route left open to an account whose email is not verified (a password
sign-up, or any account on an instance without SMTP), so the link has to
survive every way of getting a session.

- 401 redirect: carry pathname + search in next_path.
- OAuth start URLs: encode next_path, so its own query string reaches the API
  instead of being cut at the first "&".
- Sign-in <-> sign-up: the header link, the clear-email button, the two error
  banner links and the /sign-in redirect route keep next_path.
- Entry page: a signed-in user who is not onboarded yet follows a valid
  next_path instead of always going to /onboarding. The invite page is public,
  and accepting there gives the user a workspace, so onboarding then finishes
  without asking them to create one.

* fix(api): return to next_path after a magic-code sign-in

MagicSignInEndpoint sent an onboarded account with an auto-set password to "/"
even when the form posted a next_path, so an existing code-only user who came
from an invite link lost the link. next_path now wins, as it already does for
password sign-in, both sign-ups and the OAuth callbacks.

Contract tests:

- test_invite_link_next_path_app.py: an invite link (invitation_id, slug and a
  token built like the real one) given as next_path comes back whole from
  password sign-in and sign-up, magic-code sign-in and sign-up, the Google,
  GitHub, GitLab and Gitea callbacks, and a failed sign-in's redirect back to
  the form. A new password account, still unverified, then accepts the
  invitation with the token from the link.
- test_project_invitation_token_not_listed_app.py: the self-service project
  invitation list is routed but not implemented, so BaseViewSet answers 405 and
  an account on an invited address, verified or not, cannot read the invite
  token there.
* Fix burndown crash on non-numeric point estimates

- Point estimates are free text (e.g. "M = 2"), so calling float() on
  them in burndown_plot raised ValueError and broke the chart.
- Add _estimate_to_float to treat unparseable values as 0.0 and use it
  for the cycle total, module total, and completed-points sum.
- Add unit tests covering numeric, text, empty, and None values.

* Reject non-finite estimates in burndown point calculation

- float() accepts "nan", "inf", and overflow values like "1e309", so
  free-text point estimates could still poison the burndown sum and
  produce values that can't be serialized to JSON.
- Treat any non-finite parse result as 0.0, matching how other
  non-numeric estimates are handled.
- Add test cases covering NaN, inf, and overflow inputs.

* fix: skip non-numeric point estimates in SQL and reject them on write

The burndown fix only covered the Python side. The cycle analytics and
progress views, the module views, cycle_transfer_issues and
build_graph_plot also ran Cast("estimate_point__value", FloatField()) in
SQL, so a points estimate holding text such as "M = 2" still returned a
500 (DataError: invalid input syntax for type double precision).

- plane/utils/estimate.py holds one rule for "is this value a number"
  (a plain non-negative decimal), used by Python and SQL alike:
  is_numeric_estimate, estimate_to_float and estimate_value_as_float().
- All 50 SQL casts now go through estimate_value_as_float(), which yields
  NULL for non-numeric text so Sum skips it like a missing estimate.
  burndown_plot uses the same rule, so chart totals and distributions
  agree.
- Writes reject a non-numeric value for a points estimate with a 400:
  both EstimatePointSerializers, bulk estimate create (validated before
  the estimate is created), bulk estimate update (all resulting values
  are checked before anything is saved, including on a type change to
  points), single point create, and the public create and patch.
  Categories estimates keep accepting text.
GitLab is written "Gitlab" in 437 values across all 21 locales; the
translate skill's glossary spells it GitLab. Inflected and particle forms
keep their endings ("z GitLabu", "GitLab에서").

The privacy policy and terms of service placeholders in the template
publish form point to planes.so; the other placeholders on that form use
plane.so.
The translate skill lists Sticky and Stickies as Plane brand marks that
stay in Latin in every locale, with "Note"/"Nota" among the forbidden
renderings. Spanish rendered them as "nota adhesiva", Portuguese mixed
"adesivo", "nota adesiva" and "anotação", French mixed "pense-bête" and
"post-it", and Italian still had "adesivo" and "note adesive" in four
strings, while bg, nl and most of it already keep Sticky.

Use "sticky"/"stickies" in the 122 affected values, as a masculine noun
like the existing Italian and French strings, and adjust articles and
participles to agree. No other wording changes.
…10368)

* fix(api): keep invites claimable by email on instances without SMTP

Without SMTP nothing can be mailed: no verification code reaches the account and no invite link reaches the invitee, so the verified-email gate from #10305 locked invitees out. can_claim_invites_by_email() keeps the gate when EMAIL_HOST is set and falls back to the email match when it is not.

* fix(api): set project_id when applying accepted project invites

- process_workspace_project_invitations built ProjectMember rows
  without project_id, so applying an accepted project invite on
  sign-in failed or created an orphaned membership.
- Pass project_id from the invite so the member joins the right project.
- Add a contract test covering an accepted project invite being
  applied on sign-in and the invite row being cleaned up.
…load (#10369)

user_has_issue_permission let a work item's creator through before checking
ProjectMember, so the v1 attachment upload (POST) and upload confirm (PATCH)
endpoints stayed writable after the creator was removed from the project.

Drop the creator shortcut from the helper; every caller now relies on the
active-membership query. Active creators still pass via allowed_roles.
@coderabbitai

coderabbitai Bot commented Nov 23, 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: 2c655cba-91a0-4aeb-9294-796b755bda6a

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

@github-actions

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit c72e9d4.

@sriramveeraghanta
sriramveeraghanta merged commit cefbcbc into master Nov 25, 2026
58 checks passed
@sriramveeraghanta
sriramveeraghanta deleted the release/v1.5.1 branch November 25, 2026 12:00
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.

9 participants