github makeplane/plane v1.5.1

one hour ago

🐞 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.

Don't miss a new plane release

NewReleases is sending notifications on new releases.