Changelog
Presage API
Patch Changes
Query.samples, Query.loadChartDataForReport - Fix possible query error when running a sample search by product
Patch Changes
- PA-1143 -
Query.loadDashboardReportMetadata - Ensure parameter option lists are returned in the proper format
Patch Changes
- PA-1131 -
Mutation.attachFilesToProduct, Mutation.createAndUpdateProducts - Fix issue where these mutations would fail due to referencing a relation that was removed in version 8.0.0
Minor Changes
- PA-1084 - Dashboard charts with
PresageColumnChart or PresageScatterChart data sources can now accept select_location and select_product parameters
- PA-1033 - Added a branded login page for the OAuth authorization flow.
- PA-1085 - Dashboard charts with a
customDataSource of PresageScatterChart will now include a link to the sample that a given point on the graph is for in that point's tooltip
Patch Changes
- PA-973 -
Query.workOrders - Fix orderBy not being used if filter is absent
- PA-1073 - Set
@CURRENT_PLANT_ID MySQL variable on connection acquisition to allow for using it in dashboard report parameter queries
- PS-2804 -
Query.samples - Fix bug where filtering samples by multiple analyses[] entries that each included an options filter could return no results, even when matching samples existed. Each entry's options filter is now correctly applied to that entry, so results match previous behavior.
- PA-1113 - Wire
emailFrom/emailBcc fields through print token resolution
Minor Changes
- PA-1068 -
Mutation.createUserAccount - Include a link that will take the user to the "Activate New Account" interface with their username and activation PIN prefilled
- PA-631 -
Query.workOrders - Add new search filter property that allows searching a number of fields with a text string
- PA-1049 -
Mutation.createUserAccount, Mutation.passwordRecovery - Include support and knowledgebase info in account activation and password reset emails
- PA-1061 -
Query.workOrderTypes - Alphabetize results by work order type name
- Improve activation links in the first time setup emails, and include knowledgebase info
- PA-907 -
ReportQueue - Print/email job fields (title, emailBody, attachmentName, destination) containing {?token} placeholders (e.g. {?param.startDate}, {?user.firstName}) are now resolved to their actual values before the job is sent. New jobs briefly pass through a Staging status while tokens are resolved before moving to Ready.
- Requires database version 801
Patch Changes
- PA-1051 -
Query.getDocumentsByAssociation - If a given lookup has documents both with and without files, the document with a file will be returned instead of the one without a file
- PA-1101 -
Query.getDocumentsByAssociation - Fix the wrong document being returned for the wrong lookup if an earlier lookup did not return any documents
- PA-1058 - The GraphQL sandbox at
/graphql no longer depends on NODE_ENV. Set ENABLE_QUERY_SANDBOX=true to enable it in production; defaults to off.
- PA-907 -
ReportQueue.emailSubject - Deprecated in favor of title, which is functionally identical and more widely used. Will be removed in API v8.
Patch Changes
- During first time setup, don't skip setting up support account if it is marked as 'Active' with no password
Patch Changes
- Prevent a failure to initialize OAuth from crashing the server immediately after startup
- Fix OAuth failing to initialize under certain circumstances
Major Changes
- PA-1025 -
SavedSampleSearch.searchState - Output type is now SampleSearchState! instead of String! to allow for stronger type safety
- PA-851 - Remove all deprecated endpoints/fields
- PA-372 -
Mutation.recalculateSamples - Change return type to NonNegativeInt! and return the number of records changed by the mutation
- Company code must be set before the API can start, in order to facilitate the new licensing system
Minor Changes
- PA-994 - Implement first time creation of users, and always ensure that a valid support user is present
- Requires DB Version 711
- PA-828 - Email user, support, prompting account setup on first run of application
- PA-990 -
Licensing - Added infrastructure to automatically update licenses
Minor Changes
- PA-1024 -
Mutation.createAlertSubscription, Mutation.updateAlertSubscription - Allow creating "Sample Value" alerts with "Expiration Approaching" timing
- PA-665 -
Query.dbSchema - New query that returns a simple representation of the database schema, intended for use in Presage Web's query editor interfaces. This query is restricted to users who have permission to use one of those query editor interfaces.
Patch Changes
Query.loadArbitraryChartData, Query.loadChartDataForReport - Fix multiseries row data being returned out of order when the serieses are numbers
Minor Changes
- PA-978 -
Query.file - Move Query.file to a new FileWithContent entity/resolver. FileWithContent adds a new content field resolver that returns that file as a base64-encoded string
Patch Changes
- Added cleanup operations for oauth database tables.
- PA-948 -
SavedSampleSearch.searchState - statuses filter is now properly serialized as the DocumentStatus enum when loading a saved search. This matches the type of SampleSearchStateInput.statuses as was originally intended
- PA-710 -
Mutation.createPlants, Mutation.updatePlants - Fix saving plant logo
- PA-842 - Saving and loading saved searches will now properly convert between
ResultStatus and the values stored in the database by Presage Desktop
- Transparent pngs now correctly have a white background when converted to JPEG, rather than black
- PA-1019 - Fix error when attempting to generate a column chart that does not have a valid option set
Newer Older