java-almanac icon indicating copy to clipboard operation
java-almanac copied to clipboard

due to preview features, a 2D release-vs-features grid might be helpful

Open kevinb9n opened this issue 1 year ago • 10 comments

This is just an idea, please feel free to discard it

I jotted this table and have needed to refer to it a couple times... you might find this kind of format useful here too, I dunno.

image

... the numbers being JEP links

kevinb9n avatar Jul 10 '24 19:07 kevinb9n

I agree that would be useful. If not easily automated, I could maintain it as part of https://javaalmanac.io/features/

cayhorstmann avatar Jul 10 '24 19:07 cayhorstmann

I like the idea. I'll play with it how this can be rendered in a scalable way.

marchof avatar Jul 11 '24 06:07 marchof

Cool - in case it helps, here's the sheet, where I got a wee bit further than shown. https://docs.google.com/spreadsheets/d/1SstmIvSB4KzJdkBgqUgucH65JlQj3tqsSCfYT4OJumo/edit?usp=sharing

kevinb9n avatar Jul 11 '24 07:07 kevinb9n

@kevinb9n Do you have any idea how we can render the matrix for > 25 Java versions and hundreds of JEPs?

marchof avatar Jul 11 '24 14:07 marchof

I don't think that would be too hard. Keep the first column fixed, like in https://stackoverflow.com/questions/1312236/how-do-i-create-an-html-table-with-a-fixed-frozen-left-column-and-a-scrollable-b

On 11/07/2024 16.29, Marc R. Hoffmann wrote:

@kevinb9n https://github.com/kevinb9n Do you have any idea how we can render the matrix for > 25 Java versions and hundreds of JEPs?

— Reply to this email directly, view it on GitHub https://github.com/marchof/java-almanac/issues/222#issuecomment-2223089192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJQO2TRU4ZR24SRFWHIBTZL2JDHAVCNFSM6AAAAABKVSKX42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGA4DSMJZGI. You are receiving this because you commented.Message ID: @.***>

--

--

Cay S. Horstmann | https://horstmann.com

cayhorstmann avatar Jul 11 '24 18:07 cayhorstmann

As a first step we need to prepare the data. Currently all JEPs live on their own. I propose a new optional value

features[].predecessors[]

having the same schema like refs (type and ref). Currently the data for Java 21 looks like this:

https://github.com/marchof/java-almanac/blob/master/site/data/jdk/versions/21.json

marchof avatar Jul 11 '24 20:07 marchof

The data is on https://chriswhocodes.com/jepsearch.html, and I can scrape it. Or we can ask Chris for a JSON feed.

cayhorstmann avatar Jul 12 '24 11:07 cayhorstmann

@cayhorstmann We already maintain all the JEP info in our repository with some manual additions (like whether a JEP is a preview). For consistency I would prefer to keep using the Java almanac data: https://github.com/marchof/java-almanac/blob/master/site/data/jdk/

marchof avatar Jul 12 '24 11:07 marchof

@marchof Created a PR for this. Let me know what you think!

nicktombeur avatar Dec 26 '24 17:12 nicktombeur

Here is another nice matrix: https://minijug.org/jeps.html

marchof avatar Aug 24 '25 18:08 marchof