diff --git a/README.md b/README.md index d20430064e..4c17790c4a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Rhino is licensed under the [MPL 2.0](./LICENSE.txt). Rhino 1.7.7.1February 2, 2016 Rhino 1.7.7.2August 24, 2017 Rhino 1.7.8January 22, 2018 - +Rhino 1.7.9March 15, 2018 [Release Notes](./RELEASE-NOTES.md) for recent releases. @@ -80,8 +80,8 @@ mavenReleaseRepo= Rhino can run as a stand-alone interpreter from the command line: ``` -java -jar buildGradle/libs/rhino-1.7.8.jar -Rhino 1.7.8 2017 08 24 +java -jar buildGradle/libs/rhino-1.7.9.jar +Rhino 1.7.9 2018 03 15 js> print('Hello, World!'); Hello, World! js> diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index d0cf77e10a..05a9797719 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,50 @@ +# Rhino 1.7.9 +## March 15, 2018 + +This release fixes a [potential ArrayIndexOutOfBoundsException](https://github.com/mozilla/rhino/issues/390) +that was introduced in 1.7.8. Since it's potentially pretty serious, projects currently using 1.7.8 +should switch to this new release. + +[Issue 390](https://github.com/mozilla/rhino/issues/390) + +In addition, there is a new flag on Context called "FEATURE_INTEGER_WITHOUT_DECIMAL_PLACE." +If set, Rhino will work harder to display numbers in integer form rather than in floating-point +form. This feature is currently disabled by default, although if it proves popular than we can +consider enabling it in the future. + +[PR 398](https://github.com/mozilla/rhino/pull/398) + +At language level "ES6" and above, ToNumber conversion is now more compliant to the spec. (This +change is disabled for older language levels to prevent a problem with backward compatibility.) + +[PR 383](https://github.com/mozilla/rhino/pull/383) + +Finally, there are a number of other fixes. + +Thanks to all who contributed, both with issues and with code! + +Attila Szegedi: +* Fix a JavaDoc warning + +Ivan Vyshnevskyi: +* Make ToNumber(String) conversion more spec-compliant +* Report parsing error for default values in destructuring assignments + +Michael[tm] Smith: +* Add addError(String messageId, int c) method +* Add “illegal character” test to ParserTest +* Show word in “identifier is a reserved word” error +* Add “identifier is a reserved word” test + +Oleksandr Maksymenko: +* changes to process integer object as integer and long as long, not as double + +RBRi: +* cleanup the code an try to make it faster (#373) + +jhertel: +* Correction: Compatability → Compatibility + # Rhino 1.7.8 ## January 22, 2018 diff --git a/gradle.properties b/gradle.properties index 067187ff46..0cdf28d6fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,6 @@ -#Sun, 26 Apr 2015 10:43:55 +0300 rootProject.name=rhino group=org.mozilla -version=1.7.9-SNAPSHOT +version=1.7.9 buildDir=buildGradle mavenSnapshotRepo=https://oss.sonatype.org/content/repositories/snapshots mavenReleaseRepo=https://oss.sonatype.org/service/local/staging/deploy/maven diff --git a/maven/maven-pom.xml b/maven/maven-pom.xml index 63d6aaa572..67476b82c4 100644 --- a/maven/maven-pom.xml +++ b/maven/maven-pom.xml @@ -12,7 +12,7 @@ org.mozilla rhino Mozilla Rhino - 1.7.9-SNAPSHOT + 1.7.9 jar diff --git a/src/manifest b/src/manifest index e850fc228b..b1ddc84121 100644 --- a/src/manifest +++ b/src/manifest @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Main-Class: org.mozilla.javascript.tools.shell.Main -Implementation-Version: 1.7.9-SNAPSHOT -Implementation-Title: Mozilla Rhino 1.7.9-SNAPSHOT +Implementation-Version: 1.7.9 +Implementation-Title: Mozilla Rhino 1.7.9 Implementation-Vendor: Mozilla Foundation Implementation-URL: http://www.mozilla.org/rhino