Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/prepare_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
pull-requests: write
contents: write

jobs:
prepare_release:
name: Prepare Release Crates
Expand Down
42 changes: 40 additions & 2 deletions .github/workflows/prepare_release_oxlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- prepare-release-oxlint
- trigger-other-workflow

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -13,10 +13,48 @@ concurrency:
permissions:
pull-requests: write
contents: write
actions: write

jobs:
prepare_release:
prepare:
name: Prepare Release Oxlint
uses: ./.github/workflows/reusable_prepare_release.yml
with:
name: oxlint

ecosystem-ci:
needs: prepare
name: Trigger Ecosystem CI
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1

- uses: peter-evans/create-or-update-comment@v4
id: comment
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ needs.prepare.outputs.pull-request-number }}
body: Triggering Ecosystem CI https://github.com/oxc-project/oxlint-ecosystem-ci/actions/workflows/ecosystem-ci.yml

- uses: benc-uk/workflow-dispatch@v1
with:
repo: oxc-project/oxlint-ecosystem-ci
workflow: ecosystem-ci.yml
token: ${{ secrets.PAT }}
ref: main
inputs: '{ "issue-number": "${{ needs.prepare.outputs.pull-request-number }}", "comment-id": "${{ steps.comment.outputs.comment-id }}" }'

website:
needs: prepare
name: Update oxc.rs
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1

- uses: benc-uk/workflow-dispatch@v1
with:
repo: oxc-project/website
workflow: oxc-project/oxc-project.github.io
token: ${{ secrets.PAT }}
ref: main
inputs: '{ "issue-number": "${{ needs.prepare.outputs.pull-request-number }}", "version": ${{ needs.prepare.outputs.version }} }'
14 changes: 14 additions & 0 deletions .github/workflows/reusable_prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,28 @@ on:
required: true
type: string
description: "The name defined in oxc_release.toml"
outputs:
pull-request-number:
value: ${{ jobs.run.outputs.pull-request-number }}
version:
value: ${{ jobs.run.outputs.version }}

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-D warnings"

permissions:
pull-requests: write
contents: write
actions: write

jobs:
run:
name: Prepare Release Crates
runs-on: ubuntu-latest
outputs:
pull-request-number: ${{ steps.pr.outputs.pull-request-number }}
version: ${{ steps.version.outputs.VERSION }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -59,6 +72,7 @@ jobs:
- run: cargo check

- uses: peter-evans/create-pull-request@v6
id: pr
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Release ${{ inputs.name }}
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/oxlint/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxlint"
version = "0.0.0"
version = "0.4.3"
publish = false
authors.workspace = true
description.workspace = true
Expand Down
17 changes: 17 additions & 0 deletions crates/oxc_linter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.

## [0.4.3] - 2024-06-06

### Features

* linter: add fixer for no-useless-fallback-in-spread rule (#3544)
* linter: add fixer for no-single-promise-in-promise-methods (#3531)
* linter: eslint-plugin-jest/no-large-snapshot (#3436)
* linter: eslint/no-constructor-return (#3321)
* linter/jsdoc: Implement require-returns-type rule (#3458)
* linter/tree-shaking: support options (#3504)
* oxc_codegen: preserve annotate comment (#3465)

### Bug Fixes

* linter/eslint: fix `require-await` false positives in `ForOfStatement`. (#3457)
* parser: should parser error when function declaration has no name (#3461)

## [0.4.2] - 2024-05-28

### Features
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_linter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_linter"
version = "0.0.0"
version = "0.4.3"
publish = false
authors.workspace = true
description.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions editors/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "oxc-vscode",
"description": "oxc vscode extension",
"license": "MIT",
"version": "0.4.2",
"version": "0.4.3",
"icon": "icon.png",
"publisher": "oxc",
"displayName": "Oxc",
Expand Down Expand Up @@ -130,4 +130,4 @@
"vsce": {
"dependencies": false
}
}
}
4 changes: 2 additions & 2 deletions npm/oxlint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oxlint",
"version": "0.4.2",
"version": "0.4.3",
"description": "Linter for the JavaScript Oxidation Compiler",
"keywords": [],
"author": "Boshen and oxc contributors",
Expand All @@ -25,4 +25,4 @@
"configuration_schema.json",
"README.md"
]
}
}