8000 Filter changes · Issue #37 · Keats/tera2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Filter changes #37
Open
Open
@Keats

Description

@Keats

Here is the issue to mention:

  • missing filters from v1
  • wanted changes of behaviour
  • new filters wanted (no deps only)

Known missing:

  • sort: do people use it? It's a lot of code

Current changes:

  • trim filters have been merged in trim/trim_start/trim_end with an optional pat argument for start/end rather than separate filters
  • int and float filter do not have a default anymore
  • round filter does not take a common method anymore, it's the default and should not be filled if needed
  • indent filter now takes a width param rather than prefix
  • map, group_by and filter filter will error if the attribute ends up being undefined on one of the value
  • as_str has been renamed to str
  • truncate length does not have a default anymore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0