Skip to content

Commit

Permalink
Update readme and versions for 1.7.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Brail committed Jun 17, 2015
1 parent 46a73a9 commit 02a376e
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Rhino is licensed under the [MPL 2.0](./LICENSE.txt).
<table>
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7R5_RELEASE">Rhino 1.7R5</a></td><td>January 29, 2015</td></tr>
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_6_RELEASE">Rhino 1.7.6</a></td><td>April 15, 2015</td></tr>
<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_7_RELEASE">Rhino 1.7.7</a></td><td>June 17, 2015</td></tr>
</table>

[Release Notes](./RELEASE-NOTES.md) for recent releases.
Expand Down Expand Up @@ -92,8 +93,8 @@ mavenReleaseRepo=

Rhino can run as a stand-alone interpreter from the command line:

java -jar build/libs/rhino-1.7.7-SNAPSHOT.jar
Rhino 1.7.7-SNAPSHOT 2015 05 03
java -jar build/libs/rhino-1.7.7.jar
Rhino 1.7.7 2015 05 03
js> print('Hello, World!');
Hello, World!
js>
Expand Down
112 changes: 112 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,115 @@
# Rhino 1.7.7
## June 17, 2015

Major changes in this release:

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

Specific changes:

* [Issue 202](https://github.com/mozilla/rhino/issues/202) Initial support for ECMA Script 6 "method definitions".
* [Issue 201](https://github.com/mozilla/rhino/issues/201) Make sure that all native Error instances can be converted
to JSON.
* [Issue 184](https://github.com/mozilla/rhino/issues/184) Fix compile encoding errors.
* [Issue 178](https://github.com/mozilla/rhino/issues/178) Support build using Gradle (build using Ant is still
supported but will be removed in a future release.)
* [Issue 176](https://github.com/mozilla/rhino/issues/176) Add ScriptRuntime.throwCustomError to make it easier
to re-throw Java exceptions
* [Issue 166](https://github.com/mozilla/rhino/issues/166) Support many ES6 additions to the Math class.
* [Issue 165](https://github.com/mozilla/rhino/issues/165) Support many ES6 additions to the Number class.
* [Issue 163](https://github.com/mozilla/rhino/issues/163) Support ES6 additions to the String class.

Thanks to everyone who contributed!

Ahmed Ashour (3):
* Add .gitattributes for End-Of-Line automatic handling
* Remove extra space
* Update .gitignore for eclipse generated files.

Evgeny Shepelyuk (45):
* Implementing possibility of writing JS tests code inside JUnit Test.
* + gradle wrapper + sources and test compilation + jar building
* + More JUnit style for Gradle compatibility - disabled test removed
* + running tests
* + benchmark test changes for Gradle compaibility + run benchmark from Gradle + publishing artifacts from Gradle
* + benchmark test changes for Gradle compaibility + run benchmark from Gradle + publishing artifacts from Gradle
* + publishing artifacts to maven compatible repositories
* + releasing with Gradle
* + releasing with Gradle
* + releasing with Gradle
* + releasing with Gradle
* [Gradle Release Plugin] - new version commit: '1.7.8'.
* + releasing with Gradle
* + releasing with Gradle
* + releasing with Gradle
* [Gradle Release Plugin] - pre tag commit: '1.7.8'.
* Revert "+ publishing artifacts to maven compatible repositories"
* rollback gradle release
* + properly populating manifest + exclude unnecesary files from jar
* + adding license to jar
* + build will not fail when maven credentials are not defined
* + getting rhino display version from MANIFEST
* * modifying README with Gradle details
* Update README.md
* Improving reporting of MozillaSuiteTest tests
* Improving reporting of MozillaSuiteTest tests
* + initial implementation of String.prototype.includes
* + initial implementation of String.prototype.includes
* + initial implementation of String.prototype.includes
* + initial implementation of String.prototype.startsWith
* + initial implementation of String.prototype.startsWith
* + initial implementation of String.prototype.endsWith
* + initial implementation of String.prototype.endsWith
* + initial implementation of String.prototype.endsWith
* + implementation of String.prototype.normalize
* + implementation of String.prototype.normalize
* + implementation of String.prototype.normalize
* + implementation of String.prototype.repeat
* + implementation of String.prototype.repeat
* + implementation of String.prototype.codePointAt
* + implementation of String.prototype.codePointAt
* * fixing tests after implementation of ES6 string methods + implementing RequireObjectCoercible from ECMA spec
* * fixing tests after implementation of ES6 string methods + implementing RequireObjectCoercible from ECMA spec
* * fixing tests after implementation of ES6 string methods + implementing RequireObjectCoercible from ECMA spec
* Better exception reporting

Gregory Brail (16):
* Update for new development iteration.
* Read manifest URLs in a loop until we find the right one when trying to determine the implementation version.
* Permissions fix.
* Fix potential NPE in ComplianceTest.
* Re-run IDMap on NativeString.
* Merge branch 'issue_176_2' of https://github.com/raimi/rhino into raimi-issue_176_2
* Merge branch 'master' of https://github.com/asashour/rhino into asashour-master
* Add .gitattributes.
* Re-arrange "global variables" regression tests for fewer spurious failures under Gradle.
* Don't make "javaException" and "rhinoException" on the NativeError object enumerable, because they cannot be converted to JSON.
* Fix file name for V8 benchmark results.
* Add some ES6 methods to Math and Number.
* "BigO" regression test exhibits different and inconsistent behavior on Java 8. So fix it.
* Fix a bug in Math.hypot().
* Added a constant for ECMAScript 6 language level: Context.VERSION_ES6.
* Add "readline" and "write" to console.

Raimund Jacob (5):
* Allow throwing arbitrary objects from java world
* 176: Adjust javadoc to reality.
* Emacs, sorry
* Issue176: Test infrastructure
* 176: Actually Working Tests

sainaen (1):
* Print exception message in case of JavaScriptException in ScriptTestsBase

tntim96 (1):
* Fix Test compile encoding error 'unmappable character for encoding ASCII' - https://github.com/mozilla/rhino/issues/184

uchida_t (5):
* set capacity for StringBuilder in String#repeat
* Implement ES6 MethodDefinition
* `set` and `get` is valid method name.
* NumericLiteral/StringLiteral is valid method name.

# Rhino 1.7.6
## April 15, 2015

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Sun, 26 Apr 2015 10:43:55 +0300
rootProject.name=rhino
group=org.mozilla
version=1.7.7-SNAPSHOT
version=1.7.7
buildDir=buildGradle
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.7-SNAPSHOT</version>
<version>1.7.7</version>

<packaging>jar</packaging>
<description>
Expand Down
5 changes: 4 additions & 1 deletion maven/maven-staging-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ vers=`egrep '^version:' ../build.properties | awk '{print $2}'`
echo "Deploying ${vers}"

pom=maven-pom.xml
jsjar=../build/rhino${vers}/js.jar
jsjar=../buildGradle/libs/rhino-${vers}.jar
echo "Installing ${jsjar}"
srczip=../rhino${vers}-sources.zip
echo "Sources are ${srczip}"
doczip=../build/rhino${vers}/javadoc.zip
echo "Javadoc is ${doczip}"

if [ ! -f $jsjar ]
then
Expand Down
33 changes: 33 additions & 0 deletions release-steps.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Update version in:
src/manifest
build.properties
maven/maven-pom.xml

ant dist source-zip

Paste release notes into RELEASE_NOTES.md:
git shortlog LAST_TAG.. | sed 's/^ /*/'

Paste release info into README.md
Copy README into gh-pages
Extract build/*/javadoc.zip to gh-pages/javadoc

Re-run compat-table "engine.js"
Copy HTML to gh-pages/compat

Go to oss.sonatype.org
Find "org.mozilla" staging repo, close, release, and drop.

git tag for new release

Update release in GitHub
Paste release notes, upload "rhinoXXX.zip" and "js.jar"

Update to new snapshot version in:
src/manifest
build.properties
maven/maven-pom.xml

Update the Homebrew formula. Submit a PR for:
Homebrew/homebrew
Library/Formula/rhino.rb

0 comments on commit 02a376e

Please sign in to comment.