No major new feature in this release so far, but many small improvements and bug fixes, as well as new plugin APIs.
If you're a plugin developer, be aware of this change:
Improved: Plugins: Throttle plugins that make too many API calls (#5895)
The goal is to alert you if for some reason your plugin is making more calls than the app can reasonably handle (without running at 100% CPU all the time), and to throttle the API calls when it happens. I don't think any plugin would trigger this at this point, but if you notice anything unusual please post here.
New: Plugins: Add support for joplin.workspace.filterEditorContextMenu to allow dynamically setting editor menu items depending on context (960863f)
New: Plugins: Add utility functions joplin.data.itemType() and joplin.data.resourcePath() (27b62bf)
Graph plugin cannot load the full graph anymore. It does load the UI (buttons and knobs) but the graph is not showing up even after 30+ minutes. Reloading the graph results in UI no longer showing up.
It does work on 2.6.10 with the same environment.
I suppose it is expected behaviour though as the plugin is heavy on its calls.
Curious if the behaviour could be reproduced in the other environment.
Maybe the Plugin throttling, should be reverted for now? Because some plugins like Note Link System and Note Overview are kinda unusable with this change
This is a pre-release, which is exactly for such a thing there, so that at the program itself or also plugin developers can adjust something if errors occur.
Surely the entire purpose of a pre-release is so the settings can be tweaked on both the plugin and application side? If you need the plugins then revert to a release version.
As a user of a low powered device, I, on other hand, don't mind the throttling, but I would definitely appreciate some sort of battery saving controls/throttle modes or plugin status showing what plugin is being throttled.
I feel a lot of plugins gotta be load tested with the new feature. So far, I've only got to load Attache, Graph and Backup plugin with the medium size database. Graph plugin couldn't load well as described above but the rest are fine
Thanks for the feedback, and please keep reporting plugins that don't work well due to this throttling feature.
I've tried to set it up so that it only affects plugins that could be considered faulty - for example if the developer forgot a timer somewhere that's constantly making API calls, or if the plugin doesn't wait for the API response before making a new call.
I'll check these plugins and see if it's an actual issue with the plugin, or if I need to tweak the throttling mechanism.
I think that perhaps the API calls would also need to be adjusted so that API calls can handle requests for multiple notes instead of having to make a request for each note.
This isn't a great bug report since I can't reliably repro, but I have noticed since I upgraded that the Note Tabs plugin sometimes becomes unresponsive and I have to quit the app to get it to change notes. Putting this out there in case someone else notices it, and I will keep trying to repro / see if there is an error in dev console. cc/ @benji300