From 874b0c018a21b58e587ac8370313db1dbdfe5e22 Mon Sep 17 00:00:00 2001 From: George Zahariev Date: Fri, 20 Dec 2024 06:50:32 -0800 Subject: [PATCH] Release version to 0.26.0 Summary: Release version to 0.26.0 See CHANGELOG.md Reviewed By: SamChou19815 Differential Revision: D67477283 fbshipit-source-id: f18f952ac2ef74de217bade37b2e76123f6fa033 --- tools/hermes-parser/js/CHANGELOG.md | 8 ++++++++ .../js/babel-plugin-syntax-hermes-parser/package.json | 4 ++-- .../hermes-parser/js/flow-api-translator/package.json | 10 +++++----- tools/hermes-parser/js/hermes-eslint/package.json | 6 +++--- tools/hermes-parser/js/hermes-estree/package.json | 2 +- tools/hermes-parser/js/hermes-parser/package.json | 4 ++-- tools/hermes-parser/js/hermes-transform/package.json | 10 +++++----- .../js/prettier-plugin-hermes-parser/package.json | 8 ++++---- 8 files changed, 30 insertions(+), 22 deletions(-) diff --git a/tools/hermes-parser/js/CHANGELOG.md b/tools/hermes-parser/js/CHANGELOG.md index ee4448d7de0..36549693559 100644 --- a/tools/hermes-parser/js/CHANGELOG.md +++ b/tools/hermes-parser/js/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.26.0 + +### `hermes-parser` +* Support for class static blocks. +* Forbid `await`/`yield`/`arguments` in class field inits. +* Support for `const` type parameters in Flow (also in `hermes-estree`, `prettier-plugin-hermes-parser`). +* Experimental support for Flow pattern matching (also in `hermes-estree`, `hermes-eslint`, `hermes-transform`, `prettier-plugin-hermes-parser`). + ## 0.25.1 ### `babel-plugin-syntax-hermes-parser` diff --git a/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json b/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json index 09951832708..773ef2c31be 100644 --- a/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json +++ b/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-syntax-hermes-parser", - "version": "0.25.1", + "version": "0.26.0", "description": "Babel plugin which switches Babel to use the Hermes parser.", "main": "dist/index.js", "license": "MIT", @@ -9,7 +9,7 @@ "url": "git@github.com:facebook/hermes.git" }, "dependencies": { - "hermes-parser": "0.25.1" + "hermes-parser": "0.26.0" }, "files": [ "dist", diff --git a/tools/hermes-parser/js/flow-api-translator/package.json b/tools/hermes-parser/js/flow-api-translator/package.json index 8d8624d2eec..9cbcd246c81 100644 --- a/tools/hermes-parser/js/flow-api-translator/package.json +++ b/tools/hermes-parser/js/flow-api-translator/package.json @@ -1,6 +1,6 @@ { "name": "flow-api-translator", - "version": "0.25.1", + "version": "0.26.0", "description": "Toolkit for creating Flow and TypeScript compatible libraries from Flow source code.", "main": "dist/index.js", "license": "MIT", @@ -13,10 +13,10 @@ "@typescript-eslint/parser": "7.2.0", "@typescript-eslint/visitor-keys": "7.2.0", "flow-enums-runtime": "^0.0.6", - "hermes-eslint": "0.25.1", - "hermes-estree": "0.25.1", - "hermes-parser": "0.25.1", - "hermes-transform": "0.25.1", + "hermes-eslint": "0.26.0", + "hermes-estree": "0.26.0", + "hermes-parser": "0.26.0", + "hermes-transform": "0.26.0", "typescript": "5.3.2" }, "peerDependencies": { diff --git a/tools/hermes-parser/js/hermes-eslint/package.json b/tools/hermes-parser/js/hermes-eslint/package.json index 05dfb0c260e..32b61e7f272 100644 --- a/tools/hermes-parser/js/hermes-eslint/package.json +++ b/tools/hermes-parser/js/hermes-eslint/package.json @@ -1,6 +1,6 @@ { "name": "hermes-eslint", - "version": "0.25.1", + "version": "0.26.0", "description": "A custom parser for ESLint using the Hermes parser", "main": "dist/index.js", "license": "MIT", @@ -16,7 +16,7 @@ ], "dependencies": { "esrecurse": "^4.3.0", - "hermes-estree": "0.25.1", - "hermes-parser": "0.25.1" + "hermes-estree": "0.26.0", + "hermes-parser": "0.26.0" } } diff --git a/tools/hermes-parser/js/hermes-estree/package.json b/tools/hermes-parser/js/hermes-estree/package.json index 2f84da2bfbf..e004c49c118 100644 --- a/tools/hermes-parser/js/hermes-estree/package.json +++ b/tools/hermes-parser/js/hermes-estree/package.json @@ -1,6 +1,6 @@ { "name": "hermes-estree", - "version": "0.25.1", + "version": "0.26.0", "description": "Flow types for the Flow-ESTree spec produced by the hermes parser", "main": "dist/index.js", "license": "MIT", diff --git a/tools/hermes-parser/js/hermes-parser/package.json b/tools/hermes-parser/js/hermes-parser/package.json index 220889133f5..ed5d416d3e4 100644 --- a/tools/hermes-parser/js/hermes-parser/package.json +++ b/tools/hermes-parser/js/hermes-parser/package.json @@ -1,6 +1,6 @@ { "name": "hermes-parser", - "version": "0.25.1", + "version": "0.26.0", "description": "A JavaScript parser built from the Hermes engine", "main": "dist/index.js", "license": "MIT", @@ -9,7 +9,7 @@ "url": "git@github.com:facebook/hermes.git" }, "dependencies": { - "hermes-estree": "0.25.1" + "hermes-estree": "0.26.0" }, "devDependencies": { "@babel/parser": "7.7.4", diff --git a/tools/hermes-parser/js/hermes-transform/package.json b/tools/hermes-parser/js/hermes-transform/package.json index 23cd6d98eca..0550e07dab2 100644 --- a/tools/hermes-parser/js/hermes-transform/package.json +++ b/tools/hermes-parser/js/hermes-transform/package.json @@ -1,6 +1,6 @@ { "name": "hermes-transform", - "version": "0.25.1", + "version": "0.26.0", "description": "Tools built on top of Hermes-ESTree to enable codebase transformation", "main": "dist/index.js", "license": "MIT", @@ -12,14 +12,14 @@ "@babel/code-frame": "^7.16.0", "esquery": "^1.4.0", "flow-enums-runtime": "^0.0.6", - "hermes-eslint": "0.25.1", - "hermes-estree": "0.25.1", - "hermes-parser": "0.25.1", + "hermes-eslint": "0.26.0", + "hermes-estree": "0.26.0", + "hermes-parser": "0.26.0", "string-width": "4.2.3" }, "peerDependencies": { "prettier": "^3.0.0 || ^2.7.1", - "prettier-plugin-hermes-parser": "0.25.1" + "prettier-plugin-hermes-parser": "0.26.0" }, "files": [ "dist", diff --git a/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json b/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json index b9b88b28216..c498565d073 100644 --- a/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json +++ b/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json @@ -1,6 +1,6 @@ { "name": "prettier-plugin-hermes-parser", - "version": "0.25.1", + "version": "0.26.0", "description": "Hermes parser plugin for Prettier.", "main": "dist/index.js", "license": "MIT", @@ -9,9 +9,9 @@ "url": "git@github.com:facebook/hermes.git" }, "dependencies": { - "hermes-estree": "0.25.1", - "hermes-parser": "0.25.1", - "prettier-plugin-hermes-parser": "0.25.1" + "hermes-estree": "0.26.0", + "hermes-parser": "0.26.0", + "prettier-plugin-hermes-parser": "0.26.0" }, "peerDependencies": { "prettier": "^3.0.0 || ^2.7.1"