BT

Atom API 1.0 is Stable

| by Abel Avram Follow 12 Followers on Jan 16, 2015. Estimated reading time: 1 minute |

The Atom’s team has announced a pre-release but stable version of the editor’s API.

Although in pre-release form, the Atom Core API 1.0 is stable and won’t suffer any breaking changes unless the team behind it “finds a serious bug.” Until the final version, there are a few small issues to solve and the performance needs to be improved. Developers that have written packages based on an earlier API need to read the transitioning guide to see what APIs have been deprecated or changed.

After 1.0 there won’t be any breaking changes at least until the next major version, 2.0. The packages coming with Atom are versioned separately and their API may change, but the team does not consider this a problem because the “API surface area … is tiny compared to the core API.” According to the release notes, code directly accessing the DOM will be impacted when the next version will arrive:

2.0 will likely focus on solidifying Atom's style guide and more tightly codifying the DOM as an official part of our API. Until then, we'll avoid additional disruptions to DOM structure as far as styling is concerned. As a rule, programmatic DOM manipulation should not be considered part of the stable API at this time. If you mutate the DOM directly, be prepared to update your package when things change.

The Atom API comes with 15 Essential Classes including Atom, Color, Config, TextEditor, Workspace, and 23 Extended Classes, such as Clipboard, Cursor, File, Project, Task, ThemeManager, etc.. The API documentation is generated off the GitHub source code.

The Atom editor has evolved after being open sourced in May of last year, the community having written over 1,400 packages for it and having access to over 100,000 Node.js packages. The IDE is modular supporting new languages added as packages. Because of that, the community has been able to expand its support from the initial JavaScript to hundreds of languages, including C, Go, HTML, Java, JSON, Perl, PHP, Rust, SQL, XML. Although a date was not specified, Atom 1.0 is to be expected by summer after some features have been added and performance issues fixed.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Subject by Lyndon Samson

Not the syndication format then? We need a 'patents office' for ensuring projects dont overload common or already in use terms. Seems to be the next generation of developers suffering most from this.

Re: Subject by Ryan R

Yeah I thought this was the syndication format too.

"Atom is a desktop application based on web technologies."

Oh my ... I am sure this is a great text editor, but am I the only person out there that cringes a bit when they read this?

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss
BT