You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by GitBox <gi...@apache.org> on 2026/06/24 06:37:17 UTC
[GH] (grails-core/feat/mime-types-defaults): Workflow run "CI - Groovy Joint Validation Build" is working again!
The GitHub Actions job "CI - Groovy Joint Validation Build" on grails-core.git/feat/mime-types-defaults has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).
Head commit for run:
0df0959cd52f38afbc2d27b4b0ace89557c27336 / Scott Murphy Heiberg <sc...@alwaysvip.com>
feat: modernize Grails 8 content negotiation defaults
MIME types are now framework defaults and the Accept header is honored
for all clients by default.
MIME types:
- MimeType.createDefaults() now provides the full set of types new apps
historically declared in application.yml (all, atom, css, csv, form,
html, js, json, multipartForm, pdf, rss, text, hal, xml), used when no
grails.mime.types is configured.
- A declared grails.mime.types still replaces the defaults, exactly as
before, so existing applications are unaffected. Set the new
grails.mime.mergeDefaults=true to instead merge declared types over the
defaults (adding any extension not declared).
- Grails Forge (GSP/JSON/Markup features) and the web and rest-api
profiles no longer generate a grails.mime.types block.
Accept header:
- grails.mime.disable.accept.header.userAgents now defaults to unset, so
the Accept header is honored for every client including browsers. The
legacy browser blocklist (Gecko/WebKit/Presto/Trident) is now opt-in,
fixing browser fetch()/axios requests for application/json that were
receiving HTML.
- Removed the dead Internet Explorer user-agent branch.
Docs and tests updated; upgrade notes added (sections 27 and 28).
Report URL: https://github.com/apache/grails-core/actions/runs/28076981794
With regards,
GitHub Actions via GitBox