You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using Morphos for many years in one project.
I thought it is using the semver convention.
But a minor version upgrade from 3.2.26 to 3.2.27 broke my project.
It removed morphos\Russian\NounPluralization::$consonants
and morphos\Russian\NounDeclension::getAllCases(), which both were public.
How do you recommend to use and upgrade Morphos?
Thank you,
Dumitru
The text was updated successfully, but these errors were encountered:
My question is more about the process of upgrading over time without breaking the depending project.
If this project is following semver, upgrading only the minor version should not break anything.
If this project is not following semver, then I'd pin it's version in my comopser.json and avoid updates.
@duzun thanks for attention at this problem.
Firstly, I try to release with semver, but only for public and documented (= listed in README-files) functions.
Both of them ($consonants and getAllCases) were members of trait RussianLanguage, used in all russian classes. Since 3.2.27 they became just classes, and there is not option to access them via any russian-language classes.
Secondly, both of them are proposed for internal usage. Unfortunately there is not package access mode (like in Java).
So, If you use any of functions documented in README's, so I do my best to guarantee semver for them. (If not, please point me). For any other functions, there's no guarantees.
Hi, I'm using Morphos for many years in one project.
I thought it is using the semver convention.
But a minor version upgrade from 3.2.26 to 3.2.27 broke my project.
It removed
morphos\Russian\NounPluralization::$consonants
and
morphos\Russian\NounDeclension::getAllCases()
, which both were public.How do you recommend to use and upgrade Morphos?
Thank you,
Dumitru
The text was updated successfully, but these errors were encountered: