Fankserver / atom-firepad

Collaborative code editing with Atom + Firepad
MIT License
96 stars 16 forks source link

Deprecated Atom APIs will be removed June 1st #14

Closed benogle closed 9 years ago

benogle commented 9 years ago

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

  1. Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows: json "activationCommands": { "atom-workspace": ["foo:bar", "foo:baz"], "atom-text-editor": ["foo:quux"] }
  2. 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.
  3. Call ::getActiveTextEditor instead
  4. Requiring EditorView from atom is no longer supported. Please require TextEditorView from atom-space-pen-view instead: {TextEditorView} = require 'atom-space-pen-views' Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
  5. Requiring View from atom is no longer supported. Please require atom-space-pen-views instead: {View} = require 'atom-space-pen-views' Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
  6. Use TextBuffer::onDidChange 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 https://github.com/atom/atom/issues/6867 for more info. Thanks!

Fank commented 9 years ago

@benogle Thanks for the info, the maintainer of this package has been changed. Is there anything i need to know/todo?