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.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 to retrieve the facet's options in the selected locale.

Fixed Facets List per Channel

Fix #106779: The channel parameter is now included as a context parameter in calls that retrieve the fixed facets (/e/fixedFacets).

Endpoint /v2/categorytree

Fix #107093: The endpoint can now handle very large trees, up to 100,000 categories.

Fix #107095: Repaired and 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

Ensure a Correct Count of Options for Selected Facets

Fix #106660: The facet options count is now respected when a facet option is selected.

Introduce New Settings for Calls to /e/oneVariant and /e/masters

Two new settings were introduced. These can be enabled/disabled 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 will be /e/masters/e/user_product_catalog. With the setting enabled, it will be /e/user_product_catalog/e/masters.
  • Add boosting for oneVariant endpoint: This new setting allows stacking the new endpoint /e/boost whenever a call to /e/oneVariant is triggered. So instead of calling /e/oneVariant, the wrapper will make a call to /e/oneVariant/e/boost. This can, for example, be used to allow sharing of the Sparque strategy between search and suggest functionality while still allowing slightly different boosting of variation and master products.

1.2.58

Ensure Consistent and Valid Token Information Being Returned in JWT

Fix #103366: Endpoint /api/auth: "expiresIn" and "expiresInSeconds" in the returned token are now consistent with the "expiresAt" timestamp.

Fix #105112: Endpoint /api/auth: The returned tokens are now ensured to be unexpired.

1.2.57

Accept Encoded '%' and '+' Characters in Path Parameter Values

Fix #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 as returned by the facet-options endpoint is 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, like &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.