-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add release notes for 0.26 #529
Conversation
56ca690
to
3051a7b
Compare
<option value="http://xmlns.jcp.org/" /> | ||
</list> | ||
</option> | ||
</inspection_tool> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intentional; added this in order to suppress a warning in pkl:EvaluatorSettings
55aef06
to
72b4d23
Compare
72b4d23
to
48a2d7e
Compare
eb47a6f
to
14ef858
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No blockers, but a few nits.
1. xref:pkl-cli:index.adoc#settings-file[Settings file] | ||
2. xref:language-reference:index.adoc#projects[PklProject file] | ||
3. `--http-proxy` and `--http-no-proxy` CLI flags | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The below point about the additions of http
to pkl.settings
is a bit isolated. I think this is the better context to put it;
This means that module `pkl.settings` now has a new property `http: Http?`, where users can configure their machine's HTTP(S) proxy settings for Pkl. | |
|
||
==== New property in `pkl.settings` | ||
|
||
Module `pkl.settings` has new property `http: Http?`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: part of suggestion above to move this into HTTP(S) proxy description;
==== New property in `pkl.settings` | |
Module `pkl.settings` has new property `http: Http?`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section is meant to list all the changes made to the stdlib, so this doens't really seem out of place to me. But to help with the disjointed-ness, I'll add a section to this to link to the HTTP proxy section in the noteworthy. Also, changed this to bullet points instead of sub-sections.
==== New module: `pkl.EvaluatorSettings` | ||
|
||
A new standard library module link:https://pkl-lang.org/package-docs/pkl/current/EvaluatorSettings.html[`pkl.EvaluatorSettings`] is added. | ||
This module can be considered as having moved class https://pkl-lang.org/package-docs/pkl/0.25.3/Project/EvaluatorSettings.html[`pkl.Project.EvaluatorSettings`]. | ||
|
||
==== class `EvaluatorSettings` in `pkl.Project` changed to typealias | ||
|
||
`EvaluatorSettings` within module `pkl.Project` is now a typealias for module class `pkl.EvaluatorSettings`, and is deprecated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This, I'd keep here, but the descriptions under Noteworthy
are all quite structural, rather than related to their purpose. I'd combine these
==== New module: `pkl.EvaluatorSettings` | |
A new standard library module link:https://pkl-lang.org/package-docs/pkl/current/EvaluatorSettings.html[`pkl.EvaluatorSettings`] is added. | |
This module can be considered as having moved class https://pkl-lang.org/package-docs/pkl/0.25.3/Project/EvaluatorSettings.html[`pkl.Project.EvaluatorSettings`]. | |
==== class `EvaluatorSettings` in `pkl.Project` changed to typealias | |
`EvaluatorSettings` within module `pkl.Project` is now a typealias for module class `pkl.EvaluatorSettings`, and is deprecated. | |
==== `EvaluatorSettings` moved to its own module. | |
A new standard library module link:https://pkl-lang.org/package-docs/pkl/current/EvaluatorSettings.html[`pkl.EvaluatorSettings`] is added. | |
This module can be considered as having moved class https://pkl-lang.org/package-docs/pkl/0.25.3/Project/EvaluatorSettings.html[`pkl.Project.EvaluatorSettings`]. | |
For backwards compatibility, `pkl.Project` now has a `typealias EvaluatorSettings` pointing to the new module, but it is marked `@Deprecated`. |
+const isValid = true | ||
---- | ||
|
||
If the property can't be marked as `const` (maybe because it is amended somewhere downstream), another fix is to self-import the enclosing module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems worth a warning that downstream breakage is likely, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reworded this a bit
Co-authored-by: Philip K.F. Hölzenspies <holzensp@gmail.com>
What the title says!