Bug Fixes
- Fixed interactions with input fields in callouts in live preview mode #403
- Fixed
globalMetadatasource not updating subscriptions
Changes
- Relative line number expressions now throw if a literal is not available instead of it as
0
Bug Fixes
- Fixed another issue with the plugin on older installers
Bug Fixes
- Fixed argument validation for the
reactiveMetadataAPI function - Fixed the plugin failing to update metadata for people on an older installer #606
Bug Fixes
- Fixed the plugin breaking live preview in Obsidian 1.9 #598
- Fixed the plugin breaking PDF export in Obsidian 1.9 #603
Misc
- Updated to Zod version 4. Validation error messages might be slightly different, especially for buttons.
Bug Fixes
- Fixed
nullandundefinedvalues in bind targets for JS view fields being turned to the empty string. #564 - Fixed array accesses in nested properties going missing when using the JS API. #576
- Fixed meta bind table reverting to previous state when adding or removing rows. #585
Misc
- Added an example for data dependent styling. (thanks Cube707) #545
Changes
- Changed the name of the API function used to register functions to mathjs.
New Features
- Button actions with line numbers can now use relative line number offsets #296
- Exposed the mathjs singleton via the JavaScript API. This allows registering custom functions to mathjs. (thanks Cube707) #481
Changes
- Majorly revamped the internal structure of the plugin to make certain things easier. Most internal things are not where they were anymore, sorry if you relied on that.
- Added memorization to plugin internal metadata manager. This should majorly improve performance for notes with lots of input and view fields.
- Added tooltips to the slider indicating the current value (thanks Cube707) #529
Bug Fixes
- Fixed some context menus overlapping when right clicking certain input fields #517
- Fixed
createNotebutton action optionopenIfAlreadyExistsnot opening the note in a new tab whenctrl-clicking #520 - Fixed
createNotebutton action optionopenIfAlreadyExistsnot working if the file was in the root of the vault #521 - Fixed
runTemplaterFilebutton action not working as intended #522
Changes
- The minimum required JS Engine version is now
0.3.0
Bug Fixes
- Fixed a bug with view fields not updating when a child of the bound property changed
Bug Fixes
- Fixed text view fields with the
renderMarkdownargument not clearing the DOM while rerendering #502
Changes
- Improved the styling of the image suggester and image list suggester
Bug Fixes
- Fixed Meta Bind embeds not displaying correctly under certain conditions #499
- Fixed missing reset button for the background image option in the button builder #500
- Fixed the image suggester edit button not displaying when no image was selected #501
Bug Fixes
- Fixed the new
backgroundImageandcssStylesbutton options not working - Fixed the
openaction not being able to open plain file paths
New Features
- Added a tooltip to error indicators
- Added modifier support for button clicks
- Middle-clicking on buttons will open files in a new tab for any action that opens files #436
- Added a button action to run a templater file without creating a new note (thanks reply2za) #466
- Added an option named
backgroundImageto specify a background image for buttons #429 - Added an option named
cssStylesto specify inline CSS styles for a button - Image view fields now work with URLs #476
- Added a data attribute to input fields that reflects their internal value #475
Changes
- Updated image suggester styling and allowed it as an inline input field
- Multiple small improvements to the button builder
Bug Fixes
- Fixed markdown parser not handling block references in links correctly #494
- Fixed
addLabelsnot working for theprogressBarinput (thanks Cube707) #473 - Fixed the
defaultValueargument having no effect on thenumberinput field #470 - Fixed the meta bind table sometimes not correctly unloading #487
Misc
- Internal improvements to input and view fields
- Canary releases are now marked as prereleases on GitHub
Bug Fixes
- A better fix for the button builder issue fixed in 1.2.4
Changes
- Reduced load times by 100+ms by not waiting on Prism to load (I hope this does not break anything)
Bug Fixes
- Fixed another issue with the button builder (Hopefully the last one)
Bug Fixes
- Fixed another issue with the button builder caused by svelte 5 proxies
Bug Fixes
- Fixed multiple issues with the button template settings and the button builder caused by svelte 5 proxies #431 and #434
Bug Fixes
- Fixed UI not updating after adding a new button or input field template
New Features
- Button actions that run JS now get more context about the button via
context.buttonContext#414 - Button actions that create notes now have the option to open the file if it already exists #405
- Improved error messages for the meta bind embed
Bug Fixes
- The open link button action will now respect the link fragment parameters (the stuff behind a
#) #374 - Fixed notes failing to render in reading mode when the note contained a button with an ID that is already present in the button templates #390
- Removed unnecessary logging #384
- Fixed the date picker input field not always following the date format set in the settings #402
- Fixed placeholders set with the
placeholderargument not showing correctly for number input fields
Misc
- Migrated to Svelte 5
- Made some initial progress on the O_O 2024 plugin self-critique checklist
New Features
- Added the option to specify custom regexp flags for the regexp replace in note button action #372
- Other metadata fields can now be referenced in the update metadata button action via
getMetadata(bindTarget)#358
Bug Fixes
- Fixed being unable to interact with some input fields in live preview mode on android #339
Bug Fixes
- Fixed a bug with inline buttons in
meta-bindcode blocks causing infinite loops and thus not displaying #348
Changes
- Better error messages especially for button configs
- Renamed the
Enable JS Input Fieldssetting toEnable JavaScriptand it now also affects button actions that run JavaScript
Bug Fixes
- Fix settings save-load-loop when the same vault open multiple times #311
- Fix the button to add a row to the meta bind table saying "add column" instead of "add row" #331
- Fix inline buttons with icons not being correctly vertically aligned #308
- Fix missing error message when using JS View fields but not having the corresponding setting enabled #334
Changes
- Added syntax highlighting for JS View Fields
- Added option to hide JS View Fields
- Button actions now accept links as file paths #297
- Renamed the FAQ to Playground #293
Bug Fixes
- Fixed
templaterCreateNoteButton Action always opening the created note #298 - Fixed not being able to click input fields inside of callouts in LP #291
Changes
- Slightly improved the syncing algorithm and reduced the amount of unnecessary updates
Bug Fixes
- Fixed some issues with the
replaceSelfbutton action not replacing the correct lines when the button was moved by some change in the part of the note above the button - Fixed some unusable API functions for creating meta bind tables, as the required arguments weren't possible to create just using the API
Bug Fixes
- Fixed list type inputs interpreting
nullas[null], nownullis treated as an empty list #280
Bug Fixes
- Fixed button templates not being saved correctly #277
Bug Fixes
- Fixed some issues with the button builder and the button template settings #276
New Features
- Added new input field
imageListSuggester, a list variant of theimageSuggesterinput field #193 - Added new input field
dateTime, a combined date and time input field, using the native obsidian data time input #193 - Added new input field argument
multiLineto add multi line support to thelistinput field #232 - Added new input field argument
allowOtherto allow non suggester values to thesuggester,listSuggesterandinlineListSuggesterinput fields #234 - Added new view field
ìmageto display images in the note, it functions similar to the link view field #246 - Added new view field argument
classto all view fields to add custom classes to the view field, similar to theclassinput field argument #260 - Added new button action
createNoteto create a new note #206 - Added new button action
replaceInNoteto replace lines in the note of the button #206 - Added new button action
regexpReplaceInNoteto replace run a regular expression replace in the note of the button #206 - Added new button action
insertIntoNoteto insert text at a specified line in the note of the button #206 - Added new button action
replaceSelfto replace the button with a string or templater template #206 - Added new button action
inlineJSto run a JavaScript snippet - Added the option to add icons to buttons #273
- Added a command to easily copy command IDs to the clipboard #247
- Added support for reordering in all list type input fields
- Added support for editing in some list type input fields
Changes
- BREAKING Completely reworked the plugins JavaScript API
- Restyled the following input fields:
list,listSuggester,inlineList,inlineListSuggester,imageSuggester,imageListSuggester,selectandmultiSelectto be more in line with Obsidian's design - Changed the date and time input fields to use the native obsidian date and time inputs
- Added the ability for the
openbutton action to open the link in a new tab - Added the button config and args as available variables in the JS button action #242
- Added view field examples into the FAQ #186
- Major restructuring of the plugin codebase to allow for easier development on the publish version of the plugin
Bug Fixes
- Fixed FAQ not opening #230
- Fixed an issue with settings reverting when using a sync service #235
- Fixed in issue where the plugin would sometimes incorrectly complain about duplicate button ids
Bug Fixes
- Fixed an issue with the Button Builder throwing an error when closed #224
Bug Fixes
- Fixed an issue with JS View Fields not correctly handling the lifecycle of rendered markdown #222
Bug Fixes
- Fixed templater create note button action not working #221
Bug Fixes
- Fixed not cloning the metadata object given by the Obsidian API
Changes
- A lot of internal changes while working on the publish plugin. This should not change anything for users.
Bug Fixes
- Fixed an issue with the button id collision triggering when it shouldn't #207
- Fixed a minor memory leak in the button manager
- Fixed an error being thrown when deleting or renaming a note
New Features
- Added options to insert example input and view fields, as well as buttons, from the editor context menu #179
- Added the option to control if a note should be opened in a new tab to the
openbutton action #178 - Added button templates that can be edited from the plugin settings
Changes
- Improved validation errors for buttons and the API
- Removed deprecated input fields that had names in snake_case. Use the camelCase variants instead. The snake_case variants were deprecated since version
0.6.0. - Reworked the UI for the input field template modal
- Made substantial internal changes to the way the plugin handles metadata
- Changed the plugin name to
Meta Bindto comply with the new Obsidian plugin naming requirements - Removed some unnecessary console logs to comply with the Obsidian plugin guidelines
Bug Fixes
- Fixed an issue with the
stepSizeargument causing floating point errors under specific conditions when used with theprogressBarinput #180 - Fixed parsing errors not showing in the input field template modal
- Fixed button id collisions #187
- Fixed buttons not unloading on file rename or delete #187
- Fixed not being able to scroll the
editorinput field #161 - Fixed the
editorinput field overflowing #190
New Features
- Meta Bind Buttons can now update metadata (implements #160)
- CSS Classes can now be added to Meta Bind Buttons
- A tooltip that is different from the label can now be added to Meta Bind Buttons (implements #170)
- The
useLinksargument for suggester like input fields now supports thepartialvalue. (implements #151)
Changes
- The computed value of math view fields will now be saved as a number if it is a number
Bug Fixes
- Fixed a multitude of small issues related to unloading and the button builder
Changes
- Updated dependencies to JS Engine 0.1.0
Bug Fixes
- Fixed a bug with suggesters using Dataview not opening the suggester modal #159
New Features
- Meta Bind Buttons: Create buttons inside your notes that can trigger actions on click. A spiritual successor to the discontinued Buttons Plugin.
- Syntax Highlighting: Meta Bind now has syntax highlighting for all its syntaxes in source mode and in live preview.
- Multiple Bind Target Storage Types: You can not choose to store intermediate inputs or view field outputs in memory. That way they won't clutter your frontmatter.
Changes
- The way to reference scope in the Meta Bind Table has changed from
^.propertytoscope^property.
Bug Fixes
- Fixed a bug related to
nulland default values of input fields #148
New Features
- Meta Bind Embed, a way to embed a note (Note B) in another note (Note A) and have all the input fields think they are part of note A
Changes
- Improved the handling of nested metadata a lot, fixing #52 in the process
- A lot more input fields will now recognize links and render them as links #141
- You can now unselect an element in the
selectinput field by clicking on it again #145
Bug Fixes
- Style fixes for Obsidian 1.5.0
- Fixed a bug with the meta bind table
- Fixed a multitude of bugs relating to how input fields handle frontmatter values that are invalid for that input field, thanks to a lot of new automated tests
New Features
- The in plugin offline FAQ/Help Page now includes a preview of all available input fields
- New view field type
link- displays a link to the note specified in the metadata
- works with lists of notes
- works with external URLs
- The
imageSuggesterwill now find all images in your vault if the string passed tooptionQueryis empty like thisoptionQuery("")
Breaking Changes
- removed setting migrations for settings from plugin versions earlier than
0.6.0 - migrated the JS View Field to use JS Engine
- the docs will include a migration guide soon
Bug Fixes
- Fixed metadata cache does not update on file rename or delete #142
- now all Input and View Fields bound to the renamed or deleted note will unload
Changes
- some style tweaks to the image suggester
- image suggester now finds images in sub folder
- image suggester modal is now searchable
- new input field type
inlineListSuggester - new input field type
inlineList
New Features
- new command to open the docs
- new command to open an offline in plugin FAQ
- new setting to display null as empty in text view fields
Changes
- made error messages more readable and added links to documentation in some places
Bug Fixes
- fixed: Square brackets are not allowed in view fields #136
- fixed: Lists don't display correctly inside of text view fields #132
- fixed: bind target frontmatter ident parser fails to parse ident with non ascii letters #119
Breaking Changes
- Renamed all CSS variables to start with
mb-for consistency
New Features
- View Fields can now render as plain text or as markdown e.g.
VIEW[{a} * {b}]orVIEW[{a} * {b}][math]this does math as beforeVIEW[this is plain text][text]this renders as plain textVIEW[this is **markdown**][text(renderMarkdown)]this renders as markdownVIEW[this is hidden][text(hidden)]this does not render, useful for computations that save their value
- View Fields can now save their computed value to another frontmatter property
VIEW[{a} * {b}][math:c]will savea * binc
- Meta Bind Table, a way to build an expandable table from an array of objects where each cell is an input or view field
- currently only accessible via the JavaScript API
- New Input Field type
listSuggestera list where new items are added with a suggester - New argument for
suggester,useLinks(true | false)that can be used to turn off the usage of links - New
stepSizeargument forsliderandprogressBar, thanks @dbarenholz - New
limitargument fortextandtextArea, thanks @dbarenholz
Changes
- Rewrote all Input Fields to fix Input Fields sometimes overriding frontmatter when changing the frontmatter manually in edit mode
Bug Fixes
- fixed inline select not treating numbers and booleans as numbers and booleans, but as strings
Bug Fixes
- fixed a bug with the settings migration causing the settings to be deleted
New Features
listinput fielddefaultValueinput field argument- lets you define a custom default value for an input field
- works on any input field
placeholderinput field argument- lets you define a placeholder value to be displayed in the input field, if no value is set
- works on the following input fields
text,textArea,numberandlist
- specific folders can now be excluded in the setting, excluding means that the plugin will not show input or view fields in these folders
- the
optionargument now allows for a name and a value, e.g.option(value, displayName) - numbers and booleans will now be recognized and treated as such
- e.g.
option(5, 5 Stars)will set the metadata to the number 5 instead of the string '5' - e.g.
offValue(0)will set the metadata to the number 0 instead of the string '0'
- e.g.
Changes
- new parser for input fields, view fields and bind targets
- input fields now display way better error messages
- I tried not to introduce breaking changes, but some might have slipped through
- this is also why the update took so long
- new API to create input field using code (e.g. using dataviewJS or JS Engine)
- this is a breaking change
- deprecated some input fields that had names in snake_case for camelCase names
Bug Fixes
- fixed a bug with the metadata cache when the frontmatter was invalid
- fixed a bug with view fields that caused an error when referencing metadata from another file
- fixed
togglewithoffValuesometimes showing the wrong toggle state
Minor Changes
- added a setting to disable JS View Fields
New Features
- Live Preview support (thanks to koala on discord for helping me with this)
- Obsidian Publish support (docs page coming soon, thanks to Sigrunixia on discord for letting me test on her publish account)
- View Fields, a way to reactively display your metadata using mathjs
- Inline Select input field (more or less a dropdown select)
- Progress Bar input field (a bigger full note width slider)
- On and Off Value arguments for the Toggle input field (specify custom on and off values for the toggle)
- new error handling system that supports warnings
Minor Changes
- added timed cache retention to the plugins on demand metadata cache
Bug Fixes
- fixed a bug with the metadata cache needlessly updating the frontmatter
- fixed some mistakes in the docs
No changelog available.