Skip to content

Commit

Permalink
2.7.8 (#919)
Browse files Browse the repository at this point in the history
* Update readme
* Add version check at open copilot chat
* 2.7.8
  • Loading branch information
logancyang authored Dec 10, 2024
1 parent e49aafa commit 06a405a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you enjoy Copilot for Obsidian, please consider [sponsoring this project](htt
<a href="https://www.buymeacoffee.com/logancyang" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 40px !important;width: 150px !important;" ></a>

SPECIAL THANKS TO OUR TOP SPONSORS:
@pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols
@mikelaaron, @pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols, @jsmith0475, @pagiaddlemon

[Changelog](https://github.com/logancyang/obsidian-copilot/releases)

Expand All @@ -30,7 +30,7 @@ Copilot Plus is a brand new mode that brings powerful agentic capabilities to Ob

Check out the demo video below for the first sneak peak of what Copilot Plus can do. It is under active development so expect more features to come very soon!

<a href="https://youtu.be/WxcBEXkQoSE?si=Y5HnJgt-Ii_ZxLDl" target="_blank"><img src="./images/thumbnail-copilot-plus.png" width="700" /></a>
<a href="https://youtu.be/tZ2jm_UPc6c?si=KjwkHFFRAHwZqlW4" target="_blank"><img src="./images/thumbnail-copilot-plus.png" width="700" /></a>

## 🛠️ Features

Expand Down
Binary file modified images/thumbnail-copilot-plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "copilot",
"name": "Copilot",
"version": "2.7.7",
"version": "2.7.8",
"minAppVersion": "0.15.0",
"description": "An AI Copilot in Obsidian.",
"author": "Logan Yang",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-copilot",
"version": "2.7.7",
"version": "2.7.8",
"description": "ChatGPT integration for Obsidian",
"main": "main.js",
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ export default class CopilotPlugin extends Plugin {
this.addCommand({
id: "chat-open-window",
name: "Open Copilot Chat Window",
callback: () => {
callback: async () => {
this.activateView();
// Check version
await this.checkForUpdates();
},
});

Expand Down Expand Up @@ -680,7 +682,7 @@ export default class CopilotPlugin extends Plugin {
const latestVersion = response.json.tag_name.replace("v", "");
if (this.isNewerVersion(latestVersion, this.manifest.version)) {
new Notice(
`A new version (${latestVersion}) of Obsidian Copilot is available. You are currently on version ${this.manifest.version}. Please update to the latest version.`,
`A newer version (${latestVersion}) of Obsidian Copilot is available. You are currently on version ${this.manifest.version}. Please update to the latest version.`,
10000
);
}
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
"2.7.4": "0.15.0",
"2.7.5": "0.15.0",
"2.7.6": "0.15.0",
"2.7.7": "0.15.0"
"2.7.7": "0.15.0",
"2.7.8": "0.15.0"
}

0 comments on commit 06a405a

Please sign in to comment.