@gooddata/code-cli 0.63.0 → 0.64.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,6 @@
1
1
  # Change Log - @gooddata/code-cli
2
2
 
3
- This log was last generated on Mon, 02 Nov 2026 10:22:02 GMT and should not be manually modified.
4
-
5
- ## 0.63.0
6
-
7
- Mon, 02 Nov 2026 10:22:02 GMT
8
-
9
- _Version update only_
3
+ This log was last generated on Thu, 29 Oct 2026 14:43:57 GMT and should not be manually modified.
10
4
 
11
5
  ## 0.62.1
12
6
 
package/NOTICE CHANGED
@@ -13,7 +13,7 @@ The following 3rd-party software packages may be used by or distributed with gdc
13
13
 
14
14
  Date generated: 2026-11-2
15
15
 
16
- Revision ID: 2c231ca0ae8c725e09d899e90b385a39c62e6f58
16
+ Revision ID: 9001a1d462cb431babb8fe0d38bf2c318a67b3ff
17
17
 
18
18
  ================================================================================
19
19
  ================================================================================
@@ -270,7 +270,6 @@ Revision ID: 2c231ca0ae8c725e09d899e90b385a39c62e6f58
270
270
  - debounce-promise (3.1.2) [MIT]
271
271
  - debug (4.4.3) [MIT]
272
272
  - decode-named-character-reference (1.3.0) [MIT]
273
- - decode-uri-component (0.5.1) [MIT]
274
273
  - deepmerge-json (1.5.0) [MIT]
275
274
  - default-import (1.1.5) [MIT]
276
275
  - defaults (1.0.4) [MIT]
@@ -325,7 +324,7 @@ Revision ID: 2c231ca0ae8c725e09d899e90b385a39c62e6f58
325
324
  - fast-json-patch (3.1.1) [MIT]
326
325
  - fast-uri (3.1.9) [BSD-3-Clause, bsd-2-clause-views]
327
326
  - figures (5.0.0) [MIT]
328
- - filter-obj (5.1.0) [MIT]
327
+ - filter-obj (6.1.0) [MIT]
329
328
  - finalhandler (2.1.1) [MIT]
330
329
  - find-root (1.1.0) [MIT]
331
330
  - flat (5.0.2) [BSD-3-Clause]
@@ -532,7 +531,7 @@ Revision ID: 2c231ca0ae8c725e09d899e90b385a39c62e6f58
532
531
  - pseudo-localization (2.4.0) [MIT]
533
532
  - punycode.js (2.3.1) [MIT]
534
533
  - qs (6.16.0) [BSD-3-Clause]
535
- - query-string (9.5.1) [MIT]
534
+ - query-string (10.0.0) [MIT]
536
535
  - quickselect (2.0.0) [ISC]
537
536
  - quickselect (3.0.0) [ISC]
538
537
  - railroad-diagrams (1.0.0) [CC0-1.0]
@@ -617,7 +616,7 @@ Revision ID: 2c231ca0ae8c725e09d899e90b385a39c62e6f58
617
616
  - source-map-js (1.2.2) [BSD-3-Clause]
618
617
  - space-separated-tokens (2.0.2) [MIT]
619
618
  - spark-md5 (3.0.2) [Multi-license: WTFPL OR MIT]
620
- - split-on-first (3.0.0) [MIT]
619
+ - split-on-first (4.0.0) [MIT]
621
620
  - sql-formatter (12.2.4) [MIT]
622
621
  - sql-highlight (4.4.2) [MIT]
623
622
  - statuses (2.0.2) [MIT]
@@ -14796,41 +14795,6 @@ SOFTWARE.
14796
14795
  MIT
14797
14796
  - Copyright (c) Titus Wormer <tituswormer@gmail.com>
14798
14797
 
14799
- --------------------------------------------------------------------------------
14800
- Package Title: decode-uri-component (0.5.1)
14801
-
14802
- Package Locator: npm+decode-uri-component$0.5.1
14803
-
14804
- Package Depth: Transitive
14805
- --------------------------------------------------------------------------------
14806
-
14807
- * Declared Licenses *
14808
- MIT
14809
-
14810
- * License Header *
14811
- Copyright (c) 2017 Sam Verschueren <sam.verschueren@gmail.com> (github.com/SamVerschueren)
14812
- Permission is hereby granted, free of charge, to any person obtaining a copy
14813
- of this software and associated documentation files (the "Software"), to deal
14814
- in the Software without restriction, including without limitation the rights
14815
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14816
- copies of the Software, and to permit persons to whom the Software is
14817
- furnished to do so, subject to the following conditions:
14818
-
14819
- The above copyright notice and this permission notice shall be included in all
14820
- copies or substantial portions of the Software.
14821
-
14822
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14823
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14824
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14825
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14826
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14827
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
14828
- SOFTWARE.
14829
-
14830
- * Copyrights *
14831
- MIT
14832
- - Copyright (c) 2017 Sam Verschueren <sam.verschueren@gmail.com> (github.com/SamVerschueren)
14833
-
14834
14798
  --------------------------------------------------------------------------------
