#### What's Changed
* fix: deduplicate peer deps by @zkoch[https://github.com/pnpm/pnpm/pull/5377](https://togithub.com/pnpm/pnpm/pull/5377)l/5377
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.12.0...v7.12.1
### [`v7.12.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.11.0...v7.12.0)
#### Minor Changes
- A new setting supported in the pnpm section of the `package.json` file: `allowNonAppliedPatches`. When it is set to `true`, non-applied patches will not cause an error, just a warning will be printed. For example:
```json
{
"name": "foo",
"version": "1.0.0",
"pnpm": {
"patchedDependencies": {
"express@4.18.1": "patches/express@4.18.1.patch"
},
"allowNonAppliedPatches": true
}
}
```
- Now it is possible to exclude packages from hoisting by prepending a `!` to the pattern. This works with both the `hoist-pattern` and `public-hoist-pattern` settings. For instance:
public-hoist-pattern[]='*types*'
public-hoist-pattern[]='!@types/react'
hoist-pattern[]='*eslint*'
hoist-pattern[]='!*eslint-plugin*'
Ref [#5272](https://togithub.com/pnpm/pnpm/issues/5272)
#### Patch Changes
- When the same dependency with missing peers is used in multiple workspace projects, install the missing peers in each workspace project [#4820](https://togithub.com/pnpm/pnpm/issues/4820).
- `pnpm patch` should work on files that don't have an end of line [#5320](https://togithub.com/pnpm/pnpm/issues/5320).
- Fix `pnpm patch` using a custom `--edit-dir`.
#### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed
* fix(patch): allow to edit a package in any directory by @zkoch[https://github.com/pnpm/pnpm/pull/5331](https://togithub.com/pnpm/pnpm/pull/5331)l/5331
* feat(matcher): ignore patterns by @LuciNy[https://github.com/pnpm/pnpm/pull/5336](https://togithub.com/pnpm/pnpm/pull/5336)l/5336
* fix(patch): ignore No newline at end of file by @await-o[https://github.com/pnpm/pnpm/pull/5321](https://togithub.com/pnpm/pnpm/pull/5321)l/5321
* feat(patch): allow non-applied patches by @larrybahr-ocel[https://github.com/pnpm/pnpm/pull/5354](https://togithub.com/pnpm/pnpm/pull/5354)l/5354
* chore: update @pnpm/meta-updater by @ibe[https://github.com/pnpm/pnpm/pull/5360](https://togithub.com/pnpm/pnpm/pull/5360)pm/pull/5360
* fix: auto-install-peers in a workspace by @zkoch[https://github.com/pnpm/pnpm/pull/5359](https://togithub.com/pnpm/pnpm/pull/5359)l/5359
#### New Contributors
* @await-ovo made their first contributi[https://github.com/pnpm/pnpm/pull/5321](https://togithub.com/pnpm/pnpm/pull/5321)l/5321
* @larrybahr-ocelot made their first contributi[https://github.com/pnpm/pnpm/pull/5354](https://togithub.com/pnpm/pnpm/pull/5354)l/5354
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.11.0...v7.12.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
7.11.0
->7.12.1
Release Notes
pnpm/pnpm
### [`v7.12.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.12.0...v7.12.1) #### Patch Changes - Deduplicate peer dependencies when automatically installing them [#5373](https://togithub.com/pnpm/pnpm/issues/5373). #### Our Gold SponsorsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.