diff --git a/docs/releases/4.0.md b/docs/releases/4.0.md index cedb1e5803..23212649ec 100644 --- a/docs/releases/4.0.md +++ b/docs/releases/4.0.md @@ -227,10 +227,15 @@ The internal JavaScript functions `createPageChooser`, `createSnippetChooser`, ` * `createDocumentChooser(id)` should be replaced with `new DocumentChooser(id)` * `createImageChooser(id)` should be replaced with `newImageChooser(id)` -### URL route names for document and snippet apps have changed +### URL route names for image, document and snippet apps have changed -If your code contains references to URL route names within the `wagtaildocs` or `wagtailsnippets` namespaces, these should be updated as follows: +If your code contains references to URL route names within the `wagtailimages`, `wagtaildocs` or `wagtailsnippets` namespaces, these should be updated as follows: +* `wagtailimages:chooser` is now `wagtailimages_chooser:choose` +* `wagtailimages:chooser_results` is now `wagtailimages_chooser:choose_results` +* `wagtailimages:image_chosen` is now `wagtailimages_chooser:chosen` +* `wagtailimages:chooser_upload` is now `wagtailimages_chooser:create` +* `wagtailimages:chooser_select_format` is now `wagtailimages_chooser:select_format` * `wagtaildocs:chooser` is now `wagtaildocs_chooser:choose` * `wagtaildocs:chooser_results` is now `wagtaildocs_chooser:choose_results` * `wagtaildocs:document_chosen` is now `wagtaildocs_chooser:chosen`