Support diffing Kotlin metadata versions for classes - #542
Open
Goooler wants to merge 1 commit into
Open
Conversation
```
OLD: old.jar
NEW: new.jar
│ compressed │ uncompressed
├──────────┬─────────┬───────┼──────────┬──────────┬───────
JAR │ old │ new │ diff │ old │ new │ diff
───────┼──────────┼─────────┼───────┼──────────┼──────────┼───────
class │ 876 B │ 883 B │ +7 B │ 1.24 KiB │ 1.26 KiB │ +12 B
other │ 628 B │ 653 B │ +25 B │ 72 B │ 72 B │ 0 B
───────┼──────────┼─────────┼───────┼──────────┼──────────┼───────
total │ 1.47 KiB │ 1.5 KiB │ +32 B │ 1.31 KiB │ 1.33 KiB │ +12 B
CLASSES │ old │ new │ diff
─────────┼─────┼─────┼───────────
classes │ 1 │ 1 │ 0 (+0 -0)
methods │ 5 │ 5 │ 0 (+1 -1)
fields │ 1 │ 1 │ 0 (+0 -0)
=================
==== JAR ====
=================
compressed │ uncompressed │
──────────┬────────┼──────────┬───────┤
size │ diff │ size │ diff │ path
──────────┼────────┼──────────┼───────┼───────────────────────────────────────────────
204 B │ +204 B │ 47 B │ +47 B │ + META-INF/org.example_untitled.kotlin_module
│ -179 B │ │ -47 B │ - META-INF/untitled.kotlin_module
883 B │ +7 B │ 1.26 KiB │ +12 B │ ∆ org/example/MainKt.class
──────────┼────────┼──────────┼───────┼───────────────────────────────────────────────
1.06 KiB │ +32 B │ 1.3 KiB │ +12 B │ (total)
=====================
==== CLASSES ====
=====================
BYTECODE VERSIONS:
old │ new │ diff
─────┼─────┼───────────
1 │ 1 │ 0 (+1 -1)
+ org.example.MainKt: 65
- org.example.MainKt: 69
KOTLIN METADATA VERSIONS:
old │ new │ diff
─────┼─────┼───────────
1 │ 1 │ 0 (+1 -1)
+ org.example.MainKt: 2.4.0
- org.example.MainKt: 2.3.0
METHODS:
old │ new │ diff
─────┼─────┼───────────
5 │ 5 │ 0 (+1 -1)
+ org.example.MainKt main3()
- org.example.MainKt main2()
```
Goooler
force-pushed
the
diff-meta-data-version
branch
from
August 8, 2026 15:37
421204d to
0e5d717
Compare
Contributor
Author
|
I'll probably prettify the outputs in #491. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #541.