Changelog
Here you can find a detailed changelog for the SPARQUE API Wrapper, outlining significant updates, bug fixes, and improvements for each version.
Releases
1.6.1
Migration Guide
No migration required.
Corrected Caching of Fixed Facet Responses
Fixed #109204: The in-memory cache for the SPARQUE.AI fixed facet endpoint did not consider custom query parameters when generating cache keys. This could result in incorrect fixed facet responses when additional parameters were used. The cache key logic now includes all relevant query parameters, ensuring accurate responses for different request variations.
Fixed Facet Option Handling for Fixed Facet category
Fixed #108846: The handling of facet options for the fixed facet category is improved. Previously, calls to SPARQUE did not specify a count
parameter, limiting the number of returned categories to ten and resulting in incomplete or inaccurate results. When the Category Facet setting in SPARQUE Hub was disabled, this resulted in returning too few or too many facet options. When enabled, it led to building an incomplete category tree. The Wrapper now respects the requested FacetOptionsCount
when the setting is disabled, and fetches up to 100,000 categories when the setting is enabled to ensure an accurate and complete category tree.
1.6.0
Migration Guide
For details, refer to Migration Guide: Wrapper Version 1.6.0.
Add Boosting for masters and productsuggest Endpoints
The stacked endpoint /e/boost can now be configured for the SPARQUE.AI endpoints /e/masters/ and /e/productsuggest.
1.5.0
Migration Guide
For details, refer to Migration Guide: Wrapper Version 1.5.0.
Release of API v3
Version 1.5.0 introduces API version v3 with improved /categorytree endpoint behavior (#108603).
1.4.1
Migration Guide
For details, refer to Migration Guide: Wrapper Version 1.4.1.
Channel-Specific Sorting Options
The channel
parameter is now included as a context parameter (/c/channel/channelName) in calls that retrieve the sortings (/e/sortings) and the recommendations (/e/recommendations).
1.4.0
Migration Guide
For details, refer to Migration Guide: Wrapper Version 1.4.0.
'keyword' Changed from API Parameter to Context Parameter
The keyword
parameter used in the search and suggestions endpoints is now provided to SPARQUE as a context parameter instead of an API parameter. You can use the parameter as usual, with the additional option to leverage it in stacked endpoints.
1.3.0
Migration Guide
For details, refer to Migration Guide: Wrapper Version 1.3.0.
Localization of Facet Options
A new SPARQUE stacked API facet_options_lc allows you to retrieve the facet's options in the selected locale.
Fix Facets List per Channel
Fixed #106779: The channel
parameter is now included as a context parameter in calls that retrieve the fixed facets (/e/fixedFacets).
Endpoint /v2/categorytree
Fixed #107093: The endpoint can now handle very large trees, up to 100,000 categories.
Fixed #107095: Improved the category-related caching. This includes a bug fix for requests to the categorytree endpoint using both the EntryCategoryId
and Levels
parameters.
1.2.61
Introduce New Settings for Calls to /e/oneVariant and /e/masters
Inroduced two new settings. Enable or disable these settings via the SPARQUE Hub:
- Prioritize catalog over masters endpoint: For workspaces using the /masters endpoint with the Search Personalization setting enabled, this setting allows controlling the order of the stacked endpoints. By default, the order is /e/masters/e/user_product_catalog. With the setting enabled, the order becomes /e/user_product_catalog/e/masters.
- Add boosting for oneVariant endpoint: This new setting enables stacking the new /e/boost endpoint whenever a call to /e/oneVariant is triggered. Instead of calling /e/oneVariant, the Wrapper calls /e/oneVariant/e/boost. Use this setting to share the SPARQUE strategy between search and suggest functionality while allowing slightly different boosting of variation and master products.
Ensure a Correct Count of Options for Selected Facets
Fixed #106660: The facet options count is now respected when a facet option is selected.
1.2.58
Ensure Consistent and Valid Token Information Being Returned in JWT
Fixed #103366: Endpoint /api/auth: expiresIn
and expiresInSeconds
in the returned token are now consistent with the expiresAt
timestamp.
Fixed #105112: Endpoint /api/auth: Returned tokens are now always unexpired.
1.2.57
Accept Encoded '%' and '+' Characters in Path Parameter Values
Fixed #104330: Incoming encoded +
or %
characters are now correctly embedded in the SPARQUE Desk requests.
1.2.56
Accept Encoded '%' and '+' Characters in Path Parameter Values
Partial fix #104330: The Wrapper now accepts custom parameter values that include +
or %
characters.
1.2.55
Do Not Drop Filter When Fetching Fixed Facet Details on Product List Call
Fixed #103509: When calling the products endpoint of the Wrapper, the response may contain a list of facet groups with the number of products associated with each facet in the group. The number returned was incorrect for fixed facets if an additional filter was applied.
1.2.54
Remove Etags from Responses
Fixed #103583: Etags were not modified when the response of a given request changed, rendering them unusable. Therefore, they have been removed for now.
Fix Mapping of the Score Value for the Facet-Options Endpoint
Fixed #103506: The score value returned by the facet-options endpoint was mapped incorrectly.
The score now correctly represents the number of results for the facet option.
1.2.53
Accept Encoded Whitespaces in Path Parameter Values
Fixed #104591: Wrapper drops URL parameter values with whitespaces.
Note that parameter names with whitespaces are still ignored, such as &key%20Name=value
.
1.2.52
Stale Cache Refresh Logical Fallacy Fix
Fixed a bug in the /search and /products endpoints to correctly check for cache expiration and trigger a background refresh if the cache is older than 30 minutes.
1.2.51
GZIP Response Compression
Enabled GZIP response compression.