* NEWS: Update for 0.11.0.

* snippets/: Update snippets submodule.

* yasnippet.el: Bump version number.
This commit is contained in:
Noam Postavsky 2016-09-22 22:51:44 -04:00
parent eaaec309b1
commit e6b8651277
3 changed files with 49 additions and 3 deletions

46
NEWS
View File

@ -3,6 +3,52 @@ Yasnippet NEWS -- history of user-visible changes.
Copyright (C) 2016 Free Software Foundation, Inc. Copyright (C) 2016 Free Software Foundation, Inc.
See the end of the file for license conditions. See the end of the file for license conditions.
* 0.11.0 (Oct 26, 2016)
** Changes and New Features
*** Modifying buffer in backquoted expressions is deprecated!
Backquoted expressions should only return a string that will be
inserted. Snippets which modify the buffer as a side-effect will now
trigger a warning.
*** The verbosity levels for messages have been adjusted.
While the default verbosity level was increased by 1 (it was only
lower before due to a bug), several messages now only print at the
level 4, so the overall effect should be less messages by default.
*** Saving and loading snippets has been streamlined. Saving the
snippet to a file will now automatically load it. Additionally, the
buffer will be renamed from "*new snippet*" to whatever the snippet is
named. See also Github #718, #733, and #734.
*** `yas-escape-text' no longer signals an error when given nil.
*** `yas-describe-tables' is split into simpler commands.
**** `yas-describe-tables' takes a prefix arg to show non-active tables.
**** New command `yas-describe-tables-by-namehash' shows table by namehash.
*** Use the region contents as the snippet body of new snippets.
*** The dependency on `cl' is removed.
Yasnippet now only requires `cl-lib'.
** Fixed Bugs
*** Fix field navigation (tabbing) in the backwards direction.
See Github #722
*** Add support for deprecated yas/ symbols in `yas-define-menu'.
It was left out by accident. This support is conditional on
`yas-alias-to-yas/prefix-p', just like other obsolete yas/ bindings.
*** Fix overriding of snippet by a new snippet with same uuid.
See Github #714.
*** Fix handling of snippets with 2 mirros on the same line.
See Github #712.
* 0.10.0 (June 11th, 2016) * 0.10.0 (June 11th, 2016)

@ -1 +1 @@
Subproject commit 9ce0b05f4b4d693831e67dd65d660716a8192e8d Subproject commit 29da8e6c0444188406fdc5bb8b18e9b328fb710e

View File

@ -5,7 +5,7 @@
;; João Távora <joaotavora@gmail.com>, ;; João Távora <joaotavora@gmail.com>,
;; Noam Postavsky <npostavs@gmail.com> ;; Noam Postavsky <npostavs@gmail.com>
;; Maintainer: Noam Postavsky <npostavs@gmail.com> ;; Maintainer: Noam Postavsky <npostavs@gmail.com>
;; Version: 0.10.0 ;; Version: 0.11.0
;; X-URL: http://github.com/joaotavora/yasnippet ;; X-URL: http://github.com/joaotavora/yasnippet
;; Keywords: convenience, emulation ;; Keywords: convenience, emulation
;; URL: http://github.com/joaotavora/yasnippet ;; URL: http://github.com/joaotavora/yasnippet
@ -514,7 +514,7 @@ snippet itself contains a condition that returns the symbol
;;; Internal variables ;;; Internal variables
(defconst yas--version "0.10.0") (defconst yas--version "0.11.0")
(defvar yas--menu-table (make-hash-table) (defvar yas--menu-table (make-hash-table)
"A hash table of MAJOR-MODE symbols to menu keymaps.") "A hash table of MAJOR-MODE symbols to menu keymaps.")