mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 14:19:13 -04:00
Pad: Rename originalPad
context property to srcPad
This commit is contained in:
parent
59d60480c0
commit
9cdb69c159
3 changed files with 27 additions and 6 deletions
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -39,7 +39,9 @@
|
|||
#### For plugin authors
|
||||
|
||||
* New `expressPreSession` server-side hook.
|
||||
* New `padDefaultContent` server-side hook.
|
||||
* Pad server-side hook changes:
|
||||
* `padCopy`: New `srcPad` context property.
|
||||
* `padDefaultContent`: New hook.
|
||||
* The `db` property on Pad objects is now public.
|
||||
* New `getAuthorId` server-side hook.
|
||||
* New APIs for processing attributes: `ep_etherpad-lite/static/js/attributes`
|
||||
|
@ -65,8 +67,13 @@
|
|||
* The `client` context property for the `handleMessageSecurity` and
|
||||
`handleMessage` server-side hooks is deprecated; use the `socket` context
|
||||
property instead.
|
||||
* The `author` context property for the `padCreate` and `padUpdate` server-side
|
||||
hooks is deprecated; use the new `authorId` context property instead.
|
||||
* Pad server-side hook changes:
|
||||
* `padCopy`: The `originalPad` context property is deprecated; use `srcPad`
|
||||
instead.
|
||||
* `padCreate`: The `author` context property is deprecated; use the new
|
||||
`authorId` context property instead.
|
||||
* `padUpdate`: The `author` context property is deprecated; use the new
|
||||
`authorId` context property instead.
|
||||
* Returning `true` from a `handleMessageSecurity` hook function is deprecated;
|
||||
return `'permitOnce'` instead.
|
||||
* Changes to the `src/static/js/Changeset.js` library:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue