mail-mime-parser icon indicating copy to clipboard operation
mail-mime-parser copied to clipboard

Support for newer versions of mb-wrapper and stream-decorators

Open phpfui opened this issue 1 year ago • 6 comments

I noticed you now have newer version of stream-decorators and mb-wrapper that only support PHP 8.0 and higher! Big YES here!

But mail-mime-parser is still requiring the older versions. Are the new versions compatible with the 2.4 version? If so, do you want a PR to update the composer.json?

I was just doing a composer outdated and noticed this.

phpfui avatar Mar 27 '24 15:03 phpfui

Hi @phpfui

I'm working on a v3 release that'll be updated soon to include them. There's a small change I mostly finished working on to support them because they now throw an exception for unsupported charsets. It's been a very busy period so progress has been slow, sorry to you and anyone waiting! It's super close now :)

Because they throw exceptions and require php8, I will not be including them in 2.4.

Thanks again :)

zbateson avatar Mar 27 '24 16:03 zbateson

Awesome! Let me know if you need any help or testing.

phpfui avatar Mar 27 '24 16:03 phpfui

Oh wow, yes, testing would be amazing. I'll do a beta release in a bit if you feel like playing around :)

zbateson avatar Mar 28 '24 16:03 zbateson

Yes, let me know.

phpfui avatar Mar 28 '24 17:03 phpfui

Well that was a bit longer than expected, sorry!

Finally got a beta out there. I put some basic notes in 3.0.0-beta but honestly I don't know how helpful they are.

I still need to:

  • write some more tests for HeaderParts
  • add tests for some missing new HeaderPart classes and consumer classes
  • write the upgrade documentation page

I'll add more to that list if something else comes up.

zbateson avatar Apr 15 '24 08:04 zbateson

I'll try this on a branch and see if I can set up a live server to test against. Will let you know of any issues, but might not be till next week.

phpfui avatar Apr 15 '24 14:04 phpfui