From 44fd680e438221198d64c9fd4fe0b48ce08d863f Mon Sep 17 00:00:00 2001 From: Dan Chao Date: Tue, 5 Nov 2024 10:14:13 -0800 Subject: [PATCH] Start next dev iteration --- docs/antora.yml | 4 +- .../ROOT/partials/component-attributes.adoc | 4 +- docs/modules/release-notes/pages/0.28.adoc | 51 +++++++++++++++++++ .../release-notes/pages/changelog.adoc | 5 ++ docs/modules/release-notes/pages/index.adoc | 1 + docs/nav.adoc | 1 + gradle.properties | 2 +- .../java/org/pkl/core/runtime/VmLanguage.java | 2 +- stdlib/Benchmark.pkl | 2 +- stdlib/DocPackageInfo.pkl | 2 +- stdlib/DocsiteInfo.pkl | 2 +- stdlib/EvaluatorSettings.pkl | 2 +- stdlib/Project.pkl | 2 +- stdlib/analyze.pkl | 2 +- stdlib/base.pkl | 2 +- stdlib/json.pkl | 2 +- stdlib/jsonnet.pkl | 2 +- stdlib/math.pkl | 2 +- stdlib/platform.pkl | 2 +- stdlib/protobuf.pkl | 2 +- stdlib/reflect.pkl | 2 +- stdlib/release.pkl | 2 +- stdlib/semver.pkl | 2 +- stdlib/settings.pkl | 2 +- stdlib/shell.pkl | 2 +- stdlib/test.pkl | 2 +- stdlib/xml.pkl | 2 +- stdlib/yaml.pkl | 2 +- 28 files changed, 84 insertions(+), 26 deletions(-) create mode 100644 docs/modules/release-notes/pages/0.28.adoc diff --git a/docs/antora.yml b/docs/antora.yml index 4608215f..a3e7ee1c 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,6 +1,6 @@ name: main title: Main Project -version: 0.27.0 -prerelease: false +version: 0.28.0-dev +prerelease: true nav: - nav.adoc diff --git a/docs/modules/ROOT/partials/component-attributes.adoc b/docs/modules/ROOT/partials/component-attributes.adoc index f14f4e0a..3caa47aa 100644 --- a/docs/modules/ROOT/partials/component-attributes.adoc +++ b/docs/modules/ROOT/partials/component-attributes.adoc @@ -3,10 +3,10 @@ // the following attributes must be updated immediately before a release // pkl version corresponding to current git commit without -dev suffix or git hash -:pkl-version-no-suffix: 0.27.0 +:pkl-version-no-suffix: 0.28.0 // tells whether pkl version corresponding to current git commit // is a release version (:is-release-version: '') or dev version (:!is-release-version:) -:is-release-version: '' +:!is-release-version: // the remaining attributes do not need to be updated regularly diff --git a/docs/modules/release-notes/pages/0.28.adoc b/docs/modules/release-notes/pages/0.28.adoc new file mode 100644 index 00000000..e41ecaf7 --- /dev/null +++ b/docs/modules/release-notes/pages/0.28.adoc @@ -0,0 +1,51 @@ += Pkl 0.XX Release Notes +:version: 0.XX +:version-minor: 0.XX.0 +:release-date: TBD + +link:ROOT:partial$component-attributes.adoc[role=include] + +Pkl {version} was released on {release-date}. + +[.small]#The latest bugfix release is {version-minor}. (xref:changelog.adoc[All Versions])# + +The next release (0.XX) is scheduled for ???.. + +Please send feedback and questions to https://github.com/apple/pkl/discussions[GitHub Discussions], or submit an issue on https://github.com/apple/pkl/issues/new[Github]. + + +[small]#Pkl is hosted on https://github.com/apple/pkl[GitHub]. +To get started, follow xref:pkl-cli:index.adoc#installation[Installation].# + +== Highlights [small]#💖# + +News you don't want to miss. + +=== XXX + +== Noteworthy [small]#🎶# + +Ready when you need them. + +=== XXX + +== Breaking Changes [small]#💔# + +Things to watch out for when upgrading. + +=== XXX + +== Miscellaneous [small]#🐸# + +* XXX + +== Bugs fixed [small]#🐜# + +XXX Bugs down, Inbox Zero in sight ... + +[smaller] +* XXX (https://github.com/apple/pkl/issues/new[XXX]) + +== Contributors [small]#🙏# + +We would like to thank the contributors to this release (in alphabetical order): + +* XXX diff --git a/docs/modules/release-notes/pages/changelog.adoc b/docs/modules/release-notes/pages/changelog.adoc index 5443c3c6..00844362 100644 --- a/docs/modules/release-notes/pages/changelog.adoc +++ b/docs/modules/release-notes/pages/changelog.adoc @@ -1,6 +1,11 @@ = Changelog include::ROOT:partial$component-attributes.adoc[] +[[release-0.28.0]] +== 0.28.0 (UNRELEASED) + +xref:0.28.adoc[Release notes] + [[release-0.27.0]] == 0.27.0 (2024-11-05) diff --git a/docs/modules/release-notes/pages/index.adoc b/docs/modules/release-notes/pages/index.adoc index cddeffa5..147e71c4 100644 --- a/docs/modules/release-notes/pages/index.adoc +++ b/docs/modules/release-notes/pages/index.adoc @@ -1,5 +1,6 @@ = Release Notes +* xref:0.28.adoc[0.28 Release Notes] * xref:0.27.adoc[0.27 Release Notes] * xref:0.26.adoc[0.26 Release Notes] * xref:0.25.adoc[0.25 Release Notes] diff --git a/docs/nav.adoc b/docs/nav.adoc index 48a40ce5..e35274ec 100644 --- a/docs/nav.adoc +++ b/docs/nav.adoc @@ -39,6 +39,7 @@ * xref:ROOT:examples.adoc[Examples] * xref:release-notes:index.adoc[Release Notes] +** xref:release-notes:0.28.adoc[0.28 Release Notes] ** xref:release-notes:0.27.adoc[0.27 Release Notes] ** xref:release-notes:0.26.adoc[0.26 Release Notes] ** xref:release-notes:0.25.adoc[0.25 Release Notes] diff --git a/gradle.properties b/gradle.properties index 0cb6bffb..9a5ccdc4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # suppress inspection "UnusedProperty" for whole file group=org.pkl-lang -version=0.27.0 +version=0.28.0 # google-java-format requires jdk.compiler exports org.gradle.jvmargs= \ diff --git a/pkl-core/src/main/java/org/pkl/core/runtime/VmLanguage.java b/pkl-core/src/main/java/org/pkl/core/runtime/VmLanguage.java index e5558edb..b735bbca 100644 --- a/pkl-core/src/main/java/org/pkl/core/runtime/VmLanguage.java +++ b/pkl-core/src/main/java/org/pkl/core/runtime/VmLanguage.java @@ -33,7 +33,7 @@ import org.pkl.core.util.Nullable; @TruffleLanguage.Registration( id = "pkl", name = "Pkl", - version = "0.27.0", + version = "0.28.0-dev", characterMimeTypes = VmLanguage.MIME_TYPE, contextPolicy = ContextPolicy.SHARED) public final class VmLanguage extends TruffleLanguage { diff --git a/stdlib/Benchmark.pkl b/stdlib/Benchmark.pkl index b9a10412..cf1ce958 100644 --- a/stdlib/Benchmark.pkl +++ b/stdlib/Benchmark.pkl @@ -36,7 +36,7 @@ /// /// Warning: Although this module is ready for initial use, /// benchmark results may be inaccurate or inconsistent. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.Benchmark import "pkl:platform" as _platform diff --git a/stdlib/DocPackageInfo.pkl b/stdlib/DocPackageInfo.pkl index 68a210d9..7cea9d22 100644 --- a/stdlib/DocPackageInfo.pkl +++ b/stdlib/DocPackageInfo.pkl @@ -63,7 +63,7 @@ /// @Deprecated { message = "Use `com.example.Birds.Parrot` instead" } /// amends "pkl:PackageInfo" /// ``` -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.DocPackageInfo import "pkl:reflect" diff --git a/stdlib/DocsiteInfo.pkl b/stdlib/DocsiteInfo.pkl index 45053670..e643e88a 100644 --- a/stdlib/DocsiteInfo.pkl +++ b/stdlib/DocsiteInfo.pkl @@ -31,7 +31,7 @@ /// /// title = "Title displayed in the header of each page" /// ``` -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.DocsiteInfo import "pkl:reflect" diff --git a/stdlib/EvaluatorSettings.pkl b/stdlib/EvaluatorSettings.pkl index ac37515b..f8c29e7e 100644 --- a/stdlib/EvaluatorSettings.pkl +++ b/stdlib/EvaluatorSettings.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// Common settings for Pkl's own evaluator. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } @Since { version = "0.26.0" } module pkl.EvaluatorSettings diff --git a/stdlib/Project.pkl b/stdlib/Project.pkl index 063ed40b..7713e2d2 100644 --- a/stdlib/Project.pkl +++ b/stdlib/Project.pkl @@ -64,7 +64,7 @@ /// value = project /// } /// ``` -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.Project import "pkl:EvaluatorSettings" as EvaluatorSettingsModule diff --git a/stdlib/analyze.pkl b/stdlib/analyze.pkl index c74d0424..8cbe3f84 100644 --- a/stdlib/analyze.pkl +++ b/stdlib/analyze.pkl @@ -19,7 +19,7 @@ /// These tools differentiate from [pkl:reflect][reflect] in that they parse Pkl modules, but do not /// execute any code within these modules. @Since { version = "0.27.0" } -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.analyze // used by doc comments diff --git a/stdlib/base.pkl b/stdlib/base.pkl index 5dca25b0..63e232a6 100644 --- a/stdlib/base.pkl +++ b/stdlib/base.pkl @@ -17,7 +17,7 @@ /// Fundamental properties, methods, and classes for writing Pkl programs. /// /// Members of this module are automatically available in every Pkl module. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.base import "pkl:jsonnet" diff --git a/stdlib/json.pkl b/stdlib/json.pkl index 79aa5e8c..fabe331b 100644 --- a/stdlib/json.pkl +++ b/stdlib/json.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// A JSON parser. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.json /// A JSON parser. diff --git a/stdlib/jsonnet.pkl b/stdlib/jsonnet.pkl index 74189ea3..8a23a115 100644 --- a/stdlib/jsonnet.pkl +++ b/stdlib/jsonnet.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// A [Jsonnet](https://jsonnet.org) renderer. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.jsonnet /// Constructs an [ImportStr]. diff --git a/stdlib/math.pkl b/stdlib/math.pkl index 41b591f4..dfdeb42f 100644 --- a/stdlib/math.pkl +++ b/stdlib/math.pkl @@ -18,7 +18,7 @@ /// /// Note that some mathematical functions, such as `sign()`, `abs()`, and `round()`, /// are directly defined in classes [Number], [Int], and [Float]. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.math /// The minimum [Int] value: `-9223372036854775808`. diff --git a/stdlib/platform.pkl b/stdlib/platform.pkl index b5f0b5ae..113bd5b6 100644 --- a/stdlib/platform.pkl +++ b/stdlib/platform.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// Information about the platform that the current program runs on. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.platform /// The platform that the current program runs on. diff --git a/stdlib/protobuf.pkl b/stdlib/protobuf.pkl index ec9388b4..c4bf8848 100644 --- a/stdlib/protobuf.pkl +++ b/stdlib/protobuf.pkl @@ -16,7 +16,7 @@ /// A renderer for [Protocol Buffers](https://developers.google.com/protocol-buffers). /// Note: This module is _experimental_ and not ready for production use. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.protobuf import "pkl:reflect" diff --git a/stdlib/reflect.pkl b/stdlib/reflect.pkl index c430e06b..5ba6924e 100644 --- a/stdlib/reflect.pkl +++ b/stdlib/reflect.pkl @@ -26,7 +26,7 @@ /// - Documentation generators (such as *Pkldoc*) /// - Code generators (such as *pkl-codegen-java* and *pkl-codegen-kotlin*) /// - Domain-specific schema validators -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.reflect import "pkl:base" diff --git a/stdlib/release.pkl b/stdlib/release.pkl index dacc4db6..f2d3253d 100644 --- a/stdlib/release.pkl +++ b/stdlib/release.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// Information about the Pkl release that the current program runs on. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.release import "pkl:semver" diff --git a/stdlib/semver.pkl b/stdlib/semver.pkl index 16dafe14..2f0ce9c0 100644 --- a/stdlib/semver.pkl +++ b/stdlib/semver.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// Parsing, comparison, and manipulation of [semantic version](https://semver.org/spec/v2.0.0.html) numbers. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.semver /// Tells whether [version] is a valid semantic version number. diff --git a/stdlib/settings.pkl b/stdlib/settings.pkl index 4902e423..402bd227 100644 --- a/stdlib/settings.pkl +++ b/stdlib/settings.pkl @@ -19,7 +19,7 @@ /// Every settings file must amend this module. /// Unless CLI commands and build tool plugins are explicitly configured with a settings file, /// they will use `~/.pkl/settings.pkl` or the defaults specified in this module. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.settings import "pkl:EvaluatorSettings" diff --git a/stdlib/shell.pkl b/stdlib/shell.pkl index 8f3bc9a5..eb05cf3d 100644 --- a/stdlib/shell.pkl +++ b/stdlib/shell.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// Utilities for generating shell scripts. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.shell /// Escapes [str] by enclosing it in single quotes. diff --git a/stdlib/test.pkl b/stdlib/test.pkl index 9da864c3..21f99d9b 100644 --- a/stdlib/test.pkl +++ b/stdlib/test.pkl @@ -18,7 +18,7 @@ /// /// To write tests, amend this module and define [facts] or [examples] (or both). /// To run tests, evaluate the amended module. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } open module pkl.test /// Named groups of boolean expressions that are expected to evaluate to [true]. diff --git a/stdlib/xml.pkl b/stdlib/xml.pkl index 51c25102..01886262 100644 --- a/stdlib/xml.pkl +++ b/stdlib/xml.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// An XML renderer. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.xml /// Renders values as XML. diff --git a/stdlib/yaml.pkl b/stdlib/yaml.pkl index 1613a161..e019cfd6 100644 --- a/stdlib/yaml.pkl +++ b/stdlib/yaml.pkl @@ -15,7 +15,7 @@ //===----------------------------------------------------------------------===// /// A YAML 1.2 compliant YAML parser. -@ModuleInfo { minPklVersion = "0.27.0" } +@ModuleInfo { minPklVersion = "0.28.0" } module pkl.yaml /// A YAML parser.