Skip to content

Configurable publishable resolver#3854

Merged
tvdeyen merged 1 commit intomainfrom
configurable-publishable-resolver
Apr 27, 2026
Merged

Configurable publishable resolver#3854
tvdeyen merged 1 commit intomainfrom
configurable-publishable-resolver

Conversation

@tvdeyen
Copy link
Copy Markdown
Member

@tvdeyen tvdeyen commented Apr 24, 2026

What is this pull request for?

Publishable delegates public?, scheduled?, publishable? and its scopes to a resolver class configured via Alchemy.config.publishable_resolver. The default Alchemy::Publishable::TimestampResolver preserves the existing timestamp-based behavior. Extension gems can now provide a custom resolver that implements the same interface without having to prepend Element or PageVersion.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen requested a review from a team as a code owner April 24, 2026 13:25
@tvdeyen tvdeyen added this to the 8.3 milestone Apr 24, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.07%. Comparing base (ae069bb) to head (2681746).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3854   +/-   ##
=======================================
  Coverage   98.06%   98.07%           
=======================================
  Files         322      323    +1     
  Lines        8524     8565   +41     
=======================================
+ Hits         8359     8400   +41     
  Misses        165      165           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Publishable delegates public?, scheduled?, publishable? and its scopes to
a resolver class configured via Alchemy.config.publishable_resolver. The
default Alchemy::Publishable::TimestampResolver preserves the existing
timestamp-based behavior. Extension gems can now provide a custom
resolver that implements the same interface without having to prepend
Element or PageVersion.
@tvdeyen tvdeyen force-pushed the configurable-publishable-resolver branch from 85ae746 to 2681746 Compare April 27, 2026 13:56
@tvdeyen tvdeyen enabled auto-merge April 27, 2026 14:00
@tvdeyen tvdeyen merged commit 0276b34 into main Apr 27, 2026
28 checks passed
@tvdeyen tvdeyen deleted the configurable-publishable-resolver branch April 27, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants