asteroids icon indicating copy to clipboard operation
asteroids copied to clipboard

Deprecated Atom APIs will be removed June 1st

Open benogle opened this issue 9 years ago • 10 comments

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.2.0) 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. Store package style sheets in the styles/ directory instead of stylesheets/ in the <pack-name> package
  3. 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.
  4. 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.

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!

benogle avatar May 27 '15 22:05 benogle

@mojombo any plans to update this package to work with Atom 1.x?

braincomb avatar Aug 20 '15 20:08 braincomb

@benogle This may be quite late, however...I just happened to find this package and I'm considering forking and updating it for Atom.

MatthewSH avatar Mar 13 '16 17:03 MatthewSH

@mojombo update this package please 😊🙏🏾

mixolidia avatar Sep 23 '16 03:09 mixolidia

BUMP

filipef101 avatar Nov 16 '18 17:11 filipef101

First person to volunteer gets commit access to bring this up to date.

mojombo avatar Nov 16 '18 17:11 mojombo

@mojombo I mean, I could probably look more into it if you want...don’t get me commit access...if I have a free moment this week while on vacation I’ll be happy to at least tinker on a fork.

MatthewSH avatar Nov 19 '18 10:11 MatthewSH

There are no changes in the atom API that make this not possible anymore then? @benogle @mojombo

filipef101 avatar Nov 19 '18 10:11 filipef101

@filipef101 I’m really really really trying to understand the point you’re trying to make, but I can’t. So do you think you can reword that? It seems contradictory.

MatthewSH avatar Nov 19 '18 10:11 MatthewSH

Sorry for that. I mean, I tought that this package/game was no longer possible to implement due to API changes. It is possible to make this work again right? No API changes break the possibility of having this work again?

filipef101 avatar Nov 19 '18 10:11 filipef101

You’re fine, thanks for the clarification. There should be documentation about alternative API calls that could be made. Like I said, if I get the time this week I’ll be more than happy to look into it.

MatthewSH avatar Nov 19 '18 10:11 MatthewSH