- (BREAKING) Deprecated legacy type definitions.
- (BREAKING) sentenceCase no longer uses a default keyword map.
- (BREAKING) Removed legacy value from OmniSearch utils.
- (BREAKING) Make sanitizeId optional in buildQuery and filterResults APIs.
- Fix API extraction methods to handle various error and warning types.
- filterResults uses default values if they aren't provided.
- filterResults can now filter and sort deeply nested objects.
- filterResults sort string values in proper numeric order.
- Stop suppressing unauthorized errors from being displayed.
- Add support for date-fns in date utils.
- Add
ZERO_DATE
constant. This is used to check for zero dates returned by go servers. formatDate
andformatDateTime
no longer returnEPOCH_DATE
s when empty strings are passed.- Add
Api
class, originally fromlims/client
. - Remove
search
method fromApi
. It should be implemented by the client app. - Fix flow problems with exporting
Api
class types. - Add URI_QUERY_TYPE to searchOptions.
- Replaced buildSearchQuery, buildOrderQuery with buildQuery.
- Move sidebar-content and related URL constants to
common-private
. - Rename package to
@grailbio/lib
, publish to github and npm.
- Include all dash-looking characters when sanitizing ids in
id-util.js
- Remove hard-coded blacklist in camelizeObjectKeys and titlizeObjectKeys.
- Add grid util functions:
getColHeader
,getRowHeader
, andgetGridCellPosition
. - Add type
mapValuesDispatcher
function to allow coders the option of dispatching value mapper in Omni Search fields. - Move node server lib code like
passport
utils andcommandLine
utils to@grail/server-lib
. - Add
grailPurpleActionColor
. (Intended for links and actions). - SanitizeId only removes the dash in the second last position instead of every position.
- Refactor to use new Api search types like
SearchOptionsV2
. See D24185 - Mark old
SearchOption
types as Deprecated or Old. - Deprecated
MULTI_FIELD_TEXT_SEARCH_TYPE
(UseLIKE_TEXT_SEARCH_TYPE
instead.) - Make
searchFields
optional. (Usename
as a singularsearchField
). - Add ability to define
mapValues
function insearchDefs
. This allows conversion from human readable omni text to enums, or string matching. - Make
buildSearchQuery
beasync
. All callers need toawait
or similar. - Add
valueToSuggestions
andvaluesToSuggestions
- Add
toDelimitedReport
and other table utils to convert a table to CSV. - Add
toPairWise
array util.
- Add
includeNulls
to query builder and filter builder - Allow omni search to search by end date only.
- Include flow definitions in build.
- Clean up Flow types.
- Update sidebar content.
- Cleanup search API definitions and functionality.
- Bug fixes.
- Update omni search field and bar:
- localStorage now includes
omni-
prefix. - Add support for omni commands. This allows
OmniChip
in tables to request changes inOmniSearchBar
. - Add support for start and end of string support using
^
and$
. - Add support for quoted strings as exact search.
- Update api-utils to encode URI characters correctly.
- Add string utils
unquoteString
andextractQuotedString
- Add support for
OMNI_TEXT_SEARCH_TYPE
. - Update sidebar content
- Update API utils and search utils to consolidate search options and allow
for more flexibility with searching, specifically searching id's with
-
- Improve testing
- New navigation links for mock samples.
- Add formatPercent.
- Updated navigation links for instruments and analysis versions.
- Removed formtDate and renamed formatDateOnly to formatDate.
- Added sanitizeIds getInputBarcode.
- Fixed build.
- Use @babel/plugin-transform-runtime.
1.Initial release!