data-jpa-3-to-4: Spring Data JPA 3.5 vs 4.2 side by side - package moves, nullness, Specification, keyset, Page JSON, Jackson 3, test slices, real transcripts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
Ankur Mhatre
2026-12-03 09:31:28 +05:30
co-authored by Claude Sonnet 5.5
parent 3f061c5e5d
commit 7a2bcc1eb6
100 changed files with 2314 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
"""Top-level types that vanished between two jars, split into 'moved' (same simple name elsewhere) and 'gone'."""
import collections
import sys
import zipfile
def classes(path):
return {n[:-6].replace('/', '.') for n in zipfile.ZipFile(path).namelist()
if n.endswith('.class') and not n.startswith('META-INF') and 'package-info' not in n and '$' not in n}
old, new = classes(sys.argv[1]), classes(sys.argv[2])
added = collections.defaultdict(list)
for c in new - old:
added[c.rsplit('.', 1)[1]].append(c)
gone = sorted(old - new)
print('moved:')
for c in gone:
if c.rsplit('.', 1)[1] in added:
print(' %s -> %s' % (c, ', '.join(sorted(added[c.rsplit('.', 1)[1]]))))
print('no type of the same name in the new jar:')
for c in gone:
if c.rsplit('.', 1)[1] not in added:
print(' ' + c)