Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup of Deprecated / Obsoleted Symbols #2297

Merged
merged 12 commits into from
Jan 11, 2020
Merged

Conversation

JThramer
Copy link
Contributor

@JThramer JThramer commented Jan 6, 2020

Fixing issue where deprecated symbols are renamed: to improper things, resulting in unexpected IDE behavior. Fixes #2289.

/cc @mapbox/navigation-ios

@JThramer JThramer added bug Something isn’t working quick fix labels Jan 6, 2020
@JThramer JThramer added this to the v1.0.0 milestone Jan 6, 2020
@JThramer JThramer requested a review from 1ec5 January 6, 2020 22:34
@JThramer JThramer self-assigned this Jan 6, 2020
Copy link
Contributor

@1ec5 1ec5 left a comment

Choose a reason for hiding this comment

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

This PR addresses some of #2294.

MapboxCoreNavigation/NavigationEventsManager.swift Outdated Show resolved Hide resolved
MapboxCoreNavigation/OfflineDirections.swift Outdated Show resolved Hide resolved
@JThramer JThramer changed the title Symbol Silliness Cleanup of Deprecated / Obsoleted Symbols Jan 10, 2020
Copy link
Contributor

@1ec5 1ec5 left a comment

Choose a reason for hiding this comment

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

Changelog entries will help guide developers migrating to v1.0, given all the other changes they’ll have to account for.

@@ -27,7 +27,7 @@ DEPENDENCIES:
- MapboxNavigation (from `../../../`)

SPEC REPOS:
trunk:
https://github.com/cocoapods/specs.git:
Copy link
Contributor

Choose a reason for hiding this comment

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

This fixes failures in the CocoaPods installation tests that I inadvertently introduced in 8fa1138 for #2275, which I overlooked due to expected failures in the lint step.

MapboxNavigation/MapboxVoiceController.swift Outdated Show resolved Hide resolved
Jerrad Thramer and others added 2 commits January 10, 2020 16:40
@JThramer JThramer force-pushed the jerrad/symbol-silliness branch from 6b5e219 to 3b48797 Compare January 10, 2020 23:42
Copy link
Contributor

@1ec5 1ec5 left a comment

Choose a reason for hiding this comment

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

One stylistic comment, but I can massage that in master if you need to land this PR first.

CHANGELOG.md Outdated
@@ -20,6 +20,27 @@
* The `MapboxVoiceController` and `RouteVoiceController` now emit `SpeechError`s instead of an `NSError` object. ([#2230](https://github.com/mapbox/mapbox-navigation-ios/pull/2230))
* Added the `VoiceControllerDelegate.voiceController(_:didFallBackTo:becauseOf:)` method for detecting when the voice controller falls back to `AVSpeechSynthesizer`. ([#2230](https://github.com/mapbox/mapbox-navigation-ios/pull/2230))

### Obsoletion & Removal
Copy link
Contributor

Choose a reason for hiding this comment

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

I’d prefer if we moved these entries into the existing topic-based section headers. It’s a bit overwhelming for a developer to see a wall of obsoletion messages, but easier to digest if they know that some are UI-related, others are in Core Navigation, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, how does that look?

@JThramer JThramer merged commit 6be47b8 into master Jan 11, 2020
@JThramer JThramer deleted the jerrad/symbol-silliness branch January 11, 2020 00:02
@1ec5 1ec5 mentioned this pull request Jan 11, 2020
10 tasks
@1ec5 1ec5 added the backwards incompatible changes that break backwards compatibility of public API label Feb 2, 2020
@1ec5 1ec5 modified the milestones: v1.0.0, v0.x next Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards incompatible changes that break backwards compatibility of public API bug Something isn’t working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Several symbols are incorrectly renamed
2 participants