Skip to content

v0.17.1: breaking changes, new radix tree, introduction of streams as opposed to previously attachments, bug fixes and overall performance speed-ups#140

Merged
flrdv merged 21 commits into
indigo-web:masterfrom
flrdv:master
Jun 21, 2025

Conversation

@flrdv
Copy link
Copy Markdown
Member

@flrdv flrdv commented Jun 21, 2025

Backward compatibility breaking changes!

The v0.17.1 release features:

  • Refactored radix tree for dynamic routing
  • Dynamic routing wildcards syntax changed: now using /:id syntax instead of the previous /{id}
  • Removed path catchers from the built-in router: they are replaced by greedy wildcards
  • Renamed response attachment to streams. Streams can now be sized. If supported, io.WriterTo interface is used, which also introduces mass speed-ups for file uploads wherever sendfile(2) is supported
  • Minor changes to internals: refactored

flrdv added 21 commits June 18, 2025 14:43
…om a reader

added a distinction between sized and unsized streams - sized streams will be sent just like normal bodies. It also utilizes the sendfile(2) mechanism if available
improved working with streams. Response body, set as a string or byte array, is now implicitly covered into a stream. Therefore, long such bodies won't be copied fully into the response buffer, and instead be sent in parts.
Optimized writing chunked body. Now headers must not be sent separately from a first block.
@flrdv flrdv self-assigned this Jun 21, 2025
@flrdv flrdv added enhancement New feature or request feature bugfix pull request that only fixes some bugs optimisation code optimisations, so now code is more effective labels Jun 21, 2025
@flrdv flrdv merged commit ff60dfd into indigo-web:master Jun 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix pull request that only fixes some bugs enhancement New feature or request feature optimisation code optimisations, so now code is more effective

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant