Closed (fixed)
Project:
Entity Browser Enhance(d|r)
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2023 at 14:10 UTC
Updated:
27 Oct 2023 at 15:34 UTC
Jump to comment: Most recent
Comments
Comment #2
generalredneckComment #3
generalredneckSo looking into it... The change was made between 1.2 and 1.3 here: https://git.drupalcode.org/project/entity_browser_enhanced/-/commit/6258...
I think someone got confused between what the tilde
~and the carat^For one... based on that change up until that point, the dependency criteria was TECHINCALLY different but functioned the same because of the way it was written. composer.json contained
"drupal/core": "~8.0 || ~9.0 || ~10.0",and entity_browser_enhanced.info.yml containedcore_version_requirement: ^8 || ^9 || ^10I think this lead someone to believe that ^ and ~ were the same. Let me see if I can explain.
~is the magic operator here. If you write~10.0that means >=10.0 <11.0.0. If you write~10.0.0that means >=10.0.0 <10.1.0. Another way of looking at it is that using~specifies a minimum version, but allows the last digit specified to go up.^on the other hand sticks to non-breaking changes by allowing all versions to upgrade except major versions... So in that example^10.0.0and^10.0are equivalent. This is the case for all versions greater than 1.0.0. Check out https://getcomposer.org/doc/articles/versions.md#next-significant-releas...So I'm going to make a MR with the changes.
Comment #5
rajab natshahAgrees, with you Allan.
Changing it to
"^9 || ^10"Only trying to push teams to use
~10.1.0and later.Maybe not everyone is ready for:
Also Drupal ~10.0.0 went out of support
Not even listed in the Drupal core release cycle
It feels that, not everyone is ready to jump to
~10.1.0with all of that:
Switching to
^9 || ^10Comment #7
generalredneckOn the contrary, it is mentioned in the 10.2.0 development cycle:
https://www.drupal.org/about/core/policies/core-release-cycles/schedule#...
Again, you say
I think you mean ^10.1.0 in that statement. because ~10.1.0 is == 10.1.* and would not support later versions of drupal.
Comment #8
rajab natshahYes, Allan
I treated this module as part of the Varbase Media ecosystem and development team rules.
That was wrong.
You are right, public used contrib modules should allow for more flexibility.
looking at the best.
https://www.drupal.org/project/webform
https://www.drupal.org/project/ctools
Switching to
"^9 || ^10"Comment #9
generalredneckRajab,
I hope I didn't offend, I was trying to help understanding, not beat an admission of guilt out of you. I hope that I'm just reading too much into your words, but If there are any hard feelings, lets talk, and feel free to slack with me on ways I can improve the way I communicate.
You are not "wrong" and I can see where you come from. Thanks for working with me on this.
Comment #10
rajab natshahNot at all, Allan
I enjoy the subject of packaging and having the best option at the time.
Thanks for reporting, and following up with the MR.
We will be open to change that in 1 month or 1 year to drop support for Drupal 9. or may not, we do not know, we may keep the ^9 and add the ^11 and start playing with D11 :)
Better not to have any development branches
@devrequiredpackages/libraries, better with@stableversions(~1.0,~2.0,~3.0,~4.0, ext... ). not to bring anyalphas,betas,RCson a production site.Tilde Version Range (~)
By the way I'm with the Drupal Core Recommended way.
With Tilde Version Range (~) and all 3 parts of the version.
I'm pushing to move everything to that. Some time it dose not work.
I'm passing not with the recommended way for this module, and having the most general way. Only to allow for a smoother upgrade process.
Comment #12
rajab natshahComment #14
rajab natshah✅ Released entity_browser_enhanced-8.x-1.4
Comment #15
rajab natshah✅ Released entity_browser_enhanced-2.0.0