Fast-forward to Coronarific 2020, situation is such that Jackson 2.10
and 2.11 require Guava v20 as baseline.
They may or may not work with older versions (does anyone have
information? I can probably test this relatively easily),
maybe down to v18 or even v16, but guaranteed for v20 wrt automated testing.
Jackson 3.0 uses baseline of v25 but since that is not about to be
released in near future, that is probably less relevant.

Baseline for Jackson 2.12 is not yet determined. I could leave it at
v20, but there is a new interesting PR:

https://github.com/FasterXML/jackson-datatypes-collections/pull/69

which seems to require v23. Now, based on my work outside of Jackson I
know that Guava version dependencies
are tricky due to its wide usage and Guava maintainers aggressive
deprecation of old features: libraries tend to work
with some range of Guava versions, and in case of Jackson we need to
balance needs of those using latest versions
(which typically work ok with Jackson, fortunately) with those who
have dependencies to things that only work with
older Guava versions.

I think 2 main options would be to:

1. Keep v20 minimum
2. Upgrade minimum to v23 (which v25 is bit more widely used it seems
there is some value in conservative updates)

Does anyone know of practical consequences of version upgrades; any
well-known limitations that might favor use of
specific Guava version (as I recall, v19/v20 tended to be reasonably
good versions wrt compatibility for things that need
older Guava)?
Or have opinions, suggestions?

-+ Tatu +-

On Thu, Jun 28, 2018 at 9:57 AM Tatu Saloranta <[email protected]> wrote:
>
> Quick note: as per:
>
> https://github.com/FasterXML/jackson-datatypes-collections/issues/23
>
> there is desire to
>
> (a) Extend range of allowed Guava versions to include 23, and
> (b) Update minimum version supported from 18 to something later
>
> both for Jackson 3.x (less of a concern since it'll be out at earliest
> by end of 2018), and
> for 2.10 (more concern).
>
> I know Guava has traditionally been quite aggressive in deprecating
> and removing functionality so I hesitate to simply change version deps
> and hope for the best.
> But at the same time we do need to try to balance needs of users
> relying on newer versions with those of stability.
>
> So.... if anyone has time and interest to investigate what kind of
> dependency upgrade would be good trade-off, that would be good. :)
>
> For what it is worth, Jackson 3.x currently upgrades dependency from
> 18.0 to 20.0, so perhaps that would be the starting hypothesis -- we
> would try to make Guava module of Jackson 2.10 to work with Guava
> versions [20.0 ... 23.0]?
>
> -+ Tatu +-

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-dev/CAL4a10jESmj0hPryNJ9O2-%2By8LQngnSHMoTO3Do1h3kSe8fUGw%40mail.gmail.com.

Reply via email to