Skip to content

chore(deps): bump org.dafny:DafnyRuntime from 4.0.0 to 4.1.0 in /TestVectors/runtimes/java #275

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 20, 2023

Bumps org.dafny:DafnyRuntime from 4.0.0 to 4.1.0.

Release notes

Sourced from org.dafny:DafnyRuntime's releases.

Dafny 4.1.0

New features

  • Added support for .toml based Dafny project files. For now the project file only allows specifying which Dafny files to include and exclude, and what options to use. The CLI commands that take Dafny files as input, such as build, run, translate, will now also accept Dafny project files. When using an IDE based on dafny server, such as the Dafny VSCode extension, the IDE will look for a Dafny project file by traversing up the file tree from the currently opened file, until it finds it dfyconfig.toml. The project file will override options specified in the IDE. (dafny-lang/dafny#2907)

  • Recognize the {:only} attribute on assert statements to temporarily transform other assertions into assumptions (dafny-lang/dafny#3095)

  • Exposes the --output and --spill-translation options for the dafny test command (dafny-lang/dafny#3612)

  • The dafny audit command now reports instances of the {:concurrent} attribute, intended to flag code that is intended, but can't be proven, to be safe for use in a concurrent setting. (dafny-lang/dafny#3660)

  • Added option --no-verify for language server (dafny-lang/dafny#3732)

  • Documenting Dafny Entities

    • Added .GetDocstring(DafnyOptions) to every AST node
    • Plugin support for custom Docstring formatter,
    • Activatable plugin to support a subset of Javadoc through --javadoclike-docstring-plugin
    • Support for displaying docstring in VSCode (dafny-lang/dafny#3756)
  • Documentation of the syntax for docstrings added to the reference manual (dafny-lang/dafny#3773)

  • Labelled assertions and requires in functions (dafny-lang/dafny#3804)

  • API support for obtaining the Dafny expression that is being checked by each assertion (dafny-lang/dafny#3888)

  • Added a "Dafny Library" backend, which produces self-contained, pre-verified .doo files ideal for distributing shared libraries. .doo files are produced with commands of the form dafny build -t:lib .... (dafny-lang/dafny#3913)

  • Semantic interpretation of dots in names for {:extern} modules when compiling to Python (dafny-lang/dafny#3919)

  • Code actions in editor to explicit failing assertions. In VSCode, place the cursor on a failing assertion that support being made explicit and either

    • Position the caret on a failing assertion, press CTRL+; and then ENTER
    • Hover over the failing division by zero, click "quick fix", press ENTER Both scenarios will explicit the failing assertion. If you don't see a quick fix, it means that the assertion cannot be automatically made explicit for now.

    Here is a initial list of assertions that can now be made explicit:

    • Division by zero
    • "out of bound" on sequences index, sequence slices, or array index
    • "Not in domain" on maps
    • "Could not prove unicity" of var x :| ... statement
    • "Could not prove existence" of var x :| ... statement (dafny-lang/dafny#3940)

... (truncated)

Changelog

Sourced from org.dafny:DafnyRuntime's changelog.

4.1.0

New features

  • Added support for .toml based Dafny project files. For now the project file only allows specifying which Dafny files to include and exclude, and what options to use. The CLI commands that take Dafny files as input, such as build, run, translate, will now also accept Dafny project files. When using an IDE based on dafny server, such as the Dafny VSCode extension, the IDE will look for a Dafny project file by traversing up the file tree from the currently opened file, until it finds it dfyconfig.toml. The project file will override options specified in the IDE. (dafny-lang/dafny#2907)

  • Recognize the {:only} attribute on assert statements to temporarily transform other assertions into assumptions (dafny-lang/dafny#3095)

  • Exposes the --output and --spill-translation options for the dafny test command (dafny-lang/dafny#3612)

  • The dafny audit command now reports instances of the {:concurrent} attribute, intended to flag code that is intended, but can't be proven, to be safe for use in a concurrent setting. (dafny-lang/dafny#3660)

  • Added option --no-verify for language server (dafny-lang/dafny#3732)

  • Documenting Dafny Entities

    • Added .GetDocstring(DafnyOptions) to every AST node
    • Plugin support for custom Docstring formatter,
    • Activatable plugin to support a subset of Javadoc through --javadoclike-docstring-plugin
    • Support for displaying docstring in VSCode (dafny-lang/dafny#3756)
  • Documentation of the syntax for docstrings added to the reference manual (dafny-lang/dafny#3773)

  • Labelled assertions and requires in functions (dafny-lang/dafny#3804)

  • API support for obtaining the Dafny expression that is being checked by each assertion (dafny-lang/dafny#3888)

  • Added a "Dafny Library" backend, which produces self-contained, pre-verified .doo files ideal for distributing shared libraries. .doo files are produced with commands of the form dafny build -t:lib .... (dafny-lang/dafny#3913)

  • Semantic interpretation of dots in names for {:extern} modules when compiling to Python (dafny-lang/dafny#3919)

  • Code actions in editor to explicit failing assertions. In VSCode, place the cursor on a failing assertion that support being made explicit and either

    • Position the caret on a failing assertion, press CTRL+; and then ENTER
    • Hover over the failing division by zero, click "quick fix", press ENTER Both scenarios will explicit the failing assertion. If you don't see a quick fix, it means that the assertion cannot be automatically made explicit for now.

    Here is a initial list of assertions that can now be made explicit:

    • Division by zero
    • "out of bound" on sequences index, sequence slices, or array index
    • "Not in domain" on maps
    • "Could not prove unicity" of var x :| ... statement
    • "Could not prove existence" of var x :| ... statement (dafny-lang/dafny#3940)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.dafny:DafnyRuntime](https://github.com/dafny-lang/dafny) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/dafny-lang/dafny/releases)
- [Changelog](https://github.com/dafny-lang/dafny/blob/master/RELEASE_NOTES.md)
- [Commits](dafny-lang/dafny@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: org.dafny:DafnyRuntime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner July 20, 2023 16:44
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 20, 2023
@texastony texastony merged commit f8082e4 into main Jul 20, 2023
@dependabot dependabot bot deleted the dependabot/gradle/TestVectors/runtimes/java/org.dafny-DafnyRuntime-4.1.0 branch July 20, 2023 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant