Release 1.9.0. Update release notes and README for the new release
diff --git a/README.md b/README.md index eacf466..4a6b284 100644 --- a/README.md +++ b/README.md
@@ -10,10 +10,13 @@ ## Releases -The current release is <a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_15_Release">Rhino 1.7.15</a>. Please see the [Release Notes](./RELEASE-NOTES.md). +The current release is <a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_9_0_Release">Rhino 1.9.0</a>. Please see the [Release Notes](./RELEASE-NOTES.md). <details><summary>Releases</summary> <table> +<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_9_0_Release">Rhino 1.9.0</a></td><td>December 22, 2025</td></tr> +<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_8_1_Release">Rhino 1.8.1</a></td><td>December 2, 2025</td></tr> +<tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_8_0_Release">Rhino 1.8.0</a></td><td>January 2, 2025</td></tr> <tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_15_Release">Rhino 1.7.15</a></td><td>May 3, 2024</td></tr> <tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_14_Release">Rhino 1.7.14</a></td><td>January 6, 2022</td></tr> <tr><td><a href="https://github.com/mozilla/rhino/releases/tag/Rhino1_7_13_Release">Rhino 1.7.13</a></td><td>September 2, 2020</td></tr>
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 86a7fc4..ef198d6 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md
@@ -1,3 +1,43 @@ +# Rhino 1.9.0 +## December 22, 2025 + +This release represents about a year of work on Rhino by a growing team of contributors. + +Some of the improvements include: + +* Compatibility improvements in areas like destructuring and spread syntax. +* Performance improvements from 10 to 30% in benchmarks like Delta Blue, Earley-Boyer, and Crypto in both interpreted and compiled mode +* Better support for generics and other things when Java integration is used. + +Some other improvements: + +JavaScript Language Updates: + * ES6+: Significant advancements in destructuring, spread syntax for + arrays/objects, Symbol API, and improved let/const scoping. + TypedArray.from/of and BigInt.asUintN/asIntN fixes. + * RegExp: New features like named capture groups, lookbehind + assertions, and Unicode mode support. + * Future ES (ES2024/2025): Early implementation of proposals such as + Promise.withResolvers, Promise.try, ArrayBuffer transfer methods, and + new Set methods. + +Core Engine Enhancements: + * Major Refactoring: Extensive migration of built-in objects to a + lambda-based architecture and a comprehensive overhaul of the + interpreter bytecodes for better performance and maintainability. + * Concurrency & Interop: Continued focus on thread safety improvements + and enhanced Java interoperability, including better generics + support. + +Going forward -- we have lots of plans for Rhino, including some changes that may +affect compatibility for projects that embed Rhino into larger frameworks. We think +that these changes will be worth it because they will unlock better language +compatibility and performance. + +As such, the next version going forward will be 2.0.0-SNAPSHOT. + +Thanks to everyone who contributed! + # Rhino 1.8.1, Rhino 1.7.15.1, Rhino 1.7.14.1 ## December 2, 2025
diff --git a/RELEASE-STEPS.md b/RELEASE-STEPS.md index 325c7e4..bf76a5c 100644 --- a/RELEASE-STEPS.md +++ b/RELEASE-STEPS.md
@@ -57,13 +57,8 @@ ## Push the release to Maven Central -The "Publish to Maven Central" action on GitHub Actions will automatically -build the release, sign the JARs, and push it to oss.sonatype.org in the -"org.mozilla" area. Kick off this job using the "Actions" tag in the GitHub UI. - -Next, Log in to oss.sonatype.org, verify that all the checks -that happen there were successful, and "close" the release. It will appear -on Maven Central a few hours later. +With the new changes at Sonatype, publishing is a process that currently +involves the web interface at https://central.sonatype.com. ## Update Homebrew
diff --git a/gradle.properties b/gradle.properties index 47f0ed78..cbbbbaa 100644 --- a/gradle.properties +++ b/gradle.properties
@@ -1,6 +1,6 @@ rootProject.name=rhino-root group=org.mozilla -version=1.8.2-SNAPSHOT +version=1.9.0 mavenReleaseRepo=https://oss.sonatype.org/service/local/staging/deploy/maven2/ mavenSnapshotRepo=https://oss.sonatype.org/content/repositories/snapshots githubPackagesRepo=https://maven.pkg.github.com/mozilla/rhino
diff --git a/rhino-kotlin/build.gradle b/rhino-kotlin/build.gradle index f6794fa..43760fe 100644 --- a/rhino-kotlin/build.gradle +++ b/rhino-kotlin/build.gradle
@@ -18,10 +18,11 @@ publications { rhinokotlin(MavenPublication) { from components.java - artifacts = [jar, sourceJar] + artifacts = [jar, sourceJar, javadocJar] pom.withXml { def root = asNode() + root.appendNode('name', 'rhino-kotlin') root.appendNode('description', "Rhino reflection interfaces implementations for Kotlin") root.appendNode("url", "https://mozilla.github.io/rhino/") @@ -42,6 +43,11 @@ def o = root.appendNode("organization") o.appendNode("name", "The Mozilla Foundation") o.appendNode("url", "http://www.mozilla.org") + + def d = root.appendNode("developers") + def dd = d.appendNode("developer") + dd.appendNode("name", "Greg Brail") + dd.appendNode("email", "gbrail@users.noreply.github.com") } } }