Skip to content

Commit dd56d4a

Browse files
committed
Cut 0.1.1
Version bump from 0.1.0 to 0.1.1. Zero extension behavior change — this is pure release hygiene bundling everything we've landed on master since 0.1.0 shipped. Why a new tag instead of moving 0.1.0 forward: the 0.1.0 tag points at commit 1fc6cd1, which predates composer.json existing in the repo root (that was added in 05f7c0f). Packagist reads the composer.json at the tagged commit to decide whether to index a tag — because 0.1.0's tree has only package.xml and pie.json but no composer.json, Packagist silently skipped it. That's why `pie install iliaal/mdparser` never resolved to 0.1.0: the tag looked invisible to Packagist's crawler. 0.1.1 is the first tag that has composer.json at the tagged commit, so Packagist will pick it up on the next webhook fire and `pie install iliaal/mdparser` will resolve to 0.1.1. The 0.1.0 GitHub release stays as-is with its 12 Windows DLL assets — it's a valid GitHub release, just not discoverable via Packagist. PIE users get 0.1.1; anyone who downloaded the 0.1.0 DLLs from the release page still has working binaries. Version strings bumped in: - php_mdparser.h: PHP_MDPARSER_VERSION - package.xml: <release> - CHANGELOG.md: new [0.1.1] section moved from [Unreleased] CHANGELOG [0.1.1] section documents everything landed since 0.1.0: composer.json, CONTRIBUTING, SECURITY, dependabot, badges, scripts/pie-smoke.sh, the PIE doc rewrite, and all five CI fixes (drop 8.2, 8.3 compat shim, .gitattributes, contents:write, SemVer tag trigger).
1 parent af493f5 commit dd56d4a

3 files changed

Lines changed: 43 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.1] - 2026-04-11
11+
12+
Release hygiene patch. Zero extension behavior change from 0.1.0 —
13+
all changes are around the release infrastructure. Cut as a new
14+
tag because 0.1.0 predates `composer.json` existing in the repo,
15+
so Packagist silently skipped the 0.1.0 tag and PIE couldn't
16+
resolve `iliaal/mdparser` without the `:@dev` constraint. 0.1.1 is
17+
the first tag that has `composer.json` at the tagged commit.
18+
1019
### Added
1120

1221
- Root-level `composer.json` with `type: "php-ext"` and a full
@@ -54,6 +63,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5463
`permissions: contents: write` block. The default `GITHUB_TOKEN` on
5564
new GitHub repos has read-only contents scope, which blocked
5665
`php-windows-builder/release@v1` from creating the GitHub release.
66+
- Dropped PHP 8.2 from the matrix. 8.2 lacks
67+
`zend_class_entry.default_object_handlers`, which `mdparser_parser.c`
68+
uses. `php_excel` already targets 8.3+; mdparser now matches.
69+
- Added a static-inline compat shim for
70+
`zend_register_internal_class_with_flags` (added in PHP 8.4) so
71+
gen_stub's emitted arginfo compiles cleanly on 8.3.
72+
- `.gitattributes` forcing LF on source files and `binary` on
73+
`tests/fixtures/commonmark-spec.txt` and every
74+
`tests/parity/**/fixtures/*` file so Windows runners don't
75+
autocrlf-convert the exact-byte comparison corpora.
76+
- Windows tag trigger widened from `['v*']` to
77+
`['[0-9]*.[0-9]*.[0-9]*', 'v[0-9]*.[0-9]*.[0-9]*']` so both bare
78+
SemVer and v-prefixed tags fire the release build.
79+
80+
[0.1.1]: https://github.com/iliaal/mdparser/releases/tag/0.1.1
5781

5882
## [0.1.0] - 2026-04-11
5983

@@ -107,5 +131,5 @@ First release. Native C CommonMark + GFM parser for PHP 8.3+.
107131
- No custom userland render hooks. Use `toAst()` if you need to walk
108132
the tree and emit custom output.
109133

110-
[Unreleased]: https://github.com/iliaal/mdparser/compare/0.1.0...HEAD
134+
[Unreleased]: https://github.com/iliaal/mdparser/compare/0.1.1...HEAD
111135
[0.1.0]: https://github.com/iliaal/mdparser/releases/tag/0.1.0

package.xml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Typical usage:
4242
</lead>
4343
<date>2026-04-11</date>
4444
<version>
45-
<release>0.1.0</release>
45+
<release>0.1.1</release>
4646
<api>0.1.0</api>
4747
</version>
4848
<stability>
@@ -51,11 +51,22 @@ Typical usage:
5151
</stability>
5252
<license uri="http://www.php.net/license/3_01.txt">PHP</license>
5353
<notes>
54-
Initial release.
55-
- MdParser\Parser with toHtml, toXml, toAst entry points
56-
- MdParser\Options (readonly) covering 17 cmark/GFM toggles
57-
- MdParser\Exception thrown on allocation or parser failure
58-
- Embedded cmark-gfm 0.29.0.gfm.13; no external runtime dependencies
54+
0.1.1 release hygiene. Zero extension behavior change from 0.1.0.
55+
56+
- Root composer.json with type: "php-ext" for canonical PIE resolution
57+
(replaces legacy pie.json). Fixes "pie install iliaal/mdparser" not
58+
finding the 0.1.0 tag on Packagist — the 0.1.0 tag pre-dated the
59+
composer.json and Packagist silently skipped it.
60+
- CONTRIBUTING.md, SECURITY.md, .github/dependabot.yml, README badges.
61+
- scripts/pie-smoke.sh for reproducible PIE verification.
62+
- CI fixes: drop PHP 8.2 (matches php_excel), compat shim for
63+
zend_register_internal_class_with_flags on 8.3, .gitattributes
64+
forcing LF on source and binary on fixtures, permissions: contents
65+
write on the release job, SemVer tag trigger matches bare numeric
66+
and v-prefixed forms.
67+
- docs/installation.md rewrite covering PIE's bison+libtool-bin
68+
requirement and the "post-tag-before-Packagist-crawl" fallback.
69+
- bench/ harness and parity baselines (pinned).
5970
</notes>
6071
<contents>
6172
<dir name="/">

php_mdparser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef PHP_MDPARSER_H
1515
#define PHP_MDPARSER_H
1616

17-
#define PHP_MDPARSER_VERSION "0.1.0"
17+
#define PHP_MDPARSER_VERSION "0.1.1"
1818

1919
extern zend_module_entry mdparser_module_entry;
2020
#define phpext_mdparser_ptr &mdparser_module_entry

0 commit comments

Comments
 (0)