Release v17.24.1
Summary
Removed Handlebars dependency from generated TypeScript proxies. Route parameters are now replaced using regex with encodeURIComponent, and query strings are built using native URLSearchParams.
Changed
- Route parameter replacement now uses regex pattern matching instead of Handlebars templates
- Query string parameters (paging, sorting) now built with
URLSearchParamsfor proper encoding - Generated proxy code no longer imports or compiles Handlebars templates
Fixed
- Paging and sorting parameters now correctly appended to URLs (previously added after URL creation, causing them to be ignored)
Removed
handlebarsdependency from@cratis/applications,@cratis/applications.react, and@cratis/applications.vitepackagesrouteTemplateproperty fromIQueryFor,IObservableQueryFor,QueryFor,ObservableQueryFor, andCommandclassesRouteTemplateparameter fromQueryDescriptorandCommandDescriptorRouteExtensions.cscontainingMakeRouteTemplate()method