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

Remove deprecated API #1240

Merged
merged 4 commits into from
Dec 16, 2017
Merged

Remove deprecated API #1240

merged 4 commits into from
Dec 16, 2017

Conversation

1chandu
Copy link
Contributor

@1chandu 1chandu commented Dec 15, 2017

  • Remove deprecated API

Verified with test-browser and examples.

@@ -1,6 +1,6 @@
# Upgrade Guide

## Upgrading from deck.gl v4.1 to v4.2
## Upgrading from deck.gl v4.1 to v5
Copy link
Collaborator

Choose a reason for hiding this comment

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

+1 Did you do a global search for 4.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaced in other places too.

@@ -52,6 +52,10 @@ All our layers enable depth test so we are going set this state during initializ
For any custom needs, these parameters can be overwritten by updating them in [`onWebGLInitialized`](docs/api-reference/react/deckgl.md#onWebGLInitialized) callback or by passing them in `parameters` object to `drawLayer` method of `Layer` class.


### assembleShaders

`assembleShaders` was deprecated in v4.1 and now removed in v5. As described in v4.1 upgrade guide please use `Model` class instead.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would rephrase this:

The assembleShaders function was moved to luma.gl in v4.1 and is no longer re-exported from deck.gl. As described ...., or import it from luma.gl where it is defined.x

@@ -78,7 +72,7 @@ Note: This change is mainly relevant to developers who write custom deck.gl laye

## Experimental Features

As usual, deck.gl 4.2 contains a number of experimental features, e.g. multi viewport and first person viewport support. These features are still being finalized and the APIs have not been frozen, but can still be accessed by early adopters. See the roadmap article for more information on these.
As usual, deck.gl 4.2 contains a number of experimental features, e.g. `multi viewport`, `first person viewport` and `viewport transitions`. These features are still being finalized and the APIs have not been frozen, but can still be accessed by early adopters. See the roadmap article for more information on these.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: Back ticks are usually for code symbols like actual class and function names, maybe normal quotes are more appropriate?

@1chandu 1chandu force-pushed the moreDeprecationCleanup2 branch from ccd759f to 9c40eb8 Compare December 15, 2017 20:01
@1chandu 1chandu force-pushed the moreDeprecationCleanup2 branch from 9c40eb8 to 0efb24d Compare December 16, 2017 02:15
@1chandu 1chandu merged commit 9fd90e0 into master Dec 16, 2017
@1chandu 1chandu deleted the moreDeprecationCleanup2 branch December 16, 2017 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants