v14.94.2
·
190 commits
to version-14
since this release
What's Changed
- Unifies error handling across multiple endpoints by refining type checks, updating status codes, and ignoring
disable_traceback
when_dev_server
is True. (#31309) - Escapes HTML in messages from the website contact form. This reduces the chance of unintentional code rendering in emails. (#31313)
- Removes the outdated whitelisted method from Desk Page retrieval and updates "getpage" to handle name-based requests. (#31317)
- Adds the correct exception context to
sys.exc_info
, so logs show accurate error details. (#31323) - Fixes permission checks in multiple DocTypes, including Communication and Web Form, to enforce that only authorized users can read or email documents. (#31337)
- Reverts the earlier HTML sanitization in assignment notes and switches the Description field in ToDo to a Text Editor format. (#31340)
- Updates the phonenumber library to accept phone numbers starting with +592 7 as valid for GY, which addresses validation errors on forms. (#31342)
- Fixes printing for a custom DocType by skipping file lookups in custom modules, preventing template-not-found errors. (#31375)
- Adds a check in the
assign_to
function to detect empty HTML indescription
and replace it with default text if none is found. (#31366) - Fixes the "object is not iterable" error that prevented emails from sending with the "Next Action Email Template" by passing the document as a dictionary for rendering. (#31379)
- Casts integer-based filters to strings for "Link" and "Data" fields so that relevant database indexes can be used in MariaDB. (#31397)
- Adds a prefix index to the
file_url
field in File, reducing table-wide scans when searching by URL. (#31403) - Fetches data from docstatus=1 child table rows in global search, allowing submitted child records to appear in the results. (#31406)
- Adds a check for active background jobs in the
ready-for-migration
command, stopping site migration from starting if tasks are still running. (#31439) - Changes the URL field in Webhook Request Log from
Data
toText
so it can handle longer addresses. (#31429) - Prevents ignoring cached workspace data when the initial result is empty, reducing excessive database queries. (#31449)
- Skips the
order_by
parameter inload_from_db
when retrieving a single record by name, allowing the primary key index to be used. (#31452) - We have updated the Email Account doctype to set
login_id
to "apikey" when using Sendgrid, which allows emails to be sent through that service. (#30032) - Prevents scheduled jobs from starting while the system is in maintenance mode in Scheduled Job Type. (#31455)
- Removes the
ignore_permissions
argument from deletion calls, so the standard checks apply when removing child records. (#31474) - Skips the "order_by" directive when counting via open_count to avoid unnecessary sorting and reduce overhead. (#31480)
- Resolves the "No template found at path:" error when printing documents with a custom Print Format by reverting some of the previous changes. (#31487)
- Sanitizes preview data in Data Import and file names in attachment controls, preventing unsafe code from being displayed. (#31496)
Full Changelog: v14.94.1...v14.94.2
Authors: @sokumon, @sagarvora, @gavindsouza, @ankush, @nikkothari22, @cogk, @karotkriss, @NagariaHussain, @iamejaaz, @akhilnarang