Skip to content
New issue

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

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

Already on GitHub? # to your account

Deprecated Atom APIs will be removed June 1st #18

Open
benogle opened this issue May 27, 2015 · 0 comments
Open

Deprecated Atom APIs will be removed June 1st #18

benogle opened this issue May 27, 2015 · 0 comments

Comments

@benogle
Copy link

benogle commented May 27, 2015

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.6.0) of this package:

  1. atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.
  2. Use TextBuffer::onDidSave instead. A TextBuffer instance is no longer provided as a callback argument.
  3. Config::observe no longer takes a callNow option. Use ::onDidChange instead. Note that ::onDidChange passes its callback different arguments. See https://atom.io/docs/api/latest/Config
  4. Use a config schema instead. See the configuration section of https://atom.io/docs/latest/hacking-atom-package-word-count and https://atom.io/docs/api/latest/Config for more details
  5. Use Workspace::observeTextEditors instead
  6. Use Workspace::getTextEditors instead
  7. Use Workspace::onDidAddTextEditor or Workspace::observeTextEditors instead.
  8. Call ::getActiveTextEditor instead
  9. Please use Workspace::addBottomPanel() instead

Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.

If this package has been replaced by another package or functionality in core, please reply with this information.

See atom/atom#6867 for more info. Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant