Skip to content

Prepare 1.0 release#25

Draft
dereuromark wants to merge 7 commits into
masterfrom
v1
Draft

Prepare 1.0 release#25
dereuromark wants to merge 7 commits into
masterfrom
v1

Conversation

@dereuromark

Copy link
Copy Markdown
Contributor

Summary

Prepare the 1.0 release branch by making encoder output default to TOML 1.0-compatible behavior while keeping parsing/decoding on the current TOML 1.1-compatible default.

This makes generated TOML more interoperable by default. Callers that want TOML 1.1 output can opt in with EncoderOptions(version: TomlVersion::V11).

This is intentionally draft because it is a behavior-breaking default change and should collect release-readiness feedback before tagging 1.0.0.

Notes

  • This PR should stay separate from non-breaking fixes targeting master.
  • PR Fix strict TOML 1.0 inline table values #24 contains the separate strict TOML 1.0 parser conformance fix for master.
  • Before finalizing 1.0, rebase or update this branch after accepted master fixes land.

Verification performed locally

  • composer cs-fix
  • composer test
  • composer stan
  • composer cs-check

* Support PHP 8.1 on v1

* Keep PHPUnit config compatible with PHPUnit 10
@dereuromark dereuromark changed the title Prepare 1.0 release defaults Prepare 1.0 release May 30, 2026
# Conflicts:
#	src/Encoder/Encoder.php
#	src/Encoder/EncoderOptions.php
# Conflicts:
#	docs/reference/support-matrix.md
#	src/Encoder/EncoderOptions.php
#	src/Parser/ParseError.php
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.

1 participant