Skip to content

Latest commit

 

History

History
196 lines (137 loc) · 7.36 KB

CHANGELOG.md

File metadata and controls

196 lines (137 loc) · 7.36 KB

Changelog

version development

  • Fixed description of ternary operator to say that the type, not the value, of the if-then-else is the same regardless of which side is evaluated. PR 476 by @notestaff

  • Lexer rule BeginWhitespace now matches non-empty string. PR 440 by @yunhailuo

  • Runtime section no longer accepts arbitrary keys. Added new hints section for arbitrary runtime hints. PR 315 by @patmagee

  • Removes string interpolator options. PR 229 and PR 368 by @EvanTheB and @illusional.

  • Object has been removed from WDL. struct can be used to achieve the same type of functionality in a more explicit way. PR 283 by @patmagee.

  • Added a new Directory type to make it easier when working with inputs that consist of multiple files. PR 241 by @cjllanwarne.

version 1.1.2

  • State that Union is also the type of some runtime attributes.

  • Remove some syntax sections that were missed in 1.1.1.

  • Clarify short-circuiting of boolean expressions (#199)

  • Added requirement for tests to the RFC

  • Clarifies number of sections allowed within task and workflow blocks. PR 598 by @claymcleod

  • Clarified that read_bool is case-insensitive, and added an example.

version 1.1.1

  • Applied Errata to the 1.1.0 spec.

  • Added missing File and version keywords to the list of reserved words.

  • Added new sections or materially expanded existing sections:

    • "Limited exceptions" to type coercion rules
    • "Static Analysis and Dynamic Evaluation"
    • "Task Input Localization"
    • "Expression Placeholders" under "Command Section"
  • Reformatted all tables.

  • Reorganzied the standard library.

  • Provided codespell configuration and workflow to catch typos. PR 530 by @yarikoptic.

  • Fixed typos, thanks to @yarikoptic, @sejyoti, @mmterpstra, @j23414, @jdavcs, @beukueb, @notestaff, @alberto-mg, @mperf!

version 1.1.0

  • Added Errata.

  • Clarified that the sub function requires a POSIX Extended Regular Expression (ERE). PR 243 by @rhpvorderman

  • Added syntax for struct literals. PR 297 by @patmagee

  • Added engine functions for min and max. PR 304 by @pshapiro

  • Added section on file outputs including optional outputs. PR 310 by @jtratner

  • Added reserved keys, explicit formats, and default values for runtime attributes and hints. PR 315 by @patmagee

  • Namespacing has been clarified. PR 340 by @DavyCats

  • Abbreviated syntax for call inputs bound to workflow-scoped values by name: {input: x, y=b, z} is shorthand for {input: x=x, y=b, z=z} PR 365 by @mlin

  • Write a specification for unsatisfied task inputs and nested optional inputs. PR 359 by @rhpvorderman

  • Adds an engine function for joining arrays of strings. PR 229 and PR 368 by @EvanTheB and @illusional.

  • Added an engine function for adding a suffix to an array of primitives as well as well as quote and squote engine functions. PR 362 @patmagee

  • Added a required input and output format for workflow engines. PR 357

  • The input specification has been clarified. PR 314 by @geoffjentry.

  • Added a list of keywords that can not be used as identifiers. PR 307 by @mlin.

  • Empty call blocks have been clarified. PR 302 by @aednichols.

  • Optional and non-empty type constraints have been clarified. PR 290 by @mlin.

  • The way comments work has been clarified. PR 277 by @patmagee.

  • Implement string escapes in the Hermes grammar. PR 272 by @cjllanwarne.

  • Added None for explicitly stating that an optional variable is not defined. PR 263 by @rhpvorderman.

  • Backported to 1.0: Fix a bug in the grammar regarding unescaped strings. PR 253 and PR 255 by @aednichols.

  • WDL Files should be encoded in UTF-8 now. String definitions have been clarfied. PR 247 by @EvanTheB.

  • The version statement can now be the first non-comment statement. So it can be stated below a license header for example. PR 245 by @ffinfo.

  • Added a keys function to get an array of keys from a map. PR 244 by @ffinfo.

  • Several bugs in the grammar have been fixed. PR 238 and PR 240 by @cjllanwarne.

  • Type conversions and meanings have been clarified. PR 235 by @EvanTheB.

  • Backported to 1.0: Imports are now relative to their current location. PR 220 by @geoffjentry.

  • Added conversion functions as_pairs and as_map to convert between Array[Pair[X,Y]] and Map[X,Y]. PR 219 by @DavyCats.

  • Add an after keyword to run a task after other tasks. PR 162 by @cjllanwarne.

version 1.0.0

  • Rename lexer to WdlV1Lexer
  • Rename parser to WdlV1Parser
  • Rename WdlComments channel to COMMENTS
  • Remove SkipChannel
  • Rename COMMENT -> LINE_COMMENT, emit comments to COMMENTS channel
  • Add Meta mode for parsing meta sections
  • Parse whitespace between command and opening {/<<< within Command mode, so that it is emitted to the HIDDEN channel
  • Ignore trailing commas
  • Formatting -
    • use two spaces always for indentation
    • always wrap statements (i.e. always put opening ':' and closing ';' on newlines)
    • always use PascalCase for tokens within lexer modes

draft-2

  • Added ANTLR4 grammar