Skip to content

Release Notes: 1.1

ScanuNicco edited this page Sep 25, 2021 · 14 revisions

What's New in Release 1.1

Full change logs: brackets and brackets-shell

UI Changes

Brackets now shows the project name in the title bar after the current filename (inside parentheses).

The menu item Navigate > Go to First Error/Warning has been renamed to Go to First Problem.

API Changes

Event listeners - Instead of using jQuery events, Brackets core modules and model objects now provide their own simpler on()/off() event listener API. (For DOM objects, continue to use jQuery events). When the legacy $().on()/off() APIs are used on objects that support the new API, they automatically call the new API instead. The new API is more robust to listeners that throw exceptions, uses less memory, and is easier to debug.

Related changes:

  • Editor's "keyEvent" event is deprecated. Use the more specific events "keyup", "keypress", or "keydown" instead. (However, in most cases you should use Document's "change" event instead of any of the Editor events).
  • NodeConnection events now only use : separators - the deprecated . separators (which conflict with the more standard use of . as an event-listener namespace) are no longer supported.

Chromium version - Updated from Chromium 29 to 39, except on Linux which still uses Chromium 29 for now (help needed for Linux build - see here for details).

Developer tools - Debug > Show Developer Tools now opens a Brackets window instead of a tab in your browser. If Brackets gets badly hosed, you can still open dev tools in Chrome browser by manually visiting http://localhost:9234/.

jQuery - Upgraded from 2.1.0 to 2.1.1
Lodash - Upgraded from 2.2.0 to 2.4.1
LESS - Upgraded from 1.7.0 to 1.7.5
RequireJS - Upgraded from 2.1.5 to 2.1.15

SVG language - SVG files are now reported by LanguageManager as "svg" instead of "xml" as before.

Markdown language - Markdown files may now be reported by LanguageManager as "gfm" in addition to the "markdown" language reported before. This lets users distinguish GitHub-flavored Markdown files from "classic" Markdown.

File tree icon providers - Providers can now return falsy to add no icon to an item, consistent with working set icon providers. Clarified documentation for all provider hooks. Also, the large negative margin + large positive padding hack used in tree items' CSS has been removed.

New/Improved Extensibility APIs

Themes - specify "addModeClass": true in the theme info JSON to enable using language-specific CSS selectors (e.g. use different colors for the same token name, depending on file type). This causes a slight performance hit, so please only enable if you're using it.

Known Issues

  • Debug > Run Tests is disabled in the installer/DMG distributions of Brackets, because the unit test code is not included. To run unit tests, pull Brackets from GitHub instead.

Community contributions to Brackets

Pulling source code from Git

  • A new brackets-shell build is required for this sprint.
    • If you build brackets-shell yourself, you must re-run grunt setup before building (due to the CEF update).
  • A submodule URL was changed this sprint. Run git submodule sync and then git submodule update --init --recursive to ensure your local source tree reflects the update.

Bugs fixed in Release 1.1

For details on the bugs addressed, please refer to closed Release 1.1 bugs. Not all fixed bugs will be caught by this search query, however.

Clone this wiki locally