Skip to content
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

dep nuget: bump org.miniscript.MiniScript from 1.5.1-p5c068bf to 1.5.1 in /Farmtronics #79

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps org.miniscript.MiniScript from 1.5.1-p5c068bf to 1.5.1.

Changelog

Sourced from org.miniscript.MiniScript's changelog.

Version 1.5.1: Dec 18, 2021

  • Fixed a bug in the C# version that caused the behavior of string sorting (i.e. > and related operators) to depend on system settings. It now always sorts ordinally, i.e., by the binary values of each character (just like the C++ version).

  • Improved slice operator so that both indexes may be omitted, i.e., seq[:] is now the same as seq[0:seq.len].

  • null can now be used as a map key (or value), which was previously disallowed.

  • Comparisons between numbers and non-numbers now return true for ==, false for !=, and null for all other comparisons (in line with how other types already worked).

  • Operations between a string and another type now only implicitly convert the right-hand side to a string in the case of + (but not, for example, in the case of comparison operators, which now support == and != but return null for other comparisons, in line with how other types already worked).

  • Fixed a failure to generate a compiler error when end if is encountered without an open "if" block. {#33}

  • Fixed a cosmetic issue in the REPL where an expression like [rnd]*3 would not fully evaulate the list elements, resulting in a confusing and unhelpful output.

  • Added three new intrinsics to facilitate bitwise operations: bitAnd(i,j), bitOr(i,j), and bitXor(i,j). These treat the two arguments as integers, and return the bitwise and, or, and exclusive-or of those arguments respectively.

  • Invoking a non-function (e.g. a number, string, list, or map) with arguments now throws a "Too Many Arguments" runtime error, rather than ignoring the error and accumulating arguments which could eventually cause a problem.

  • MiniScript now has a hard limit of 256 arguments in one call; exceeding this will throw a runtime error saying "Argument limit exceeded". {#35}

  • Fixed a recently introduced memory leak in the C++ version.

  • Standardized behavior of and and or when given operands outside the standard [0, 1] range. (Details: and returns Abs(Clamp(a * b)), and or returns Abs(Clamp(a + b - a * b), where Abs is absolute value and Clamp limits its argument to the [0, 1] range.)

  • Function declarations no longer require empty parentheses.

  • Command-line MiniScript now prints an error message when given an invalid script file path and exits with a -1 status code, rather than failing silently.

Version 1.6: Feb 06, 2023

  • New: Added math-assignment operators (+=, etc.)

  • New: print now takes an optional second argument, delimiter which defaults to the line break character (specify "" for no delimiter at all)

  • New: intrinsic refEquals checks two values for reference equality

  • New: intrinsic stackTrace returns the current call stack

  • Improved: attempting to index into null now generates a more specific error

  • Improved: common mistake of using = in an if statement now generates a more specific and helpful error

  • Improved: equality tests on identical lists or maps containing reference loops could previously return 0.5; now returns 1, and does so more quickly (by recognizing and accounting for the loops)

  • Fixed: Using line continuation directly after and produced unreliable results

  • Fixed: using an expression as a parameter default value exposed an internal temporary; now throws an error instead

... (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.miniscript.MiniScript](https://github.com/JoeStrout/miniscript) from 1.5.1-p5c068bf to 1.5.1.
- [Changelog](https://github.com/JoeStrout/miniscript/blob/master/MiniScript-Release-Notes.txt)
- [Commits](https://github.com/JoeStrout/miniscript/commits)

---
updated-dependencies:
- dependency-name: org.miniscript.MiniScript
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 1, 2023
@dependabot dependabot bot requested a review from JoeStrout July 1, 2023 13:08
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 3, 2023

Superseded by #80.

@dependabot dependabot bot closed this Jul 3, 2023
@dependabot dependabot bot deleted the dependabot/nuget/Farmtronics/org.miniscript.MiniScript-1.5.1 branch July 3, 2023 17:10
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants