Releases: konodyuk/obsidian-typing
Releases Β· konodyuk/obsidian-typing
0.3.7
- Fix
hide_inline_fields
attribute not working in some cases
Full Changelog: 0.3.6...0.3.7
0.3.6
Full Changelog: 0.3.5...0.3.6
0.3.5
- 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 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
Full Changelog: 0.3.1...0.3.2
0.3.1
- Hotfix broken view title
Full Changelog: 0.3.0...0.3.1
0.3.0
Features:
- Support
css
andcss_classes
syntax instyle
section - Add
Boolean
field type (currently supports onlycheckbox
style) (closes #9) - Add
Text
field type (for longer texts, asString
supports single line values) - Support
glob
attribute (more flexible alternative tofolder
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 andText
field type) - Support dataview value formats in
FieldType.Display
of all field types - Make
type/style/hide_inline_fields
andtype/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
- 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
- Fix modals closing without confirmation on mobile
- Add (Cmd/Ctrl)+Backspace to remove (set empty) field values in UI prompts
- Minor fixes