CHANGELOG.org (3962B)
1 ** Changes since 0.1.0 2 3 *** Breaking changes 4 5 - Seam's code has been moved to the =lisp/= subdirectory, where it 6 should have been all along. Make sure to update your =init.el= 7 accordingly. 8 9 - Seam now uses [[https://github.com/Wilfred/mustache.el][mustache.el]] for templating. In Mustache, 10 double-bracketed variables are escaped, so you must use 11 triple-brackets for variables that include raw HTML. Please see the 12 updated =seam-export-default-template-string= for reference. 13 14 - Your =seam-title-formatter= function should now take three arguments 15 instead of two: the third arg (=draft-p=) will be non-nil if the 16 note is a draft. 17 18 **** Renamed variables 19 20 - =seam-export-time-format-datetime= is now 21 =seam-export-time-format-dt=. 22 23 **** Renamed functions 24 25 - =seam-make-note= is now =seam-create-note=. 26 27 - =seam-replace-string-in-notes= is now 28 =seam-replace-string-in-all-notes=. 29 30 - =seam-visited-files= is now =seam-visited-notes=. 31 32 *** New features 33 34 - Notes can now be set as drafts for finer-grained control over 35 exporting. If =seam-create-as-draft= is non-nil, new notes will be 36 created as drafts. See =seam-note-types= for info on overriding 37 this per type. A note's draft status can be toggled with the new 38 command =seam-toggle-draft=. A new =seam-export-alist= option, 39 =:include-drafts=, controls whether drafts are included in a given 40 export profile. 41 42 - Custom template variables can now be defined, and built-in ones 43 overridden. This is done globally with 44 =seam-export-template-values=, or per profile with 45 =:template-values=. 46 47 - An option has been added to export internal links with a custom CSS 48 class. The default is set by =seam-export-internal-link-class=, and 49 can overridden per profile using =:internal-link-class=. 50 51 - Custom slugs can now be set by adding the =SEAM_SLUG= property to a 52 note's title headline. 53 54 - Creation and modification date can now be set explicitly using the 55 =SEAM_CREATED= and =SEAM_MODIFIED= properties. These dates can be 56 accessed within templates. The ={{#modified?}}= block tests whether 57 the two dates are unequal, and the behavior of this can be 58 customized with =seam-export-ignore-same-day-modifications= and 59 =:ignore-same-day-modifications=. 60 61 *** Improvements 62 63 - Notes are no longer re-exported unnecessarily whenever a linked note 64 is changed. 65 66 - In HTML templates, ={{title}}= now strips out formatting, so that it 67 is more suitable for use in =<title>= tags. To get a raw 68 HTML-formatted title for =<h1>= tags and the like, you should use 69 the new ={{{raw-title}}}=. As mentioned above, triple brackets are 70 the Mustache syntax for interpolating raw HTML. 71 72 - When invoking =seam-delete-note=, the note's title is now mentioned. 73 This is to reduce the risk of deleting the wrong note by mistake. 74 75 - Completion support is somewhat improved. =ido-completing-read= now 76 works properly, and Seam no longer binds =completion-ignore-case=. 77 78 - Changes to =seam-export-alist= are now respected when forcibly 79 re-exporting (e.g. with =seam-export-all-notes=). This is done by 80 always deleting old HTML files before exporting, thus avoiding the 81 situation where notes of no-longer-exported types still have files 82 hanging around. 83 84 *** Bugfixes 85 86 - Notes with single quotes in the name (') are no longer broken. 87 88 - =seam-visited-notes= no longer returns buffers that visit non-note 89 files within =seam-note-directory=. This could have resulted in 90 Seam inappropriately modifying those files (e.g. updating links). 91 92 - Buffer titles are now set correctly from narrowed buffers. 93 94 - An issue with regexp escape sequences being interpreted in template 95 variable replacements has been fixed. 96 97 - Seam now validates note types entered with =C-u seam-set-note-type=, 98 averting any mishaps if an invalid type is entered. 99 100 - It is no longer possible to create a note with an empty slug. 101 102 - Per-profile export options now override global options in all cases.