- Updated the iLib files to version 14.21.0 since the new version of iLib has been released.
- iLib version 14.21.0 incorporates CLDR 46
- Updated the test cases where expectations have aligned between webOS versions and upstream since the CLDR update to 46
- Updated the structure to load separate locale data files.
Previously, the dependent ilib was a fully assembled JS file. Now, the ilib files are divided into the js and locale files.
The JS code is assembled asilib-init.js
, and the locale files are generated with names like [language].js, e.g.en.js
,ko.js
. The iLib files are generated using the ilib-assemble tool. This change brings memory savings over previous versions of flutter_ilib.
Initially, when the app is launched, the package automatically loads the locale data by detecting the system's locale. To load the updated locale data file when the locale changes, I suggest adding the following method at the appropriate time when the locale chanages._flutterIlibPlugin.loadLocaleData(curLocale);
- Added
libquickjs_c_bridge_plugin.so
for aarch64-webos - Updated
CMakeLists.txt
for webos to support both arm and aarch64
- Added the method
getMeridiemsRange()
in the class ILibDateFmt. - Updated test files to use ILib's
loadJS()
instead ofloadJSwithPath()
. - Updated the test files to share them between flutter_ilib and another flutter_ilib for webOS. The webOS overrides some of the locale data, so some test cases return different results.
- Added the method
getTemplate()
in the class ILibDateFmt. - Regenerated the assemble ilib file to return the correct released version number.
- Changed the name of the assemble ilib file to
ilib-all.js
.
- Updated the
README.md
file. - Updated the minor version up for release.
- Added more of the API comments in codes.
- Updated to show a sample screenshot image in the published package.
- Updated structure by using
ChangeNotifier
so that APIs can be used synchronously.- First, the app must add a listener to receive a callback message that the iLib is ready for use. then the APIs can be used synchronously.
- Added the linter file (
analysis_options.yaml
) and fixed warnings.
- initial version