Skip to content

Commit

Permalink
Merge branch 'v2' into lettertwo/buffer-backed-graph
Browse files Browse the repository at this point in the history
* v2: (68 commits)
  Fix RangeError in `not export` error with other file type (#7295)
  Apply sourcemap in @parcel/transformer-typescript-tsc (#7287)
  Fix side effects glob matching (#7288)
  Fix changelog headings
  v2.0.1
  Changelog for v2.0.1
  Resolve GLSL relative to the importer, not the asset (#7263)
  fix: add @parcel/diagnostic as dependency of @parcel/transformer-typescript-types (#7248)
  Fixed missing "Parcel" export member in Module "@parcel/core" (#7250)
  Add script to sync engines with core version (#7207)
  Bump swc (#7216)
  Make Webpack loader detection regex dramatically faster (#7226)
  swc optimizer (#7212)
  Update esbuild in optimizer (#7233)
  Properly visit member expressions (#7228)
  Update to prettier 2 (#7209)
  Fix serve mode with target override and target source fields (#7187)
  Update package.json to include the repository (#7184)
  fix #6730: add transformer-raw as dependency of config-webextension (#7193)
  Log warning instead of crash if image optimizer fails (#7119)
  ...
  • Loading branch information
lettertwo committed Nov 15, 2021
2 parents 8aa9c25 + 145bfb8 commit 4f219c8
Show file tree
Hide file tree
Showing 473 changed files with 6,188 additions and 5,142 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Expand Up @@ -36,4 +36,4 @@ untyped-import
untyped-type-import

[version]
0.160.1
0.161.0
6 changes: 6 additions & 0 deletions .github/workflows/nightly-release.yml
Expand Up @@ -71,9 +71,11 @@ jobs:
- target: arm-unknown-linux-gnueabihf
arch: armhf
strip: arm-linux-gnueabihf-strip
cflags: -mfpu=neon
- target: aarch64-unknown-linux-gnu
arch: arm64
strip: aarch64-linux-gnu-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
steps:
Expand All @@ -94,6 +96,7 @@ jobs:
run: yarn build-native-release
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
Expand All @@ -119,8 +122,10 @@ jobs:
include:
- target: x86_64-unknown-linux-musl
strip: strip
cflags: -msse4.2
- target: aarch64-unknown-linux-musl
strip: aarch64-linux-musl-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -150,6 +155,7 @@ jobs:
run: yarn build-native-release
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tag-release.yml
Expand Up @@ -70,9 +70,11 @@ jobs:
- target: arm-unknown-linux-gnueabihf
arch: armhf
strip: arm-linux-gnueabihf-strip
cflags: -mfpu=neon
- target: aarch64-unknown-linux-gnu
arch: arm64
strip: aarch64-linux-gnu-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
steps:
Expand All @@ -93,6 +95,7 @@ jobs:
run: yarn build-native-release
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
Expand All @@ -118,8 +121,10 @@ jobs:
include:
- target: x86_64-unknown-linux-musl
strip: strip
cflags: -msse4.2
- target: aarch64-unknown-linux-musl
strip: aarch64-linux-musl-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -149,6 +154,7 @@ jobs:
run: yarn build-native-release
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
Expand Down
1 change: 1 addition & 0 deletions .prettierrc
Expand Up @@ -3,6 +3,7 @@
"endOfLine": "lf",
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"overrides": [
{
"files": [
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,38 @@ 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.0.1] - 2021-11-08

### Fixed

- Don't load PostCSS and PostHTML config when inside node_modules - [Details](https://github.com/parcel-bundler/parcel/pull/7088)
- Fix unknown language in Vue templates with external scripts/styles - [Details](https://github.com/parcel-bundler/parcel/pull/7056)
- Fix "Callback must be a function" error when auto installing - [Details](https://github.com/parcel-bundler/parcel/pull/7103)
- Fix issue with named imports and object properties of the same name - [Details](https://github.com/parcel-bundler/parcel/issues/7094) and [follow up](https://github.com/parcel-bundler/parcel/pull/7228)
- Bump SWC - [Details](https://github.com/parcel-bundler/parcel/pull/7114)
- Fix issue with `@tailwindcss/forms` and PostCSS nodes missing a `source` property - [Details](https://github.com/parcel-bundler/parcel/pull/7079)
- Fix issue with ESM default interop and `new` expressions - [Details](https://github.com/parcel-bundler/parcel/pull/7113)
- Support `.yml` for YAML files, in addition to `.yaml` - [Details](https://github.com/parcel-bundler/parcel/pull/7192)
- Log warning instead of crash if image optimizer fails - [Details](https://github.com/parcel-bundler/parcel/pull/7119)
- Add missing dependency to `@parcel/config-webextension` - [Details](https://github.com/parcel-bundler/parcel/pull/7193)
- Update package.json to include the repository - [Details](https://github.com/parcel-bundler/parcel/pull/7184)
- Fix serve mode with target override and target source fields [Details](https://github.com/parcel-bundler/parcel/pull/7187)
- Improve performance of webpack loader detection, which affected large data urls - [Details](https://github.com/parcel-bundler/parcel/pull/7226)
- Update SWC to properly retain `this` context - [Details](https://github.com/parcel-bundler/parcel/pull/7216)
- Sync `engines.parcel` with core version when releasing nightlies - [Details](https://github.com/parcel-bundler/parcel/pull/7207)
- Fix export in TypeScript type definitions for `@parcel/core` - [Details](https://github.com/parcel-bundler/parcel/pull/7250)
- Add missing dependency on `@parcel/diagnostic` to `@parcel/transformer-typescript-types` - [Details](https://github.com/parcel-bundler/parcel/pull/7248)
- Resolve GLSL relative to the importer, not the asset - [Details](https://github.com/parcel-bundler/parcel/pull/7263)

### Experiments

- Update esbuild dependency in `@parcel/optimizer-esbuild` plugin - [Details](https://github.com/parcel-bundler/parcel/pull/7233)
- Add experimental `@parcel/optimizer-swc` plugin - [Details](https://github.com/parcel-bundler/parcel/pull/7212)

## [2.0.0] - 2021-10-13

See the [blog post](https://parceljs.org/blog/v2/).

## [1.12.3] - 2019-03-20

- Downgrade all internal Babel packages to `<7.4.0` because of bugs in that release.
Expand Down

0 comments on commit 4f219c8

Please sign in to comment.