Skip to content

Releases: JuliaServices/Match.jl

v2.4.0

25 Dec 19:58
cb25c8c
Compare
Choose a tag to compare

Match v2.4.0

Diff since v2.3.0

Add support for named tuples and matching
fields by name rather than position.

Merged pull requests:

Closed issues:

  • Possible to match a NamedTuple? (#95)
  • Support SumTypes variants (#104)
  • Register 2.3.0 (#119)

v2.3.0

25 Nov 01:05
538097b
Compare
Choose a tag to compare

Match v2.3.0

Diff since v2.2.0

Merged pull requests:

  • Document: qualified names are no longer treated as interpolations (#90) (#112) (@gafter)
  • Test the behavior of NaN in a where clause. (#115) (@gafter)
  • Alternative extractor implementation (#116) (@nystrom)

Closed issues:

  • Inverse functions (#15)
  • Match no longer handling regex (#28)
  • Incorrect position on @warn (#86)
  • Patterns with getproperty access broke in v2.0.0 (#90)
  • Support ML-style active patterns (#92)
  • Register 2.2.0 (#111)

v2.2.0

11 Nov 20:50
8bcb71f
Compare
Choose a tag to compare

Match v2.2.0

Diff since v2.1.2

Merged pull requests:

  • Add support for ML-style guards which are patterns of the form if e end (#110) (@gafter)

Closed issues:

  • Support MLStyle-style guards (#91)
  • Register 2.1.2 (#109)

v2.1.2

10 Nov 20:37
1785df4
Compare
Choose a tag to compare

Match v2.1.2

Diff since v2.1.1

Merged pull requests:

Closed issues:

  • Deduplication can take exponential time (#106)

v2.1.1

09 Nov 00:10
356d365
Compare
Choose a tag to compare

Match v2.1.1

Diff since v2.1.0

Merged pull requests:

  • Defer generating labels in the automaton to prevent duplicate labels being generated (#105) (@gafter)

Closed issues:

  • Duplicate goto labels generated when using @match_return (#102)
  • Register 2.1.0 (#103)

v2.1.0

18 Jul 23:56
4cbd3fd
Compare
Choose a tag to compare

Match v2.1.0

Diff since v2.0.0

Merged pull requests:

  • Update Neal's email. (#97) (@gafter)
  • When a pattern variable is defined on only one side of a disjunction, (#100) (@gafter)

Closed issues:

  • problem with v"0.1.3"? (#19)
  • @enum not matched properly in Julia 0.4, Match 0.1.3 (#25)
  • Match with repeated binding (#27)
  • Can't match nested symbols (#32)
  • Can't match single-item tuples (#43)
  • Extractor Support? unapply method support (#44)
  • Confusion between symbols and variables (#45)
  • Case bodies with certain expressions case macro-expansion time crash. (#53)
  • Documentation example (#55)
  • Wrong result for enum (#56)
  • Docstrings (#57)
  • match macro in loop (#59)
  • The pattern nothing matches any expressions (#60)
  • Match can't match tuple literal (#62)
  • Error on failed match? (#63)
  • head body... tail match (#64)
  • Possible additional example for truth table (#65)
  • Typo in regex matching? (#67)
  • Unable to use as using Match: @match (Match not defined) (#68)
  • Doesn't seem to support matching variables like Scala, is that intentional? (#72)
  • Doesn't work with @enum (#73)
  • a new pattern match for Julia (#77)
  • Register version 2.0 (#79)
  • Unexpected match with disjunction (#99)

v2.0.0

03 Aug 17:11
37f4c35
Compare
Choose a tag to compare

Complete overhaul of implementation taken from Rematch2.jl

  • Code generation via an optimized decision automaton
  • Require Julia 1.5
  • No longer supports multidimensional arrays

v1.2.0

17 Nov 19:34
Compare
Choose a tag to compare

Match v1.2.0

Diff since v1.1.0

Closed issues:

  • use false instead of Symbol(false) (#58)
  • Matching types gives wrong answers (#61)

Merged pull requests:

v1.1.0

13 Dec 07:19
v1.1.0
Compare
Choose a tag to compare

Switch to Package.toml
Add TagBot configuration

Fix deprecated use of `union` on arrays

08 Dec 06:29
98f305c
Compare
Choose a tag to compare