Skip to content

Releases: codenameone/CodenameOne

7.0.213

28 Nov 04:15
a7dbab5

Choose a tag to compare

Add support for Windowing API in Desktop Applications

Fixed #4145

7.0.212

14 Nov 05:41
777739b

Choose a tag to compare

Handle Android media content URIs and gate READ_MEDIA permissions (#4…

7.0.211

07 Nov 08:40
d00c465

Choose a tag to compare

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

31 Oct 05:47
f15afbd

Choose a tag to compare

Add comprehensive unit tests for geometry and graphics components (#4…

7.0.209

27 Oct 02:47
7462daa

Choose a tag to compare

Hotfix release due to iOS crash on startup issue.

7.0.208

24 Oct 05:01
8fea660

Choose a tag to compare

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 SimpleDateFormat so 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 NetworkManager tests 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-io to version 2.14.0 across the Maven build to pick up the latest fixes.
  • Bumped the designer's xalan dependency to 2.7.3 for current XML processing improvements.

7.0.207

10 Oct 04:22

Choose a tag to compare

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

03 Oct 03:55
0fce39a

Choose a tag to compare

fix: [3937] Fixed FAB respect safe areas (#3950)

7.0.205

26 Sep 04:57
cf1d1b3

Choose a tag to compare

Fix ImageViewer getCroppedImage() inconsistency after panning operati…

7.0.204

06 Sep 22:59

Choose a tag to compare

Full Changelog: 7.0.203...7.0.204