@kusto/monaco-kusto 12.0.17 → 12.0.18

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/README.md CHANGED
@@ -85,6 +85,18 @@ Every PR should come with a test that checks it.
85
85
 
86
86
  ## Changelog
87
87
 
88
+ ### 12.0.18
89
+
90
+ - fix: database references function to use full host name to improve proxy database cross cluster scheme fetching.
91
+
92
+ ### 12.0.17
93
+
94
+ - fix: cluster references function to use full host name to improve proxy clusters cross cluster scheme fetching.
95
+
96
+ ### 12.0.16
97
+
98
+ - feat: update language service with chart updated.
99
+
88
100
  ### 12.0.15
89
101
 
90
102
  - fix: executing the same query on a different line now correctly displays completion items.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kusto/monaco-kusto",
3
- "version": "12.0.17",
3
+ "version": "12.0.18",
4
4
  "description": "CSL, KQL plugin for the Monaco Editor",
5
5
  "author": {
6
6
  "name": "Microsoft"
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './main-cff0e7b4', './types-8397fd94'], (function (exports, monaco, main, types$1) { 'use strict';
8
+ define('vs/language/kusto/kustoMode', ['exports', 'vs/editor/editor.main', './main-804fbde2', './types-e38e1896'], (function (exports, monaco, main, types$1) { 'use strict';
9
9
 
10
10
  function _interopNamespaceDefault(e) {
11
11
  var n = Object.create(null);
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/kustoWorker', ['exports', './main-cff0e7b4', './schema-ee7cd8bb'], (function (exports, main, schema) { 'use strict';
8
+ define('vs/language/kusto/kustoWorker', ['exports', './main-804fbde2', './schema-cf463c36'], (function (exports, main, schema) { 'use strict';
9
9
 
10
10
  function _slicedToArray$2(r, e) { return _arrayWithHoles$2(r) || _iterableToArrayLimit$2(r, e) || _unsupportedIterableToArray$3(r, e) || _nonIterableRest$2(); }
11
11
  function _nonIterableRest$2() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -3871,7 +3871,7 @@ define('vs/language/kusto/kustoWorker', ['exports', './main-cff0e7b4', './schema
3871
3871
  var newDatabasesReferencesSet = new Set();
3872
3872
  for (var i1 = 0; i1 < databasesReferences.Count; i1++) {
3873
3873
  var databaseReference = databasesReferences.getItem(i1);
3874
- var clusterHostName = Kusto.Language.KustoFacts.GetHostName(databaseReference.Cluster);
3874
+ var clusterHostName = Kusto.Language.KustoFacts.GetFullHostName(databaseReference.Cluster, null);
3875
3875
 
3876
3876
  // ignore duplicates
3877
3877
  var databaseReferenceUniqueId = this.createDatabaseUniqueName(clusterHostName, databaseReference.Database);
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/main-cff0e7b4', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/main-804fbde2', ['exports'], (function (exports) { 'use strict';
9
9
 
10
10
  /* --------------------------------------------------------------------------------------------
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/monaco.contribution', ['require', 'exports', 'vs/editor/editor.main', './types-8397fd94', './schema-ee7cd8bb'], (function (require, exports, monaco, types, schema) { 'use strict';
8
+ define('vs/language/kusto/monaco.contribution', ['require', 'exports', 'vs/editor/editor.main', './types-e38e1896', './schema-cf463c36'], (function (require, exports, monaco, types, schema) { 'use strict';
9
9
 
10
10
  function _interopNamespaceDefault(e) {
11
11
  var n = Object.create(null);
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/schema-ee7cd8bb', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/schema-cf463c36', ['exports'], (function (exports) { 'use strict';
9
9
 
10
10
  // Definition of schema object in the context of language services. This model is exposed to consumers of this library.
11
11
 
@@ -1,11 +1,11 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
- define('vs/language/kusto/types-8397fd94', ['exports'], (function (exports) { 'use strict';
8
+ define('vs/language/kusto/types-e38e1896', ['exports'], (function (exports) { 'use strict';
9
9
 
10
10
  var LANGUAGE_ID = 'kusto';
11
11
 
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -8,7 +8,7 @@
8
8
  import * as worker from 'monaco-editor/esm/vs/editor/editor.worker';
9
9
  import * as ls from 'vscode-languageserver-types';
10
10
  import XRegExp from 'xregexp';
11
- import { d as getEntityDataTypeFromCslType, a as getCallName, b as getExpression, g as getCslTypeNameFromClrType } from './schema-67b23895.js';
11
+ import { d as getEntityDataTypeFromCslType, a as getCallName, b as getExpression, g as getCslTypeNameFromClrType } from './schema-247c87a9.js';
12
12
  import '@kusto/language-service/bridge.min';
13
13
  import '@kusto/language-service/Kusto.JavaScript.Client.min';
14
14
  import '@kusto/language-service/newtonsoft.json.min';
@@ -407,7 +407,7 @@ class KustoLanguageService {
407
407
  let newDatabasesReferencesSet = new Set();
408
408
  for (let i1 = 0; i1 < databasesReferences.Count; i1++) {
409
409
  const databaseReference = databasesReferences.getItem(i1);
410
- const clusterHostName = Kusto.Language.KustoFacts.GetHostName(databaseReference.Cluster);
410
+ const clusterHostName = Kusto.Language.KustoFacts.GetFullHostName(databaseReference.Cluster, null);
411
411
 
412
412
  // ignore duplicates
413
413
  const databaseReferenceUniqueId = this.createDatabaseUniqueName(clusterHostName, databaseReference.Database);
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -9,7 +9,7 @@ import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
9
9
  import { languages } from 'monaco-editor/esm/vs/editor/editor.api';
10
10
  import * as ls from 'vscode-languageserver-types';
11
11
  import debounce from 'lodash-es/debounce';
12
- import { L as LANGUAGE_ID, T as Token, t as tokenTypes } from './globals-93666ed8.js';
12
+ import { L as LANGUAGE_ID, T as Token, t as tokenTypes } from './globals-1f93ab1c.js';
13
13
 
14
14
  class WorkerManager {
15
15
  constructor(_monacoInstance, defaults) {
@@ -536,7 +536,7 @@ var KustoLanguageService = /** @class */ (function () {
536
536
  var newDatabasesReferencesSet = new Set();
537
537
  for (var i1 = 0; i1 < databasesReferences.Count; i1++) {
538
538
  var databaseReference = databasesReferences.getItem(i1);
539
- var clusterHostName = Kusto.Language.KustoFacts.GetHostName(databaseReference.Cluster);
539
+ var clusterHostName = Kusto.Language.KustoFacts.GetFullHostName(databaseReference.Cluster, null);
540
540
  // ignore duplicates
541
541
  var databaseReferenceUniqueId = this.createDatabaseUniqueName(clusterHostName, databaseReference.Database);
542
542
  if (newDatabasesReferencesSet.has(databaseReferenceUniqueId)) {
@@ -1,15 +1,15 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
7
7
 
8
8
  import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
9
9
  import { editor } from 'monaco-editor/esm/vs/editor/editor.api';
10
- import { T as Token, L as LANGUAGE_ID } from './globals-93666ed8.js';
11
- import { g as getCslTypeNameFromClrType, a as getCallName, b as getExpression, c as getInputParametersAsCslString, d as getEntityDataTypeFromCslType } from './schema-67b23895.js';
12
- export { s as showSchema } from './schema-67b23895.js';
10
+ import { T as Token, L as LANGUAGE_ID } from './globals-1f93ab1c.js';
11
+ import { g as getCslTypeNameFromClrType, a as getCallName, b as getExpression, c as getInputParametersAsCslString, d as getEntityDataTypeFromCslType } from './schema-247c87a9.js';
12
+ export { s as showSchema } from './schema-247c87a9.js';
13
13
 
14
14
  function getCurrentCommandRange(editor, cursorPosition) {
15
15
  const zeroBasedCursorLineNumber = cursorPosition.lineNumber - 1;
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 12.0.17(11ebee056acf9e2c8b39e17dd4af23d485278029)
3
+ * monaco-kusto version: 12.0.18(2a40d133fe064f26184512beeb43de4f5db3eec2)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/