Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
General code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2016 at 14:03 UTC
Updated:
29 Jun 2016 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joachim commentedAh, this is because my sire is still on 8.0.something, and this annotation was only introduced in 8.1.x: https://www.drupal.org/node/2689949
This is a wontfix then, as 8.0.x is no longer supported.
Might be worth mentioning on the project page and the current alpha release notes that 8.1.x is the minimum.
Comment #3
drunken monkeyComment #4
drunken monkeyComment #5
joachim commentedActually, thinking about this some more, the info file here should be declaring 8.1.x as a minimum requirement.
Comment #6
borisson_According to https://www.drupal.org/core/release-cycle-overview, 8.0.x is no longer supported. So I don't see the need to do that.
Comment #7
drunken monkeyI'm with Joris here.
We just have to make sure we stay compatible with 8.1.x, though – I'm just now noticing that the test bot uses 8.2.x already, so we might not notice it if we break something.
Comment #8
joachim commented> According to https://www.drupal.org/core/release-cycle-overview, 8.0.x is no longer supported. So I don't see the need to do that.
Agreed, but when an alpha module breaks, your first thought isn't 'Oh it's because my core is still on 8.0.x'. Adding the version dependency saves a lot of developer time.
Also, a lot of contrib modules WILL work with older versions.
And this is coming anyway: #2313917: Core version key in module's .info.yml doesn't respect core semantic versioning. The intention there is clearly that contrib modules should indicate when they need a minimum core minor version.
Comment #9
Alumei commentedIt seems core already supports defining a dependency for 8.1. And they seem to be working on being able to define concrete patch level dependencies here #2641658: Module version dependency in .info.yml is ineffective for patch releases.
The solution for a simple 8.1 dependency is putting
into the info.yml.
Comment #10
joachim commentedYup, that's exactly what I think is needed here. Updating summary so it's clearer.
Comment #11
drunken monkeyThanks, Alumei, that does seem like a sensible suggestion. As said, it shouldn't really be necessary, in theory, since 8.0.x has reached its end of life, but if it saves debugging time for a few people, I guess that's worth this small change.
Patch attached – if it passes, I'll just commit it.
Comment #13
drunken monkeyCommitted.