14835
14799
  Package Title: deepmerge-json (1.5.0)
14836
14800
 
@@ -17629,9 +17593,9 @@ MIT
17629
17593
  - Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
17630
17594
 
17631
17595
  --------------------------------------------------------------------------------
17632
- Package Title: filter-obj (5.1.0)
17596
+ Package Title: filter-obj (6.1.0)
17633
17597
 
17634
- Package Locator: npm+filter-obj$5.1.0
17598
+ Package Locator: npm+filter-obj$6.1.0
17635
17599
 
17636
17600
  Package Depth: Transitive
17637
17601
  --------------------------------------------------------------------------------
@@ -26865,9 +26829,9 @@ BSD-3-Clause
26865
26829
  - Copyright (c) 2014, Nathan LaFreniere and other
26866
26830
 
26867
26831
  --------------------------------------------------------------------------------
26868
- Package Title: query-string (9.5.1)
26832
+ Package Title: query-string (10.0.0)
26869
26833
 
26870
- Package Locator: npm+query-string$9.5.1
26834
+ Package Locator: npm+query-string$10.0.0
26871
26835
 
26872
26836
  Package Depth: Direct
26873
26837
  --------------------------------------------------------------------------------
@@ -30560,9 +30524,9 @@ The reason to have two licenses is that some entities refuse to use the master l
30560
30524
  bad language. If that's also your case, you can choose the alternative license.
30561
30525
 
30562
30526
  --------------------------------------------------------------------------------
30563
- Package Title: split-on-first (3.0.0)
30527
+ Package Title: split-on-first (4.0.0)
30564
30528
 
30565
- Package Locator: npm+split-on-first$3.0.0
30529
+ Package Locator: npm+split-on-first$4.0.0
30566
30530
 
30567
30531
  Package Depth: Transitive
30568
30532
  --------------------------------------------------------------------------------
