Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: chrome/common/extensions/docs/server2/templates/articles/whats_new.html

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment in converter.py Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <h1 class="page_title">What's New in Extensions?</h1>
2 <p>
3 This page lists the API and manifest changes
4 made in recent releases.
5 </p>
6 <ul>
7 <li> <a href="#20">Google Chrome 20</a> </li>
8 <li> <a href="#19">Google Chrome 19</a> </li>
9 <li> <a href="#18">Google Chrome 18</a> </li>
10 <li> <a href="#17">Google Chrome 17</a> </li>
11 <li> <a href="#16">Google Chrome 16</a> </li>
12 <li> <a href="#15">Google Chrome 15</a> </li>
13 <li> <a href="#14">Google Chrome 14</a> </li>
14 <li> <a href="#13">Google Chrome 13</a> </li>
15 <li> <a href="#12">Google Chrome 12</a> </li>
16 <li> <a href="#11">Google Chrome 11</a> </li>
17 <li> <a href="#10">Google Chrome 10</a> </li>
18 <li> <a href="#9">Google Chrome 9</a> </li>
19 <li> <a href="#8">Google Chrome 8</a> </li>
20 <li> <a href="#7">Google Chrome 7</a> </li>
21 <li> <a href="#6">Google Chrome 6</a> </li>
22 </ul>
23 <p class="note">
24 <strong>New version of packaged apps:</strong><br>
25 There's a new version of
26 <a href="http://developer.chrome.com/trunk/apps/about_apps.html">packaged apps </a>
27 in the <a href="http://dev.chromium.org/getting-involved/dev-channel?">dev cha nnel</a>.
28 </p>
29 <p>
30 In addition to the changes listed below,
31 check out the
32 <a href="experimental.html">experimental APIs</a>.
33 </p>
34 <h2 id="20"> Google Chrome 20 </h2>
35 <h4> New APIs </h4>
36 <ul>
37 <li>The
38 <a href="storage.html">storage API</a>
39 lets you store, retrieve, and
40 track changes to user data.</li>
41 </ul>
42 <h4> Manifest changes </h4>
43 <ul>
44 <li>Manifest version 1 was deprecated in Chrome 18
45 and will be phased out according to the
46 <a href="manifestVersion.html">Manifest version 1 support schedule</a>.</l i>
47 </ul>
48 <h4> Additions to existing APIs </h4>
49 <ul>
50 <li>The <code>chrome.contextMenus</code>
51 <a href="contextMenus.html#method-create">create()</a> and
52 <a href="contextMenus.html#method-update">update()</a>
53 methods now have an <code>enabled</code> parameter.</li>
54 <li>The privacy API's <a href="privacy.html#property-services">services</a> object
55 now has a <code>spellingServiceEnabled</code> setting.</li>
56 <li>The <code>chrome.tabs</code>
57 <a href="tabs.html#method-executeScript">executeScript()</a> and
58 <a href="tabs.html#method-insertCSS">insertCSS()</a>
59 now accept a <code>runAt</code> parameter.</li>
60 </ul>
61 <h4> Changes to existing APIs </h4>
62 <ul>
63 <li>The <code>sendRequest()</code> method
64 has been deprecated in favor of the
65 <code>sendMessage()</code> method for both the
66 <a href="extension.html#method-sendMessage">extension API</a> and
67 <a href="tabs.html#method-sendMessage">tabs API</a>.</li>
68 <li>The <a href="external_extensions.html">external_extensions.json file</a>
69 has been deprecated in favor of individual
70 <code>&lt;extension-id&gt;.json</code> files.</li>
71 </ul>
72 <h2 id="19"> Google Chrome 19 </h2>
73 <h4> New APIs </h4>
74 <ul>
75 <li>The <a href="browsingData.html">browsing data API</a>
76 lets you remove browsing data from a user's local profile.
77 <li>The <a href="topSites.html">top sites API</a>
78 gives you access to the top sites
79 that are displayed on the new tab page.
80 </ul>
81 <h4> Manifest changes </h4>
82 <ul>
83 <li>The new <a href="manifest.html#intents">intents</a>
84 field specifies all intent handlers provided by the extension.
85 </ul>
86 <h4> Additions to existing APIs </h4>
87 <ul>
88 <li>The window API's <a href="windows.html#type-windows.Window">Window</a>
89 object now has an <code>alwaysOnTop</code> property and
90 supports the "fullscreen" state.
91 <li>The <code>chrome.tabs</code>
92 <a href="tabs.html#method-query">query()</a> method
93 now has the <code>currentWindow</code> and
94 <code>lastFocusedWindow</code> parameters.
95 <li>The <a href="browserAction.html">browser action API</a>
96 has the following new getter functions:
97 <a href="browserAction.html#method-getTitle">getTitle</a>,
98 <a href="browserAction.html#method-getBadgeText">getBadgeText</a>,
99 <a href="browserAction.html#method-getBadgeBackgroundColor">getBadgeBackg r
100 oundColor</a>, and
101 <a href="browserAction.html#method-getPopup">getPopup</a>.
102 <li>The <a href="pageAction.html">page action API</a>
103 has the following new getter functions:
104 <a href="pageAction.html#method-getTitle">getTitle</a> and
105 <a href="pageAction.html#method-getPopup">getPopup</a>.
106 </ul>
107 <h2 id="18"> Google Chrome 18 </h2>
108 <h4> New APIs </h4>
109 <ul>
110 <li>The <a href="debugger.html">debugger API</a>
111 lets you use the Chrome Developer Tools
112 on one or more tabs remotely.
113 <li>The <a href="devtools.html">developer tools APIs</a>
114 provide support for extending Chrome Developer Tools.
115 The inspected window API lets you interact with the inspected window.
116 The network API lets you retrive information about network requests.
117 The panels API lets you add panels and sidebars.
118 <li>The <a href="input.ime.html">input method editor API</a>
119 lets you add custom input methods
120 such as complex language characters
121 directly to the system's input device.
122 <li>The <a href="pageCapture.html">page capture API</a>
123 lets you save a tab as MHTML.
124 <li> The <a href="privacy.html">privacy API</a>
125 lets you control usage of the features
126 in Chrome that can affect a user's privacy policy.
127 </ul>
128 <h4> Manifest changes </h4>
129 <ul>
130 <li>The new
131 <a href="manifest.html#manifest_version">manifest version</a>
132 field specifies the version of the manifest that your package requires.
133 As of Chrome 18, you should use
134 <a href="manifestVersion.html">manifest version 2</a>.
135 <li>The new
136 <a href="contentSecurityPolicy.html">Content Security Policy (CSP)</a>
137 field is used to define an extension's policies
138 towards the types of content
139 that can be loaded and executed by the extension.
140 <li>Most background pages only include a list of script files.
141 For these background pages,
142 you can use the new
143 <a href="background_pages.html">background.scripts</a> property
144 and Chrome will generate a background page for you.
145 <li>The new
146 <a href="manifest.html#web_accessible_resources">web_accessible_resources< /a>
147 field specifies the paths of packaged resources
148 that are expected to be usable in the context of a web page.
149 </ul>
150 <h4> Additions to existing APIs </h4>
151 <ul>
152 <li>The <a href="windows.html#property-WINDOW_ID_CURRENT">windows API</a>
153 now has a <code>WINDOW_ID_CURRENT</code> property.
154 <li>The <code>chrome.tabs</code>
155 <a href="tabs.html#method-create">create()</a> and
156 <a href="tabs.html#method-update">update()</a> methods
157 now have an <code>openerTabId</code> parameter.
158 </ul>
159 <h2 id="17"> Google Chrome 17 </h2>
160 <h4> New APIs </h4>
161 <ul>
162 <li>The
163 <a href="webRequest.html">web request API</a>
164 lets you intercept, block, or
165 modify requests in-flight and
166 to observe and analyze traffic.
167 </ul>
168 <h4> Manifest changes </h4>
169 <ul>
170 <li>Permissions can be
171 <a href="permissions.html">optional</a>
172 for the content setting API, the web navigation API, and
173 the new web request API.
174 </ul>
175 <h4> Additions to existing APIs </h4>
176 <ul>
177 <li>The management API's
178 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a> ob ject
179 now has a <code>disabledReason</code> property.
180 </ul>
181 <h4> Changes to existing APIs </h4>
182 <ul>
183 <li>The <a href="omnibox.html">omnibox API</a>
184 now works in
185 <a href="manifest.html#incognito">split incognito mode</a>.
186 </ul>
187 <h2 id="16"> Google Chrome 16 </h2>
188 <h4> New APIs </h4>
189 <ul>
190 <li>The
191 <a href="webNavigation.html">web navigation API</a>
192 lets extensions receive notifications about the status
193 of navigation requests.
194 You can use this API to track navigation events.
195 <li>The
196 <a href="permissions.html">optional permissions API</a>
197 lets you control when users are presented with permission requests.
198 <li>The
199 <a href="contentSettings.html">content settings API</a>
200 lets extensions customize Chrome’s behavior
201 on a per-site basis instead of globally.
202 You can use this API to control whether websites can use features
203 such as cookies, JavaScript, and plug-ins.
204 </ul>
205 <h4> Manifest changes </h4>
206 <ul>
207 <li>The new
208 <a href="manifest.html#requirements">requirements</a> field
209 allows you to declare extension requirements up front.
210 For example, you can use this field
211 to specify that your app requires 3D graphics support
212 in order to use features such as CSS 3D Tranforms or WebGL.
213 </ul>
214 <h4> Additions to existing APIs </h4>
215 <ul>
216 <li>The new
217 <a href="tabs.html#method-query">chrome.tabs.query()</a> method
218 gets all tabs that have the specified properties or
219 all tabs if no properties are specified.
220 <li>The new
221 <a href="tabs.html#method-reload">chrome.tabs.reload()</a> method
222 reloads a tab and includes the option
223 to preserve the local cache of the reloaded tab.
224 <li>The management API's
225 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a> ob ject
226 now has an <code>updateURL</code> property.
227 <li>You can now limit the supported locales for an
228 <a href="external_extensions.html">external extension</a>
229 by adding the <code>supported_locales</code> attribute
230 to the <code>external_extensions.json</code>.
231 </ul>
232 <h4> Changes to existing APIs </h4>
233 <ul>
234 <li>The methods <code>getAllInWindow()</code> and
235 <code>getSelected()</code> have been deprecated.
236 To get details about all tabs in the specified window, use
237 <a href="tabs.html#method-query">chrome.tabs.query()</a>
238 with the argument <code>{'windowId': windowID}</code>.
239 To get the tab that is selected in the specified window, use
240 <code>chrome.tabs.query()</code>
241 with the argument <code>{'active': true}</code>.
242 <li>You are no longer required
243 to specify the <code>tabID</code> for the
244 <a href="tabs.html#method-update">chrome.tabs.update()</a> method.
245 When not provided,
246 the <code>tabID</code> defaults
247 to the selected tab of the current window.
248 <li>External extension files on Mac OS can now be owned by users
249 within a wheel group (or an admin group).
250 <li>The "experimental" permission is no longer required
251 for the
252 <a href="windows.html#type-windows.Window">window "panel"</a> type.
253 By default, the "panel" type creates a popup
254 unless the <code>--enable-panels</code> flag is set.
255 </ul>
256 <h2 id="15"> Google Chrome 15 </h2>
257 <h4> New APIs </h4>
258 <ul>
259 <li>The <a href="webstore.html">webstore API</a>
260 lets you initiate app and extensions installations
261 <a href="http://code.google.com/chrome/webstore/docs/inline_installation.html"> "inline"</a>
262 from your site.
263 </ul>
264 <h4> Manifest changes </h4>
265 <ul>
266 <li>The new
267 <a href="manifest.html#offline_enabled">offline_enabled</a> field
268 lets you specify that your app works well even without an internet
269 connection.
270 </ul>
271 <h4> Additions to existing APIs </h4>
272 <ul>
273 <li>You can retrieve permission warnings using the new management API method s
274 <a href="management.html#method-getPermissionWarningsById">getPermissionWa rningsById()</a>
275 and
276 <a href="management.html#method-getPermissionWarningsByManifest">getPermis sionWarningsByManifest()</a>.
277 <li>The management API’s
278 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a> object has
279 a new field, <code>offlineEnabled</code>.
280 <li>You can now <a href="i18n.html">internationalize</a> content script CSS
281 files by using <code>__MSG_messagename__</code> placeholders.
282 </ul>
283 <h4> Changes to existing APIs </h4>
284 <ul>
285 <li>The callback for the <a href="tabs.html#method-update">tabs.update</a>
286 method is passed <code>null</code> instead of the tab details if the
287 extension does not have the "tabs" permission.
288 </ul>
289 <h2 id="14"> Google Chrome 14 </h2>
290 <h4> New APIs </h4>
291 <ul>
292 <li>The <a href="tts.html">tts API</a>
293 lets extensions generate speech from text.
294 <li>The <a href="ttsEngine.html">ttsEngine API</a>
295 lets extensions implement text-to-speech (TTS) engines.
296 <li>Extensions that are distributed through the Chrome Web Store
297 can now include Native Client modules.
298 No special manifest entry is necessary, as you can see from the
299 <a href="http://code.google.com/p/naclports/source/browse#svn%2Ftrunk%2Fsr c%2Fpackages%2Flibraries%2Fnethack-3.4.3">NetHack example</a>.
300 For more information, see the
301 <a href="http://blog.chromium.org/2011/08/native-client-brings-sandboxed-n ative.html">announcement</a> and the
302 <a href="http://code.google.com/chrome/nativeclient/">Native Client docume ntation</a>.
303 </ul>
304 <h4> Manifest changes </h4>
305 <ul>
306 <li>The new
307 <a href="manifest.html#content_security_policy">content_security_policy</a > field
308 can help prevent
309 <a href="http://blog.chromium.org/2011/07/writing-extensions-more-securely .html">cross-site scripting vulnerabilities</a>
310 in your extension.
311 <li>The new <a href="manifest.html#nacl_modules">nacl_modules</a> field
312 lets you register Native Client modules
313 as content handlers for MIME types.
314 </ul>
315 <h4> Additions to existing APIs </h4>
316 <ul>
317 <li><a href="contextMenus.html">Context menu</a> items
318 can now appear even in documents
319 that have file:// or chrome:// URLs.
320 Previously, they were restricted to documents with
321 http:// or https:// URLs.
322 <li>An optional <code>drawAttention</code> field in
323 <a href="windows.html#method-update">chrome.windows.update()</a>'s
324 <code>updateInfo</code> object lets you specify that the window
325 should entice the user to change focus to it.
326 <li>The new
327 <a href="bookmarks.html#method-getSubTree">bookmarks.getSubTree()</a>
328 function lets you retrieve just part of the Bookmarks hierarchy.
329 </ul>
330 <h4> Changes to existing APIs </h4>
331 <ul>
332 <li>The "tabs" permission is no longer required for
333 <a href="tabs.html#method-remove">tabs.remove</a> and
334 <a href="tabs.html#event-onRemoved">tabs.onRemoved</a>.
335 </ul>
336 <h2 id="13"> Google Chrome 13 </h2>
337 <h4> New APIs </h4>
338 <ul>
339 <li>The <a href="proxy.html">proxy API</a>
340 lets extensions manage Chrome's proxy settings.
341 <li>The
342 <a href="types.html#type-types.ChromeSetting">chrome.types.ChromeSetting</ a> prototype
343 provides an interface to browser settings;
344 it's used by the proxy API.
345 <li> <em>Chrome OS only:</em>
346 The <a href="fileBrowserHandler.html">fileBrowserHandler API</a>
347 lets you extend the Chrome OS file browser.
348 </ul>
349 <h4> Manifest changes </h4>
350 <ul>
351 <li>A new <code>exclude_matches</code> item
352 in the "content_scripts" field
353 lets you target your content script more precisely.
354 For details, see
355 <a href="content_scripts.html#match-patterns-globs">Match patterns and glo bs</a>.
356 <li>New "clipboardRead" and "clipboardWrite"
357 <a href="manifest.html#permissions">permissions</a>
358 specify capabilities for <code>document.execCommand()</code>.
359 </ul>
360 <h4> Additions to existing APIs </h4>
361 <ul>
362 <li>Content scripts can now make
363 <a href="xhr.html">cross-origin XMLHttpRequests</a>
364 to the same sites that their parent extension can,
365 eliminating the need to relay these requests
366 through a background page.
367 <li>You can now use <code>@run-at</code>
368 in an imported Greasemonkey script
369 to control when the script is injected.
370 It works the same way as
371 <a href="content_scripts.html#run_at"><code>run_at</code></a>
372 in content scripts.
373 </ul>
374 <h2 id="12"> Google Chrome 12 </h2>
375 <h4> Additions to existing APIs </h4>
376 <ul>
377 <li>Two new <code>chrome.extension</code>
378 methods&mdash;<a href="extension.html#method-isAllowedFileSchemeAccess">is AllowedFileSchemeAccess()</a> and
379 <a href="extension.html#method-isAllowedIncognitoAccess">isAllowedIncognit oAccess()</a>&mdash;let you
380 determine whether your extension has increased access,
381 which the user specifies using the extensions management page
382 (<b>chrome://extensions</b>).
383 <li>The <a href="windows.html#method-create">chrome.windows.create()</a>
384 method can now take a <code>focused</code> value.
385 Previously, all new windows had the keyboard focus;
386 now you can create windows without interrupting the user's typing.
387 <li>If the manifest specifies "experimental" permission,
388 your extension can specify "panel" as the value of
389 the <code>type</code> field in
390 the <a href="windows.html#method-create">chrome.windows.create()</a>
391 method
392 or the <a href="windows.html#type-windows.Window">Window</a> type.
393 <li>The <a href="cookies.html#event-onChanged">onChanged</a>
394 event of <code>chrome.cookies</code>
395 now has a <code>cause</code> parameter.
396 <li>The <code>chrome.contextMenus</code>
397 <a href="contextMenus.html#method-create">create()</a> and
398 <a href="contextMenus.html#method-update">update()</a>
399 methods now let you specify a context value of "frame".
400 </ul>
401 <h2 id="11"> Google Chrome 11 </h2>
402 <h4> Changes to existing APIs </h4>
403 <ul>
404 <li>For security reasons, you can no longer call
405 <a href="tabs.html#method-captureVisibleTab">chrome.tab.captureVisibleTab( )</a>
406 on just any tab.
407 Instead, you now must have
408 <a href="manifest.html#permissions">host permission</a>
409 for the URL displayed by that tab.
410 To get the previous behavior,
411 specify <code>&lt;all_urls></code> for the host permission.
412 </ul>
413 <h4> Additions to existing APIs </h4>
414 <ul>
415 <li>The management API's
416 <a href="management.html#type-management.ExtensionInfo">ExtensionInfo</a> object
417 now has a <code>homepageUrl</code> property.
418 <li>The management API now lets you get the icons of
419 disabled apps and extensions.
420 Also, you can now modify the regular icon's URL
421 to get its disabled equivalent.
422 See <a href="management.html#type-management.IconInfo">IconInfo</a> for de tails.
423 <li>The cookies API
424 <a href="cookies.html#method-set">set()</a>
425 and <a href="cookies.html#method-remove">remove()</a> methods
426 can now take callbacks.
427 </ul>
428 <h2 id="10"> Google Chrome 10 </h2>
429 <h4> Manifest changes </h4>
430 <ul>
431 <li>The new <a href="manifest.html#bg">background</a> permission
432 extends the life of Chrome,
433 allowing your extension or app
434 to run even when Chrome has no windows open.
435 </ul>
436 <h4> Additions to existing APIs </h4>
437 <ul>
438 <li>The <a href="windows.html#method-create">chrome.windows.create()</a>
439 method now has a <code>tabId</code> field.
440 You can use it to move a tab or panel into a new window.
441 <p class="note">
442 <b>Note:</b>
443 This change was incorrectly attributed to Chrome 9
444 in previous release notes.
445 </ul>
446 <h2 id="9"> Google Chrome 9 </h2>
447 <h4> New APIs </h4>
448 <ul>
449 <li>The <a href="omnibox.html">omnibox API</a> allows you to
450 register a keyword with Chrome's address bar.
451 </ul>
452 <h4> Manifest changes </h4>
453 <ul>
454 <li>The <a href="manifest.html#homepage_url">homepage_url</a> field
455 lets you specify the extension or app's homepage.
456 </ul>
457 <h4> Additions to existing APIs </h4>
458 <ul>
459 <li>The <a href="tabs.html#type-tabs.Tab">Tab</a> object
460 now has a <code>pinned</code> property
461 that's reflected in various <code>chrome.tabs</code> methods.
462 For example,
463 you can <a href="tabs.html#method-create">create</a>
464 a pinned tab.
465 <li>The <a href="windows.html#method-create">chrome.windows.create()</a>
466 method can now take a list of URLs,
467 letting you create multiple tabs in the new window.
468 <li>The new
469 <a href="management.html#method-get">chrome.management.get()</a> method
470 lets you get information about the specified extension or app.
471 </ul>
472 <h2 id="8"> Google Chrome 8 </h2>
473 <p>
474 We took a break for Chrome 8.
475 No API or manifest changes worth noting.
476 </p>
477 <h2 id="7"> Google Chrome 7 </h2>
478 <h4> New APIs </h4>
479 <ul>
480 <li>All users can now install
481 <a href="http://code.google.com/chrome/apps/index.html">apps</a>;
482 packaged apps can use extension APIs.
483 <li>The <a href="management.html">management API</a>
484 lets you work with installed apps and extensions.
485 </ul>
486 <h4> Manifest changes </h4>
487 <ul>
488 <li>Introduced <a href="manifest.html#incognito">split incognito</a>
489 mode as the default for installable web apps
490 (also available to extensions).
491 <li>The <a href="tabs.html">tabs API</a>
492 <code>create()</code> and <code>update()</code> methods
493 no longer require the "tabs" permission, removing one common cause of
494 <a href="permission_warnings.html">scary dialogs</a>.
495 </ul>
496 <h2 id="6">Google Chrome 6</h2>
497 <h4> New APIs </h4>
498 <ul>
499 <li>The <a href="contextMenus.html">context menus API</a> allows you to
500 add context menus to pages or specific objects on a page.
501 <li>The <a href="cookies.html">cookies API</a> allows you to manage the
502 browser's cookie system.
503 <li>The <a href="idle.html">idle API</a> allows you to detect when the
504 machine's idle state changes.
505 </ul>
506 <h4> Additions to existing APIs </h4>
507 <ul>
508 <li>The <a
509 href="extension.html#method-getViews">chrome.extension.getViews()</a>
510 method can now return popup views.
511 <li>A new <a
512 href="windows.html#property-WINDOW_ID_NONE">WINDOW_ID_NONE</a> constant
513 identifies when focus shifts away from the browser.
514 <li>The new <a
515 href="tabs.html#method-getCurrent">chrome.tabs.getCurrent()</a> method
516 returns the tab associated with the currently executing script.
517 </ul>
518 <h4> Manifest changes </h4>
519 <ul>
520 <li>The <a href="manifest.html#geolocation">geolocation</a> permission
521 gives an extension access to the user's physical location.
522 <li><a href="match_patterns.html">Match patterns</a> can now select all
523 schemes or all URLs.
524 <li>Access to file:/// URLs no longer triggers the "access to your machine"
525 security warning, but now requires user opt-in from the extensions
526 management page.
527 </ul>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698