Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link field type #15251

Merged
merged 22 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG-WIP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Release Notes for Craft CMS 5.3 (WIP)

### Content Management
- Added the “Link” field type, which replaces “URL”, and can store URLs, `mailto` and `tel` URIs, and entry/asset/category references. ([#15251](https://github.com/craftcms/cms/pull/15251))
- “Replace file” actions now display success notices on complete. ([#15217](https://github.com/craftcms/cms/issues/15217))
- Double-clicking on folders within asset indexes and folder selection modals now navigates the index/modal into the folder. ([#15238](https://github.com/craftcms/cms/discussions/15238))

Expand All @@ -13,5 +14,24 @@
### Extensibility
- Added `craft\base\FieldLayoutComponent::EVENT_DEFINE_SHOW_IN_FORM`. ([#15260](https://github.com/craftcms/cms/issues/15260))
- Added `craft\events\DefineShowFieldLayoutComponentInFormEvent`. ([#15260](https://github.com/craftcms/cms/issues/15260))
- Added `craft\fields\Link`.
- Added `craft\fields\data\LinkData`.
- Added `craft\fields\linktypes\Asset`.
- Added `craft\fields\linktypes\BaseElementLinkType`.
- Added `craft\fields\linktypes\BaseLinkType`.
- Added `craft\fields\linktypes\BaseTextLinkType`.
- Added `craft\fields\linktypes\Category`.
- Added `craft\fields\linktypes\Email`.
- Added `craft\fields\linktypes\Phone`.
- Added `craft\fields\linktypes\Url`.
- Deprecated `craft\fields\Url`, which is now an alias for `craft\fields\Link`.
- Added `Craft.endsWith()`.
- Added `Craft.removeLeft()`.
- Added `Craft.removeRight()`.
- Added `Craft.ui.addAttributes()`.
- `Craft.ElementEditor` now triggers a `checkActivity` event each time author activity is fetched. ([#15237](https://github.com/craftcms/cms/discussions/15237))
- `Craft.ensureEndsWith()` now has a `caseInsensitive` argument.
- `Craft.ensureStartsWith()` now has a `caseInsensitive` argument.
- `Craft.startsWith()` is no longer deprecated, and now has a `caseInsensitive` argument.
- Added `Garnish.once()`, for handling a class-level event only once.
- Checkbox selects now support passing a `targetPrefix`.
Loading