memcached-spring-boot icon indicating copy to clipboard operation
memcached-spring-boot copied to clipboard

Be able to change xmemcachedversion by property

Open tomasAlabes opened this issue 2 years ago • 1 comments

Feature Request

It would be useful to be able to change the version of the memcached client without adding the dependency manually.

Today:

plugins {
    id("java-library")
}

dependencies {
    implementation("io.sixhours:memcached-spring-boot-starter:2.4.4")
    implementation("com.googlecode.xmemcached:xmemcached:2.4.7") { 
        because("2.4.6 has a vulnerability") 
    }
}

Expected:

plugins {
    id("java-library")
}

ext["xmemcachedVersion"] = "2.4.7"

dependencies {
    implementation("io.sixhours:memcached-spring-boot-starter:2.4.4")
}

tomasAlabes avatar Mar 29 '23 08:03 tomasAlabes

@tomasAlabes Thanx for your feedback. This might be a useful addition. I'll leave the issue open until we get some time to work on it.

Anyway, the XMemcached version has been updated to 2.4.7 in library version 2.5.0 where, besides dependency updates, we have included some additional features.

In the future, feel free to create PR for upgrade of minor / patch dependencies versions, we'll release it as soon as possible.

igorbolic avatar May 17 '23 13:05 igorbolic