obsidian-dataview

A data index and query language over Markdown files, for https://obsidian.md/.

MIT License

Stars
6.9K
Committers
112

Bot releases are hidden (Show)

obsidian-dataview - 0.5.47

Published by blacksmithgu about 2 years ago

0.5.47

Improves date + duration behavior when either the date or duration are null.

obsidian-dataview - 0.5.46

Published by blacksmithgu about 2 years ago

0.5.46

  • Fix #1412: Fix bad file.cday and file.ctime comparisons due to wrong timezone being set. Ugh.
obsidian-dataview - 0.5.45

Published by blacksmithgu about 2 years ago

0.5.45

  • #1400: Properly use the group by field for the group name.
  • Fix bad table highlighting in some themes.
obsidian-dataview - 0.5.44

Published by blacksmithgu about 2 years ago

0.5.44

  • #1404: Fixed dates in non-local timezones parsing incorrectly.
  • Fixed some build non-determinism issues.
  • Swapped to pull requests for adding new functionality, and added some more internal tests.
obsidian-dataview - 0.5.43

Published by blacksmithgu about 2 years ago

0.5.43

  • Fix #1366: Better handling of calendar emoji (used as due dates in tasks).
obsidian-dataview - 0.5.42

Published by blacksmithgu about 2 years ago

0.5.42

It's been over a month since the last release! Anyway, this release bundles several nice user-contributed features:

  • @AB1908: Tag queries are now case insensitive.
  • @AB1908: Shift-clicking a link/task to open in a new tab now works properly on Mac.
  • @AB1908: Numerous documentation fixes for clarity and more examples.
  • @AnnaKornfeldSimpson: Additional emoji shorthands for more task fields (finished, due).
  • @ooker777: Documentation improvements for some DataviewJS functions, and the ability to use inline emoji for the
    completion tracking feature.
  • @mt-krainski: Custom date formats for task completions.
  • @gentlegiantJGC: Better support for nested inline fields (i.e., less crashy).
  • @kometenstaub: Experimental support for evaluating inline queries inside live preview; there are still some limitations (refreshing doesn't work yet), but a great step forward!
obsidian-dataview - 0.5.41

Published by blacksmithgu over 2 years ago

0.5.41

  • Fix a bad regex doing escaping in markdown tables.
  • Improve async documentation.
obsidian-dataview - 0.5.40

Published by blacksmithgu over 2 years ago

0.5.40

Adds some more documentation about the new markdown functionality.

obsidian-dataview - 0.5.39

Published by blacksmithgu over 2 years ago

0.5.39

  • Fixed an issue where checking a task in a task view would check the wrong box visually.
  • Added experimental plugin APIs for querying dataview directly as markdown, and converting dataview results to properly
    formatted markdown.
obsidian-dataview - 0.5.38

Published by blacksmithgu over 2 years ago

0.5.38

  • Some minor documentation improvements.
  • Fix an issue with inline fields rendering out of order. That was a wierd bug.
obsidian-dataview - 0.5.37

Published by blacksmithgu over 2 years ago

0.5.37

Fixes inline field rendering to once again work for highlighting/links, as well as some other rendering quirks with
inline queries in codeblocks.

obsidian-dataview - 0.5.36

Published by blacksmithgu over 2 years ago

0.5.36

  • Fix a bug when checking if an element is an HTMLElement.
  • Properly include the nice improvements to the file count in tables and lists.
obsidian-dataview - 0.5.35

Published by blacksmithgu over 2 years ago

0.5.35

  • Fix #1196, #1176: Re-enable HTML values. This was never a featured I advertised since it was just for some internal
    hackery, but it appears people just discovered it in DataviewJS queries.
  • Improved initial time to popular queries that use file.starred.
obsidian-dataview - 0.5.34

Published by blacksmithgu over 2 years ago

0.5.34

  • Fix #1174: Fix indexing with a variable.
  • Fix an issue with the experimental calendar view.
obsidian-dataview - 0.5.33

Published by blacksmithgu over 2 years ago

0.5.33

  • Fix a bug with inline views that was introduced in 0.5.32.
obsidian-dataview - 0.5.32

Published by blacksmithgu over 2 years ago

0.5.32

The Dataview API has been noticably revamped - there are now approximately twice as many functions available on the
plugin API as there were before, and some additional utilities have been added to both the plugin and inline API. I
will be finishing up the associated new "extension" functionality shortly, which will allow:

  1. For custom Dataview + DataviewJS functions to be added via plugins.
  2. For custom renderable objects (progress bars, embedded task lists, embedded tables) to be added to any Dataview view via plugins.
  3. For plugins to provide alternative behavior for some dataview functionality (such as integrating task plugins with
    the dataview task query).

As part of the API revamp, it is now possible to programmatically execute Dataview and DataviewJS queries - either for
using the existing Dataview query language in your own plugin, or for embedding dataview. The Dataview npm library also
now exposes many useful internal Dataview types, including the AST structure for all dataview queries.

I am hoping that cleaning up the Dataview API and making it much more extensible will allow for Dataview to integrate
much better with existing plugins, and to provide the full power of the in-memory index for plugins. I have been very
carefully watching index performance in recent weeks to ensure smooth frontend performance for anyone using the API
(with a goal of <10ms for most queries).

obsidian-dataview - 0.5.31

Published by blacksmithgu over 2 years ago

0.5.31

Tasks now have an outlinks list field which includes all links in the task; this can be used for finding tasks with
links in them.

obsidian-dataview - 0.5.30

Published by blacksmithgu over 2 years ago

0.5.30

  • Added the typeof(any) function in Dataview, which obtains the type of any value for comparison:
typeof("text") = "string"
typeof(1) = "number"
typeof([1, 2, 3]) = "array"
  • Added the modulo operator (%) for doing integer division remainder. I.e., 14 % 2 = 0 and 14 % 3 = 2.
  • Fixed some minor spacing issues with lists in tables.
obsidian-dataview - 0.5.29

Published by blacksmithgu over 2 years ago

0.5.29

Fix another subtle incompatibility between 0.4.26 and 0.5.29 - if you frequently used empty inline fields (like
Key:: with no value), the 0.5+ behavior is now the same as 0.4 behavior and will map such fields to null instead of an
empty string.

This may fix a broad variety of "subtly wrong" queries that you may have seen after the upgrade.

obsidian-dataview - 0.5.28

Published by blacksmithgu over 2 years ago

0.5.28

  • Fix a bug with some more string concatenations and null handling.