v1.1.0 Changelog
v1.1.0-beta.0
In this release we support eta template for note property to support more flexible and powerful customizations. Check out the documentation (opens in a new tab) for more details.
Make sure to check out the documentation (opens in a new tab) for new features and changes.
Breaking Changes
- The old configuration for note fields is removed, please use the new note properties template instead.
- Ending tag newline trimming is disabled by default since this version. This may introduce unexpected behavior in your template, please check out the documentation (opens in a new tab) for more details and update your template accordingly. You can enable the old behavior by setting
autoTrim
in the plugin settings. Related: #110 (opens in a new tab) Array.groupBy
in template is replaced withObject.groupBy
(opens in a new tab) andMap.groupBy
(opens in a new tab) following the latest ECMAScript proposal- Tags imports filters are now customizable, you can now import tags from literature, in addition to manually added ones. Please check out the documentation (opens in a new tab) for more details. Related: #106 (opens in a new tab)
- Note Fields View is removed, use Note Properties View in Obsidian v4.4+ instead.
v1.1.0-beta.1
- fix helper not working in citation and filename template, related: #162 (opens in a new tab), #135 (opens in a new tab)
v1.1.0-beta.2
- fix file link not compatabile with ZotFile; close #151 (opens in a new tab)
v1.1.0-beta.3
- add dateAdded and dateModified for annotation and docItem; close #155 (opens in a new tab)
v1.1.0-beta.4
- add "copy" mode for image import to fix symlink permission issue
in Windows, symlink image to vault is sometime broken due to file system/permission issue, use copy mode on windows by default to solve this
- fix new eta engine don't replace undefined value with empty string
v1.1.0-beta.5, v1.1.0-beta.6
- refactor for latest obsidian API and review guidelines
- rename plugin to zotlit
v1.1.0-beta.7
- add option to render frontmatter with eta output directly, close #102 (opens in a new tab)
add frontmatter option
raw: true
in zt-field.eta will skip prettify process note: if frontmatter in literature note is updated, the prettify will break the previous formatting regardless ofraw: true
- update UI text to follow obsidian guideline
v1.1.0-beta.8
- hide database init complete notice, close #121 (opens in a new tab)
- add template support for collection, close #176 (opens in a new tab)
- fix broken ItemByKey
v1.1.0-beta.9
- fix collection not read in template, close #182 (opens in a new tab)
v1.1.0-beta.10
- support item assigned with multiple collections, close #182 (opens in a new tab)
deprecate
it.collection
in docItem, useit.collections
instead, check out template cheatsheet (opens in a new tab) for examples
v1.1.0-beta.11 - beta.13
BRAKING CHANGES: citation templates are now ejectable zt-cite
and zt-cite2
templates that could recieve multiple literatures, please migrate your previous citation templates to the new ones.
These version brings support for note import from Zotero.
You can import notes from Zotero using Import note
command, or access Zotero notes from it.notes
in template. (document about the new note import feature is still working in progress.)
- colored highlights can be customized in
zt-colored
template- background color and text color can be accessed using
it.bgColor
andit.color
, each of which comes with acolorName
property (it.bgColorName
andit.colorName
) for human-readable color name
- background color and text color can be accessed using
- citations are imported using
zt-cite
template - annotations are imported using
zt-annot
template- check if annotation is used in Zotero note import by checking if
it.ztnote
exists - if you edit annotation comment in Zotero note, you can access them using
it.ztnote.comment
(raw html output) orit.ztnote.commentMd
(markdown output) - if you have some annotation that is referenced in a paragraph instead of a standalone block, you can handle those inline highlights by checkin
it.ztnote.inline
- check if annotation is used in Zotero note import by checking if
Other changes:
- fix
\n
in template get replaced unexpectedly, for example, in regex expression - support underline annotation in Zotero 7