UNPKG

12.4 kBMarkdownView Raw
1# Changelog
2
3## Supported REST API versions
4
5This table shows which version of the gooddata-js introduced support for a particular API version.
6
7The REST API versions in the table are just for your information as the values are set internally and cannot be overridden.
8
9|gooddata-js version | REST API version
10|:---:|:---:
11|\>= 12.2.0|5
12|\>= 12.0.0|4
13|\>= 10.0.0|3
14|<= 9.0.1|2
15
16<a name="13.3.0"></a>
17## 2020-12-18 Version [13.3.0](https://github.com/gooddata/gooddata-js/compare/v13.2.0...v13.3.0)
18
19- Add the clearLockedFlag option to saveDashboardAs function
20
21<a name="13.2.0"></a>
22## 2020-11-23 Version [13.2.0](https://github.com/gooddata/gooddata-js/compare/v13.1.4...v13.2.0)
23
24- Upgrade dependencies to their latest majors
25
26<a name="13.1.4"></a>
27## 2020-10-16 Version [13.1.4](https://github.com/gooddata/gooddata-js/compare/v13.1.3...v13.1.4)
28
29- Remove format override for ad-hoc fact-based measures with incorrect decimal format
30
31<a name="13.1.3"></a>
32## 2020-09-30 Version [13.1.3](https://github.com/gooddata/gooddata-js/compare/v13.1.2...v13.1.3)
33
34- Add optional summary attribute to saveDashboardAs options parameter
35
36<a name="13.1.2"></a>
37## 2020-09-09 Version [13.1.2](https://github.com/gooddata/gooddata-js/compare/v13.1.1...v13.1.2)
38
39- Update webpack
40- Delete unneeded Admin UI code
41
42<a name="13.1.1"></a>
43## 2020-08-04 Version [13.1.1](https://github.com/gooddata/gooddata-js/compare/v13.1.0...v13.1.1)
44
45- grunt-grizzly under gooddata organization (renamed package)
46
47<a name="13.1.0"></a>
48## 2020-07-28 Version [13.1.0](https://github.com/gooddata/gooddata-js/compare/v13.0.2...v13.1.0)
49
50- add LDM module with the getCommonAttributes method
51
52<a name="13.0.2"></a>
53## 2020-05-29 Version [13.0.2](https://github.com/gooddata/gooddata-js/compare/v13.0.1...v13.0.2)
54
55- minor upgrade of `grunt-grizzly` and other `devDependencies`
56
57<a name="13.0.1"></a>
58## 2020-05-14 Version [13.0.1](https://github.com/gooddata/gooddata-js/compare/v13.0.0...v13.0.1)
59
60- adhoc measure number format bugfix
61
62<a name="13.0.0"></a>
63## 2020-05-07 Version [13.0.0](https://github.com/gooddata/gooddata-js/compare/v12.5.4...v13.0.0)
64
65- Fix toAfmResultSpec to prefer custom measure format from visualization object over default formats
66
67<a name="12.5.4"></a>
68## 2020-04-21 Version [12.5.4](https://github.com/gooddata/gooddata-js/compare/v12.5.3...v12.5.4)
69
70- upgrade GoodData typings
71
72<a name="12.5.2"></a>
73## 2020-03-26 Version [12.5.2](https://github.com/gooddata/gooddata-js/compare/v12.5.2...v12.5.1)
74
75- fix saveAs function problem with saving old dashboards without layout
76- fix saveAs function problem with saving new update date in meta
77
78<a name="12.2.0"></a>
79## 2020-01-21 Version [12.2.0](https://github.com/gooddata/gooddata-js/compare/v12.1.0...v12.2.0)
80
81- update REST API version to 5
82- add measure value filters support to getValidElements
83
84<a name="12.1.0"></a>
85## 2020-01-14 Version [12.1.0](https://github.com/gooddata/gooddata-js/compare/v12.0.0...v12.1.0)
86
87- execute afm: error caused during second part of api execution (data fetching) now contains information about first execution part if that part was successful
88
89<a name="12.0.0"></a>
90## 2019-11-15 Version [12.0.0](https://github.com/gooddata/gooddata-js/compare/v11.19.3...v12.0.0)
91
92- update REST API version to 4
93- add AFM to export payload
94
95<a name="11.19.3"></a>
96## 2019-10-08 Version [11.19.3](https://github.com/gooddata/gooddata-js/compare/v11.19.2...v11.19.3)
97
98- add util for checking "Select all" filter
99
100<a name="11.19.2"></a>
101## 2019-09-27 Version [11.19.2](https://github.com/gooddata/gooddata-js/compare/v11.19.1...v11.19.2)
102
103- extend IValidElementsResponse interface to include support for total count with filters
104
105<a name="11.19.1"></a>
106## 2019-09-19 Version [11.19.1](https://github.com/gooddata/gooddata-js/compare/v11.19.0...v11.19.1)
107
108- upgrade GoodData typings
109
110<a name="11.19.0"></a>
111## 2019-09-16 Version [11.19.0](https://github.com/gooddata/gooddata-js/compare/v11.18.2...v11.19.0)
112
113- add measure value filters
114
115<a name="11.18.2"></a>
116## 2019-08-27 Version [11.18.2](https://github.com/gooddata/gooddata-js/compare/v11.18.1...v11.18.2)
117
118- use a version of @gooddata/typings that includes the Dashboard types
119
120<a name="11.18.1"></a>
121## 2019-08-27 Version [11.18.1](https://github.com/gooddata/gooddata-js/compare/v11.18.0...v11.18.1)
122
123- make ExecuteAfmAdapter projectId property public
124
125<a name="11.18.0"></a>
126## 2019-08-12 Version [11.18.0](https://github.com/gooddata/gooddata-js/compare/v11.17.0...v11.18.0)
127
128- export dashboard to pdf
129
130<a name="11.17.0"></a>
131## 2019-08-09 Version [11.17.0](https://github.com/gooddata/gooddata-js/compare/v11.15.0...v11.17.0)
132
133- deprecated loadItemDescriptions method in CatalogueModule
134
135<a name="11.15.0"></a>
136## 2019-07-23 Version [11.15.0](https://github.com/gooddata/gooddata-js/compare/v11.14.2...v11.15.0)
137
138- new CatalogueModule public method loadItemDescriptions
139
140<a name="11.14.2"></a>
141## 2019-07-02 Version [11.14.2](https://github.com/gooddata/gooddata-js/compare/v11.14.1...v11.14.2)
142
143- export insight with filter by string
144
145<a name="11.14.1"></a>
146## 2019-06-19 Version [11.14.1](https://github.com/gooddata/gooddata-js/compare/v11.14.0...v11.14.1)
147
148- optimize lodash bundle size
149
150<a name="11.14.0"></a>
151## 2019-06-18 Version [11.14.0](https://github.com/gooddata/gooddata-js/compare/v11.13.0...v11.14.0)
152
153- improve error status for export feature
154
155<a name="11.13.0"></a>
156## 2019-06-05 Version [11.13.0](https://github.com/gooddata/gooddata-js/compare/v11.12.0...v11.13.0)
157
158- use ^ for all dependencies
159
160<a name="11.12.0"></a>
161## 2019-06-04 Version [11.12.0](https://github.com/gooddata/gooddata-js/compare/v11.11.0...v11.12.0)
162
163- show error when exporting the Restricted insight
164- add showFilters to IExportConfig, this will add the applied filters to the exported file.
165
166<a name="11.11.0"></a>
167## 2019-05-21 Version [11.11.0](https://github.com/gooddata/gooddata-js/compare/v11.10.0...v11.11.0)
168
169- exported `convertReferencesToUris` utility
170
171<a name="11.10.0"></a>
172## 2019-05-15 Version [11.10.0](https://github.com/gooddata/gooddata-js/compare/v11.9.0...v11.10.0)
173
174- relax of @gooddata/typings dependency specification (add a ^)
175
176<a name="11.9.0"></a>
177## 2019-04-23 Version [11.9.0](https://github.com/gooddata/gooddata-js/compare/v11.8.0...v11.9.0)
178
179- internal upgrade to Typescript 3
180
181<a name="11.8.0"></a>
182## 2019-03-27 Version [11.8.0](https://github.com/gooddata/gooddata-js/compare/v11.7.0...v11.8.0)
183
184- enhance AFM and execute-afm to support values instead of attribute element URIs in attribute filters used in
185 simple measures
186
187<a name="11.7.0"></a>
188## 2019-03-25 Version [11.7.0](https://github.com/gooddata/gooddata-js/compare/v11.6.0...v11.7.0)
189
190- enhance AFM and execute-afm to support values instead of attribute element URIs in positive and negative attribute filters
191- deprecated misplaced type-guards in AfmUtils
192- deprecated double-negative function
193- upgrade GoodData typings
194
195<a name="11.6.0"></a>
196## 2019-03-07 Version [11.6.0](https://github.com/gooddata/gooddata-js/compare/v11.5.0...v11.6.0)
197
198- upgrade GoodData typings
199
200<a name="11.5.0"></a>
201## 2019-03-06 Version [11.5.0](https://github.com/gooddata/gooddata-js/compare/v11.4.0...v11.5.0)
202
203### Changed
204
205- `toAfmResultSpec` now converts native subtotals to `afm.nativeTotals` correctly
206
207<a name="11.4.0"></a>
208## 2019-03-01 Version [11.4.0](https://github.com/gooddata/gooddata-js/compare/v11.3.1...v11.4.0)
209
210### Added endpoints
211
212- added sdk.project.getConfig
213- added sdk.project.getProjectFeatureFlags
214
215
216<a name="11.3.1"></a>
217## 2019-02-19 Version [11.3.1](https://github.com/gooddata/gooddata-js/compare/v11.3.0...v11.3.1)
218
219### Fixed
220
221- Fix loginSso to use POST request method instead of deprecated GET method
222
223
224<a name="11.3.0"></a>
225## 2019-02-15 Version [11.3.0](https://github.com/gooddata/gooddata-js/compare/v11.2.0...v11.3.0)
226
227### Changed
228
229- `appendFilters` utility now doesn't normalize AFM
230
231<a name="11.2.0"></a>
232## 2019-01-25 Version [11.2.0](https://github.com/gooddata/gooddata-js/compare/v11.1.1...v11.2.0)
233
234- Add `getVisualization`, `saveVisualization`, `updateVisualization` and `deleteVisualization` methods to `metadata` module.
235
236<a name="11.1.1"></a>
237## 2019-01-24 Version [11.1.1](https://github.com/gooddata/gooddata-js/compare/v11.1.0...v11.1.1)
238
239- Fix polling status for Exporting
240
241<a name="11.1.0"></a>
242## 2019-01-22 Version [11.1.0](https://github.com/gooddata/gooddata-js/compare/v11.0.0...v11.1.0)
243
244- Add 'head' request to 'xhr' module
245- Add new 'report' module
246- Add 'exportResult' to 'report' module: support exporting data
247
248<a name="11.0.0"></a>
249## 2019-01-17 Version [11.0.0](https://github.com/gooddata/gooddata-js/compare/v10.2.0...v11.0.0)
250
251- Remove deprecated interfaces for old visualization object
252
253<a name="10.2.0"></a>
254## 2019-01-15 Version [10.2.0](https://github.com/gooddata/gooddata-js/compare/v10.1.0...v10.2.0)
255
256- Add default value format for arithmetic measures with 'change' as operator type
257
258<a name="10.1.0"></a>
259## 2019-01-08 Version [10.1.0](https://github.com/gooddata/gooddata-js/compare/v10.0.0...v10.1.0)
260
261- Upgrade lodash and momentjs dependencies
262
263<a name="10.0.0"></a>
264## 2018-11-16 Version [10.0.0](https://github.com/gooddata/gooddata-js/compare/v9.0.1...v10.0.0)
265
266- reintroduction of the changes made in 9.0.0 and reverted in 9.0.1
267
268<a name="9.0.1"></a>
269## 2018-10-29 Version [9.0.1](https://github.com/gooddata/gooddata-js/compare/v9.0.0...v9.0.1)
270
271- revert of the changes made in version 9.0.0 due to a backend not being ready yet
272
273<a name="9.0.0"></a>
274## 2018-10-29 Version [9.0.0](https://github.com/gooddata/gooddata-js/compare/v8.1.1...v9.0.0)
275
276- the support of the GoodData Platform REST API versioning with the initial supported version set to 3
277- the logic of the global AFM date filters merging with measure date filters was moved from gooddata-js to backend
278
279<a name="8.1.1"></a>
280## 2018-08-20 Version [8.1.1](https://github.com/gooddata/gooddata-js/compare/v8.1.0...v8.1.1)
281
282- minor docs updates
283
284<a name="8.1.0"></a>
285## 2018-08-20 Version [8.1.0](https://github.com/gooddata/gooddata-js/compare/v8.0.0...v8.1.0)
286
287- `user.getCurrentProfile()` gets current user's profile ([commit](https://github.com/gooddata/gooddata-js/commit/3e86de798f6c2541bf7200adcad9161dc528edc6))
288- `user.isLoggedInProject(projectId)` finds out whether a specified project is available to a currently logged user ([commit](https://github.com/gooddata/gooddata-js/commit/f041263d3a50cd3eb4d99324467451248b8c3970))
289
290<a name="8.0.0"></a>
291## 2018-08-01 Version [8.0.0](https://github.com/gooddata/gooddata-js/compare/v7.1.1...v8.0.0)
292
293- export executeAfm paging functions ([commit](https://github.com/gooddata/gooddata-js/commit/81740bb1bb28b21f4b02694c65028f4c3fcfeffe))
294
295<a name="7.0.0"></a>
296## 2018-07-19 Version [7.0.0](https://github.com/gooddata/gooddata-js/compare/v6.2.0...v7.1.0)
297
298- added support for multiple date datasets ([commit](https://github.com/gooddata/gooddata-js/commit/1e6230b))
299- added support for pageable DataSource ([commit](https://github.com/gooddata/gooddata-js/commit/77ecb41))
300
301<a name="6.0.0"></a>
302## 2018-05-11 Version [6.0.0](https://github.com/gooddata/gooddata-js/compare/v5.0.1...v6.2.0)
303
304- rewritten in TypeScript + merged `@gooddata/data-layer` package ([commit](https://github.com/gooddata/gooddata-js/commit/c5c985e))
305- added support for multiple domains, see [documentation](https://sdk.gooddata.com/gooddata-ui/docs/ht_render_visualization_from_different_domain.html) ([commit](https://github.com/gooddata/gooddata-js/commit/ebcebe5))
306- internal telemetry support ([commit](https://github.com/gooddata/gooddata-js/commit/76e22f5))
307
308**Migration guide:**
309
310Default SDK instance is no longer returned as the only `module.export` ([see commit](https://github.com/gooddata/gooddata-js/commit/ebcebe#diff-5fdc9336695bd0fbfa5729ca90862b69L13)).
311
312- To get default instance use \
313 in CommonJS: `const gooddata = require('@gooddata/gooddata-js').default` \
314 or in ES6: `import gooddata from '@gooddata/gooddata-js'`
315- DataLayer was merged into gooddata-js as named export. Use: \
316 in CommonJS: `const DataLayer = require('@gooddata/gooddata-js').DataLayer` \
317 or in ES6: `import { DataLayer } from '@gooddata/gooddata-js'`
318- See [all named exports here](https://github.com/gooddata/gooddata-js/blob/v6.0.0/src/gooddata-browser.ts#L13-L28) or in `gooddata-node.ts`