Skip to content

Add FRender to allow rendering into a custom io.Writer - #86

Merged
danog merged 1 commit into
osteele:mainfrom
jamslinger:custom-writer
Apr 26, 2024
Merged

Add FRender to allow rendering into a custom io.Writer#86
danog merged 1 commit into
osteele:mainfrom
jamslinger:custom-writer

Conversation

@jamslinger

Copy link
Copy Markdown
Contributor

Checklist

  • I have read the contribution guidelines.
  • make test passes.
  • make lint passes.
  • New and changed code is covered by tests.
  • Performance improvements include benchmarks.
  • Changes match the documented (not just the implemented) behavior of Shopify.

@jamslinger

Copy link
Copy Markdown
Contributor Author

closes: #85

@danog

danog commented Apr 26, 2024

Copy link
Copy Markdown
Collaborator

Thanks!

@danog
danog merged commit f9950df into osteele:main Apr 26, 2024
@jamslinger

Copy link
Copy Markdown
Contributor Author

wow that was fast, thanks @danog

osteele pushed a commit that referenced this pull request Nov 6, 2025
Updated CHANGELOG.md to include all merged PRs since version 1.3.0 (2020-02-13):

Added features:
- Jekyll Extensions Support (#114)
- Auto-Escape Feature (#111)
- Template Loader (#107)
- BasicEngine (#104)
- JSON Filter (#84)
- Strict Variables Mode (#74)
- Custom Writer Support (#86)
- Template AST Access (#59, #66)
- For-Else Support (#93)
- Unless-Else Support (#68)
- General Range Expressions (#65)
- Loop Modifier Expressions (#67)

Fixes:
- Size filter, slice bounds, division by zero
- Nil pointer handling
- Whitespace control
- Multiline slice
- Block errors
- Map filter with structs
- And more

Also added steve-ky as contributor for ideas/feedback on PR #89.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
osteele pushed a commit that referenced this pull request Nov 8, 2025
Add detailed documentation for the FRender feature (PR #86) which enables
rendering to custom io.Writer implementations.

Changes:
- Create docs/FRender.md with comprehensive usage examples including:
  - Direct file writing for large templates
  - Context-based cancellation for untrusted templates
  - Output size limiting for security
  - Custom output transformation
  - Performance considerations and security best practices
- Update README.md with Advanced Rendering section
- Update CHANGELOG.md with Unreleased section documenting FRender

This addresses the lack of documentation for the FRender feature that was
merged in April 2024, making it easier for users to discover and utilize
this important capability for production use cases.
osteele pushed a commit that referenced this pull request Nov 8, 2025
Add detailed documentation for the FRender feature (PR #86) which enables
rendering to custom io.Writer implementations.

Changes:
- Create docs/FRender.md with comprehensive usage examples including:
  - Direct file writing for large templates
  - Context-based cancellation for untrusted templates
  - Output size limiting for security
  - Custom output transformation
  - Performance considerations and security best practices
- Update README.md with Advanced Rendering section

This addresses the lack of documentation for the FRender feature that was
merged in April 2024, making it easier for users to discover and utilize
this important capability for production use cases.
@osteele osteele mentioned this pull request Nov 8, 2025
6 tasks
osteele pushed a commit that referenced this pull request Nov 8, 2025
Add detailed documentation for the FRender feature (PR #86) which enables
rendering to custom io.Writer implementations.

Changes:
- Create docs/FRender.md with comprehensive usage examples including:
  - Direct file writing for large templates
  - Context-based cancellation for untrusted templates
  - Output size limiting for security
  - Custom output transformation
  - Performance considerations and security best practices
- Update README.md with Advanced Rendering section

This addresses the lack of documentation for the FRender feature that was
merged in April 2024, making it easier for users to discover and utilize
this important capability for production use cases.
osteele added a commit that referenced this pull request Nov 8, 2025
Add detailed documentation for the FRender feature (PR #86) which enables
rendering to custom io.Writer implementations.

Changes:
- Create docs/FRender.md with comprehensive usage examples including:
  - Direct file writing for large templates
  - Context-based cancellation for untrusted templates
  - Output size limiting for security
  - Custom output transformation
  - Performance considerations and security best practices
- Update README.md with Advanced Rendering section

This addresses the lack of documentation for the FRender feature that was
merged in April 2024, making it easier for users to discover and utilize
this important capability for production use cases.

* fix: apply gofmt to iteration_tags_test.go

---------

Co-authored-by: Claude <noreply@anthropic.com>
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