From 8fe469f6b17056e20eda1f15053ed54aa938b559 Mon Sep 17 00:00:00 2001 From: Jordan Kiley Date: Wed, 17 Jul 2019 13:55:11 -0700 Subject: [ios] Add changelog entry for Cache Management API (#15131) --- platform/darwin/src/MGLOfflineStorage.h | 2 +- platform/ios/CHANGELOG.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/platform/darwin/src/MGLOfflineStorage.h b/platform/darwin/src/MGLOfflineStorage.h index c6a51df80c..622333d1c3 100644 --- a/platform/darwin/src/MGLOfflineStorage.h +++ b/platform/darwin/src/MGLOfflineStorage.h @@ -360,7 +360,7 @@ MGL_EXPORT #pragma mark - Managing Ambient Cache /** - Sets the maximum ambient cache size in megabytes. The default maximum cache + Sets the maximum ambient cache size in bytes. The default maximum cache size is 50 MB. To disable ambient caching, set the maximum ambient cache size to `0`. Setting the maximum ambient cache size does not impact the maximum size of offline packs. diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index ed815cc141..86c7407b5e 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -4,13 +4,18 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT ## master +### Networking + +* Added methods to clear the ambient cache, change the size of the ambient cache, and delete and revalidate the database that contains the ambient and offline cache. These provide greater developer control over the impact of caching. ([#14978](https://github.com/mapbox/mapbox-gl-native/pull/14978)) +* Ideographic glyphs from Chinese, Japanese, and Korean are no longer downloaded by default as part of offline packs; they are instead rendered on-device, saving bandwidth and storage while improving performance. ([#14176](https://github.com/mapbox/mapbox-gl-native/pull/14176)) + ### Styles and rendering * Fixed a custom geometry source bug caused by using the outdated tiles after style update [#15112](https://github.com/mapbox/mapbox-gl-native/pull/15112) ### Other changes + * Updated "map ID" to the more accurate term "tileset ID" in documentation; updated "style's Map ID" to the more accurate term "style URL". ([#15116](https://github.com/mapbox/mapbox-gl-native/pull/15116)) -* Ideographic glyphs from Chinese, Japanese, and Korean are no longer downloaded by default as part of offline packs; they are instead rendered on-device, saving bandwidth and storage while improving performance. ([#14176](https://github.com/mapbox/mapbox-gl-native/pull/14176)) ## 5.2.0 -- cgit v1.2.1