ravage84 / SwissPaymentSlipFpdf

A PHP class for creating Swiss Payment Slips in PDF format using FPDF
MIT License
12 stars 6 forks source link

Update composer.json #10

Closed mikemeier closed 6 years ago

mikemeier commented 7 years ago

When upgrading swiss-payment-slip/swiss-payment-slip-fpdf with composer, it will not upgrade dependencies, because of this line. please change and release new version. thanks for your effort on this library!

ravage84 commented 7 years ago

Would that really solve it?

For pre-1.0 versions it also acts with safety in mind and treats ^0.3 as >=0.3.0 <0.4.0.

https://getcomposer.org/doc/articles/versions.md#caret

I guess, I need to bump the dependency, like for the TCPDF variant:

https://github.com/ravage84/SwissPaymentSlipTcpdf/blob/0.13.1/composer.json#L18

mikemeier commented 7 years ago

You're right, I didnt know that composer threats 0.* versions different from SemVer... 😞 So I guess its like you said: Bump it like you did on Tcpdf or what I would suggest: Tag all your releases now with a Version 1.0.0 and use ^1.0.0 on all dependencies then.