package/dist/index.js CHANGED
@@ -37445,7 +37445,7 @@ function isPromise(value) {
37445
37445
  //#endregion
37446
37446
  //#region package.json
37447
37447
  var name$1 = "@gooddata/code-cli";
37448
- var version$1 = "0.63.0";
37448
+ var version$1 = "0.64.0-alpha.1";
37449
37449
  //#endregion
37450
37450
  //#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-maql-language-server@file+..+..+..+sdk+libs+sdk-maql-language-server_debug@4.4.3/node_modules/@gooddata/sdk-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.js
37451
37451
  const content$65 = `# APPROXIMATE_COUNT
@@ -117738,7 +117738,7 @@ const _CONFIG$1 = {
117738
117738
  common: {
117739
117739
  "X-Requested-With": "XMLHttpRequest",
117740
117740
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
117741
- "X-GDC-JS-PACKAGE-VERSION": "11.66.0"
117741
+ "X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.1"
117742
117742
  },
117743
117743
  post: { "Content-Type": "application/json;charset=utf8" },
117744
117744
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -163891,7 +163891,7 @@ function declarativeDashboardToYaml(entities, dashboard, filterContexts, context
163891
163891
  if (content.disableUserFilterReset) doc.add(entryWithSpace("user_filters_reset", false));
163892
163892
  if (content.disableUserFilterSave) doc.add(entryWithSpace("user_filters_save", false));
163893
163893
  if (content.disableFilterViews) doc.add(entryWithSpace("filter_views", false));
163894
- if (content.disablePersistentFiltersAcrossTabs) doc.add(entryWithSpace("persistent_filters_across_tabs", false));
163894
+ if (typeof content.enablePersistentFiltersAcrossTabs === "boolean") doc.add(entryWithSpace("persistent_filters_across_tabs", content.enablePersistentFiltersAcrossTabs));
163895
163895
  if (content.timezoneConfig) doc.add(entryWithSpace("timezone_config", declarativeTimezoneConfigToYaml(content.timezoneConfig)));
163896
163896
  const hasMultipleTabs = content.tabs && content.tabs.length > 1;
163897
163897
  const hasSingleTabWithTitle = content.tabs?.length === 1 && content.tabs[0].title;
@@ -164638,7 +164638,7 @@ function yamlDashboardToDeclarative(entities, input) {
164638
164638
  ...input.user_filters_save === false ? { disableUserFilterSave: true } : {},
164639
164639
  ...input.user_filters_reset === false ? { disableUserFilterReset: true } : {},
164640
164640
  ...input.filter_views === false ? { disableFilterViews: true } : {},
164641
- ...input.persistent_filters_across_tabs === false ? { disablePersistentFiltersAcrossTabs: true } : {}
164641
+ ...typeof input.persistent_filters_across_tabs === "boolean" ? { enablePersistentFiltersAcrossTabs: input.persistent_filters_across_tabs } : {}
164642
164642
  } : {
164643
164643
  version: "2",
164644
164644
  layout,
@@ -164653,7 +164653,7 @@ function yamlDashboardToDeclarative(entities, input) {
164653
164653
  ...input.user_filters_save === false ? { disableUserFilterSave: true } : {},
164654
164654
  ...input.user_filters_reset === false ? { disableUserFilterReset: true } : {},
164655
164655
  ...input.filter_views === false ? { disableFilterViews: true } : {},
164656
- ...input.persistent_filters_across_tabs === false ? { disablePersistentFiltersAcrossTabs: true } : {},
164656
+ ...typeof input.persistent_filters_across_tabs === "boolean" ? { enablePersistentFiltersAcrossTabs: input.persistent_filters_across_tabs } : {},
164657
164657
  filterContextRef: filterContext ? createIdentifier(filterContext.id, { forceType: "filterContext" }) : void 0
164658
164658
  };
164659
164659
  return {
@@ -169656,7 +169656,7 @@ function yamlAbsoluteDateFilterToDeclarative(entities, filter, assignFilterLocal
169656
169656
  dataSet: createIdentifier(filter.using, { forceType: "dataset" }),
169657
169657
  from: filter.from,
169658
169658
  to: filter.to,
169659
- ...dateFilterEmptyValueHandling(filter)
169659
+ ...dateFilterEmptyValueHandling$1(filter)
169660
169660
  } }] };
169661
169661
  result = mergeDeclarativeResults(result, dateFilterWithFieldToDeclarative(entities, filter, assignFilterLocalId));
169662
169662
  return result;
@@ -169666,7 +169666,7 @@ function yamlAbsoluteDateFilterToDeclarative(entities, filter, assignFilterLocal
169666
169666
  * before carried the mode as a separate attribute filter on the single empty string value instead; that
169667
169667
  * representation is still read (see `processConnectedAttributeFilters`), never written.
169668
169668
  */
169669
- function dateFilterEmptyValueHandling(filter) {
169669
+ function dateFilterEmptyValueHandling$1(filter) {
169670
169670
  const { empty_values } = filter;
169671
169671
  return empty_values === "include" || empty_values === "exclude" || empty_values === "only" ? { emptyValueHandling: empty_values } : {};
169672
169672
  }
@@ -169686,14 +169686,14 @@ function yamlRelativeDateFilterToDeclarative(entities, filter, assignFilterLocal
169686
169686
  granularity: convertGranularity$1(filter.granularity),
169687
169687
  from: filter.from,
169688
169688
  to: filter.to,
169689
- ...dateFilterEmptyValueHandling(filter)
169689
+ ...dateFilterEmptyValueHandling$1(filter)
169690
169690
  } }] });
169691
169691
  else if (filter.empty_values) result = mergeDeclarativeResults(result, { filters: [{ relativeDateFilter: {
169692
169692
  dataSet: identifier,
169693
169693
  granularity: "ALL_TIME_GRANULARITY",
169694
169694
  from: 0,
169695
169695
  to: 0,
169696
- ...dateFilterEmptyValueHandling(filter)
169696
+ ...dateFilterEmptyValueHandling$1(filter)
169697
169697
  } }] });
169698
169698
  else result = mergeDeclarativeResults(result, { filters: [{ relativeDateFilter: {
169699
169699
  dataSet: identifier,
@@ -171682,6 +171682,20 @@ function buildDimensions(query, execution) {
171682
171682
  sorting
171683
171683
  };
171684
171684
  }
171685
+ /**
171686
+ * `empty_values` is the date filter's own mode; the AFM spells it in upper case.
171687
+ */
171688
+ function dateFilterEmptyValueHandling(filter) {
171689
+ const { empty_values } = filter;
171690
+ return empty_values === "include" || empty_values === "exclude" || empty_values === "only" ? { emptyValueHandling: empty_values.toUpperCase() } : {};
171691
+ }
171692
+ /**
171693
+ * Converts AaC `filter_by` into AFM filters for the query preview.
171694
+ *
171695
+ * sdk-backend-tiger's `convertFilter` converts the equivalent model filters for a stored insight. When
171696
+ * you add or change a date filter property here, change it there too, and extend
171697
+ * `AacFilterParity.test.ts` in sdk-backend-tiger, which fails if the two diverge.
171698
+ */
171685
171699
  function buildFilters(entities, filters_by) {
171686
171700
  if (!filters_by) return [];
171687
171701
  const filters = [];
@@ -171690,13 +171704,20 @@ function buildFilters(entities, filters_by) {
171690
171704
  if (isAbsoluteDateFilter$1(filter)) filters.push({ absoluteDateFilter: {
171691
171705
  dataset: createIdentifier(filter.using, { forceType: "dataset" }),
171692
171706
  from: filter.from,
171693
- to: filter.to
171707
+ to: filter.to,
171708
+ ...dateFilterEmptyValueHandling(filter)
171694
171709
  } });
171695
- if (isRelativeDateFilter$1(filter)) filters.push({ relativeDateFilter: {
171710
+ if (isAllTimeDateFilter$1(filter)) {
171711
+ if (filter.empty_values === "exclude" || filter.empty_values === "only") filters.push({ allTimeDateFilter: {
171712
+ dataset: createIdentifier(filter.using, { forceType: "dataset" }),
171713
+ ...dateFilterEmptyValueHandling(filter)
171714
+ } });
171715
+ } else if (isRelativeDateFilter$1(filter)) filters.push({ relativeDateFilter: {
171696
171716
  dataset: createIdentifier(filter.using, { forceType: "dataset" }),
171697
171717
  granularity: filter.granularity ?? void 0,
171698
171718
  from: filter.from,
171699
- to: filter.to
171719
+ to: filter.to,
171720
+ ...dateFilterEmptyValueHandling(filter)
171700
171721
  } });
171701
171722
  if (isPositiveAttributeFilter(filter)) filters.push({ positiveAttributeFilter: {
171702
171723
  label: createIdentifier(filter.using),
@@ -193053,7 +193074,7 @@ const metadata_v1 = {
193053
193074
  },
193054
193075
  "persistent_filters_across_tabs": {
193055
193076
  "type": "boolean",
193056
- "description": "Whether persistent filters across tabs are enabled for this dashboard. Defaults to true."
193077
+ "description": "Whether persistent filters across tabs are enabled for this dashboard. When omitted, the setting is off."
193057
193078
  },
193058
193079
  "timezone_config": {
193059
193080
  "$ref": "#/$defs/timezoneConfig",
@@ -200040,7 +200061,7 @@ const metadata_v1 = {
200040
200061
  },
200041
200062
  "persistent_filters_across_tabs": {
200042
200063
  "type": "boolean",
200043
- "description": "Whether persistent filters across tabs are enabled for this dashboard. Defaults to true."
200064
+ "description": "Whether persistent filters across tabs are enabled for this dashboard. When omitted, the setting is off."
200044
200065
  },
200045
200066
  "timezone_config": {
200046
200067
  "$ref": "#/$defs/timezoneConfig",
@@ -209648,7 +209669,7 @@ async function open(state, emitter, file) {
209648
209669
  //#endregion
209649
209670
  //#region ../code/package.json
209650
209671
  var name = "@gooddata/code";
209651
- var version = "0.63.0";
209672
+ var version = "0.64.0-alpha.1";
209652
209673
  //#endregion
209653
209674
  //#region ../code/esm/services/server/client.js
209654
209675
  function getApiClient$1(profile, { packageName, packageVersion }) {
@@ -237180,7 +237201,7 @@ const _CONFIG = {
237180
237201
  common: {
237181
237202
  "X-Requested-With": "XMLHttpRequest",
237182
237203
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
237183
- "X-GDC-JS-PACKAGE-VERSION": "11.66.0"
237204
+ "X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.1"
237184
237205
  },
237185
237206
  post: { "Content-Type": "application/json;charset=utf8" },
237186
237207
  put: { "Content-Type": "application/json;charset=utf8" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.63.0",
3
+ "version": "0.64.0-alpha.1",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",