Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[ios] Add changelog entry for Cache Management API #15131

Merged
merged 7 commits into from
Jul 17, 2019

Conversation

jmkiley
Copy link
Contributor

@jmkiley jmkiley commented Jul 16, 2019

@jmkiley jmkiley added the iOS Mapbox Maps SDK for iOS label Jul 16, 2019
@jmkiley jmkiley self-assigned this Jul 16, 2019
@@ -8,6 +8,10 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT

* 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)

### Offline maps
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Mobile Cache Management API affects more than just offline maps, because it allows for control over the ambient cache used in regular (non-offline) maps. Do the iOS release notes ever use "Features" as a heading? I think that would be the most appropriate heading.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use features as a heading, but I can move the entry to Other Changes. Features could be confusing, since we classify things based on what they do, rather than whether they are a feature or a bug fix.

@@ -8,6 +8,10 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT

* 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)

### Offline maps

* Added methods to invalidate and clear resources in the offline database. [#14978](https://github.com/mapbox/mapbox-gl-native/pull/14978)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this misses the method to resize the ambient cache, and also doesn't make it clear that the methods affect the ambient cache part of the database. Suggestion:

* 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)

@tmpsantos @zugaldia @julianrex thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great - very clear.

@jmkiley jmkiley marked this pull request as ready for review July 17, 2019 18:11
@jmkiley jmkiley requested a review from 1ec5 as a code owner July 17, 2019 18:11
@jmkiley jmkiley requested a review from a team July 17, 2019 18:11
Copy link
Contributor

@chloekraw chloekraw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also going to draft a blurb at the top, give me a few min

platform/darwin/src/MGLOfflineStorage.h Show resolved Hide resolved
platform/ios/CHANGELOG.md Outdated Show resolved Hide resolved
@chloekraw
Copy link
Contributor

I'm also going to draft a blurb at the top, give me a few min

On second thought I should do this in a separate pr

@jmkiley jmkiley merged commit 8fe469f into master Jul 17, 2019
@jmkiley jmkiley deleted the jmkiley-changelog-cache branch July 17, 2019 20:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants