(Translated by https://www.hiragana.jp/)
Add release notes for 0.26 by bioball · Pull Request #529 · apple/pkl · GitHub
Skip to content
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

Merged
merged 7 commits into from
Jun 17, 2024
Merged

Conversation

bioball
Copy link
Contributor

@bioball bioball commented Jun 13, 2024

What the title says!

@bioball bioball force-pushed the release-notes-0.26.0 branch 6 times, most recently from 56ca690 to 3051a7b Compare June 14, 2024 04:45
<option value="http://xmlns.jcp.org/" />
</list>
</option>
</inspection_tool>
Copy link
Contributor Author

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

@bioball bioball force-pushed the release-notes-0.26.0 branch 2 times, most recently from 55aef06 to 72b4d23 Compare June 14, 2024 04:59
Copy link
Contributor

@holzensp holzensp left a 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.

docs/modules/release-notes/pages/0.26.adoc Show resolved Hide resolved
docs/modules/release-notes/pages/0.26.adoc Show resolved Hide resolved
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

Copy link
Contributor

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;

Suggested change
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.

Comment on lines 177 to 180

==== New property in `pkl.settings`

Module `pkl.settings` has new property `http: Http?`.
Copy link
Contributor

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;

Suggested change
==== New property in `pkl.settings`
Module `pkl.settings` has new property `http: Http?`.

Copy link
Contributor Author

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.

Comment on lines 182 to 189
==== 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.
Copy link
Contributor

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

Suggested change
==== 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`.

docs/modules/release-notes/pages/0.26.adoc Outdated Show resolved Hide resolved
+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.
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reworded this a bit

docs/modules/release-notes/pages/0.26.adoc Outdated Show resolved Hide resolved
@bioball bioball merged commit 00c2e00 into apple:main Jun 17, 2024
5 checks passed
@bioball bioball deleted the release-notes-0.26.0 branch June 17, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants