You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update release notes links in Plugin Upgrade Guide docs after movement (Cherry-pick of #20936) (#20941)
This makes three changes to the releases notes links in the "Plugin
Upgrade Guide" docs:
- adjust the path for the movement in
#20847
- fix `.rst` -> `.md` file extension for 2.0.x and 2.1.x
- fix `master` -> `main` branch name for 2.0.x and 2.1.x
Co-authored-by: Huon Wilson <[email protected]>
Copy file name to clipboardexpand all lines: docs/docs/writing-plugins/common-plugin-tasks/plugin-upgrade-guide.mdx
+15-15
Original file line number
Diff line number
Diff line change
@@ -309,7 +309,7 @@ The `convert_dir_literal_to_address_literal` keyword argument for `RawSpecs.crea
309
309
310
310
## 2.14
311
311
312
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.14.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.14.x.md) for the changelog.
312
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.14.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.14.x.md) for the changelog.
313
313
314
314
### Removed second type parameter from `Get`
315
315
@@ -365,7 +365,7 @@ The functionality is the same, but can have better performance because we don't
365
365
366
366
## 2.13
367
367
368
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.13.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.13.x.md) for the changelog.
368
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.13.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.13.x.md) for the changelog.
369
369
370
370
### `AddressInput` and `UnparsedAddressInputs` require `description_of_origin`
371
371
@@ -448,7 +448,7 @@ You must now use a long option name when [defining options](../the-rules-api/opt
448
448
449
449
## 2.12
450
450
451
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.12.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.12.x.md) for the changelog.
451
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.12.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.12.x.md) for the changelog.
452
452
453
453
### Unified formatters
454
454
@@ -458,7 +458,7 @@ See [Add a formatter](./add-a-formatter.mdx) for more information.
458
458
459
459
## 2.11
460
460
461
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.11.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.11.x.md) for the changelog.
461
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.11.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.11.x.md) for the changelog.
462
462
463
463
### Deprecated `Subsystem.register_options()`
464
464
@@ -516,7 +516,7 @@ See [https://github.com/pantsbuild/pants/pull/14313](https://github.com/pantsbui
516
516
517
517
## 2.10
518
518
519
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.10.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.10.x.md) for the changelog.
519
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.10.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.10.x.md) for the changelog.
520
520
521
521
### Rename `LintRequest` to `LintTargetsRequest`
522
522
@@ -580,15 +580,15 @@ This type was used to determine the owners of a Python module. The new name make
580
580
581
581
## 2.9
582
582
583
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.9.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.9.x.md) for the changelog.
583
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.9.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.9.x.md) for the changelog.
584
584
585
585
### Deprecated `RuleRunner.create_files()`, `.create_file()` and `.add_to_build_file()`
586
586
587
587
Instead, for your `RuleRunner` tests, use `.write_files()`. See [https://github.com/pantsbuild/pants/pull/13817](https://github.com/pantsbuild/pants/pull/13817) for some examples.
588
588
589
589
## 2.8
590
590
591
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.8.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.8.x.md) for the changelog.
591
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.8.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.8.x.md) for the changelog.
592
592
593
593
### Target modeling changes
594
594
@@ -618,7 +618,7 @@ The method `OutputPathField.value_or_default()` no longer takes `Address` as an
618
618
619
619
## 2.7
620
620
621
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.7.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.7.x.md) for the changelog.
621
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.7.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.7.x.md) for the changelog.
622
622
623
623
### Type hints work properly
624
624
@@ -630,7 +630,7 @@ For example, use `my-subsystem` instead of `my_subsystem`. This is to avoid ambi
630
630
631
631
## 2.6
632
632
633
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.6.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.6.x.md) for the changelog.
633
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.6.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.6.x.md) for the changelog.
634
634
635
635
### `ProcessCacheScope`
636
636
@@ -644,7 +644,7 @@ Now called `InterpreterConstraints` and defined in `pants.backend.python.util_ru
644
644
645
645
## 2.5
646
646
647
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.5.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.5.x.md) for the changelog.
647
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.5.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.5.x.md) for the changelog.
648
648
649
649
### `TriBoolField`
650
650
@@ -658,7 +658,7 @@ This is a more declarative way to set up files than the older API of `RuleRunner
658
658
659
659
## 2.4
660
660
661
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.4.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.4.x.md) for the changelog.
661
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.4.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.4.x.md) for the changelog.
662
662
663
663
### `PexRequest` changes how entry point is set
664
664
@@ -674,11 +674,11 @@ For `RuleRunner` tests, you must now either set `env` or the new `env_inherit` a
674
674
675
675
## 2.3
676
676
677
-
There were no substantial changes to the Plugin API in 2.3. See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.3.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.3.x.md) for the changelog.
677
+
There were no substantial changes to the Plugin API in 2.3. See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.3.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.3.x.md) for the changelog.
678
678
679
679
## 2.2
680
680
681
-
See [https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.2.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.2.x.md) for the changelog.
681
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.2.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.2.x.md) for the changelog.
682
682
683
683
### `PrimitiveField` and `AsyncField` are removed (2.2.0.dev0)
684
684
@@ -710,15 +710,15 @@ Pants will now properly wrap strings and preserve newlines. You may want to run
710
710
711
711
## 2.1
712
712
713
-
See [https://github.com/pantsbuild/pants/blob/master/src/python/pants/notes/2.1.x.rst](https://github.com/pantsbuild/pants/blob/master/src/python/pants/notes/2.1.x.rst) for the changelog.
713
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.1.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.1.x.md) for the changelog.
714
714
715
715
### `SourcesSnapshot` is now `SpecsSnapshot` (2.1.0rc0)
716
716
717
717
The type was renamed for clarity. Still import it from `pants.engine.fs`.
718
718
719
719
## 2.0
720
720
721
-
See [https://github.com/pantsbuild/pants/blob/master/src/python/pants/notes/2.0.x.rst](https://github.com/pantsbuild/pants/blob/master/src/python/pants/notes/2.0.x.rst) for the changelog.
721
+
See [https://github.com/pantsbuild/pants/blob/main/docs/notes/2.0.x.md](https://github.com/pantsbuild/pants/blob/main/docs/notes/2.0.x.md) for the changelog.
722
722
723
723
### Use `TransitiveTargetsRequest` as input for resolving `TransitiveTargets` (2.0.0rc0)
0 commit comments