Kirby Update Notification

Thought about this this morning and I’ll probably try to build something myself but thought it was a nice idea to ask first.
Currently the only way to know from the panel what version of kirby you’re running is to look under site options.

And since I almost never have a reason to go there I almost always forget to update my kirby sites when a new update is available.

So I was thinking at building a quick plugin to do 2 things.

  1. Show a message on the dashboard when a new update is available
  2. Send an email to the site admin to let her/him knows about the update.

And I know one can check the forum to know when a new version is available but if you’re like me and you’re busy 24/7 with 7 billion projects you probably forget quite often to do that :grin:

So I was wandering if someone has already done something similar or if it’s something the Kirby team is considering implementing in the core. Because I obviously don’t want to waste time coding something you guys are already doing :slight_smile:

1 Like

There is already a widget for doing this. You might have missed it.

At least the part: “1. Show a message on the dashboard when a new update is available” is covered with this

1 Like

Perfect. Thanks that’s exactly why I was asking here first :grin:
I’ll see if I can add the part 2 to this one then

Thanks @Andi-Lo :wink:

That depends :slight_smile: . As far as I know you get subscribed to a newsletter when you buy a license and you will receive an email when an update is released (out of beta). Of course the site admin does not have to be the same person who bought the license. So yea maybe there is a use case for that.

Yes but the license is not tied to any particular site so you have no idea which site needs to be updated.
Also I usually unsubscribe to all newsletter and prefer to get a notifications directly from the site.

Anyway, I’ll code something for myself and if then someone else needs it I’ll be happy to share it :slight_smile:

The above mentioned plugin queries the changelog and also shows the beta versions, so if you only want the final releases, you would have to make changes to it anyway.

Yeah I noticed that.
Using the feed is an interesting solution.

It should also be possible by querying the GitHub api

Which is exactly what I was planning to do :slight_smile:

1 Like

I’m keen to work with you on this if you want to :wink:
I only built the widget for my own use but quickly realized it could become much more.
I had planned to include email notifications before but didn’t foray into that direction yet.

You could also use the feed and exclude the beta. This whole thing is more of a hacky experiment into reading rss, caching (with a custom cache nontheless) , and displaying the result in a widget !

I’d love to collaborate on this.
This afternoon I also thought about adding a Slack integration to send a notification there instead of sending emails (trying to move as many thing as possible on my personal slack :slight_smile: )

I’ll play with this idea a bit and see where I go with that :wink:

Not at all familiar with Slack integrations. Could be fun though!
Send me a PM whenever you want !