Skip to content

feat: migrate settings to Obsidian 1.13 API + minor fixes - #13

Open
carlrobert wants to merge 2 commits into
mainfrom
settings-api-etc
Open

feat: migrate settings to Obsidian 1.13 API + minor fixes#13
carlrobert wants to merge 2 commits into
mainfrom
settings-api-etc

Conversation

@carlrobert

Copy link
Copy Markdown
Owner

No description provided.

- feat: migrate settings to Obsidian 1.13 API + minor fixes contributed by TyceHerrman,
  keeping legacy code as is
- add punctuation to make the Obsidian plugin dashboard happy
- remove package-beta.json, which is no longer used by BRAT
- update dependencies

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the plugin to target the Obsidian 1.13 API (notably around settings metadata) and aligns dependency versions accordingly, alongside a few small metadata/documentation tweaks.

Changes:

  • Pin the obsidian dev dependency to ^1.13.0 and update the lockfile to match.
  • Introduce getSettingDefinitions() (Obsidian 1.13 settings definitions) and a theme-options helper in main.ts.
  • Minor updates to plugin/readme metadata (thanks line, manifest name punctuation) and remove manifest-beta.json.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Updates contributor thanks line.
package.json Pins obsidian dependency to the 1.13 line.
package-lock.json Lockfile updates resulting from the obsidian version change.
manifest.json Adjusts displayed plugin name text (adds trailing period).
manifest-beta.json Removes the beta manifest file.
main.ts Adds Obsidian 1.13 settings definition metadata + helper.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread manifest.json Outdated
Comment thread main.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants