Releases: bodenberg/appdimens-sdps
Releases · bodenberg/appdimens-sdps
3.1.5
3.1.2
📢 Important Update
Specific ProGuard rules have been added to the project.
🔧 What’s Changed?
- Added new configuration rules to ProGuard
- Adjustments to ensure:
- Better code obfuscation
- Preservation of required classes and methods
- Prevention of runtime errors
✅ Why This Matters
These rules help to:
- Protect the code against reverse engineering
- Improve application security
- Ensure compatibility with used libraries
📌 Note
Make sure to sync the project and validate functionality after this update.
🚀 If you have any questions, review the ProGuard configuration file (proguard-rules.pro)
3.1.0
3.0.9.1
Documentation Update
In this new version of the project, significant improvements have been made to the comments and code descriptions.
Main changes:
- Comments revised for greater clarity and objectivity
- More detailed descriptions of functionalities
These improvements aim to make the project easier to understand, maintain.
3.0.9
Improvement in Extensions:
- New option added: It is now possible to not recalculate the gross DPs in extensions ending with Plain, if the required conditions are not met.
Details of the Improvement:
-
For extensions ending in Plain, the gross DPs will not be recalculated if the necessary conditions are not met.
Example of Behavior:
- Before: The calculation of gross DPs was performed regardless of the conditions.
- Now: The recalculation of gross DPs occurs only when the conditions are met.
Benefits of this Change:
- Efficiency: Avoids unnecessary calculations, saving resources.
- Control: Provides greater control over when the gross DPs should be recalculated.
3.0.8
3.0.7
✨ What's New in Version 3.x.x
| Feature | Description |
|---|---|
| Code-Level API | Full DimenSdp object for Java & Kotlin — resolve dimensions outside of XML and Compose |
| Inverter Shortcuts | .sdpPh, .sdpLw, .sdpLh, .sdpPw, .hdpLw, .hdpPw, .wdpLh, .wdpPh — orientation-aware switching |
| Facilitators | sdpRotate, sdpMode, sdpQualifier, sdpScreen (+ hdp/wdp variants) — quick conditional overrides |
| DimenScaled Builder | Priority-based chain with UiModeType, DpQualifier, Orientation, and Inverter support |
| Foldable Detection | FoldingFeature integration via Jetpack WindowManager — detects Fold/Flip open/half-open states |
| UiModeType | NORMAL, TELEVISION, CAR, WATCH, FOLD_OPEN, FOLD_HALF, FLIP_OPEN, FLIP_HALF |
| Physical Units | DimenPhysicalUnits — convert mm, cm, inches to Dp/Px |
| File Structure | Modular files: DimenSdp (core), DimenExtensions (facilitators), DimenScaled (builder) |