Releases: clay/amphora-search
Bug Fix: ApplyOpFilters Index Name
Test for both the presence of an indexName
value and that it is a string to prevent a weird bug where the value was undefined when it shouldn't have been.
Support Single Mapping Type
Mapping types are road mapped to be removed from Elastic: https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html
To get ahead of that, let's remove all accommodations for types and only allow a mapping to have one type: general.
Breaking Changes
- Updated applyOpFilters to not require a mappings argument and return only the ops it transforms
- Updated normalizeOpValuesWithMapping to require an index name, not a whole object of mappings
- Removed the
type
arg from functions calling the Elastic client, set all togeneral
- Set npm
engines
to^8.0.0
to begin using new features
Non-breaking changes
- Added some logging
Beta: Fixing Find Query
Fixing a bug with a query
Beta: Single Type
Remove support for multiple mapping types
, only support general
Beta: Ignore This
This was a pre-mature beta release. Please ignore.
Bug Fix: Slightly Better Error Message
Makes sure the Elastic error is included in the error message.
Beta: Testing Messaging Change
Testing a change to error messaging (#33)
Remove `info` Level Logs
Changes
Logging got crazy, reduced log level to debug
or bumped to error
and warn
when appropriate.
Log Fix
Clay Log Integration
Integrates Clay Log to log messages rather than the old internal logging service.