Releases: konodyuk/obsidian-typing
Releases Β· konodyuk/obsidian-typing
Release list
0.3.7
- Fix
hide_inline_fieldsattribute not working in some cases
Full Changelog: 0.3.6...0.3.7
0.3.6
0.3.5
- Add support for non-string default field values, examples:
num: Number = 3bool: Boolean = truelist_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 oflist_num :: 3, 4, 5
Full Changelog: 0.3.4...0.3.5
0.3.4
- Fix autoreloading
- Fix editor linting relative imports as incorrect
Full Changelog: 0.3.3...0.3.4
0.3.3
- 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
0.3.1
- Hotfix broken view title
Full Changelog: 0.3.0...0.3.1
0.3.0
Features:
- Support
cssandcss_classessyntax instylesection - Add
Booleanfield type (currently supports onlycheckboxstyle) (closes #9) - Add
Textfield type (for longer texts, asStringsupports single line values) - Support
globattribute (more flexible alternative tofolderfor non-createable types) - Support
import { Type as Alias } from "path"syntax - Add
on_metadata_changehook - 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
dedentprop to<Markdown />component - Add
@emotion/cssto 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
Textpickers (note content in new note prompt andTextfield type) - Support dataview value formats in
FieldType.Displayof all field types - Make
type/style/hide_inline_fieldsandtype/style/css_classesattributes inheritable - Transpilation and execution stability improvements
- Fix css class names (e.g.
.typing--promptinstead of.Prompt, etc.) - + minor fixes and improvements
Full Changelog: 0.2.8...0.3.0
0.2.8
- Add highlighting of active UI prompt elements
- Add
Type().promptNew() - Make
@emotion/reactimportable in scripting environment - Fix
hide_inline_fieldssetting not working in the first note opened after vault loading - Implement
<api.ui.Markdown />component - Add
api.platform - Minor fixes
0.2.7
- Fix modals closing without confirmation on mobile
- Add (Cmd/Ctrl)+Backspace to remove (set empty) field values in UI prompts
- Minor fixes