Releases: itemsapi/itemsjs
Converted to ES modules
Transitioned all code to ES Modules for modern compatibility. Implemented speed optimizations for faster performance. Reduced build size by 50% for a more efficient package. For a detailed overview of the changes, refer to PR #135
What's Changed
- Converted to ES modules by @stereobooster in #135
New Contributors
- @stereobooster made their first contribution in #135
Full Changelog: v2.1.22...v2.1.24
Fix error when filter value not found in items set
Enhancement:
Flexible Filtering: The library now gracefully handles non-existing filter values thanks to PR #130 .
Scenario: If you have default filter categories like "comedy", "drama", or "thriller", but the data only contains "comedy" and "drama", the system won't crash. Instead, it adapts to the available items.
Technical Detail: Introduced a fallback to an empty FastBitset to ensure stability.
Selected filters will remain visible at all times
With this enhancement, selected filters will remain visible at all times, providing a seamless user experience. For more information and technical details, please refer to the following pull request on GitHub: #125
Hide empty filters through configuration
What's Changed
Full Changelog: v2.1.19...v2.1.20
Custom id field in integrations
Custom id field in integrations with external fulltext search engines.
Feature requested here: #75
What's Changed
Full Changelog: v2.1.18...v2.1.19
Support aggregations not being sorted by selected
Boolean filters query
This feature allows to query data by boolean filter i.e. (tags:novel OR tags:80s) AND category:Western.
Feature requested here: #111
Current itemsjs.min.js size is 109672 bytes.
What's Changed
Full Changelog: 2.1.15...v2.1.16
Custom facets sorting
Sort facet values by a key or doc_count (default)
Current itemsjs.min.js size is 106780 bytes.
Security updates
Fix facets calculations
What's Changed
- Fixing default title coming from configuration of aggregations by @vanch3d in #79
- Fixing conjunction between categories #77 by @cigolpl in #81
- speed up facets | removed unused function combination by @cigolpl in #82
- The facets should be conjunctive by default by @cigolpl in #84
- fixing facets calculations (asymetry in results) #83 by @cigolpl in #85
- speed it up by @cigolpl in #86
New Contributors
Full Changelog: v2.1.1...v2.1.9