Skip to content

Commit

Permalink
Update files for 1.7.14 RC 1
Browse files Browse the repository at this point in the history
This PR includes the changes necessary to publish RC 1, which I'd like
to do in a day or two. The release notes are cut and pasted from
p-bakker's excellent wiki. Thanks!
  • Loading branch information
gbrail committed Nov 18, 2021
1 parent 3be1e38 commit 36ca61b
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 3 deletions.
77 changes: 77 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,80 @@
# Rhino 1.7.14 RC 1
## November 1, 2021

# Highlights
## Features
#### ECMAScript features
* #160 Promise support (@gbrail)
* #837 BigInt support (@tuchida)
* #243 Template Literal support (@p-bakker)
* #879 String.raw (@tonygermano)
* #977 JSON superset (@tuchida)
* #932 globalThis (@p-bakker)
* #838 Exponential operator (@tuchida)
* #853 Short-hand property names (@tuchida)
* #902 Object.values / Object.entries / Object.fromEntries (@rPraml)
* #883 Number.EPSILON (@tonygermano)

#### Non-ECMAScript features
* #153 stack property on Error Constructor (@gbrail)
* #888 support for Mozilla-styled Stack formatting (@rbri)

[All features](https://github.com/mozilla/rhino/issues?q=milestone%3A%22Release+1.7.14%22+label%3Afeature+is%3Aclosed)

## Bugs
[All bug fixes](https://github.com/mozilla/rhino/issues?q=milestone%3A%22Release+1.7.14%22+label%3Abug)

## Performance
[All performance enhancements](https://github.com/mozilla/rhino/issues?q=milestone%3A%22Release+1.7.14%22+label%3APerformance)

## Java Interop
* #839 JavaScript for-of loop support for Java Iterables (@tuchida)
* #860 / #857 JSON.stringify support on Java Objects (@tonygermano / @rPraml)
* #1031 delete operator and .length setting support in JavaScript on Java Lists (@rPraml)
* #901 java.util.subList() support on JavaScript Arrays in Java (@rPraml)
* #889 Automatically increase size of Java List instances on .put(...) if required (@rPraml)

[All Java Interop related cases](https://github.com/mozilla/rhino/issues?q=milestone%3A%22Release+1.7.14%22+label%3A%22Java+Interop%22)

## Embedding Rhino
* #864 Context now implements Closable (@gbrail)
* #865 Introduction of LambdaFunction and LambdaConstructor, to be used to represent Java lambda functions as native JavaScript functions and also can be used to construct an entire class out of lambdas (@gbrail)
* #911 Throw InternalError instead of wrapped JavaException if thrown Java Exception class is not visible due to class shutter (@youngj)

[All Rhino embedding related cases](https://github.com/mozilla/rhino/issues?q=milestone%3A%22Release+1.7.14%22+label%3A%22embedding+Rhino%22+)

## Test262 suite
* Running against a much newer version of Test262 suite
* Improved documentation for running the Test262 suite + more options to make running the tests easier & faster
* #930 Support added for automatically regenerating the test262.properties file based on actual passage of tests
* #930 Improved feedback about reason of test failures

## Distribution
* #873 Automatic module names

## Internals
* #878 Removed idSwitch
* #896 SlotMap and Slot refactoring
* #922 Started extracting logic related to Abstract Operations as defined by the ECMAScript specification

## Misc.
* #661 Rhino now listed in the [kangax ES6 Compatibility table](https://kangax.github.io/compat-table/es6) (must select the `Show obsolete platforms` in the upperleft corner)
* #661 Rhino now available as a compilation target in Babel through @babel/preset-env:
```
{
"targets": {
"rhino": "1.7.13"
}
}
```
* Introduced Java Code Formatting through spotless
* Moved to CircleCI (instead of Travis)
* Enabled Gitlab CI, running tests on multiple Java versions'

## Thanks!

This release contains more than 300 commits from 21 contributors. Thanks to everyone who helped!

# Rhino 1.7.13
## September 2, 2020

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rootProject.name=rhino
group=org.mozilla
version=1.7.14-SNAPSHOT
version=1.7.14-RC1
buildDir=buildGradle
mavenSnapshotRepo=https://oss.sonatype.org/content/repositories/snapshots
mavenReleaseRepo=https://oss.sonatype.org/service/local/staging/deploy/maven2/
Expand Down
4 changes: 2 additions & 2 deletions src/manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Main-Class: org.mozilla.javascript.tools.shell.Main
Implementation-Version: 1.7.14-SNAPSHOT
Implementation-Title: Mozilla Rhino 1.7.13-SNAPSHOT
Implementation-Version: 1.7.14-RC1
Implementation-Title: Mozilla Rhino 1.7.14-RC1
Implementation-Vendor: Mozilla Foundation
Implementation-URL: http://www.mozilla.org/rhino

0 comments on commit 36ca61b

Please sign in to comment.