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"] }
Requiring $$ from atom is no longer supported. Please require atom-space-pen-views instead: {$$} = require 'atom-space-pen-views' Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
Requiring SelectListView from atom is no longer supported. Please require SelectListView from atom-space-pen-view instead: {SelectListView} = require 'atom-space-pen-views' Note that the API has changed slightly! Please read the docs at https://github.com/atom/atom-space-pen-views Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
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.
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.
The atom.workspaceView.statusBar global is deprecated. The global was previously being assigned by the status-bar package, but Atom packages should never assign globals. In the future, this problem will be solved by an inter-package communication API available on atom.services. For now, you can get a reference to the status-bar element via document.querySelector('status-bar').
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:styles/
directory instead ofstylesheets/
in the<pack-name>
packageactivationCommands
instead ofactivationEvents
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"] }
$$
fromatom
is no longer supported. Please requireatom-space-pen-views
instead:{$$} = require 'atom-space-pen-views'
Add"atom-space-pen-views": "^2.0.3"
to your package dependencies.SelectListView
fromatom
is no longer supported. Please requireSelectListView
fromatom-space-pen-view
instead:{SelectListView} = require 'atom-space-pen-views'
Note that the API has changed slightly! Please read the docs at https://github.com/atom/atom-space-pen-views Add"atom-space-pen-views": "^2.0.3"
to your package dependencies.View
fromatom
is no longer supported. Please requireatom-space-pen-views
instead:{View} = require 'atom-space-pen-views'
Add"atom-space-pen-views": "^2.0.3"
to your package dependencies.atom.views.getView(atom.workspace)
, which returns an HTMLElement.atom.services
. For now, you can get a reference to thestatus-bar
element viadocument.querySelector('status-bar')
.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!