Skip to content

Releases: rhdunn/xquery-intellij-plugin

1.1

10 Apr 07:00
1.1
Compare
Choose a tag to compare
1.1

Language Support:

  1. Support using MarkLogic 8.0 array-node() and object-node() tests in document-node() tests.
  2. Fix parsing Saxon 9.8 tuple types with whitespace or comments after the
    item type with an occurrence indicator and before the comma.
  3. Fix parsing Saxon 9.8 union types with whitespace or comments after the
    QName and before the comma.
  4. Fix parsing TypedFunctionTest constructs with whitespace or comments after the
    item type with an occurrence indicator and before the comma.
  5. Improve error recovery when parsing incomplete QNames in direct element constructor
    start and end tags, e.g. <a:></a:>.
  6. Fix tokenizing ``[...`]``.

Syntax Highlighting:

  1. Highlight NCNames in processing-instruction StringLiterals.

References and Resolving:

  1. Only the variable for the active typeswitch case/default clause should be in scope.
  2. Fix for/let bindings so previous binding variables are visible from the in expression.
  3. Fix checking multiple declared variables in a Scripting Extensions BlockVarDecl node.

Inspections:

  1. XQST0118: Mismatched open and close XML tag in direct element constructors.

1.0

30 Nov 20:33
1.0
Compare
Choose a tag to compare
1.0

Language Support:

  1. Full Text 1.0 and 3.0 support.
  2. MarkLogic 7.0 and 8.0 schema-components KindType tests.
  3. Saxon 9.8 tuple and union types, and declare type prolog statements.
  4. BaseX Full Text fuzzy option.
  5. Recover when = is used instead of :=.
  6. Improved multi-statement expression parsing and error reporting for MarkLogic 6.0, and
    W3C Scripting XQuery extensions.

Bug Fixes:

  1. Fix tokenizing `{...}` expressions outside XQuery 3.1 string interpolation contexts.
  2. Report a parser error when a TypedFunctionTest does not have a return type clause.
  3. Report a parse error when an unpaired } is used in direct element contents.
  4. Fix parsing pragmas with EQNames, and optional pragma contents.
  5. Fix resolving functions referenced in the current library module.
  6. Fix support for ProcessCanceledException thrown when creating PSI nodes.

Inspections:

  1. XPST0003: Final statement semicolon inspection for MarkLogic and Scripting Extension
    syntax differences.
  2. XPST0003: Reserved function inspection. This is split out from the unsupported construct
    inspection.
  3. XPST0003: Saxon/XQuery map key-value separators. This is split out from the unsupported
    construct inspection.
  4. XPST0017: Undefined function inspection. This is experimental, as it
    currently reports many false positives.
  5. XQST0031: Extend the inspection to check unsupported XQuery versions in different MarkLogic
    transactions, and check for XDMP-XQUERYVERSIONSWITCH errors.
  6. XQST0033: Duplicate namespace prefix.
  7. XPST0081: Unbound QName prefix.

IntelliJ Integration:

  1. Moved the MarkLogic run configuration to a separate plugin.

0.5

18 Jul 20:40
0.5
Compare
Choose a tag to compare
0.5

Language Support:

  1. MarkLogic 9.0 support.
  2. Interpret expr <ncname as part of an expression, not as a
    DirElemConstructor when not followed by an attribute list or closing
    element tag. XQuery engines support this usage.
  3. Allow empty EnclosedExpr elements in CompTextConstructor, DirAttributeValue
    and DirElemContent for MarkLogic.

Bug Fixes:

  1. Fix processing NCNames in map keys and values separated by spaces.
  2. Fix a crash when checking conformance of map constructs without a :.

IntelliJ Integration:

  1. Support code folding for EnclosedExpr, DirElemConstructor and Comment
    elements;
  2. Initial support for MarkLogic run configurations.

0.4

03 Jan 17:26
0.4
Compare
Choose a tag to compare
0.4

Language Support:

  1. Complete support for XQuery Scripting Extensions 1.0.
  2. Support highlighting xqDoc parameter names.
  3. Support highlighting XML PredefinedEntityRef and CharRef tokens in
    xqDoc comments.
  4. Support BaseX 7.8 and 8.5 update expressions.

Bug Fixes:

  1. Don't crash when resolving an empty URILiteral in an import statement.
  2. Fix highlighting : at the start of a line in xqDoc comments.
  3. array-node {} is valid in MarkLogic 8.0.

0.3

30 Nov 07:33
0.3
Compare
Choose a tag to compare
0.3

Language Support:

  1. Complete support for XQuery 3.1 constructs.
  2. Complete support for Update Facility 3.0 extensions.
  3. Improved error reporting on unbalanced XML (DirElemConstructor parsing).
  4. Support for xqDoc documentation comments.

IntelliJ Integration:

  1. Paired brace matching.
  2. Commenting code support.
  3. Fixed VersionDecl conformance checks on invalid version strings.

0.2.1

05 Nov 13:37
0.2.1
Compare
Choose a tag to compare
  1. Fix a NullPointerException when resolving NCName-based function calls.
  2. Fix an IndexOutOfBoundsException when the charset detection logic is called
    from multiple threads (e.g. during indexing).

0.2

30 Oct 15:54
0.2
Compare
Choose a tag to compare
0.2
  1. Use an inspection -- not the parser -- to check and report constructs from a
    different XQuery version or extension.
  2. Improved error recovery when parsing library modules.
  3. Context-based highlighting of identifiers (QName prefices, annotations and
    keyword-based identifiers).

Language Support:

  1. Complete support for XQuery 3.0 constructs.
  2. Complete support for Update Facility 1.0 extensions.
  3. Complete support for MarkLogic 1.0-ml extensions in MarkLogic 6.0 and 8.0.
  4. Fix InstanceofExpr and TreatExpr -- they expect a SequenceType, not a
    SingleType.

IntelliJ Integration:

  1. Resolve URILiteral string references.
  2. Resolve QName prefices to namespace declarations.
  3. Resolve function usage to the corresponding function declaration.
  4. Resolve variable usage to the corresponding variable declaration.
  5. Find usages.

0.1

10 Sep 17:44
0.1
Compare
Choose a tag to compare
0.1
  • Conforming XQuery 1.0 syntax highlighter and parser with file encoding detection.
  • Helpful error messages for invalid XQuery constructs.
  • Control over how XQuery dialects are interpreted.