Sourced from mkdocs-material's changelog.
mkdocs-material-9.0.12+insiders-4.30.1 (2023-02-12)
- Fixed privacy plugin not handling static templates e.g. 404.html
mkdocs-material-9.0.12 (2023-02-09)
- Updated Catalan translations
- Fixed #4975: Mermaid entity relationship rendering diagrams bug
- Fixed #4924: Header title not reset when using instant loading
mkdocs-material-9.0.11+insiders-4.30.0 (2023-02-06)
- Rewrite of privacy plugin for concurrency, now twice as fast
- Added support for explicit inclusion for privacy plugin
- Added optimization support for privacy plugin (+ optimize plugin)
mkdocs-material-9.0.11 (2023-02-03)
- Added Mastodon verification for social links (rel=me)
- Updated Italian translations
mkdocs-material-9.0.10 (2023-02-02)
- Updated Arabic translations
- Updated Korean translations
- Updated Hungarian translations
- Updated Russian translations
- Fixed #4977: Improved accessibility for content tabs
- Fixed #4960: Sometimes anchor following doesn't bring last item into view
mkdocs-material-9.0.9 (2023-01-30)
- Updated Bulgarian translations
- Updated Chinese (Simplified) translations
- Updated Dutch translations
- Updated Hindi translations
- Updated Japanese translations
- Updated Polish translations
mkdocs-material-9.0.8 (2023-01-29)
- Updated Croatian translations
- Updated French translations
- Updated Hungarian translations
- Updated Portuguese (Brasilian) translations
- Updated Spanish translations
- Updated Ukrainian translations
- Updated Urdu translations
- Updated Vietnamese translations
... (truncated)
5e438cc
Prepare 9.0.12 release3a62681
Merge branch 'master' of github.com:squidfunk/mkdocs-materialff99e19
Fixed header title not reset on missing headline when using instant loading803320f
Merge pull request #5020 from squidfunk/contributing/index58d49fa
Updated index page48e8b2b
Updated Catalan translationsf759841
Fixed attribute styles in entity-relationship diagrams2e689f0
Updated issue templatef60fa20
Merge pull request #5003 from squidfunk/issue/bug-report-update83468bc
Updated links in bug reportSourced from golang.org/x/tools's releases.
gopls/v0.6.0
Features
Default to
-mod=readonly
In Go 1.16, the Go command will no longer modify user's
go.mod
andgo.sum
files automatically (https://tip.golang.org/doc/go1.16#tools). In order to match this behavior,gopls
now also uses-mod=readonly
when running thego
command. Any errors reported by thego
command will be presented with a suggested fix to make the necessary fixes to yourgo.mod
orgo.sum
files. As a consequence, your workspace may be in a partially broken state while you have errors in yourgo.mod
orgo.sum
file. golang/go#42266 will mitigate this, but it will likely not be resolved until February.Not recommended: If you must opt out of this behavior, you can set the
allowModfileModifications
configuration totrue
.Default to
GOPROXY=off
gopls
no longer accesses the network implicitly. This should improve latency in all cases, but it also means thatgopls
will no longer automatically download modules that are not found in your local module cache. The one exception is thatgopls
will still download dependencies on start-up, so it will continue to work as expected if you have cloned a repository for the first time. Ifgopls
detects a missing module, it will offer you a suggested fix that downloads it.Not recommended: If you must opt out of this behavior, you can set the
allowImplicitNetworkaccess
configuration totrue
.Inclusion/exclusion filters for directories
gopls
now supports excluding certain directories in your workspace from analysis. This may be useful if you are only working on a subset of a large repository. Note that these filters are not propagated to thego
command, sogopls
will still load metadata for these directories, which may be expensive. Configure the included/excluded directories through thedirectoryFilters
setting.Debouncing for diagnostics
Diagnostics are now reported instantly only for the packages currently being edited. Diagnostics for other packages in the workspace will now only be computed after 250 milliseconds, meaning that, if you are actively typing,
gopls
will not start these more costly operations. This should significantly reduce CPU utilization. This debounce delay can be optionally configured via theexperimentalDiagnosticsDelay
setting."Upgrade direct dependencies" code lens
In
gopls/v0.5.4
, we removed the per-require "Upgrade dependency" code lens, as it was very high latency, and its UX did not meet user needs. Some users have expressed disappointment about this, so, to bridge the gap, we have separated the existing "Upgrade all dependencies" code lens into two: "Upgrade transitive dependencies" and "Upgrade direct dependencies". The first is the equivalent of runninggo get -u all
, while the secondgo get
s each of your module's requires independently. We are continuing to work on improving these features and will likely bring back the "Upgrade dependency" code lens as a suggested fix (learn more: golang/go#38339).Support for filling a partially-populated struct
The "Fill struct" suggested fix will now be suggested for structs that have some, but not all, fields set.
Experimental
Field alignment analyzer
A new analyzer has been added to suggest reordering fields in a struct in order to achieve the optimal alignment in memory. It is still off by default, but can be enabled by adding the following to your
gopls
settings:"analyses": { "fieldalignment": true }
Fixes
Improvements to diagnostics tracking
Diagnostic messages were not being updated correctly when the
GC details
code lens was toggled on. New handling to differentiate diagnostics by sources should have resolved this issue.
... (truncated)
d0863f0
go.mod: update golang.org/x dependencies545ca87
gopls/internal/regtest/marker: require go/packages1ace7db
go,gopls: remove license from package doc commentsebad375
gopls/internal/lsp/protocol: prevent license rendering in godoc10a39ef
gopls/internal/lsp/regtest: address additional comments on marker.go69920f2
gopls/internal/regtest/marker: add missing tests for hover24a13c6
gopls/internal/regtest: fill out features of the new marker tests2b149ce
gopls/internal/regtest: add a regtest-based version of the marker testsedddc5f
go/packages: don't discard errors loading export dataa762c82
go/ssa: add MultiConvert instructionSourced from golang.org/x/tools's releases.
gopls/v0.6.0
Features
Default to
-mod=readonly
In Go 1.16, the Go command will no longer modify user's
go.mod
andgo.sum
files automatically (https://tip.golang.org/doc/go1.16#tools). In order to match this behavior,gopls
now also uses-mod=readonly
when running thego
command. Any errors reported by thego
command will be presented with a suggested fix to make the necessary fixes to yourgo.mod
orgo.sum
files. As a consequence, your workspace may be in a partially broken state while you have errors in yourgo.mod
orgo.sum
file. golang/go#42266 will mitigate this, but it will likely not be resolved until February.Not recommended: If you must opt out of this behavior, you can set the
allowModfileModifications
configuration totrue
.Default to
GOPROXY=off
gopls
no longer accesses the network implicitly. This should improve latency in all cases, but it also means thatgopls
will no longer automatically download modules that are not found in your local module cache. The one exception is thatgopls
will still download dependencies on start-up, so it will continue to work as expected if you have cloned a repository for the first time. Ifgopls
detects a missing module, it will offer you a suggested fix that downloads it.Not recommended: If you must opt out of this behavior, you can set the
allowImplicitNetworkaccess
configuration totrue
.Inclusion/exclusion filters for directories
gopls
now supports excluding certain directories in your workspace from analysis. This may be useful if you are only working on a subset of a large repository. Note that these filters are not propagated to thego
command, sogopls
will still load metadata for these directories, which may be expensive. Configure the included/excluded directories through thedirectoryFilters
setting.Debouncing for diagnostics
Diagnostics are now reported instantly only for the packages currently being edited. Diagnostics for other packages in the workspace will now only be computed after 250 milliseconds, meaning that, if you are actively typing,
gopls
will not start these more costly operations. This should significantly reduce CPU utilization. This debounce delay can be optionally configured via theexperimentalDiagnosticsDelay
setting."Upgrade direct dependencies" code lens
In
gopls/v0.5.4
, we removed the per-require "Upgrade dependency" code lens, as it was very high latency, and its UX did not meet user needs. Some users have expressed disappointment about this, so, to bridge the gap, we have separated the existing "Upgrade all dependencies" code lens into two: "Upgrade transitive dependencies" and "Upgrade direct dependencies". The first is the equivalent of runninggo get -u all
, while the secondgo get
s each of your module's requires independently. We are continuing to work on improving these features and will likely bring back the "Upgrade dependency" code lens as a suggested fix (learn more: golang/go#38339).Support for filling a partially-populated struct
The "Fill struct" suggested fix will now be suggested for structs that have some, but not all, fields set.
Experimental
Field alignment analyzer
A new analyzer has been added to suggest reordering fields in a struct in order to achieve the optimal alignment in memory. It is still off by default, but can be enabled by adding the following to your
gopls
settings:"analyses": { "fieldalignment": true }
Fixes
Improvements to diagnostics tracking
Diagnostic messages were not being updated correctly when the
GC details
code lens was toggled on. New handling to differentiate diagnostics by sources should have resolved this issue.
... (truncated)
d0863f0
go.mod: update golang.org/x dependencies545ca87
gopls/internal/regtest/marker: require go/packages1ace7db
go,gopls: remove license from package doc commentsebad375
gopls/internal/lsp/protocol: prevent license rendering in godoc10a39ef
gopls/internal/lsp/regtest: address additional comments on marker.go69920f2
gopls/internal/regtest/marker: add missing tests for hover24a13c6
gopls/internal/regtest: fill out features of the new marker tests2b149ce
gopls/internal/regtest: add a regtest-based version of the marker testsedddc5f
go/packages: don't discard errors loading export dataa762c82
go/ssa: add MultiConvert instructionSourced from black's releases.
23.1.0
Highlights
This is the first release of 2023, and following our stability policy, it comes with a number of improvements to our stable style, notably improvements to empty line handling and the removal of redundant parentheses in several contexts.
There are also many changes to the preview style; try out
black --preview
and give us feedback to help us set the stable style for next year.In addition to style changes, Black now automatically infers the supported Python versions from your
pyproject.toml
file, removing the need to set Black's target versions separately.Stable style
- Introduce the 2023 stable style, which incorporates most aspects of last year's preview style (#3418). Specific changes:
- Enforce empty lines before classes and functions with sticky leading comments (#3302) (22.12.0)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348) (22.12.0)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370) (22.12.0)
--skip-string-normalization
/-S
now prevents docstring prefixes from being normalized as expected (#3168) (since 22.8.0)- When using
--skip-magic-trailing-comma
or-C
, trailing commas are stripped from subscript expressions with more than 1 element (#3209) (22.8.0)- Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (#3227) (22.8.0)
- Docstring quotes are no longer moved if it would violate the line length limit (#3044, #3430) (22.6.0)
- Parentheses around return annotations are now managed (#2990) (22.6.0)
- Remove unnecessary parentheses around awaited objects (#2991) (22.6.0)
- Remove unnecessary parentheses in
with
statements (#2926) (22.6.0)- Remove trailing newlines after code block open (#3035) (22.6.0)
- Code cell separators
#%%
are now standardised to# %%
(#2919) (22.3.0)- Remove unnecessary parentheses from
except
statements (#2939) (22.3.0)- Remove unnecessary parentheses from tuple unpacking in
for
loops (#2945) (22.3.0)- Avoid magic-trailing-comma in single-element subscripts (#2942) (22.3.0)
- Fix a crash when a colon line is marked between
# fmt: off
and# fmt: on
(#3439)Preview style
- Format hex codes in unicode escape sequences in string literals (#2916)
- Add parentheses around
if
-else
expressions (#2278)- Improve performance on large expressions that contain many strings (#3467)
- Fix a crash in preview style with assert + parenthesized string (#3415)
- Fix crashes in preview style with walrus operators used in function return annotations and except clauses (#3423)
- Fix a crash in preview advanced string processing where mixed implicitly concatenated regular and f-strings start with an empty span (#3463)
- Fix a crash in preview advanced string processing where a standalone comment is placed before a dict's value (#3469)
- Fix an issue where extra empty lines are added when a decorator has
# fmt: skip
applied or there is a standalone comment between decorators (#3470)- Do not put the closing quotes in a docstring on a separate line, even if the line is too long (#3430)
- Long values in dict literals are now wrapped in parentheses; correspondingly unnecessary parentheses around short values in dict literals are now removed; long string lambda values are now wrapped in parentheses (#3440)
- Fix two crashes in preview style involving edge cases with docstrings (#3451)
- Exclude string type annotations from improved string processing; fix crash when the return type annotation is stringified and spans across multiple lines (#3462)
- Wrap multiple context managers in parentheses when targeting Python 3.9+ (#3489)
- Fix several crashes in preview style with walrus operators used in
with
statements or tuples (#3473)- Fix an invalid quote escaping bug in f-string expressions where it produced invalid code. Implicitly concatenated f-strings with different quotes can now be merged or quote-normalized by changing the quotes used in expressions. (#3509)
... (truncated)
Sourced from black's changelog.
23.1.0
Highlights
This is the first release of 2023, and following our stability policy, it comes with a number of improvements to our stable style, including improvements to empty line handling, removal of redundant parentheses in several contexts, and output that highlights implicitly concatenated strings better.
There are also many changes to the preview style; try out
black --preview
and give us feedback to help us set the stable style for next year.In addition to style changes, Black now automatically infers the supported Python versions from your
pyproject.toml
file, removing the need to set Black's target versions separately.Stable style
- Introduce the 2023 stable style, which incorporates most aspects of last year's preview style (#3418). Specific changes:
- Enforce empty lines before classes and functions with sticky leading comments (#3302) (22.12.0)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348) (22.12.0)
- Implicitly concatenated strings used as function args are now wrapped inside parentheses (#3307) (22.12.0)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370) (22.12.0)
--skip-string-normalization
/-S
now prevents docstring prefixes from being normalized as expected (#3168) (since 22.8.0)- When using
--skip-magic-trailing-comma
or-C
, trailing commas are stripped from subscript expressions with more than 1 element (#3209) (22.8.0)- Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside parentheses (#3162) (22.8.0)
- Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (#3227) (22.8.0)
- Docstring quotes are no longer moved if it would violate the line length limit (#3044, #3430) (22.6.0)
- Parentheses around return annotations are now managed (#2990) (22.6.0)
- Remove unnecessary parentheses around awaited objects (#2991) (22.6.0)
- Remove unnecessary parentheses in
with
statements (#2926) (22.6.0)- Remove trailing newlines after code block open (#3035) (22.6.0)
- Code cell separators
#%%
are now standardised to# %%
(#2919) (22.3.0)- Remove unnecessary parentheses from
except
statements (#2939) (22.3.0)- Remove unnecessary parentheses from tuple unpacking in
for
loops (#2945) (22.3.0)- Avoid magic-trailing-comma in single-element subscripts (#2942) (22.3.0)
... (truncated)
b0d1fba
Prepare release 23.1.0 (#3536)69ca0a4
Infer target version based on project metadata (#3219)c4bd2e3
Draft for Black 2023 stable style (#3418)226cbf0
Fix unsafe cast in linegen.py w/ await yield handling (#3533)f4ebc68
Upgrade isort (#3534)6407ebb
Remove Python version in the_basics.md (#3528)196b1f3
Fix black --help
output for --python-cell-magics
option to be reproducibl...d950f15
Update document now that paren wrapping CMs on Python 3.9+ is implemented (#3...a36878e
Fix an invalid quote escaping bug in f-string expressions (#3509)eabff67
Format hex code in unicode escape sequences in string literals (#2916)bc18017
Promote 1.0.0+dev to 1.0.0 (#14594)c2876bf
[1.0 backport] [used before def] add documentation (#14592) (#14597)8ef98cc
Various documentation and error message tweaks (#14574)9aa1776
Improve Generics docs page (#14587)cb2ec3d
Improve protocols documentation (#14577)2cfc46c
Improve the Common Issues page (#14581)7cf1391
Make a top-level TypedDict page (#14584)dd2c9a6
Improve some dynamic typing docs (#14576)a6dce84
Upgrade to tox v4 (#14579)eb2e02d
Fix passenv for tox 4 (#14578)