-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Dafny 3.11.0 #3432
Release Dafny 3.11.0 #3432
Conversation
RELEASE_NOTES.md
Outdated
- Unless `--enforce-determinism` is used, no errors are given for arrays that are allocated without being initialized. | ||
(https://github.com/dafny-lang/dafny/pull/3311) | ||
|
||
- Enable passing a percentage value to the --cores option, to use a percentage of the total number of logical cores on the machine for verification. (https://github.com/dafny-lang/dafny/pull/3328) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better link #3357 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we prefer linking to the issue, and the issue itself also links to the PR. I think this can be useful when the issue contains a better description of the what than the PR. Sometimes the PR may also link to the issue to describe the what. In this case however the PR seems more informative.
RELEASE_NOTES.md
Outdated
|
||
- Remove an infeasible assertion in the Dafny Runtime for Java (https://github.com/dafny-lang/dafny/pull/3280) | ||
|
||
- Language server displays more relevant informations on hovering assertions (https://github.com/dafny-lang/dafny/pull/3281) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Language server displays more relevant informations on hovering assertions (https://github.com/dafny-lang/dafny/pull/3281) | |
- Language server now displays more relevant information on hovering assertions (https://github.com/dafny-lang/dafny/pull/3281) |
RELEASE_NOTES.md
Outdated
|
||
- Any `(==)` inferred for a type parameter of an iterator is now also inferred for the corresponding non-null iterator type. (https://github.com/dafny-lang/dafny/pull/3284) | ||
|
||
- the otherwise ambiguous program fragment `export least predicate` is parsed such that `least` (or `greatest`) is the export identifier (https://github.com/dafny-lang/dafny/pull/3291) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the otherwise ambiguous program fragment `export least predicate` is parsed such that `least` (or `greatest`) is the export identifier (https://github.com/dafny-lang/dafny/pull/3291) | |
- The otherwise ambiguous program fragment `export least predicate` is parsed such that `least` (or `greatest`) is the export identifier (https://github.com/dafny-lang/dafny/pull/3291) |
RELEASE_NOTES.md
Outdated
|
||
- the otherwise ambiguous program fragment `export least predicate` is parsed such that `least` (or `greatest`) is the export identifier (https://github.com/dafny-lang/dafny/pull/3291) | ||
|
||
- The parser generated bad `Token`s when invoked through `/library` (https://github.com/dafny-lang/dafny/pull/3301) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other points are written in a positive manner, i.e. emphasise the current status after fixing. Can we do the same here? Something like The parser does not anymore generate bad ...?
RELEASE_NOTES.md
Outdated
|
||
- Settings `--cores=0` will cause Dafny to use half of the available cores. (https://github.com/dafny-lang/dafny/pull/3276) | ||
|
||
- Remove an infeasible assertion in the Dafny Runtime for Java (https://github.com/dafny-lang/dafny/pull/3280) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Remove an infeasible assertion in the Dafny Runtime for Java (https://github.com/dafny-lang/dafny/pull/3280) | |
- Removed an infeasible assertion in the Dafny Runtime for Java (https://github.com/dafny-lang/dafny/pull/3280) |
RELEASE_NOTES.md
Outdated
|
||
## Bug fixes | ||
|
||
- Nonexistent files passed on the CLI result in a graceful exit (https://github.com/dafny-lang/dafny/pull/2719) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Nonexistent files passed on the CLI result in a graceful exit (https://github.com/dafny-lang/dafny/pull/2719) | |
- Nonexistent files passed on the CLI now result in a graceful exit (https://github.com/dafny-lang/dafny/pull/2719) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing this up! Just found a few small things.
Co-authored-by: Stefan Zetzsche <[email protected]>
RELEASE_NOTES.md
Outdated
- `dafny build` for Java now creates a library or executable jar file. | ||
- If there is a Main method, the jar is an executable jar. So a simple A.dfy can be built as `dafny build -t:java A.dfy` | ||
and then run as `java -jar A.jar` | ||
- If there is no Main entry point, all the generated class files are assembled into a library jar file that can be used on a | ||
classpath as a java library. | ||
- In both cases, the DafnyRuntime library is included in the generated jar. | ||
- In old and new CLIs, the default location and name of the jar file is the name of the first dfy file, with the extension changed | ||
- In old and new CLIs, the path and name of the output jar file can be given by the --output option, with .jar added if necessary | ||
- As before, the compilation artifacts (.java and .class files) are placed in a directory whose name is the same as the jar file | ||
but without the .jar extension and with '-java' appended | ||
- With the new CLI, the generated .java artifacts are deleted unless --spill-translation=true and the .class files are deleted in any case; | ||
both kinds of files are retained with the legacy CLI for backwards compatibility. | ||
- If any other jar files are needed to compile the dafny/java program, they must be on the CLASSPATH; | ||
the same CLASSPATH used to compile the program is needed to run the program | ||
|
||
Having a library or executable jar simplifies the user's task in figuring out how to use the built artifacts. | ||
(https://github.com/dafny-lang/dafny/pull/3355) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this section on jar files to new features, rather than a bug (my fault for miscategorizing the news file)
Co-authored-by: Stefan Zetzsche <[email protected]>
Co-authored-by: Stefan Zetzsche <[email protected]>
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.