Releases: codenameone/CodenameOne
Releases · codenameone/CodenameOne
7.0.213
7.0.212
Handle Android media content URIs and gate READ_MEDIA permissions (#4…
7.0.211
Fix screenshot API in Android implementation (#4107) * Fix Android screenshot API to include PeerComponents The screenshot() method in AndroidImplementation was missing PeerComponents (native Android views like BrowserComponent, MapView, etc.) in the captured image on devices running Android < API 26 (Oreo). The issue was in the AndroidScreenshotTask.tryFallbackDraw() method, which only drew the CodenameOneSurface view itself. PeerComponents are added as siblings to the CodenameOneSurface within the parent RelativeLayout container, so they were not being captured. The fix: - Draw the parent container (RelativeLayout) instead of just the view - Calculate and apply proper canvas translation to align the content - Maintain backward compatibility by falling back to view-only drawing if no parent is found Note: The PixelCopy method (API 26+) already worked correctly as it captures the entire window, so this only affects older Android versions. * Fixed Android screenshot test --------- Co-authored-by: Claude <[email protected]>
7.0.210
Add comprehensive unit tests for geometry and graphics components (#4…
7.0.209
Hotfix release due to iOS crash on startup issue.
7.0.208
Highlights
- Maven CSS compilation now discovers localization bundles automatically and compiles them to resource bundles so translated strings are packaged alongside the generated theme resources.
- The simulator has a new ability to automatically generate resource bundle keys and update the default bundle
- Added an optional month-name length restriction in
SimpleDateFormatso localized abbreviations can be truncated to match the requested pattern width when needed.
Documentation
- Reintroduced the developer guide with a refreshed landing page that orients readers around major topic areas and community resources.
- Expanded safe-area coverage with practical guidance and code examples for keeping UI elements clear of display cut-outs across devices.
- Documented the simulator's Auto Update Default Bundle option to streamline localization workflows during development.
- Added a comprehensive walkthrough of the charting APIs, including screenshots of the supported chart types.
Quality & Testing
- Significantly broadened UI coverage with new component, layout, and interaction unit tests that validate behaviors such as toggle state, hints, and slider ranges. Increased test coverage from 0.5% to 16%.
- Exercised the networking stack with detailed
NetworkManagertests that verify listener dispatch, timeout handling, queue inspection, and access point delegation.
Tooling & Automation
- The primary PR workflow now provisions Codename One binaries before Maven plugin tests and publishes aggregated quality reports and artifacts for easier review.
- A dedicated developer-guide workflow builds demos under, lints the AsciiDoc sources, renders updated cover art, and publishes HTML/PDF outputs for documentation changes and releases.
Dependency Updates
- Updated
commons-ioto version 2.14.0 across the Maven build to pick up the latest fixes. - Bumped the designer's
xalandependency to 2.7.3 for current XML processing improvements.
7.0.207
Better fix for toast bar and safe areas This time tested with iOS and Android https://github.com/codenameone/CodenameOne/issues/3952
7.0.206
fix: [3937] Fixed FAB respect safe areas (#3950)
7.0.205
Fix ImageViewer getCroppedImage() inconsistency after panning operati…
7.0.204
Full Changelog: 7.0.203...7.0.204