Skip to content

Commit

Permalink
Merge branch v2 into atlassian
Browse files Browse the repository at this point in the history
* upstream/v2: (33 commits)
  v2.8.3
  Changelog for v2.8.3
  Address bug by updating an asset reference and merge conditions (parcel-bundler#8762)
  Fix CSS order when merging type change bundles (parcel-bundler#8766)
  fixing failing build for contributors on Linux using Node 18 (parcel-bundler#8763)
  Extension: Importers View and separate LSP protocol package (parcel-bundler#8747)
  Bump swc to fix sourcemaps with Windows line endings (parcel-bundler#8756)
  Apply HMR updates in topological order (parcel-bundler#8752)
  Make extension packaging work (parcel-bundler#8730)
  Typed api.storeResult (parcel-bundler#8732)
  Refactor LSP to use vscode-jsonrpc (parcel-bundler#8728)
  Bump swc (parcel-bundler#8742)
  Recursively check reachability when removing asset graphs from bundles in deduplication (parcel-bundler#6004)
  Fix tsc sourcemaps metadata (parcel-bundler#8734)
  Assigning to `this` in CommonJS (parcel-bundler#8737)
  Don't retarget dependencies if a symbol is imported multiple times with different local names (parcel-bundler#8738)
  Add a note about using flow in CONTRIBUTING.md (parcel-bundler#8731)
  filter out title execArgv to workers (parcel-bundler#8719)
  Document more of the BundleGraph class (parcel-bundler#8711)
  Fixed the hmr connection with host 0.0.0.0 (parcel-bundler#7357)
  ...
  • Loading branch information
lettertwo committed Jan 20, 2023
2 parents 8f7acd4 + 349a6ca commit aeb639e
Show file tree
Hide file tree
Showing 144 changed files with 4,149 additions and 2,834 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

build-linux-gnu-x64:
name: linux-gnu-x64
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: docker.io/adrienv1520/nodejs-16-centos7
steps:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
strip: aarch64-linux-gnu-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install Rust
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
strip: aarch64-linux-musl-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
credentials:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
run: ls -l packages/*/*/*.node

build-and-release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Build and release nightly
needs:
- build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

build-linux-gnu-x64:
name: linux-gnu-x64
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: docker.io/adrienv1520/nodejs-16-centos7
steps:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
strip: aarch64-linux-gnu-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install Rust
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
strip: aarch64-linux-musl-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
credentials:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
run: ls -l packages/*/*/*.node

build-and-release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Build and release the tagged version
needs:
- build
Expand Down
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"outFiles": [
"${workspaceFolder}/packages/utils/parcelforvscode/out/**/*.js"
],
"preLaunchTask": "npm: compile - packages/utils/parcelforvscode",
"preLaunchTask": "Watch VSCode Extension",
"request": "launch",
"type": "pwa-extensionHost"
"type": "extensionHost"
}
]
}
54 changes: 49 additions & 5 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,57 @@
"version": "2.0.0",
"tasks": [
{
"path": "packages/utils/parcel-lsp/",
"label": "npm: watch - packages/utils/parcel-lsp",
"type": "npm",
"script": "compile",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"path": "packages/utils/parcel-lsp-protocol/",
"label": "npm: watch - packages/utils/parcel-lsp-protocol",
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"path": "packages/utils/parcelforvscode/",
"group": "build",
"problemMatcher": [],
"label": "npm: compile - packages/utils/parcelforvscode",
"detail": "tsc -p ./"
"label": "npm: watch - packages/utils/parcelforvscode",
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Watch VSCode Extension",
"dependsOn": [
"npm: watch - packages/utils/parcel-lsp",
"npm: watch - packages/utils/parcel-lsp-protocol",
"npm: watch - packages/utils/parcelforvscode"
]
}
]
}
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,54 @@ All notable changes to Parcel will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

# [2.8.3] - 2023-01-18

- Core
- filter out title execArgv to workers – [Details](https://github.com/parcel-bundler/parcel/pull/8719)
- Bundler
- Fix CSS order when merging type change bundles – [Details](https://github.com/parcel-bundler/parcel/pull/8766)
- Fix assertion error when mixing CSS modules and non-modules – [Details](https://github.com/parcel-bundler/parcel/pull/8762)
- Fix set diff – [Details](https://github.com/parcel-bundler/parcel/pull/8699)
- Recursively check reachability when removing asset graphs from bundles in deduplication – [Details](https://github.com/parcel-bundler/parcel/pull/6004)
- JavaScript
- Don't retarget dependencies if a symbol is imported multiple times with different local names – [Details](https://github.com/parcel-bundler/parcel/pull/8738)
- Fix assigning to `this` in CommonJS – [Details](https://github.com/parcel-bundler/parcel/pull/8737)
- Bump SWC to fix dead branch removal bug – [Details](https://github.com/parcel-bundler/parcel/pull/8742
- Bump swc to fix sourcemaps with Windows line endings – [Details](https://github.com/parcel-bundler/parcel/pull/8756)
- Add test cases for ESM initialization problems – [Details](https://github.com/parcel-bundler/parcel/pull/7350)
- TypeScript
- Fix TSC sourcemaps metadata – [Details](https://github.com/parcel-bundler/parcel/pull/8734)
- HTML
- Fix `srcset` parsing – [Details](https://github.com/parcel-bundler/parcel/pull/8671)
- Dev server
- Apply HMR updates in topological order – [Details](https://github.com/parcel-bundler/parcel/pull/8752)
- Fixed the hmr connection with host 0.0.0.0 – [Details](https://github.com/parcel-bundler/parcel/pull/7357)

# [2.8.2] - 2022-12-14

- Core
- Ensure maxListeners for process.stdout accounts for workers – [Details](https://github.com/parcel-bundler/parcel/pull/8689)
- JavaScript
- Bump SWC to fix scoping issue with block-less loops – [Details](https://github.com/parcel-bundler/parcel/pull/8686)
- Fix requires of external CommonJS SWC helpers – [Details](https://github.com/parcel-bundler/parcel/pull/8693)

## [2.8.1] - 2022-12-07

### Fixed

- Core
- fix: remove @parcel/utils dep in @parcel/graph – [Details](https://github.com/parcel-bundler/parcel/pull/8630)
- JavaScript
- Don't retarget dependencies with `*` – [Details](https://github.com/parcel-bundler/parcel/pull/8645)
- Fix overriding single export of a `export *` – [Details](https://github.com/parcel-bundler/parcel/pull/8653)
- Add mjs and cjs to resolver extensions – [Details](https://github.com/parcel-bundler/parcel/pull/8667)
- TypeScript
- Make ts-types transformer work with TS >= 4.8 – [Details](https://github.com/parcel-bundler/parcel/pull/8661)
- Web manifest
- Parse shortcut icons in web app manifests – [Details](https://github.com/parcel-bundler/parcel/pull/8660)
- SVG
- Fix transformer-svg-react not finding `.svgrrc` – [Details](https://github.com/parcel-bundler/parcel/pull/7741)

## [2.8.0] - 2022-11-09

### Added
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ In order to make it easier to get familiar with the codebase we labeled simpler

Before starting make sure you have the following requirements installed: [git](https://git-scm.com), [Node](https://nodejs.org), [Yarn](https://yarnpkg.com) and [Rust](https://www.rust-lang.org/tools/install).

Parcel uses [Flow](https://flow.org) for type checking. If you're using an IDE, make sure to install the [Flow extension](https://flow.org/en/docs/editors/) to ensure your editor's autocomplete and type-checking works as expected.

The process starts by [forking](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the project and setup a new branch to work in. It's important that the changes are made in separated branches in order to ensure a pull request only includes the commits related to a bug or feature.

Clone the forked repository locally and install the dependencies:
Expand Down
Loading

0 comments on commit aeb639e

Please sign in to comment.