Skip to content

feat(PageSerializer): expose robot_index and robot_follow attributes - #223

Merged
tvdeyen merged 1 commit into
mainfrom
fix/expose-robot-index-follow-attributes
Oct 19, 2026
Merged

tvdeyen merged 1 commit into
mainfrom
fix/expose-robot-index-follow-attributes

Conversation

@mamhoff

@mamhoff mamhoff commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Alchemy::Page has robot_index/robot_follow columns that control the page's robots meta tag in Alchemy's own server-rendered views, but they were never exposed over the JSON:API. Headless frontends consuming this gem have no way to render a robots noindex/nofollow tag, so pages marked robot_index: false still get indexed.

Add both as plain attributes on PageSerializer.

Alchemy::Page has robot_index/robot_follow columns that control the
page's robots meta tag in Alchemy's own server-rendered views, but
they were never exposed over the JSON:API. Headless frontends
consuming this gem have no way to render a robots noindex/nofollow
tag, so pages marked robot_index: false still get indexed.

Add both as plain attributes on PageSerializer.
@tvdeyen tvdeyen added enhancement New feature or request backport-to-8.2-stable Needs a backport to 8.2-stable labels Oct 19, 2026
@tvdeyen
tvdeyen merged commit f722eb6 into main Oct 19, 2026
14 checks passed
@tvdeyen
tvdeyen deleted the fix/expose-robot-index-follow-attributes branch October 19, 2026 12:19
@alchemycms-bot

Copy link
Copy Markdown

💚 All backports created successfully

Status Branch Result
✅ 8.2-stable

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

tvdeyen added a commit that referenced this pull request Oct 19, 2026
…w attributes (#224)

# Backport

This will backport the following commits from `main` to `8.2-stable`:
- [feat(PageSerializer): expose robot_index and robot_follow attributes
(#223)](#223)

<!--- Backport version: 9.5.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
This was referenced Oct 27, 2026
tvdeyen added a commit that referenced this pull request Oct 27, 2026
## Release v8.4.0

<!-- Release notes generated using configuration in .github/release.yml
at main -->

## What's Changed
### New Features
* feat(serializer): lazy-load relationship data by default by @tvdeyen
in #203
* feat(PageSerializer): expose robot_index and robot_follow attributes
by @mamhoff in #223
* feat(LayoutPagesController): find layout pages by page layout by
@mamhoff in #227
### Bug Fixes
* fix(IngredientPictureSerializer): Use picture_url by @tvdeyen in
#214
### Performance Improvements
* feat: Cache ingredient serializers by @tvdeyen in
#186
* Route element visibility through ElementsRepository by @tvdeyen in
#196
* refactor: load elements through core's shared element repository by
@tvdeyen in #199
* perf(Elements/Ingredients): Do not serialize timestamps by @mamhoff in
#229

## New Contributors
* @github-actions[bot] made their first contribution in
#212

**Full Changelog**:
v8.2.2...v8.4.0
---
This PR was automatically created by the prepare-release workflow.
Once merged, the gem will be automatically published to RubyGems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-8.2-stable Needs a backport to 8.2-stable enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants