Skip to content

Releases: Relewise/relewise-sdk-javascript

[email protected]

17 Nov 13:39
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

What's Changed

Full Changelog: https://github.com/Relewise/relewise-sdk-javascript/compare/[email protected]@1.0.0-beta.1

[email protected]

14 Nov 11:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/Relewise/relewise-sdk-javascript/compare/[email protected]@1.20.1

[email protected]

10 Nov 13:01
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

What's Changed

Full Changelog: https://github.com/Relewise/relewise-sdk-javascript/compare/[email protected]

v1.20.0

23 Oct 06:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.19.0...1.20.0

1.19.0

04 Oct 09:24
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.18.0...1.19.0

v1.18.0

28 Sep 13:07
Compare
Choose a tag to compare

What's Changed

  • feat: implement objectpath and scopes for filters by @mzanoni in #41

Full Changelog: 1.17.1...1.18.0

v1.17.1

18 Sep 13:01
Compare
Choose a tag to compare

What's Changed

  • fix: issue with invalid import in index.d.ts by @mzanoni in #39

Full Changelog: 1.17.0...1.17.1

1.17.0

30 Aug 08:56
5712752
Compare
Choose a tag to compare

What's Changed

It is now possible to sort using DataObjects.

Code example:

    .sorting(sorting => {
        sorting.sortByProductDataObject('Variant', 'Ascending',
            valueSelector => valueSelector.select('priceCollection', { 
                childSelector: childSelector => childSelector.select('price', {
                    filter: {
                        conditions: conditions => {
                            conditions.addLessThanCondition('validFromDate', nowUnixSeconds)
                            conditions.addGreaterThanCondition('validToDate', nowUnixSeconds)
                            conditions.addMinByCondition('price')
                        },
                        take: 1,
                    },
                }),
            }))

Full Changelog: 1.16.0...1.17.0

v1.16.0

29 Aug 08:18
6b035ff
Compare
Choose a tag to compare

What's Changed

Error handling has greatly been improved in this release

try {
    await tracker.trackProductView({
        productId: null,
        user: UserFactory.anonymous(),
    });
}
catch (e) {
    console.log(e.message, e?.details)
}

We will now correctly throw an error, when an API request fails.
The details-property will contain the problem details response (Specification details), if any has been returned from the API.

Full Changelog: 1.15.0...1.16.0

v1.15.0

02 Aug 09:18
Compare
Choose a tag to compare

What's Changed

  • feat: expose data property bag on cart trackings by @mzanoni in #36

Full Changelog: 1.14.0...1.15.0