Skip to content

refactor: Clean up registry APIs#21

Merged
SilverRainZ merged 1 commit into
masterfrom
refactor/registry-api
Jun 17, 2026
Merged

refactor: Clean up registry APIs#21
SilverRainZ merged 1 commit into
masterfrom
refactor/registry-api

Conversation

@SilverRainZ

Copy link
Copy Markdown
Member

Summary

  • Expose ExtraContextRegistry with add() method, remove internal get()/get_names()
  • Add JinjaRegistry with add_filter() and add_extension() methods
  • Update Registry class with extra_context and jinja_env properties
  • Move default Jinja extensions to setup() for proper initialization

@SilverRainZ SilverRainZ force-pushed the refactor/registry-api branch 2 times, most recently from 537e2f9 to 70f888e Compare June 17, 2026 06:25
@SilverRainZ SilverRainZ force-pushed the refactor/registry-api branch 2 times, most recently from d364eb3 to 445b555 Compare June 17, 2026 09:59
- Expose ExtraContextRegistry with add() method, remove internal get/get_names
- Add JinjaRegistry with add_filter() and add_extension() methods
- Update Registry class with extra_context and jinja_env properties
- Move default Jinja extensions to setup() for proper initialization
- Update documentation and tests

Co-authored-by: MiMoCode <mimo@xiaomi.com>
Co-authored-by: DeepSeek <service@deepseek.com>
@SilverRainZ SilverRainZ force-pushed the refactor/registry-api branch from 445b555 to 8a8be35 Compare June 17, 2026 13:36
@SilverRainZ SilverRainZ merged commit 1ffd88e into master Jun 17, 2026
6 checks passed
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.

1 participant