Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/v2' into atlassian
Browse files Browse the repository at this point in the history
* upstream/v2: (22 commits)
  Cross compile toolchains are built into docker image already
  Also fix release build
  Update centos node version
  v2.7.0
  Changelog for v2.7.0
  Use placeholder expression when replacing unused symbols (#8358)
  Lint (#8359)
  Add support for errorRecovery option in @parcel/transformer-css (#8352)
  VS Code Extension for Parcel (#8139)
  Add multi module compilation for elm (#8076)
  Bump terser from 5.7.2 to 5.14.2 (#8322)
  Bump node-forge from 1.2.1 to 1.3.0 (#8271)
  allow cjs config files on type module projects (#8253)
  inject script for hmr when there is only normal script in html (#8330)
  feat: support react refresh for @emotion/react (#8205)
  Update index.d.ts (#8293)
  remove charset from jsloader script set (#8346)
  Log resolved targets in verbose log level (#8254)
  Fix missing module in large app from Experimental Bundler (#8303)
  [Symbol Propagation] Non-deterministic bundle hashes (#8212)
  ...
  • Loading branch information
lettertwo committed Aug 5, 2022
2 parents 420a349 + 9e5d055 commit 1a45703
Show file tree
Hide file tree
Showing 158 changed files with 5,736 additions and 890 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: linux-gnu-x64
runs-on: ubuntu-latest
container:
image: docker.io/centos/nodejs-12-centos7
image: docker.io/adrienv1520/nodejs-16-centos7
steps:
- uses: actions/checkout@v1
- name: Install yarn
Expand Down Expand Up @@ -144,12 +144,6 @@ jobs:
profile: minimal
override: true
target: ${{ matrix.target }}
- name: Install cross compile toolchains
if: ${{ matrix.target == 'aarch64-unknown-linux-musl' }}
run: |
curl -O http://musl.cc/aarch64-linux-musl-cross.tgz
tar xzf aarch64-linux-musl-cross.tgz
cp -R aarch64-linux-musl-cross/* /usr
- uses: bahmutov/[email protected]
- name: Build native packages
run: yarn build-native-release
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: linux-gnu-x64
runs-on: ubuntu-latest
container:
image: docker.io/centos/nodejs-12-centos7
image: docker.io/adrienv1520/nodejs-16-centos7
steps:
- uses: actions/checkout@v1
- name: Install yarn
Expand Down Expand Up @@ -144,12 +144,6 @@ jobs:
profile: minimal
override: true
target: ${{ matrix.target }}
- name: Install cross compile toolchains
if: ${{ matrix.target == 'aarch64-unknown-linux-musl' }}
run: |
curl -O http://musl.cc/aarch64-linux-musl-cross.tgz
tar xzf aarch64-linux-musl-cross.tgz
cp -R aarch64-linux-musl-cross/* /usr
- uses: bahmutov/[email protected]
- name: Build native packages
run: yarn build-native-release
Expand Down
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/packages/utils/parcelforvscode"
],
"name": "Launch Parcel for VSCode Extension",
"outFiles": [
"${workspaceFolder}/packages/utils/parcelforvscode/out/**/*.js"
],
"preLaunchTask": "npm: compile - packages/utils/parcelforvscode",
"request": "launch",
"type": "pwa-extensionHost"
}
]
}
14 changes: 14 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "compile",
"path": "packages/utils/parcelforvscode/",
"group": "build",
"problemMatcher": [],
"label": "npm: compile - packages/utils/parcelforvscode",
"detail": "tsc -p ./"
}
]
}
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,42 @@ 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.7.0] - 2022-08-03

### Added

- Core
- Log resolved targets in verbose log level for debugging - [Details](https://github.com/parcel-bundler/parcel/pull/8254)
- Allow plugin configs to be written with `.cjs` extension - [Details](https://github.com/parcel-bundler/parcel/pull/8253)
- JavaScript
- Support react refresh for `@emotion/react` - [Details](https://github.com/parcel-bundler/parcel/pull/8205)
- Inject script for hmr when there is only normal script in html - [Details](https://github.com/parcel-bundler/parcel/pull/8330)
- Elm
- Add support for compiling multiple modules at once via `with` query param - [Details](https://github.com/parcel-bundler/parcel/pull/8076)
- CSS
- Add support for `errorRecovery` option in `@parcel/transformer-css` - [Details](https://github.com/parcel-bundler/parcel/pull/8352)
- Experimental bundler - [Details](https://github.com/parcel-bundler/parcel/pull/8180)
- Implement bundling for multiple targets
- Internalize async dependencies
- Merge bundles of the same type
- Fix missing module - [Details](https://github.com/parcel-bundler/parcel/pull/8303)

### Fixed

- JavaScript
- Default interop missing when importing a CommonJS module - [Details](https://github.com/parcel-bundler/parcel/pull/7991)
- Add missing imports for external dependencies in skipped assets - [Details](https://github.com/parcel-bundler/parcel/pull/8299)
- Bump SWC to fix undefined variables - [Details](https://github.com/parcel-bundler/parcel/pull/8276)
- Remove charset from JS loaded script to avoid double fetching in Firefox - [Details](https://github.com/parcel-bundler/parcel/pull/8346)
- Use placeholder expression when replacing unused symbols - [Details](https://github.com/parcel-bundler/parcel/pull/8358)
- Core
- Fix atomic writestream handling on Windows - [Details](https://github.com/parcel-bundler/parcel/pull/8337)
- Fix non-deterministic bundle hashes between builds due to symbol propagation - [Details](https://github.com/parcel-bundler/parcel/pull/8212)
- Fix TypeScript types for `@parcel/package-manager` - [Details](https://github.com/parcel-bundler/parcel/pull/8293)
- Dependencies
- Bump terser to 5.14.2 - [Details](https://github.com/parcel-bundler/parcel/pull/8322)
- Bump node-forge to 1.3.0 - [Details](https://github.com/parcel-bundler/parcel/pull/8271)

## [2.6.2] - 2022-06-21

### Fixed
Expand Down
Loading

0 comments on commit 1a45703

Please sign in to comment.