docs(user): mention breaking change update for scripts

This commit is contained in:
Elian Doran
2026-01-19 19:02:54 +02:00
parent 1661c3292a
commit c97f52da36
6 changed files with 120 additions and 56 deletions

View File

@@ -14200,6 +14200,34 @@
"type": "text",
"mime": "text/html",
"attributes": [
{
"type": "relation",
"name": "internalLink",
"value": "x3i7MxGccDuM",
"isInheritable": false,
"position": 10
},
{
"type": "relation",
"name": "internalLink",
"value": "l0tKav7yLHGF",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "IjZS7iK5EXtb",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "XpOYSgsLkTJy",
"isInheritable": false,
"position": 40
},
{
"type": "label",
"name": "iconClass",
@@ -14213,34 +14241,6 @@
"value": "sql-console",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "l0tKav7yLHGF",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
"value": "x3i7MxGccDuM",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
"value": "IjZS7iK5EXtb",
"isInheritable": false,
"position": 70
},
{
"type": "relation",
"name": "internalLink",
"value": "XpOYSgsLkTJy",
"isInheritable": false,
"position": 80
}
],
"format": "markdown",
@@ -17586,6 +17586,40 @@
"dataFileName": "Logging_image.png"
}
]
},
{
"isClone": false,
"noteId": "cNpC0ITcfX0N",
"notePath": [
"pOsGYCXsbNQG",
"CdNpE2pqjmI6",
"cNpC0ITcfX0N"
],
"title": "Breaking changes",
"notePosition": 130,
"prefix": null,
"isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
{
"type": "label",
"name": "iconClass",
"value": "bx bx-up-arrow-alt",
"isInheritable": false,
"position": 30
},
{
"type": "label",
"name": "shareAlias",
"value": "breaking-changes",
"isInheritable": false,
"position": 40
}
],
"format": "markdown",
"dataFileName": "Breaking changes.md",
"attachments": []
}
]
},

View File

@@ -0,0 +1,14 @@
# Breaking changes
## v0.102.0: Upgrade to jQuery 4.0.0
jQuery 4 removes legacy browser support (such as IE11 support), but it also removes some APIs that are considered deprecated such as:
> `jQuery.isArray`, `jQuery.parseJSON`, `jQuery.trim`, `jQuery.type`, `jQuery.now`, `jQuery.isNumeric`, `jQuery.isFunction`, `jQuery.isWindow`, `jQuery.camelCase`, `jQuery.nodeName`, `jQuery.cssNumber`, `jQuery.cssProps`, and `jQuery.fx.interval`.
>
> Use native equivalents like `Array.isArray()`, `JSON.parse()`, `String.prototype.trim()`, and `Date.now()` instead.
This may affect custom scripts if they (or the custom jQuery libraries used) depend on the deprecated APIs.
Note that Trilium polyfills `jQuery.isArray`, `isFunction` and `isPlainObject` because they were required by one of our dependencies (the autocomplete).
For more information, consult [the official blog post](https://blog.jquery.com/2026/01/17/jquery-4-0-0/).