scriban v4.1.0 Release Notes

Release Date: 2021-10-07 // 9 days ago
    • ➕ Add IQueryable<T> support in for-loops.
      • Parameter offset:count will be translated to IQueryable<T>.Skip(count)
      • Parameter reversed will be translated to IQueryable<T>.Reverse()
      • Parameter limit:count will be translated to IQueryable<T>.Take(count)
      • Special for loop variables are supported with the exception of rindex and last
      • Optional LoopLimitQueryable-property on TemplateContext object to control looplimit in case of IQueryable<T> (defaults to LoopLimit)

Previous changes from v4.0.2

    • 🛠 Fix issue with object instance conversion between different object types