Skip to content

Commit 1a96473

Browse files
committed
Release Dafny 3.9.1
1 parent 7e83dfc commit 1a96473

File tree

14 files changed

+34
-15
lines changed

14 files changed

+34
-15
lines changed

RELEASE_NOTES.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
22

33
See [docs/dev/news/](docs/dev/news/).
44

5+
# 3.9.1
6+
7+
## New features
8+
9+
- The language server now supports all versions of z3 ≥ 4.8.5. Dafny is still distributed with z3 4.8.5 and uses that version by default. (https://github.com/dafny-lang/dafny/pull/2820)
10+
11+
- Introduce a new Dafny CLI UI that complies with the POSIX standard and uses verbs to distinguish between use-cases. Run the Dafny CLI without arguments to view help for this new UI. (https://github.com/dafny-lang/dafny/pull/2823)
12+
13+
## Bug fixes
14+
15+
- Correct error highlighting on function called with default arguments (https://github.com/dafny-lang/dafny/pull/2826)
16+
17+
- Crash in the LSP in some code that does not parse (https://github.com/dafny-lang/dafny/pull/2833)
18+
19+
- A function used as a value in a non-ghost context must not have ghost parameters, and arrow types cannot have ghost parameters. (https://github.com/dafny-lang/dafny/pull/2847)
20+
21+
- Compiled lambdas now close only on non-ghost variables (https://github.com/dafny-lang/dafny/pull/2854)
22+
23+
- Previously, for a file printing the number of arguments, `dafny printing.dfy -compileTarget:js --args 1 2 3` would print 4: one for the executable, one for each argument.
24+
But `dafny -compile:2 -compileTarget:js printing.dfy; node ./printing.js` would print 5: One for `node`, one for `./printing.js`, and one for each argument.
25+
This fix ensures that `node ./printing.js` is considered as a single argument, and the first argument, to be consistent with every other language.
26+
(https://github.com/dafny-lang/dafny/pull/2876)
27+
28+
- Handle sequence-to-string equality correctly in the JavaScript runtime (https://github.com/dafny-lang/dafny/pull/2877)
29+
30+
- don't crash on type synonyms and subset types of array types in LHSs of simultaneous assignments (https://github.com/dafny-lang/dafny/pull/2884)
31+
32+
- Removed an bogus optimization on the Language Server (https://github.com/dafny-lang/dafny/pull/2890)
33+
34+
- The Dafny-to-Java compiler will now fully-qualify type casts in pattern destructors, avoiding "reference to TYPE is ambiguous" errors from javac. (https://github.com/dafny-lang/dafny/pull/2904)
35+
36+
- Variable declarations and formals in match cases do not trigger errors anymore. (https://github.com/dafny-lang/dafny/pull/2910)
37+
538
# 3.9.0
639

740
- feat: Support for testing certain contracts at runtime with a new `/testContracts` flag (https://github.com/dafny-lang/dafny/pull/2712)

Source/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<!-- Target framework -->
55
<TargetFramework>net6.0</TargetFramework>
6-
<VersionPrefix>3.9.0.41003<!--Version 3.9.0, year 2018+4, month 10, day 3.--></VersionPrefix>
6+
<VersionPrefix>3.9.1.41027<!--Version 3.9.1, year 2018+4, month 10, day 27.--></VersionPrefix>
77
<NoWarn>1701;1702;VSTHRD200</NoWarn>
88
</PropertyGroup>
99

docs/dev/news/2820.feat

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2823.feat

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2826.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2833.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2847.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2854.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/dev/news/2876.fix

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/dev/news/2877.fix

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)