Alex Waygood
1eb3e4057f
[red-knot] Add definitions and limited type inference for exception handlers ( #13267 )
2024-09-09 07:35:15 -04:00
renovate[bot]
346dbf45b5
Update pre-commit dependencies ( #13289 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-09-09 11:11:01 +00:00
renovate[bot]
f427a7a5a3
Update NPM Development dependencies ( #13290 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-09-09 11:07:16 +00:00
Micha Reiser
955dc8804a
Playground: Fix errors not shown on page load ( #13262 )
2024-09-09 11:47:39 +01:00
renovate[bot]
e1603e3dca
Update dependency ruff to v0.6.4 ( #13288 )
2024-09-08 22:00:43 -04:00
Micha Reiser
35d45c1e4b
refactor: Return copied TextRange
in CommentRanges
iterator ( #13281 )
2024-09-08 13:17:37 +02:00
Dylan
e4aa479515
[red-knot] Handle StringLiteral truncation ( #13276 )
...
When a type of the form `Literal["..."]` would be constructed with too
large of a string, this PR converts it to `LiteralString` instead.
We also extend inference for binary operations to include the case where
one of the operands is `LiteralString`.
Closes #13224
2024-09-07 20:25:09 -07:00
Dylan
a7c936878d
[ruff
] Handle unary operators in decimal-from-float-literal (RUF032)
( #13275 )
...
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-09-07 13:25:49 +00:00
Micha Reiser
c3bcd5c842
Upgrade to Rust 1.81 ( #13265 )
2024-09-06 15:09:09 +02:00
Simon
594dee1b0b
[red-knot] resolve source/stubs over namespace packages ( #13254 )
2024-09-06 12:14:26 +01:00
Carl Meyer
a4ebe7d344
[red-knot] consolidate diagnostic and inference tests ( #13248 )
...
Pull the tests from `types.rs` into `infer.rs`.
All of these are integration tests with the same basic form: create a
code sample, run type inference or check on it, and make some assertions
about types and/or diagnostics. These are the sort of tests we will want
to move into a test framework with a low-boilerplate custom textual
format. In the meantime, having them together (and more importantly,
their helper utilities together) means that it's easy to keep tests for
related language features together (iterable tests with other iterable
tests, callable tests with other callable tests), without an artificial
split based on tests which test diagnostics vs tests which test
inference. And it allows a single test to more easily test both
diagnostics and inference. (Ultimately in the test framework, they will
likely all test diagnostics, just in some cases the diagnostics will
come from `reveal_type()`.)
2024-09-05 09:15:22 -07:00
Carl Meyer
2a3775e525
[red-knot] AnnAssign with no RHS is not a Definition ( #13247 )
...
My plan for handling declared types is to introduce a `Declaration` in
addition to `Definition`. A `Declaration` is an annotation of a name
with a type; a `Definition` is an actual runtime assignment of a value
to a name. A few things (an annotated function parameter, an
annotated-assignment with an RHS) are both a `Definition` and a
`Declaration`.
This more cleanly separates type inference (only cares about
`Definition`) from declared types (only impacted by a `Declaration`),
and I think it will work out better than trying to squeeze everything
into `Definition`. One of the tests in this PR
(`annotation_only_assignment_transparent_to_local_inference`)
demonstrates one reason why. The statement `x: int` should have no
effect on local inference of the type of `x`; whatever the locally
inferred type of `x` was before `x: int` should still be the inferred
type after `x: int`. This is actually quite hard to do if `x: int` is
considered a `Definition`, because a core assumption of the use-def map
is that a `Definition` replaces the previous value. To achieve this
would require some hackery to effectively treat `x: int` sort of as if
it were `x: int = x`, but it's not really even equivalent to that, so
this approach gets quite ugly.
As a first step in this plan, this PR stops treating AnnAssign with no
RHS as a `Definition`, which fixes behavior in a couple added tests.
This actually makes things temporarily worse for the ellipsis-type test,
since it is defined in typeshed only using annotated assignments with no
RHS. This will be fixed properly by the upcoming addition of
declarations, which should also treat a declared type as sufficient to
import a name, at least from a stub.
2024-09-05 08:55:00 -07:00
Dhruv Manilawala
65cc6ec41d
Bump version to 0.6.4 ( #13253 )
2024-09-05 21:05:15 +05:30
Carl Meyer
66fe226608
[red-knot] fix lookup of nonlocal names in deferred annotations ( #13236 )
...
Initially I had deferred annotation name lookups reuse the "public
symbol type", since that gives the correct "from end of scope" view of
reaching definitions that we want. But there is a key difference; public
symbol types are based only on definitions in the queried scope (or
"name in the given namespace" in runtime terms), they don't ever look up
a name in nonlocal/global/builtin scopes. Deferred annotation resolution
should do this lookup.
Add a test, and fix deferred name resolution to support
nonlocal/global/builtin names.
Fixes #13176
2024-09-04 10:10:54 -07:00
Alex Waygood
e965f9cc0e
[red-knot] Infer Unknown
for the loop var in async for
loops ( #13243 )
2024-09-04 14:24:58 +00:00
Alex Waygood
0512428a6f
[red-knot] Emit a diagnostic if the value of a starred expression or a yield from
expression is not iterable ( #13240 )
2024-09-04 14:19:11 +00:00
Alex Waygood
46a457318d
[red-knot] Add type inference for basic for
loops ( #13195 )
2024-09-04 10:19:50 +00:00
Alex Waygood
57289099bb
Make mypy pass on black in knot_benchmark
( #13235 )
2024-09-04 09:35:58 +00:00
Lucas Vieira dos Santos
9d1bd7a8a7
[pylint] removed dunder methods in Python 3 (PLW3201) ( #13194 )
...
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-09-04 08:23:08 +02:00
Lucas Vieira dos Santos
e37bde458e
[ruff] implement useless if-else (RUF034) ( #13218 )
2024-09-04 08:22:17 +02:00
Dhruv Manilawala
862bd0c429
[red-knot] Add debug assert to check for duplicate definitions ( #13214 )
...
## Summary
Closes : #13085
## Test Plan
`cargo insta test --workspace`
2024-09-04 05:53:32 +00:00
Dhruv Manilawala
e1e9143c47
[red-knot] Handle multiple comprehension targets ( #13213 )
...
## Summary
Part of #13085 , this PR updates the comprehension definition to handle
multiple targets.
## Test Plan
Update existing semantic index test case for comprehension with multiple
targets. Running corpus tests shouldn't panic.
2024-09-04 11:18:58 +05:30
Carl Meyer
3c4ec82aee
[red-knot] support non-local name lookups ( #13177 )
...
Add support for non-local name lookups.
There's one TODO around annotated assignments without a RHS; these need
a fair amount of attention, which they'll get in an upcoming PR about
declared vs inferred types.
Fixes #11663
2024-09-03 14:18:05 -07:00
Carl Meyer
29c36a56b2
[red-knot] fix scope inference with deferred types ( #13204 )
...
Test coverage for #13131 wasn't as good as I thought it was, because
although we infer a lot of types in stubs in typeshed, we don't check
typeshed, and therefore we don't do scope-level inference and pull all
types for a scope. So we didn't really have good test coverage for
scope-level inference in a stub. And because of this, I got the code for
supporting that wrong, meaning that if we did scope-level inference with
deferred types, we'd end up never populating the deferred types in the
scope's `TypeInference`, which causes panics like #13160 .
Here I both add test coverage by running the corpus tests both as `.py`
and as `.pyi` (which reveals the panic), and I fix the code to support
deferred types in scope inference.
This also revealed a problem with deferred types in generic functions,
which effectively span two scopes. That problem will require a bit more
thought, and I don't want to block this PR on it, so for now I just
don't defer annotations on generic functions.
Fixes #13160 .
2024-09-03 11:20:43 -07:00
Alex Waygood
dfee65882b
[red-knot] Inline Type::is_literal
( #13230 )
2024-09-03 15:02:50 +01:00
Alex Waygood
50c8ee5175
Fix virtual environment details in knot_benchmark
( #13228 )
2024-09-03 14:35:45 +01:00
Micha Reiser
c2aac5f826
Enable multithreading for pyright ( #13227 )
2024-09-03 11:24:42 +00:00
Alex Waygood
387af831f9
Improve detection of whether a symbol refers to a builtin exception ( #13215 )
2024-09-03 10:33:03 +00:00
Alex Waygood
9d517061f2
[red-knot] Reduce some repetitiveness in tests ( #13135 )
2024-09-03 11:26:44 +01:00
Dhruv Manilawala
facf6febf0
[red-knot] Remove match pattern definition visitor ( #13209 )
...
## Summary
This PR is based on this discussion:
https://github.com/astral-sh/ruff/pull/13147#discussion_r1739408653 .
**Todo**
- [x] Add documentation for `MatchPatternState`
## Test Plan
`cargo insta test` and `cargo clippy`
2024-09-03 08:53:35 +00:00
Simon
46e687e8d1
[red-knot] Condense literals display by types ( #13185 )
...
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-09-03 07:23:28 +00:00
Micha Reiser
599103c933
Add a few missing #[return_ref]
attributes ( #13223 )
2024-09-03 09:15:43 +02:00
Charlie Marsh
54df960a4a
Use | for page separator in meta titles ( #13221 )
...
## Summary
Same as https://github.com/astral-sh/uv/pull/6953 .
2024-09-03 00:46:15 +00:00
Charlie Marsh
3463683632
Update URL in structured schema ( #13220 )
2024-09-03 00:21:45 +00:00
Charlie Marsh
6b973b2556
Point docs to Astral favicon ( #13219 )
...
## Summary
Same as https://github.com/astral-sh/uv/pull/6951 . Unfortunately we have
to use a single favicon for the docs.
2024-09-02 20:11:39 -04:00
Alex Waygood
c0e2c13d0d
[flake8-pyi
] Teach various rules that annotations might be stringized ( #12951 )
2024-09-02 13:40:06 +00:00
Ruben van Eldik
591a7a152c
Handle singular case for incompatible rules warning ( #13212 )
...
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-09-02 15:16:06 +02:00
Alex Waygood
b7c7b4b387
Add a method to Checker
for cached parsing of stringified type annotations ( #13158 )
2024-09-02 12:44:20 +00:00
Tom Kuson
ea0246c51a
[ruff
] Implement post-init-default (RUF033
) ( #13192 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-09-02 13:10:55 +01:00
Ewoud Samuels
0f85769976
Fix example in PLE1520 documentation ( #13210 )
2024-09-02 13:19:43 +02:00
Dhruv Manilawala
47f0b45be3
Implement AstNode
for Identifier
( #13207 )
...
## Summary
Follow-up to #13147 , this PR implements the `AstNode` for `Identifier`.
This makes it easier to create the `NodeKey` in red knot because it uses
a generic method to construct the key from `AnyNodeRef` and is important
for definitions that are created only on identifiers instead of
`ExprName`.
## Test Plan
`cargo test` and `cargo clippy`
2024-09-02 16:27:12 +05:30
Dhruv Manilawala
f4bed22b05
Ignore invalid notebook in ecosystem checks ( #13211 )
2024-09-02 16:22:51 +05:30
Dhruv Manilawala
17eb65b26f
Add definitions for match statement ( #13147 )
...
## Summary
This PR adds definition for match patterns.
## Test Plan
Update the existing test case for match statement symbols to verify that
the definitions are added as well.
2024-09-02 14:40:09 +05:30
Micha Reiser
9986397d56
Avoid allocating OrderedSet
in UnionBuilder::simplify
( #13206 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-09-02 09:07:53 +00:00
Alex Waygood
58c641c92f
Optimize some SemanticModel
methods ( #13091 )
2024-09-02 10:03:52 +01:00
renovate[bot]
227fa4e035
Update Rust crate quick-junit to 0.5.0 ( #13203 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [quick-junit](https://redirect.github.com/nextest-rs/quick-junit ) |
workspace.dependencies | minor | `0.4.0` -> `0.5.0` |
---
### Release Notes
<details>
<summary>nextest-rs/quick-junit (quick-junit)</summary>
###
[`v0.5.0`](https://redirect.github.com/nextest-rs/quick-junit/blob/HEAD/CHANGELOG.md#050---2024-09-01 )
[Compare
Source](https://redirect.github.com/nextest-rs/quick-junit/compare/quick-junit-0.4.0...quick-junit-0.5.0 )
##### Changed
- The `Output` type, which strips invalid XML characters from a string,
has been renamed to
`XmlString`.
- All internal storage now uses `XmlString` rather than `String`.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2024-09-02 06:58:58 +00:00
renovate[bot]
2b21b77ee6
Update dependency mkdocs to v1.6.1 ( #13199 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mkdocs](https://redirect.github.com/mkdocs/mkdocs )
([changelog](https://www.mkdocs.org/about/release-notes/ )) | `==1.6.0`
-> `==1.6.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mkdocs/mkdocs (mkdocs)</summary>
###
[`v1.6.1`](https://redirect.github.com/mkdocs/mkdocs/releases/tag/1.6.1 )
[Compare
Source](https://redirect.github.com/mkdocs/mkdocs/compare/1.6.0...1.6.1 )
### Version 1.6.1 (Friday 30th August, 2024)
##### Fixed
- Fix build error when environment variable `SOURCE_DATE_EPOCH=0` is
set.
[#​3795](https://redirect.github.com/mkdocs/mkdocs/issues/3795 )
- Fix build error when `mkdocs_theme.yml` config is empty.
[#​3700](https://redirect.github.com/mkdocs/mkdocs/issues/3700 )
- Support `python -W` and `PYTHONWARNINGS` instead of overriding the
configuration.
[#​3809](https://redirect.github.com/mkdocs/mkdocs/issues/3809 )
- Support running with Docker under strict mode, by removing `0.0.0.0`
dev server warning.
[#​3784](https://redirect.github.com/mkdocs/mkdocs/issues/3784 )
- Drop unnecessary `changefreq` from `sitemap.xml`.
[#​3629](https://redirect.github.com/mkdocs/mkdocs/issues/3629 )
- Fix JavaScript console error when closing menu dropdown.
[#​3774](https://redirect.github.com/mkdocs/mkdocs/issues/3774 )
- Fix JavaScript console error that occur on repeated clicks.
[#​3730](https://redirect.github.com/mkdocs/mkdocs/issues/3730 )
- Fix JavaScript console error that can occur on dropdown selections.
[#​3694](https://redirect.github.com/mkdocs/mkdocs/issues/3694 )
##### Added
- Added translations for Dutch.
[#​3804](https://redirect.github.com/mkdocs/mkdocs/issues/3804 )
- Added and updated translations for Chinese (Simplified).
[#​3684](https://redirect.github.com/mkdocs/mkdocs/issues/3684 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 12:14:19 +05:30
renovate[bot]
ba272b093c
Update dependency ruff to v0.6.3 ( #13201 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff )
([source](https://redirect.github.com/astral-sh/ruff ),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md ))
| `==0.6.2` -> `==0.6.3` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.6.3`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#063 )
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.2...0.6.3 )
##### Preview features
- \[`flake8-simplify`] Extend `open-file-with-context-handler` to work
with `dbm.sqlite3` (`SIM115`)
([#​13104](https://redirect.github.com/astral-sh/ruff/pull/13104 ))
- \[`pycodestyle`] Disable `E741` in stub files (`.pyi`)
([#​13119](https://redirect.github.com/astral-sh/ruff/pull/13119 ))
- \[`pydoclint`] Avoid `DOC201` on explicit returns in functions that
only return `None`
([#​13064](https://redirect.github.com/astral-sh/ruff/pull/13064 ))
##### Rule changes
- \[`flake8-async`] Disable check for `asyncio` before Python 3.11
(`ASYNC109`)
([#​13023](https://redirect.github.com/astral-sh/ruff/pull/13023 ))
##### Bug fixes
- \[`FastAPI`] Avoid introducing invalid syntax in fix for
`fast-api-non-annotated-dependency` (`FAST002`)
([#​13133](https://redirect.github.com/astral-sh/ruff/pull/13133 ))
- \[`flake8-implicit-str-concat`] Normalize octals before merging
concatenated strings in `single-line-implicit-string-concatenation`
(`ISC001`)
([#​13118](https://redirect.github.com/astral-sh/ruff/pull/13118 ))
- \[`flake8-pytest-style`] Improve help message for
`pytest-incorrect-mark-parentheses-style` (`PT023`)
([#​13092](https://redirect.github.com/astral-sh/ruff/pull/13092 ))
- \[`pylint`] Avoid autofix for calls that aren't `min` or `max` as
starred expression (`PLW3301`)
([#​13089](https://redirect.github.com/astral-sh/ruff/pull/13089 ))
- \[`ruff`] Add `datetime.time`, `datetime.tzinfo`, and
`datetime.timezone` as immutable function calls (`RUF009`)
([#​13109](https://redirect.github.com/astral-sh/ruff/pull/13109 ))
- \[`ruff`] Extend comment deletion for `RUF100` to include trailing
text from `noqa` directives while preserving any following comments on
the same line, if any
([#​13105](https://redirect.github.com/astral-sh/ruff/pull/13105 ))
- Fix dark theme on initial page load for the Ruff playground
([#​13077](https://redirect.github.com/astral-sh/ruff/pull/13077 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 12:08:52 +05:30
renovate[bot]
8972e5d175
Update NPM Development dependencies ( #13198 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ))
| [`18.3.4` ->
`18.3.5`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.4/18.3.5 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin )
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ))
| [`8.2.0` ->
`8.3.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.2.0/8.3.0 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser )
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ))
| [`8.2.0` ->
`8.3.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/8.2.0/8.3.0 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [postcss](https://postcss.org/ )
([source](https://redirect.github.com/postcss/postcss )) | [`8.4.41` ->
`8.4.43`](https://renovatebot.com/diffs/npm/postcss/8.4.41/8.4.43 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [wrangler](https://redirect.github.com/cloudflare/workers-sdk )
([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler ))
| [`3.72.2` ->
`3.73.0`](https://renovatebot.com/diffs/npm/wrangler/3.72.2/3.73.0 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>typescript-eslint/typescript-eslint
(@​typescript-eslint/eslint-plugin)</summary>
###
[`v8.3.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#830-2024-08-26 )
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.2.0...v8.3.0 )
##### 🚀 Features
- **eslint-plugin:** \[no-deprecation] add rule
##### 🩹 Fixes
- **eslint-plugin:** \[no-unnecessary-template-expression] add missing
parentheses in autofix
- **eslint-plugin:** \[no-unnecessary-type-parameters] check mapped
alias type arguments
- **utils:** add `TSDeclareFunction` to `functionTypeTypes`
- **ast-spec:** use `Expression` in argument of `ThrowStatement`
##### ❤️ Thank You
- Abraham Guo
- Daichi Kamiyama
- Josh Goldberg ✨
- Kim Sang Du
- Sukka
- Vida Xie
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning )
and
[releases](https://main--typescript-eslint.netlify.app/users/releases )
on our website.
</details>
<details>
<summary>typescript-eslint/typescript-eslint
(@​typescript-eslint/parser)</summary>
###
[`v8.3.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#830-2024-08-26 )
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.2.0...v8.3.0 )
This was a version bump only for parser to align it with other projects,
there were no code changes.
You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning )
and
[releases](https://main--typescript-eslint.netlify.app/users/releases )
on our website.
</details>
<details>
<summary>postcss/postcss (postcss)</summary>
###
[`v8.4.43`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8443 )
[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.4.42...8.4.43 )
- Fixed `markClean is not a function` error.
###
[`v8.4.42`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8442 )
[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.4.41...8.4.42 )
- Fixed CSS syntax error on long minified files (by
[@​varpstar](https://redirect.github.com/varpstar )).
</details>
<details>
<summary>cloudflare/workers-sdk (wrangler)</summary>
###
[`v3.73.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3730 )
[Compare
Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.72.3...wrangler@3.73.0 )
##### Minor Changes
-
[#​6571](https://redirect.github.com/cloudflare/workers-sdk/pull/6571 )
[`a7e1bfe`](a7e1bfea3e
)
Thanks [@​penalosa](https://redirect.github.com/penalosa )! - feat:
Add deployment http targets to wrangler deploy logs, and add url to
pages deploy logs
-
[#​6497](https://redirect.github.com/cloudflare/workers-sdk/pull/6497 )
[`3bd833c`](3bd833cbe2
)
Thanks [@​WalshyDev](https://redirect.github.com/WalshyDev )! -
chore: move `wrangler versions ...`, `wrangler deployments ...`,
`wrangler rollback` and `wrangler triggers ...` out of experimental and
open beta.
These are now available to use without the --x-versions flag, you can
continue to pass this however without issue to keep compatibility with
all the usage today.
A few of the commands had an output that wasn't guarded by
`--x-versions` those have been updated to use the newer output, we have
tried to keep compatibility where possible (for example: `wrangler
rollback` will continue to output "Worker Version ID:" so users can
continue to grab the ID).
If you wish to use the old versions of the commands you can pass the
`--no-x-versions` flag. Note, these will be removed in the future so
please work on migrating.
-
[#​6586](https://redirect.github.com/cloudflare/workers-sdk/pull/6586 )
[`72ea742`](72ea74214d
)
Thanks [@​penalosa](https://redirect.github.com/penalosa )! - feat:
Inject a 404 response for browser requested `favicon.ico` files when
loading the `/__scheduled` page for scheduled-only Workers
-
[#​6497](https://redirect.github.com/cloudflare/workers-sdk/pull/6497 )
[`3bd833c`](3bd833cbe2
)
Thanks [@​WalshyDev](https://redirect.github.com/WalshyDev )! -
feat: update `wrangler deploy` to use the new versions and deployments
API.
This should have zero user-facing impact but sets up the most used
command to deploy Workers to use the new recommended APIs and move away
from the old ones.
We will still call the old upload path where required (e.g. Durable
Object migration or Service Worker format).
##### Patch Changes
-
[#​6563](https://redirect.github.com/cloudflare/workers-sdk/pull/6563 )
[`da48a70`](da48a70369
)
Thanks
[@​threepointone](https://redirect.github.com/threepointone )! -
chore: remove the warning about local mode flag being removed in the
future
-
[#​6595](https://redirect.github.com/cloudflare/workers-sdk/pull/6595 )
[`0a76d7e`](0a76d7e550
)
Thanks [@​vicb](https://redirect.github.com/vicb )! - feat: update
unenv to the latest available version
-
[#​5738](https://redirect.github.com/cloudflare/workers-sdk/pull/5738 )
[`c2460c4`](c2460c4d89
)
Thanks [@​penalosa](https://redirect.github.com/penalosa )! - fix:
Prevent spaces in names when validating
-
[#​6586](https://redirect.github.com/cloudflare/workers-sdk/pull/6586 )
[`72ea742`](72ea74214d
)
Thanks [@​penalosa](https://redirect.github.com/penalosa )! -
chore: Improve Miniflare CRON warning wording
-
[#​6593](https://redirect.github.com/cloudflare/workers-sdk/pull/6593 )
[`f097cb7`](f097cb73be
)
Thanks [@​vicb](https://redirect.github.com/vicb )! - fix: remove
`experimental:` prefix requirement for nodejs_compat_v2
See https://jira.cfdata.org/browse/DEVDASH-218
-
[#​6572](https://redirect.github.com/cloudflare/workers-sdk/pull/6572 )
[`0d83428`](0d834284d0
)
Thanks [@​penalosa](https://redirect.github.com/penalosa )! - fix:
Show a clearer user error when trying to use a python worker without the
`python_workers` compatibility flag specified
-
[#​6589](https://redirect.github.com/cloudflare/workers-sdk/pull/6589 )
[`f4c8cea`](f4c8cea142
)
Thanks [@​vicb](https://redirect.github.com/vicb )! - feat: update
unenv to the latest available version
- Updated dependencies
\[[`45ad2e0`](45ad2e0c83
)]:
-
[@​cloudflare/workers-shared](https://redirect.github.com/cloudflare/workers-shared )[@​0](https://redirect.github.com/0 ).4.1
###
[`v3.72.3`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3723 )
[Compare
Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.72.2...wrangler@3.72.3 )
##### Patch Changes
-
[#​6548](https://redirect.github.com/cloudflare/workers-sdk/pull/6548 )
[`439e63a`](439e63a4ac
)
Thanks [@​garvit-gupta](https://redirect.github.com/garvit-gupta )!
- fix: Fix Vectorize getVectors, deleteVectors payload in Wrangler
Client; VS-271
-
[#​6554](https://redirect.github.com/cloudflare/workers-sdk/pull/6554 )
[`46aee5d`](46aee5d16c
)
Thanks [@​andyjessop](https://redirect.github.com/andyjessop )! -
fix: nodejs_compat flags no longer error when running wrangler types
--x-include-runtime
-
[#​6548](https://redirect.github.com/cloudflare/workers-sdk/pull/6548 )
[`439e63a`](439e63a4ac
)
Thanks [@​garvit-gupta](https://redirect.github.com/garvit-gupta )!
- fix: Add content-type header to Vectorize POST operations;
[#​6516](https://redirect.github.com/cloudflare/workers-sdk/issues/6516 )/VS-269
-
[#​6566](https://redirect.github.com/cloudflare/workers-sdk/pull/6566 )
[`669ec1c`](669ec1c4d1
)
Thanks [@​penalosa](https://redirect.github.com/penalosa )! - fix:
Ensure esbuild warnings are logged when running wrangler deploy
- Updated dependencies
\[[`6c057d1`](6c057d10b2
)]:
-
[@​cloudflare/workers-shared](https://redirect.github.com/cloudflare/workers-shared )[@​0](https://redirect.github.com/0 ).4.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 12:08:21 +05:30
renovate[bot]
9ac2e61bad
Update dependency react-resizable-panels to v2.1.2 ( #13200 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-resizable-panels](https://redirect.github.com/bvaughn/react-resizable-panels )
| [`2.1.1` ->
`2.1.2`](https://renovatebot.com/diffs/npm/react-resizable-panels/2.1.1/2.1.2 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>bvaughn/react-resizable-panels
(react-resizable-panels)</summary>
###
[`v2.1.2`](https://redirect.github.com/bvaughn/react-resizable-panels/compare/2.1.1...2.1.2 )
[Compare
Source](https://redirect.github.com/bvaughn/react-resizable-panels/compare/2.1.1...2.1.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 12:06:11 +05:30