Fixed revealLeaf failing to focus the correct window.
If you are using the SliderComponent in your app, be aware, the behavior of the component has changed in 1.5.9. Now, instead of updating the value when the slider is dragged, it will only update the value when the slider is released. If your plugin was relying on the old behavior, you will need to update your plugin code to call .setInstant(true) on the slider.
Note: Because setInstant is a new function, you'll also need to check to see if the function exists before calling it. This will ensure your plugin maintains backwards compatibility when being run on older versions of Obsidian.
v.1.5.7
Plugin.onExternalSettingsChange
There's a new callback function for plugins to react to when plugin settings (data.json) get changed on disk. This callback can be used to reload settings when they are updated by an external application or when the settings get synced using a file syncing service like Obsidian Sync.
New Vault.getFileByPath and Vault.getFolderByPath utility functions
The getAbstractFileByPath has long been a point of confusion with plugin developers. More often than not,
you are looking for either a file or a folder. And you know which you want at call-time. Instead of using
getAbstractFileByPath then checking if the result is an instance of TFile or TFolder, now you can just
use getFileByPath or getFolderByPath to automatically do this check.
View.scope is now public
Finally scope is made public on the View class. This means you can assign hotkeys for when your view is
active and focused.
New getFrontMatterInfo utility
There is now a canonical way to find the offsets of where the frontmatter ends and where the content starts in a file.
FileManager.getAvailablePathForAttachment
If your plugin saves attachments to the vault, you should be using getAvailablePathForAttachment. It will generate a safe path for you to use that respects the user's settings for file attachments.
v1.4.4
We've exposed our helper function for setting tooltips on elements (setTooltip) as well as added a new progress bar component.
The FileManager.processFrontMatter function now also exposes the DataWriteOptions argument to be consistent with the other process and write functions.
v1.4.0
We've made some changes to CachedMetadata to support Properties. FrontMatterCache is now no longer a CacheItem—meaning that it doesn't have a position. Instead, is it a Reference.
Another big change in v.1.4 is that frontmatter now supports wikilinks. If a value in the frontmatter can be interpreted as a link, it will be cached inside CachedMetadata.frontmatterLinks.
v1.1.3
Updated the Canvas spec to indicate that colors can be stored in 1 or 2 formats:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 7 updates:
20.14.10
20.14.11
1.5.7
1.6.6
7.16.0
7.16.1
7.16.0
7.16.1
5.1.3
5.2.1
6.4.0
6.5.1
7.34.4
7.35.0
Updates
@types/node
from 20.14.10 to 20.14.11Commits
Updates
obsidian
from 1.5.7 to 1.6.6Changelog
Sourced from obsidian's changelog.
... (truncated)
Commits
Updates
@typescript-eslint/eslint-plugin
from 7.16.0 to 7.16.1Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.Commits
d1d0ba5
chore(release): publish 7.16.110f8a4d
fix(eslint-plugin): [no-unnecessary-type-parameters] descend into all parts o...bebbd0c
chore(eslint-plugin): [no-unnecessary-parameter-property-assignment] remove `...Updates
@typescript-eslint/parser
from 7.16.0 to 7.16.1Release notes
Sourced from
@typescript-eslint/parser
's releases.Changelog
Sourced from
@typescript-eslint/parser
's changelog.Commits
d1d0ba5
chore(release): publish 7.16.1Updates
eslint-plugin-prettier
from 5.1.3 to 5.2.1Release notes
Sourced from eslint-plugin-prettier's releases.
Changelog
Sourced from eslint-plugin-prettier's changelog.
Commits
51324d9
chore: fix CHANGELOG.md formatting issue24288c7
chore: release eslint-plugin-prettier (#669)ac036cc
build(deps): Bump synckit from 0.8.6 to 0.9.1 (#668)a1e6f4a
build(deps): Bump braces from 3.0.2 to 3.0.3 (#665)de9751c
build(deps): Bump pnpm/action-setup from 2 to 4 in the actions group (#661)02c21a5
chore: release eslint-plugin-prettier (#653)f170011
feat: support parsinghtml
via@html-eslint/parser
natively (#652)Updates
eslint-plugin-promise
from 6.4.0 to 6.5.1Release notes
Sourced from eslint-plugin-promise's releases.
Commits
c011a1a
fix: removename
from eslintrc config; fixes #489 (#490)46667d3
chore: avoid recursion informat
/lint
(#487)ca9e9b4
feat: addname
property to configs (for use with tooling) (#486)1c951cd
chore(deps-dev): bump lint-staged from 12.5.0 to 15.2.7 (#476)744ef1d
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 28.6.0 (#474)1376ecf
chore: addformat
workflow (#441)d8d0fbe
docs: update README (#383)b0fc13b
refactor: migrate all message to messageId (#482)Updates
eslint-plugin-react
from 7.34.4 to 7.35.0Release notes
Sourced from eslint-plugin-react's releases.
... (truncated)
Changelog
Sourced from eslint-plugin-react's changelog.
Commits
c6fdccd
Update CHANGELOG and bump versiona4b0bbc
[Fix]require-default-props
: report when required props have default valuea08cb93
[Fix]sort-prop-types
: single line type ending without semicolon4b3209b
[meta] no point in supporting eslint 9.0 - 9.6 initiallyca8b11e
[Dev Deps] update@babel/core
,@babel/eslint-parser
597553d
[New]no-danger
: addcustomComponentNames
optionc58f04b
[New]jsx-closing-tag-location
: addline-aligned
option00b89fe
[New] version settings: Allow react defaultVersion to be configurable4d2fd86
[Refactor]variableUtil
: Avoid creating a single flat variable scope for ea...6a83d67
[New]jsx-handler-names
: support ignoring component namesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show