UNPKG

2.6 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8## Unreleased
9
10
11## 1.6.0 - 2021-11-10
12
13### Changed
14
15- It is now possible for the server to respond with a price facet included, but where it's `min`/`max` fields are `undefined`. This can happen if there are no products included in the current selection. The types for returned objects now reflect this fact.
16
17
18## 1.5.1 - 2021-10-20
19
20### Added
21
22- Include `CHANGELOG.md` in the npm package
23
24
25## 1.5.0 - 2021-10-20
26
27### Added
28
29- Add type support for `contentLists` to `autocomplete()`, `landingPage()` and `searchPage()` (body and return value)
30- Added `api.query.contentInformation()` method
31- Added `api.query.contentSearchPage()` method
32- Add `number` and `number[]` as allowed values to the Typescript interface for `ProductFilter` ([see docs example](https://docs.apptus.com/esales-lifestyle/integration/api/http-api/queries/common/page-configuration/#numeric-product-filters))
33
34### Changed
35
36- Made `RecommendationList.label` optional. It's possible for API to no return this property
37 if the app overrides the POST request with an empty label.
38
39
40## 1.4.0 - 2021-06-30
41
42### Added
43
44- Added the `notify.end()` method for notifying that a session has ended
45- Added the `notify.payment()` method for notifying client-side payments
46 (client-side payments must be enabled on the cluster)
47
48
49## 1.3.0 - 2021-05-12
50
51### Docs
52
53- Updated some property documentation for landing pages
54
55
56## 1.2.1 - 2021-04-29
57
58### Fixed
59
60- Correct the `/add-to-cart` notification endpoint
61
62
63## 1.2.0 - 2021-03-01
64
65Internal changes.
66
67
68## 1.1.1 - 2021-02-11
69
70### Added
71
72- Add missing properties to `NavigationNode`
73
74
75## 1.1.0 - 2021-02-11
76
77### Added
78
79- Added `'STYLE_WITH'` as possible `Algorithm` value
80
81### Changed
82
83- Updated `NavigationNode` with the `'SPACER'` type
84
85
86## 1.0.2 - 2021-01-25
87
88### Added
89
90- Added `stockNumber` property to `Variant` interface
91- Added `alt` and `caption` properties to `Image` interface
92
93
94## 1.0.1 - 2020-11-06
95
96### Docs
97- Minor updates to `README.md` spelling
98- Added keywords to `package.json`
99
100
101## 1.0.0 - 2020-11-05
102
103### Changed
104- The `exports` field of `package.json` has been updated to better match intended usage
105
106### Docs
107- Restructured the `README.md` into new sections
108- Added more information on how to build a project with this library
109- Added missing `window.fetch` and `window.URL` to the list of possible required polyfills