Now that Nashorn has been deprecated, a number of poeple have asked about using
Rhino with the standard Java "ScriptEngine" interface. This release supports that.
However, in order to avoid breaking existing code, the script engine is
shipped in a separate JAR. Use the "rhino-engine" jar along with the
standard "rhino" jar to include this feature.
Generator Support
This release supports generators based on the ES6-standard "function *"
syntaxt.
Other important changes
This release also includes a number of quality and consistency fixes from five contributors.
As always, check out the compatibility table
to see where Rhino stands today.
Gregory Brail (18):
Start on 1.7.13.
Add a build config for CircleCi.
Upgrade Gradle version to 6.5.
Update max workers.
Add support for ES6 generators.
Make "GeneratorFunction" pattern work in interpreted mode.
Complete implementation of GeneratorFunction.
Diagnostics to discover test timeouts.
Implement standard Java ScriptEngine
Change MozillaSuiteBenchmark to not fork threads.
Try to improve performance of MozillaSuiteTest
Disable some very slow tests
Start using JMH for benchmarks.
Many small fixes suggested by FindBugs and other linters
Turn off all the Mozilla tests that use the "BigO" function.
Move "BodyCodegen" into a file with the appropriate name.
Add feature flag for changes to Function.__proto__
Make __proto__ more closely match the spec
Karl Tauber (2):
Debugger fixes for FlatLaf (https://github.com/JFormDesigner/FlatLaf): - make renderer tree row height same as table row height - increase monospaced font size in script source and evaluation view if L&F uses larger font - remove renderer tree border if L&F sets one (built in L&F do not)
Debugger: fix NPE in variables view when expanding "CallSite"
Sylvain Jermini (7):
improve java.util.{List,Map} interop
travis: switch from trusty to xenial + set explicit -Xss in tests
Now that Nashorn has been deprecated, a number of people have asked about using
Rhino with the standard Java "ScriptEngine" interface. This release supports that.
However, in order to avoid breaking existing code, the script engine is
shipped in a separate JAR. Use the "rhino-engine" jar along with the
standard "rhino" jar to include this feature.
Generator Support
This release supports generators based on the ES6-standard "function *"
syntaxt.
Other important changes
This release also includes a number of quality and consistency fixes from five contributors.
As always, check out the compatibility table
to see where Rhino stands today.
Gregory Brail (18):
Start on 1.7.13.
Add a build config for CircleCi.
Upgrade Gradle version to 6.5.
Update max workers.
Add support for ES6 generators.
Make "GeneratorFunction" pattern work in interpreted mode.
Complete implementation of GeneratorFunction.
Diagnostics to discover test timeouts.
Implement standard Java ScriptEngine
Change MozillaSuiteBenchmark to not fork threads.
Try to improve performance of MozillaSuiteTest
Disable some very slow tests
Start using JMH for benchmarks.
Many small fixes suggested by FindBugs and other linters
Turn off all the Mozilla tests that use the "BigO" function.
Move "BodyCodegen" into a file with the appropriate name.
Add feature flag for changes to Function.__proto__
Make __proto__ more closely match the spec
Karl Tauber (2):
Debugger fixes for FlatLaf (https://github.com/JFormDesigner/FlatLaf): - make renderer tree row height same as table row height - increase monospaced font size in script source and evaluation view if L&F uses larger font - remove renderer tree border if L&F sets one (built in L&F do not)
Debugger: fix NPE in variables view when expanding "CallSite"
Sylvain Jermini (7):
improve java.util.{List,Map} interop
travis: switch from trusty to xenial + set explicit -Xss in tests
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 rhino from 1.7.12 to 1.7.13.
Release notes
Sourced from rhino's releases.
... (truncated)
Changelog
Sourced from rhino's changelog.
... (truncated)
Commits
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)