Skip to content

Commit

Permalink
Release 1.7.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrail committed Mar 15, 2018
1 parent 62d54be commit 3ee580e
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Rhino is licensed under the [MPL 2.0](./LICENSE.txt).
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_7_1_RELEASE">Rhino 1.7.7.1</a></td><td>February 2, 2016</td></tr>
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_7_2_Release">Rhino 1.7.7.2</a></td><td>August 24, 2017</td></tr>
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_8_Release">Rhino 1.7.8</a></td><td>January 22, 2018</td></tr>

<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_9_Release">Rhino 1.7.9</a></td><td>March 15, 2018</td></tr>
</table>

[Release Notes](./RELEASE-NOTES.md) for recent releases.
Expand Down Expand Up @@ -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>
Expand Down
47 changes: 47 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion maven/maven-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
<name>Mozilla Rhino</name>
<version>1.7.9-SNAPSHOT</version>
<version>1.7.9</version>

<packaging>jar</packaging>
<description>
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.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

0 comments on commit 3ee580e

Please sign in to comment.