Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR 126: build(deps-dev): bump obsidian from 1.5.7 to 1.7.2 #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 19, 2024

Bumps obsidian from 1.5.7 to 1.7.2.

Changelog

Sourced from obsidian's changelog.

v1.7.2 (Insider)

Workspace changes

  • New function Plugin#onUserEnable gives you a place to performance one-time initialize after the user installs and enables your plugin. If your plugin has a custom view, this is a good place to initialize it rather than recreating the view in Plugin#onload.
  • Workspace#ensureSideLeaf is now public. This function is a shorthand way to create a leaf in the sidebar if one does not already exist.
  • Added WorkspaceLeaf#isDeferred and WorkspaceLeaf#loadIfDeferred. As of Obsidian v1.7.2, Obsidian will now defer tabs by default. We published a guide on how to handle deferred views in the developer docs.

Housekeeping

We've updated the API to prefer unknown to any. Using any causes Typescript to disable typechecking entirely on the returned value, so this change could uncover some hidden typing issues.

We also removed prepareQuery, fuzzySearch, and PreparedQuery from the API. If your plugin is using one of these functions, you should migrate to prepareFuzzySearch.

// Old
let pq: PreparedQuery = prepareQuery(q);
...
fuzzySearch(pq, text);
// New
let fuzzy = prepareFuzzySearch(q);
...
fuzzy(text);

Misc

  • New Plugin#removeCommand is now available if your plugin needs to dynamically remove commands (for example, if your plugin allows for user-created commands).
  • SuggestModal#selectActiveSuggestion is now public. This is useful to provide an alternative hotkey to your SuggestModal that still triggers the selected item.

v1.7.0 (Insider)

  • Fixed FileSystemAdapter#rmdir(dirPath, false) always throwing an error when attempting to delete an empty directory.
  • Added a data-type to the Markdown embed container using subpath type.

v1.5.11

  • 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.
Commits

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [obsidian](https://github.com/obsidianmd/obsidian-api) from 1.5.7 to 1.7.2.
- [Changelog](https://github.com/obsidianmd/obsidian-api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/obsidianmd/obsidian-api/commits)

---
updated-dependencies:
- dependency-name: obsidian
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the Type ◦ Dependency Item is associated to dependency label Sep 19, 2024
@EuropaServ EuropaServ changed the title build(deps-dev): bump obsidian from 1.5.7 to 1.7.2 PR 126: build(deps-dev): bump obsidian from 1.5.7 to 1.7.2 Sep 19, 2024
@EuropaServ EuropaServ added Type ◦ Pull Request Normal pull request AC ✦ Passed Ready to be reviewed labels Sep 19, 2024
@EuropaServ
Copy link
Collaborator


Automatic Self-Check - #126

The details of our automated scan for your pull request are listed below. If our scan detected errors, they must be corrected before this pull request will be advanced to the review stage:




About

This pull request includes the following information:

Category Value
Title build(deps-dev): bump obsidian from 1.5.7 to 1.7.2
Created 09.19.2024 11:26 PM UTC
ID #126
Author dependabot[bot]
Repo obsidian-gistr
Branch dependabot/npm_and_yarn/obsidian-1.7.2 main
Added Files 0
Modified Files 2
Renamed Files 0
Copied Files 0
Deleted Files 0



❌ Skipped Files

Tip

The following file(s) have been skipped:


  • package-lock.json
  • package.json



This check was done automatically. Do NOT open a new PR for re-validation. Instead, to trigger this check again, make a change to your PR and wait a few minutes, or close and re-open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AC ✦ Passed Ready to be reviewed Type ◦ Dependency Item is associated to dependency Type ◦ Pull Request Normal pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant