chore(deps): update rust crate minijinja to v2.9.0 #234
No reviewers
Labels
No labels
ci
crate/dtmm
crate/dtmt
crate/sdk
crate/serde_sjson
kind
bug
kind
documentation
kind
enhancement
kind
feature
kind
question
kind
upstream
part/bundle
part/filetype
stage
actionable
stage
design
stage
proposal
status/duplicate
status/good first issue
status/help wanted
status/invalid
status
need-replicate
status/wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bitsquid_dt/dtmt#234
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/minijinja-2.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.2.0
->2.9.0
Release Notes
mitsuhiko/minijinja (minijinja)
v2.9.0
Compare Source
columns) are loaded. The error reporting will be wrong in those
cases but the templates will load. #742
proper error reporting if they cannot find a method. #743
merge_maps
which is a dynamic version of thecontext!
merge feature, and fixed enumeration behavior when non-map objects
are attempted to be merged. #745
mj_value_new_bytes
to the C-ABI. #749mj_value_as_bytes
to the C-ABI to borrow from strings orbyte values. #750
mj_err_get_detail
andmj_err_get_template_name
. Thesedid not work correctly. To fix them the return value now needs to be
freed. #754
AtomicU64
isnot available in minijinja-contrib. #755
with context
andwithout context
forimports. #759
default
filter is now also registered asd
for Jinja2compatibility. #763
default
filter now accepts a second argument to enable laxdefaulting. #764
striptags
filter to the contrib module. #765pycompat
by default for the Python bindings and registerthe default contrib filters and tests. #767
v2.8.0
Compare Source
SemiStrict
undefined mode that is like strict but allowsto be checked for truthiness. Additionally an if expression without
an else block will always produce a silent undefined object that
never errors for compatibility with Jinja2. #687
ViaDeserialize
stricter. Now the typecan only be constructed if the type implements
DeserializeOwned
.This is not a new requirement for passing the function to
add_function
but bad code will now error earlier for bettererror reporting. #689
of depending on all of the
rand
module. #696to not advance the RNG between calls. #698
Environment.undeclared_variables_in_template
andEnvironnent.undeclared_variables_in_str
to Python binding. #699loop_controls
for Python in-line with the CLI. #704Object::custom_cmp
to allow objects to influence how theycompare against themselves. This also fixes Python objects in the
Python binding not to compare correctly. #707
undeclared_variables
would incorrectly handlevariables referenced by macros. #714
rendering from the same environment at once. #717
__bool__
correctly now for customobjects in if-conditions and filters. #719
}}
caused a syntax error in expressions withopen parentheses, braces or brackets. #723
State::known_variables
to return a list of known variablesand
Environment::globals
. #724caller
. #725Filters
andTests
traits. They remain ashidden aliases to
Function
. #726handle escapes. #728
and addresses. This cuts down on the memory usage needed for debug
information. #735
load_from_path
to python. #736v2.7.0
Compare Source
loop.nextitem
is now a lazy operation. This prevents issues wheniterating over one-shot iterators combined with
{% break %}
andit now ensures that the iterator is not running "one item ahead". #677
recursive loops. #678
serde_yml
toserde_yaml
. #684cases point to exactly where the error happened. #686
crate. #688
v2.6.0
Compare Source
sum
filter. #648truncate
filter tominijinja-contrib
. #647wordcount
filter tominijinja-contrib
. #649wordwrap
filter tominijinja-contrib
. #651and a bug was fixed that caused undefined values in strict undefined
mode not to work with tests. #657
unsafe
code block from theKwargs
type internallywhich was probably unsafe. #659
out when flattening on value handles is used. #664
Value::make_object_map
to create projections from objectinto maps, similar to how it was already possible to create
iterators that were projected from objects. #663
|items
filter will no longer allocate a list and insteadreturn an iterator. #665
lstrip_blocks
to act too eager. #674v2.5.0
Compare Source
minijinja-cli
now supports preservation of order in maps. #611minijinja-cli
. #611lines
filter to split a string into lines.Value::from_bytes
without having to go via serde, and they are nowproducing a nicer looking debug output. #616
string
filter from Jinja2. #617more consistently. #619
minijinja-cli
now allows the template name to be set to an emptystring when
--template
is used, to allow suppliying a data file. #624sameas
filter from Jinja2. #625(
1 is sameas 1
). #626rendering. #627
the error. #630
minijinja-cli
now has all features enabled by default as documented(that means also shell completion and ini). #633
minijinja-cli
now does not convert INI files to lowercase anymore. This wasan unintended behavior. #633
*args
for variable args and**kwargs
for keyword arguments) and fixed a bug where sometimes maps and keyword
arguments were created in inverse order. #642
v2.4.0
Compare Source
minijinja-cli
with support for better documentation,config file and environment variable support. #602
minijinja-cli
now supports template source passed by parameter forsimple cases. #606
minijinja-cli
now has a--syntax-help
argument that prints out theprimer on the syntax. #607
minijinja-cli
now installs to~/.local/bin
by default. #608String
/Cow<str>
argument types will no longer implicitly convertkeyword arguments to string form. This was an unintended foot gun. #605
v2.3.1
Compare Source
PartialEq
/Eq
inValue
caused by changesin 2.3.0. #584
v2.3.0
Compare Source
were not in consistent order. #569
groupby
filter. #570unique
filter now is case insensitive by default like inJinja2 and supports an optional flag to make it case sensitive.
It also now lets one check individual attributes instead of
values. #571
Ord
to avoid accidentally non total orderthat could cause panics on Rust 1.81. #579
Value::is_integer
method to allow a user to tell floatsand true integers apart. #580
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.