restore
and reset
, respectively) for targeting CSS.URL::to()
and url()
) will now always return a slash after the hostname and properly URL-encode values with the dot segments processed out.SystemException
s are now thrown for code paths resulting in not found exceptions (AJAX handlers, partials, content, components, etc) to make it easier to identify and resolve issues before end users are affected.getNamespaceAliases($namespace)
& getReverseAlias($class)
methods to the ClassLoader
class.Winter\Storm\Support\Testing\MocksClassLoader
trait for mocking the ClassLoader in unit tests.Http
helper in the Storm library now stores and makes available all response headers in the $headers
property even if the toFile()
method is used - previously, headers would be discarded to prevent them being added to the file content.registerMarkupTags()
can now specify the options to be used when registering the filters / functions with Twig.type: image
backend list columns.array_accessible()
: Arr::accessible()
array_has_any()
: Arr::hasAny()
is_associative()
: Arr::isAssoc()
array_shuffle()
: Arr::shuffle()
str_ordinal()
: Str::ordinal()
str_after_last()
: Str::afterLast()
str_ascii()
: Str::ascii()
str_before_last()
: Str::beforeLast()
str_contains_all()
: Str::containsAll()
str_is_uuid()
: Str::isUuid()
str_limit_words()
: Str::words()
str_plural_studly()
: Str::pluralStudly()
unique
model attribute validation rule.ImageResizer
(i.e. .JPG
, etc)unique
validation rule (couldn't specify multiple where conditions, minor inconsitencies in how it was being parsed, etc) and added unit tests to cover all valid variations fo the ruleurl()
or temporaryUrl()
on a filesystem driver that didn't support those methods would throw a Class not found
exception instead the appropriate RuntimeException
.having
clauses.order
values causing the backend to crash.ClassLoader
(usually through the plugin replacement functionality) would not be evaluated by the Extendable
trait (i.e. behaviors were not resolving correctly).0
couldn't be used as the min
or max
value for number
field types.winter:version
command on Mac OS by using the Http
helper as opposed to the file_get_contents()
method.Url::to()
and url()
now return properly URL-encoded valuespost()
could return values when the request was not a valid POST
request127.0.0.1
instead of localhost
. localhost
may be slightly faster in some environments, but 127.0.0.1
is more reliable in all environments and the default can always be changed for specific projects that require it.Sign up to our newsletter and receive updates on Winter releases, new features in the works, plugin and theme promotions and much more!