Skip to content

Cleanup of Deprecated / Obsoleted Symbols#2297

Merged
JThramer merged 12 commits into
masterfrom
jerrad/symbol-silliness
Jan 11, 2020
Merged

Cleanup of Deprecated / Obsoleted Symbols#2297
JThramer merged 12 commits into
masterfrom
jerrad/symbol-silliness

Conversation

@JThramer
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread MapboxCoreNavigation/NavigationEventsManager.swift Outdated
Comment thread MapboxCoreNavigation/OfflineDirections.swift Outdated
@JThramer JThramer changed the title Symbol Silliness Cleanup of Deprecated / Obsoleted Symbols Jan 10, 2020
Copy link
Copy Markdown
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.

Comment thread MapboxCoreNavigation/LegacyRouteController.swift

SPEC REPOS:
trunk:
https://github.com/cocoapods/specs.git:
Copy link
Copy Markdown
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.

Comment thread MapboxNavigation/MapboxVoiceController.swift Outdated
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
Copy Markdown
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.

Comment thread CHANGELOG.md Outdated
* 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
Copy Markdown
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
Copy Markdown
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