branch: master commit 3bf9a3b1af37174a004798b7195826af0123fa6a Author: Noam Postavsky <npost...@users.sourceforge.net> Commit: Noam Postavsky <npost...@users.sourceforge.net>
Release 0.14.0 * NEWS: Update for 0.14. * yasnippet.el (yas-installed-snippets-dir, yas--version): Bump version. --- NEWS | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- yasnippet.el | 6 ++--- 2 files changed, 78 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 6bea12f..35d514f 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,82 @@ Yasnippet NEWS -- history of user-visible changes. -Copyright (C) 2017-2018 Free Software Foundation, Inc. +Copyright (C) 2017-2019 Free Software Foundation, Inc. See the end of the file for license conditions. +* 0.14.0 (Dec 22, 2019) + +** Changes + +*** New 'yas-auto-next' macro, automatically moves to next field. +See Github #937. + +*** Yasnippet now officially requires Emacs 23 or greater. +See Github #940. + +*** Snippets for 'fundamental-mode' are available in all modes. +See Github #949, and #936. + +*** New function for snippets, 'yas-completing-read'. +See Github #934. + +*** New function 'yas-maybe-expand-abbrev-key-filter'. +This can be used for making conditional keybindings for snippets. +Promoted from 'yas--maybe-expand-key-filter'. See Github #943. + +*** DEL can now be used to clear fields, similar <delete>. +It is bound to the new conditional command 'yas-maybe-clear-field', which may +be bound to other keys as well. See Github #960 and #957. + +*** Snippet field movement commands may now trigger eldoc. +See Github #952. + +*** New variable 'yas-keymap-disable-hook'. +Can be used (e.g., for company-mode) to temporarily disable +'yas-keymap' bindings, or any binding made by the new function +'yas-filtered-definition'. See Github #987. + +*** New variable 'yas-inhibit-overlay-modification-protection'. +This allows a snippet to remain active, even if some commands make +modifications outside the expected area (i.e., the active snippet +field). + +*** 'yas-minor-mode' is no longer enabled in temp buffers. +That is, buffers whose name starts with a space. This setting may be +undone by removing 'yas-temp-buffer-p' from +'yas-dont-activate-functions'. See Github #985. + +*** Accept unescaped '{', for LSP compatibility. +See Github #979. + +** Fixed bugs + +*** 'yas-not-string-or-comment-condition' no longer relies on 'this-command'. +This lets it work correctly with conditional key-bindings. See Github +#973, #991. + +*** Fix snippet expansion in org src buffers. +Note that this still doesn't work in text-mode blocks. +See Github #976, #989. + +*** Fix snippet insertion for keyless snippets. +See Github #1014. + +*** Fix errors with company-mode completion within snippet fields. +See Github #995. + +*** Fix errors with cc-mode. +See Github #962. + +*** Fix problems with lsp-mode. +**** Improve performance in overlay heavy buffers (Github #926). +**** Fix double call of 'before/after-change-functions' (Github #966). + +*** Fix errors with nested snippet expansion. +See Github #961, #1002. + +*** Stop yas-field-highlight-face inheriting from bogus 'quote' face. + + * 0.13.0 (May 13, 2018) ** Changes diff --git a/yasnippet.el b/yasnippet.el index bfd904e..e0b5537 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -5,7 +5,7 @@ ;; João Távora <joaotav...@gmail.com>, ;; Noam Postavsky <npost...@gmail.com> ;; Maintainer: Noam Postavsky <npost...@gmail.com> -;; Version: 0.13.0 +;; Version: 0.14.0 ;; X-URL: http://github.com/joaotavora/yasnippet ;; Keywords: convenience, emulation ;; URL: http://github.com/joaotavora/yasnippet @@ -160,7 +160,7 @@ (defconst yas-installed-snippets-dir (expand-file-name "snippets" yas--loaddir)) (make-obsolete-variable 'yas-installed-snippets-dir "\ -Yasnippet no longer comes with installed snippets" "0.13") +Yasnippet no longer comes with installed snippets" "0.14") (defconst yas--default-user-snippets-dir (expand-file-name "snippets" user-emacs-directory)) @@ -579,7 +579,7 @@ can be useful." ;;; Internal variables -(defconst yas--version "0.13.0") +(defconst yas--version "0.14.0") (defvar yas--menu-table (make-hash-table) "A hash table of MAJOR-MODE symbols to menu keymaps.")