-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Merge 1.8.x-beta
into master
#881
Conversation
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations. See: - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types) - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
enable GitHub Actions and drop support for PHP < 7.1
fix GitHub Actions config file syntax
[PHP 8.4] Fixes for implicit nullability deprecation
add a branch alias to allow installing untagged 1.8 versions
@xabbuh do you have any thoughts on this? |
I think it would be a good idea as 1.8 seems stable as improve common mark support a lot. It also fixes a lot of issues with GFM. And for extensions there is little to no work for adding support for the changes |
@erusev sounds reasonable to me |
If we merge |
I believe it can be removed, yes. |
@xabbuh do you have any thoughts on this? |
One thing, which is changed by this merge in addition to the changes which are in the 1.8.x branch, is that the tests are not compatible with php 7.1 (phpunit version 7.5). But in my opinion this is fine, as this version is already eol for some time now (December 2019): https://www.php.net/eol.php Maybe this php version should be dropped as well for the 1.8.0 release. |
PHPUnit 7 specifies PHP 7.1 - PHP 7.3 support, is that not the case? The github action does have 7.1 in the test matrix, but it didn't run on this PR. Does seem to work here though: https://github.com/xPaw/parsedown/actions/runs/10592900295/job/29353218280 |
@xPaw ah yes, sorry for the confusion. I was thinking about it the other way around, i.e. see the following commment: But if you add the |
This looks reasonable to me. 👍 |
Should we also release |
I've been running that code in production for a while. |
What should the release notes for |
Can't you use the one from the draft #601 ? you could easily make it something like this from that list: New Features
Bug FixesThis release addresses multiple issues, improving parsing accuracy and compliance with CommonMark:
|
It's great to see Parsedown getting some attention again, thanks guys. I'm not sure if you are aware, but a few years ago @aidantwoods posted this: #714 (comment)
EDIT: details of the actual breakage are in #601 (comment), not in the post originally referenced in the above quote. I personally don't use extensions so I'm fine with the potential BC break, but you might want to at least mention that in the 1.8 release notes. Maybe @aidantwoods will care to comment. |
Valid point, maybe we should consider changing the version number to 2.0.0 as this would follow semantic version. Then the current branch for 2.0 would have to change to 3.0 |
@aidantwoods Would love to get your thoughts on this. |
Looks like initially @aidantwoods wanted to release this as 1.8:
But then he decided against it:
I'm open to releasing it as |
If you want to play it safe, release it as 2.0... |
PHP 8.4 says:
Can you update, pls? |
@Evgeny1973 with which version of this package do you get it? |
@xabbuh Parsedown 1.7.4 and Symfony 7.1. |
Sorry, as I see fixes of these deprecations to the master branch have already been made. Looking forward to the release! |
The changes are minimal, master already had all the code changes from 1.8 branch, so this simply adds github actions and bumps up the php version.
@erusev mind taking a look so that there's less confusion about master and the 1.8 branch?