Skip to content

Releases: blacksmithgu/obsidian-dataview

0.5.6

07 Apr 08:20
Compare
Choose a tag to compare

0.5.6 (Beta)

Proper release of 0.5.5 plus one additional small improvement:

  • Add duration * number and duration / number operations for manipulation durations numerically.

0.5.4

02 Apr 23:40
Compare
Choose a tag to compare

0.5.4 (Beta)

Improved image rendering for some link types, and adds the embed(link) and embed(link, false) options to convert
links to/from their embedded equivalents.

0.5.3

02 Apr 23:27
Compare
Choose a tag to compare

0.5.3 (Beta)

Iterative beta which adds a few nice QoL features and fixes some more bugs:

  • Internally swapped to a React-based renderer; this should not have a noticable perf or usability impact, but makes it
    easier for me to implement complex table/list behaviors.
  • Naming your fields with AS "Name" is now optional; Dataview will infer the name from the expression automatically.
    For example, TABLE 8 + 4, 3 + 6 FROM ... is now a valid table expression, and the columns will be named 8 + 4 and
    3 + 6 respectively.
  • Some issues with array and object rendering were corrected.
  • Error messages on empty dataview results were improved and now show up for all views.

Inline images are now rendered correctly in Dataview tables and lists - no more hacky app://local/ schenanigans!

0.5.2

25 Mar 02:02
Compare
Choose a tag to compare

0.5.2 (Beta)

  • Fix #971: Objects now work properly inside DataviewQL evaluation.

0.5.1

24 Mar 09:50
Compare
Choose a tag to compare

0.5.1 (Beta)

  • Temporarily revert the new task metadata behavior: inline fields in sublists of tasks are added to the page, instead
    of the task. This behavior is not good, but is compatible with legacy usages of task metadata, which should uinbreak
    some existing queries.
    • This behavior will be removed in the future behind a flag.
  • Added the 'visual' field to tasks - if set, tasks render 'visual' instead of their regular text.
  • Fixed DataArray#mutate().

0.5.0

22 Mar 08:02
Compare
Choose a tag to compare

0.5.0 (Beta)

Re-release of broken release 0.4.23, now hopefully with fixes that make it work on (most) machines. I'll be doing beta
releases for a little while until I can confirm the new version is stable; use BRAT
(https://github.com/TfTHacker/obsidian42-brat) to easily track Dataview beta versions if you are interested in cutting
edge features.

0.4.26

16 Feb 07:56
Compare
Choose a tag to compare

This release reverts to Dataview version 0.4.22 due to there being too many unforeseen bugs with the new parser backend introduced in 0.4.23, particularly on platforms (Mac OS X, mobile, heavy use of templates) that I do not test on locally. I will be forking Dataview into an additional beta branch including new features for early adopters interested in helping me stabilize the new release.

0.4.25

16 Feb 04:18
Compare
Choose a tag to compare

0.4.25

Fix #867: Create a container div per taskList to allow for multiple task views.

0.4.24

16 Feb 02:17
Compare
Choose a tag to compare

0.4.24

Re-release of 0.4.23f since Obsidian does not automatically update between non-semver versions.

0.4.23

15 Feb 10:01
Compare
Choose a tag to compare

0.4.23

The Task Update! This release reworks how dataview handles tasks and list items so that they should be much more
intuitive to use and interact with:

  1. Subtask Support: Queries now search over all list items, instead of only over root elements. This should make
    task filtering much more usable, especially if you tend to put tasks under other list items or care specifically
    about subtasks.
  2. Multiline Support: Dataview now understands multi-line tasks and renders/updates them correctly.
  3. Immediately Navigate to Task: The new task view, aside from looking a little cleaner than previous views, now
    immediately navigates to the task in it's original file on click and selects it.
  4. Grouping Support: For DataviewJS users, dv.taskList now supports grouping (as produced by groupBy and the new
    groupIn) natively.

For DataviewJS users, the task and list representation has changed: file.tasks (and the new file.lists) contain
every single task (including subtasks) in the file, instead of only the root elements. You can return to previous
behavior by filtering out tasks with a non-null parent - i.e., file.tasks.where(task => !task.parent). dv.taskList
will intelligently deal with properly nesting and de-duplicating tasks, so just filter to the tasks you want to render and
the API will do the rest.

This release also includes general backend improvements as we prepare for live-editing in Dataview views, as well as
several community-contributed API improvements:

  • DataArray#groupIn: For grouping already grouped data, you can now use array.groupIn(v => ...), which will group
    the innermost (original) data in the array instead of the top level groups. This allows for more easily grouping
    recursively, such as dv.pages().groupBy(page => page.file.folder).groupIn(page => page.title) producing a grouping
    of folders, then page titles.
  • substring(string, start[, end]): The last major missing string function is now available! Take slices of strings.
  • Improved dv.el() and other HTML functions - thanks @vitaly.
  • null and undefined entries sort at the end instead of the beginning by default; sorry to those whose code sorts wrong
    because of this, but it is a better default for most people's use cases.
  • All links are now properly normalized to their full paths, fixing many link comparison edge cases in DataviewJS.

Documentation additions for the new task functionality will be coming out in the next few days. The next release 0.4.24
is currently targeting expanded FROM query support, basic table view improvements, and general exporting functionality
for Dataview. See you then!