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

Remove leftovers from stop-based functions #11247

Closed

Description

@jfirebaugh

We're intending to take advantage of the fact that the upcoming releases of the iOS and Android SDKs are semver-major versions in order to introduce expressions as a complete replacement for the prior stop-based function functionality, and remove the stop-based APIs entirely. (Existing styles which use stop functions will be transparently converted to equivalent expressions when loaded.)

We should review the iOS and Android SDK APIs now that expressions have landed, and confirm that all stop-based function APIs have been removed.

As a second confirmation that we haven't left any lingering APIs which we'd be unable to remove until the next semver-major release, we should make the relevant core code private. This will allow us to refactor the core code at our leisure. (Among other things, such core refactoring may allow us to decrease the binary size.)

Activity

  1. jfirebaugh commented on Feb 19, 2018

    @jfirebaugh
    ContributorAuthor

    I pushed release-boba...11247 to test this out.

    In core, the stringify functions for *Function need to replace stringification of the stops with serialization (from #11156) of the expression. (This should be fine; for *Function I believe stringify is needed only for groupByLayout.)

    The whole Function class hierarchy still exists in the Android SDK. @tobrun is the plan to remove this?

  2. added this to the milestone on Feb 19, 2018
  3. added
    Core
    Android
    on Feb 19, 2018
  4. tobrun commented on Feb 20, 2018

    @tobrun
    Member

    The whole Function class hierarchy still exists in the Android SDK. @tobrun is the plan to remove this?

    Yes, going to tackle this with accessors in #10721, syncing with Ivo on this today.

  5. added
    release blocker
    on Feb 23, 2018
  6. removed this from the milestone on Mar 14, 2018
  7. added and removed
    release blocker
    Android
    on Mar 14, 2018
  8. changed the title [-]Confirm that SDK APIs don't have any leftovers from stop-based functions[/-] [+]Remove leftovers from stop-based functions[/+] on Mar 14, 2018
  9. jfirebaugh commented on Mar 14, 2018

    @jfirebaugh
    ContributorAuthor

    I updated release-boba...11247 showing that we can now do this cleanup at our leisure; i.e. on master sometime after release-boba is merged back.

  10. jfirebaugh commented on Mar 23, 2018

    @jfirebaugh
    ContributorAuthor

    #11509 wound up removing the stops member, but there's still significant cleanup work we could do here.

  11. jfirebaugh commented on Jun 27, 2018

    @jfirebaugh
    ContributorAuthor

    This is currently looking like the number one thing we could do to reduce binary size. If we can remove all the *Stops templates and convert JSON directly to expressions, it will probably produce a substantial size savings.

  12. self-assigned this
    on Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Corerefactor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions