Pkl

詳細情報

タイトル Pkl
URL https://pkl-lang.org/index.html
バージョン ver 0.27.1
更新日 2024/12/07
追加日 2024/02/06
種別 フリーソフト
説明 設定フォーマットを生成するためのプログラミング言語。

レビュー

Pklはコンフィグレーションフォーマット(設定フォーマット)を生成するためのプログラミング言語。

pklコマンドを利用し、Pkl形式のファイルから、JSON、YAML、プロパティ・リスト、その他の設定フォーマットを生成することができる。

Pkl形式の設定ファイルintro.pkl:

name = "Pkl: Configure your Systems in New Ways"
attendants = 100
isInteractive = true
amountLearned = 13.37

pklコマンドを使用してJSON形式の設定を生成:

$ pkl eval -f json /Users/me/tutorial/intro.pkl
{
  "name": "Pkl: Configure your Systems in New Ways",
  "attendants": 100,
  "isInteractive": true,
  "amountLearned": 13.37
}

設定ファイルを利用するツールやサービス、アプリケーションに組み込んで使用することも可能。JVMランタイム、Swift、Go言語用の設定ライブラリが提供されている。

スクリーンショット

更新グラフ

バージョン履歴

0.27.1
0.31.1
0.27.1
0.1.2
0.27.1
0.27.1
0.27.1 (2024-12-06)
Fixes
Fixes a broken "number literals" link in the 0.27 release notes (#784).
Fixes a possible deadlock during external reader process close (#786).
Fixes counting elements with computed indices multiple times in length computation of listings (#797).
Fixes non Pkl modules being reported in GatherImports task, leading to plugin failures (#821).
Fixes a problem where the delegate chain of type casts for Listing/Mapping get unreasonably big, even though the type nodes are the same, which may lead to a stack overflow or performance degradation (#826).
Fixes incorrect scoping of type variables in lazy Listing/Mapping type checking in cross-module typealiases (#789).
Fixes regression in type checking logic for Listing/Mapping (#789).
Contributors ❤️
Thank you to all the contributors for this release!
@GUI
@HT154
@odenix (formerly @translatenix)
Pkl Language Server
0.27 Release Notes
0.27.0
0.30.1
0.29.0
0.28.0-dev
0.27.0
0.3.0
pkl-lsp
0.1.1
0.18.1
0.27.0
0.28.0-dev
0.27.0
0.27.0 (2024-11-05)
Release notes
0.26.3
0.28.0
0.26.3
0.26.3
0.26.3
0.26.3 (2024-08-06)
Fixes
Fixes an issue where CLI argument --property foo="" is effectively parsed as --property foo="true". This is now parsed as an empty string (#596).
Fixes a regression where amending a globbed import or globbed read results in a PklBugException (#607).
Fixes an issue around using file() notation when using the pkl-gradle plugin on Windows (#611).
0.26.2
0.26.2
0.8.0
0.26.2
0.26.2
0.26.2 (2024-07-18)
Fixes
Fixes a possible race condition where multiple concurrent Pkl evaluations results in a thrown exception when downloading packages (#584).
0.26.1
0.27.0
0.26.1
0.26.1
0.26.1
0.26.1 (2024-06-28)
Fixes
Fixes a regression where native executables fail to run on some environments that don’t support newer CPU features (#551).
Fixes a PklBugException when passing . as a project directory to pkl project resolve and pkl project package (#544).
Changes
Disable revocation checking of TLS certificates (#553).
As part of HTTP improvements in 0.26, we unwittingly fixed a bug where Pkl does not actually perform cert revocation checks when making HTTPS requests.
This fix, unfortunately, caused a regression in some cases.
For example, this happens when connecting to a server that bears a public trust certificate, while in an environment with no internet access.
This is because the HTTP client needs to check the revocation status of all certificates in the chain.
Revocation checks are a nuanced topic with some benefits, and also with its own problem areas.
For this reason, revocation checking is disabled for Pkl’s native CLIs.
Users of Pkl’s Java APIs will respect the revocation settings set in the JVM.
Standard Library
0.26 Release Notes
0.26.0
0.27.0-dev
0.26.0
0.25.3
0.7.0
0.16.0
0.26.0
0.27.0-dev
0.26.0
0.25.3
0.26.0 (2024-06-17)
Release notes
Introduction
Use Cases
Concepts
Comparison
Installation
Tutorial
Basic Configuration
Filling out a Template
Writing a Template
Language Bindings
Java
Code Generator
pkl-core Library
pkl-config-java Library
Kotlin
Code Generator
pkl-config-kotlin Library
Swift
Go
(省略されました)
0.25.2
0.25.2
0.25.2
0.25.2
0.25.2 (2024-02-08)
Fixes
Fixes some issues with generated pkldoc websites (#70,
#81, #96)
Fixes an issue where a PklBugException produces an incorrect URL to file issues (#73)
Miscellaneous
Documentation fixes (#21, #29, #41, #44, #51, #57, #60, #64, #68, #74, #77, #78, #82, #84, #86, #89, #91, #104)
Build script improvements (#53, #83)
Contributors ❤️
Thank you to all the contributors for this release!
@uhooi
@mnin
@TinkoLiu
@shufanhao
@pfeilbr
(省略されました)
差分がありません