@atlaskit/jql-autocomplete
Advanced tools
Comparing version
197
CHANGELOG.md
# @atlaskit/jql-autocomplete | ||
## 1.0.0 | ||
## 2.0.0 | ||
### Major Changes | ||
- [`ef15cb77a2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef15cb77a2a) - Migrate `jql-autocomplete` package to the `@atlaskit` namespace. Any consumers should update their imports to `@atlaskit/jql-autocomplete`. | ||
- [`978cfcda881`](https://bitbucket.org/atlassian/atlassian-frontend/commits/978cfcda881) - Migrate `jql-autocomplete` package to the `@atlaskit` namespace. Any consumers should update their imports to `@atlaskit/jql-autocomplete`. | ||
## 0.0.0 | ||
### Patch Changes | ||
We are moving the `jql-autocomplete` package from `@atlassiansox` and `@atlassianlabs` namespaces to `@atlaskit`. From now on, | ||
there will be a single publish to the public npm registry, and any imports should be updated to `@atlaskit/jql-autocomplete`. | ||
- Updated dependencies | ||
We are keeping the changelog for older versions in the section below, for historical reasons. | ||
## 1.2.6 | ||
--- | ||
### Patch Changes | ||
#### 1.2.6 | ||
##### Patch Changes | ||
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json | ||
#### 1.2.5 | ||
## 1.2.5 | ||
##### Patch Changes | ||
### Patch Changes | ||
- [`046f9e95899`](https://bitbucket.org/atlassian/atlassian-frontend/commits/046f9e95899) - Use deep import for antlr4-c3 dependency to mitigate lack of tree-shaking. | ||
#### 1.2.4 | ||
## 1.2.4 | ||
[](https://www.npmjs.com/package/@atlassianlabs/jql-autocomplete) | ||
##### Patch Changes | ||
### Patch Changes | ||
- [`7926dc060ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7926dc060ff) - Clamp antlr4ts version to 0.5.0-alpha.4 | ||
#### 1.2.3 | ||
## 1.2.3 | ||
[](https://www.npmjs.com/package/@atlassianlabs/jql-autocomplete) | ||
##### Patch Changes | ||
### Patch Changes | ||
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8 | ||
#### 1.2.2 | ||
## 1.2.2 | ||
##### Patch Changes | ||
### Patch Changes | ||
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` | ||
#### 1.2.1 | ||
## 1.2.1 | ||
##### Patch Changes | ||
### Patch Changes | ||
- [`5fbee461cc7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5fbee461cc7) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change. | ||
#### 1.2.0 | ||
## 1.2.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump | ||
#### 1.1.9 | ||
## 1.1.9 | ||
##### Patch Changes | ||
### Patch Changes | ||
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5` | ||
#### 1.1.8 | ||
## 1.1.8 | ||
[](https://www.npmjs.com/package/@atlassianlabs/jql-autocomplete) | ||
##### Patch Changes | ||
### Patch Changes | ||
- [`5a4217aeed6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a4217aeed6) - Add polyfill for node assert and util modules. | ||
#### 1.1.7 | ||
## 1.1.7 | ||
[](https://www.npmjs.com/package/@atlassianlabs/jql-autocomplete) | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -88,7 +83,7 @@ - 886bd63: Bump labs version. | ||
#### 1.1.6 | ||
## 1.1.6 | ||
[](https://www.npmjs.com/package/@atlassianlabs/jql-autocomplete) | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -99,5 +94,5 @@ - 6c31f29: Migrate packages from tslint to eslint | ||
#### 1.1.5 | ||
## 1.1.5 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -108,5 +103,5 @@ - 70e0706: Bump dependencies to patch vulnerabilities | ||
#### 1.1.4 | ||
## 1.1.4 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -116,5 +111,5 @@ - 52ad1a8: VULN-570232 - Bump lodash to 4.17.21 | ||
#### 1.1.3 | ||
## 1.1.3 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -125,5 +120,5 @@ - f46b4ff: Use isolatedModules to fix Babel transpilation of type only exports. | ||
#### 1.1.2 | ||
## 1.1.2 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -134,15 +129,15 @@ - bc19fe3: Update storybook and de-dupe babel dependencies. | ||
#### 1.1.1 | ||
## 1.1.1 | ||
##### Patch Changes | ||
### Patch Changes | ||
- 1d78273: Fix an issue where autocomplete rule context would not return isList=true right after a comma | ||
#### 1.1.0 | ||
## 1.1.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- 3c957a1: Improve autocomplete rule context accuracy when both operator and operand rules are suggested | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -152,9 +147,9 @@ - 1b1139c: Remove RPAREN from default delimiter tokens, effectively disabling suggestions right after an RPAREN token | ||
#### 1.0.0 | ||
## 1.0.0 | ||
##### Major Changes | ||
### Major Changes | ||
- 94c794c: Bump all TypeScript packages to 1.0.0 for release to production. From this point on, semver will be used in all packages. | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -164,5 +159,5 @@ - Updated dependencies [94c794c] | ||
#### 0.7.2 | ||
## 0.7.2 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -175,5 +170,5 @@ - 8bcc57f: Disable autocomplete for predicate operands | ||
#### 0.7.1 | ||
## 0.7.1 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -186,9 +181,9 @@ - 20eb798: Improved definition of valid operands for different terminal clause types | ||
#### 0.7.0 | ||
## 0.7.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- 352d19c: Use babel for build output. | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -198,11 +193,11 @@ - Updated dependencies [352d19c] | ||
#### 0.6.3 | ||
## 0.6.3 | ||
##### Patch Changes | ||
### Patch Changes | ||
- 2cfd326: Import directly from antlr4ts submodule. | ||
#### 0.6.2 | ||
## 0.6.2 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -213,5 +208,5 @@ - 63c7f76: Use es2017 target to align with jira. | ||
#### 0.6.1 | ||
## 0.6.1 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -222,9 +217,9 @@ - ef753ba: Move token constants from jql-parser to jql-ast package. | ||
#### 0.6.0 | ||
## 0.6.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- ab235ac: Operator-specific parsing for terminal clauses. Consolidation of terminal clause and operator nodes in AST. | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -236,9 +231,9 @@ - 881a846: Add separate cjs and esm build outputs. | ||
#### 0.5.0 | ||
## 0.5.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- 0df4e5e: Add validation message for invalid custom field ids. | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -248,5 +243,5 @@ - Updated dependencies [82dfd45] | ||
#### 0.4.0 | ||
## 0.4.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
@@ -258,11 +253,11 @@ - fcdedf6: General improvements and JQL function support for editor validation. | ||
#### 0.3.0 | ||
## 0.3.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- ae89e98: Rename jql-autosuggest package to jql-autocomplete | ||
#### 0.2.1 | ||
## 0.2.1 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -273,11 +268,11 @@ - 35b5a1c: Rename jql-grammar package to jql-parser | ||
#### 0.2.0 | ||
## 0.2.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- 1333fcf: Auto insert opening parenthesis following a list operator | ||
#### 0.1.2 | ||
## 0.1.2 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -288,5 +283,5 @@ - 21940c1: Update dependencies with security vulnerabilities reported by SourceClear. | ||
#### 0.1.1 | ||
## 0.1.1 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -298,9 +293,9 @@ - 9cff3fc: Update jest and typedoc packages. | ||
#### 0.1.0 | ||
## 0.1.0 | ||
##### Minor Changes | ||
### Minor Changes | ||
- 5afdcbd: Introduce autocomplete unhandled rules and position autocomplete based on first suggestion replace position | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -310,5 +305,5 @@ - Updated dependencies [5afdcbd] | ||
#### 0.0.10 | ||
## 0.0.10 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -319,5 +314,5 @@ - 2cbeaaf: Add validation indicator to JQL editor and minor package restructure. | ||
#### 0.0.9 | ||
## 0.0.9 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -327,11 +322,11 @@ - Updated dependencies [586fae2] | ||
#### 0.0.8 | ||
## 0.0.8 | ||
##### Patch Changes | ||
### Patch Changes | ||
- 0440295: Refactor of component rendering for JQL editor plugins | ||
#### 0.0.7 | ||
## 0.0.7 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -342,5 +337,5 @@ - Prefix grammar rules | ||
#### 0.0.6 | ||
## 0.0.6 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -351,5 +346,5 @@ - 3c5c70a: Used the tslib package and reduced the size of the output | ||
#### 0.0.5 | ||
## 0.0.5 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -360,5 +355,5 @@ - 2e8d06e: Update `jql-autosuggest` to accept a selection range which impacts the matchedText and replacePosition for suggestions | ||
#### 0.0.4 | ||
## 0.0.4 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -369,5 +364,5 @@ - 6f89567: Improve accuracy of autocomplete suggestions from `jql-autosuggest` package and include information for token replacement. | ||
#### 0.0.3 | ||
## 0.0.3 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -378,5 +373,5 @@ - 4985a8e: Remove flow types from build | ||
#### 0.0.2 | ||
## 0.0.2 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -387,5 +382,5 @@ - b6e6e6f: Bump patch version | ||
#### 0.0.1 | ||
## 0.0.1 | ||
##### Patch Changes | ||
### Patch Changes | ||
@@ -392,0 +387,0 @@ - 898352a: Use bolt for project management. |
@@ -17,4 +17,4 @@ "use strict"; | ||
var _excluded = ["errorNodes"]; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
var RuleContextVisitor = /*#__PURE__*/(0, _createClass2.default)(function RuleContextVisitor(ruleSuggestion, ruleList, rule, tokenStream, maybeCaretToken) { | ||
@@ -21,0 +21,0 @@ var _this = this; |
@@ -7,4 +7,4 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
var _excluded = ["errorNodes"]; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
import { JQLLexer, JQLParser } from '@atlaskit/jql-parser'; | ||
@@ -11,0 +11,0 @@ import { ORDER_BY_CLAUSE, WHERE_CLAUSE } from './constants'; |
{ | ||
"name": "@atlaskit/jql-autocomplete", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "JQL autocomplete engine", | ||
@@ -38,3 +38,3 @@ "author": "Atlassian Pty Ltd", | ||
"dependencies": { | ||
"@atlaskit/jql-parser": "^1.0.0", | ||
"@atlaskit/jql-parser": "^2.0.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -41,0 +41,0 @@ "antlr4-c3": "3.0.1", |
219028
-0.37%3869
-0.05%+ Added
- Removed
Updated