Skip to content

Releases: konodyuk/obsidian-typing

0.3.7

03 Dec 13:06
Compare
Choose a tag to compare
  • Fix hide_inline_fields attribute not working in some cases

Full Changelog: 0.3.6...0.3.7

0.3.6

02 Dec 19:10
Compare
Choose a tag to compare

Full Changelog: 0.3.5...0.3.6

0.3.5

02 Dec 18:48
Compare
Choose a tag to compare
  • Add support for non-string default field values, examples:
    • num: Number = 3
    • bool: Boolean = true
    • list_num: List[Number] = [3, 4, 5]
    • list_bool: List[Boolean] = [false, true]
    • list_str: List[String] = ["one", "two"]
  • Fix lists of numbers being saved as list_num :: "3", "4", "5" instead of list_num :: 3, 4, 5

Full Changelog: 0.3.4...0.3.5

0.3.4

02 Dec 17:55
Compare
Choose a tag to compare
  • Fix autoreloading
  • Fix editor linting relative imports as incorrect

Full Changelog: 0.3.3...0.3.4

0.3.3

02 Dec 15:27
Compare
Choose a tag to compare
  • Add note cache to properly reuse and invalidate note instances and related objects
  • Fix runHook-related issues in untyped notes

Full Changelog: 0.3.2...0.3.3

0.3.2

01 Dec 22:05
Compare
Choose a tag to compare

Full Changelog: 0.3.1...0.3.2

0.3.1

01 Dec 21:51
Compare
Choose a tag to compare
  • Hotfix broken view title

Full Changelog: 0.3.0...0.3.1

0.3.0

01 Dec 20:16
Compare
Choose a tag to compare

Features:

  • Support css and css_classes syntax in style section
  • Add Boolean field type (currently supports only checkbox style) (closes #9)
  • Add Text field type (for longer texts, as String supports single line values)
  • Support glob attribute (more flexible alternative to folder for non-createable types)
  • Support import { Type as Alias } from "path" syntax
  • Add on_metadata_change hook
  • Add api.promptType()
  • Add api.otl.run(code)
  • Add <note.Header />, <note.Footer />, <note.Link /> (useful for inheritance)
  • Add note.link()
  • Add note.promptState()
  • Add dedent prop to <Markdown /> component
  • Add @emotion/css to scripting environment

Fixes:

  • Fix marginals not refreshing after renaming open note
  • Fix default values for fields of type Date
  • Fix note.super() not working for types inherited from not exported ancestors
  • Wrap lines in Text pickers (note content in new note prompt and Text field type)
  • Support dataview value formats in FieldType.Display of all field types
  • Make type/style/hide_inline_fields and type/style/css_classes attributes inheritable
  • Transpilation and execution stability improvements
  • Fix css class names (e.g. .typing--prompt instead of .Prompt, etc.)
  • + minor fixes and improvements

Full Changelog: 0.2.8...0.3.0

0.2.8

08 Oct 19:14
Compare
Choose a tag to compare
  • Add highlighting of active UI prompt elements
  • Add Type().promptNew()
  • Make @emotion/react importable in scripting environment
  • Fix hide_inline_fields setting not working in the first note opened after vault loading
  • Implement <api.ui.Markdown /> component
  • Add api.platform
  • Minor fixes

0.2.7

01 Oct 17:58
Compare
Choose a tag to compare
  • Fix modals closing without confirmation on mobile
  • Add (Cmd/Ctrl)+Backspace to remove (set empty) field values in UI prompts
  • Minor fixes