Statamic 2 - Feature Requests and Bug Reports
user:cant
and user:isnt
tags.permalink
.settings.yaml
fieldset.users
tag can filter by a role or a user group.$user->hasRole()
can accept a Role
.cache_bust
parameter to theme:
tags.folder.yaml
data.always_populate_raw_post_data
in the Installer for PHP versions 5.6 to 7.required: true
to fieldsets.from
is unspecified when sending form emails.init
method from within addon aspects.transform
tag.resources
folder to addons. Views, translations, and assets should go in there.routes.yaml
file instead of in meta.yaml
.Core
addon class. You probably weren't using that anyway.settings: name
instead of settings: [array]
.max_items: 1
now appear as a Suggest-style field.stuff
fieldset to things
. Both great and descriptive names.theme:make
command.max_items: 1
from not displaying saved data.theme
filesystem. It's identical to themes
, but automatically puts you in your active theme directory.always_populate_raw_post_data
check to the installer, and prettied it up a little.Config::getThemeName()
.super
permission is now the key to access the "Configure" area.*_path()
methods.File
/Folder
issues.$email->automagic()
returns $this
so you can continue chaining.MagicFile
and MagicFolder
classes. Use File
and Folder
. See filesystems.YAML::parseFile
, YAML::parseMagicFile
, and Parse::YAMLFile
.Email::send()
. You should use the Email builder.Config::getThemePath()
. Use the theme
filesystem disk.Breaking update change: You'll need to update your Asset Container paths to respect the new filesystem format.
Parse::env()
to interpolate environment variables.$this->getFloat()
to Tags.is_page
, is_entry
, etc).has_timestamp
boolean to entries.excerpt
modifier that breaks a string at a marker.dump
tag that simply dd()
's the current context.response.created
event.X-Powered-By: Statamic
header, but you can disable it if you want. 💔tags
fieldtype.table
modifier from v1.clear:cache
, clear:stache
, clear:glide
and clear:static
to clear a bunch of different caches.title
field.{env
in your template.size_mb
and size_gb
actually returning kilobyte values.taxonomy
variable available. Now it is.ampersandList
and sentenceList
borking when they aren't an array.sample.htaccess
file to include disallowed access to system folders blah blah look at yourself.$this->parseLoop()
or $this->parse()
, the current context will be merged in.clients
route that should never have been there.addon:make
command now also makes a controller.taxonomy="true"
on a collections tag with a non-existent term.MagicFile
and MagicFolder
classes are gone. (See filesystems)themes_path
and themes_url
settings. (See filesystems again)system.yaml
are now in search.yaml
. Makes sense, right?cache:clear
command. Not really broken though because Laravel's cache:clear
is still a thing.pages:next
and pages:previous
tags.routes
Tag.d()
method. Like dd()
but with less dying.xml_header
global variable.make:controller
command.Import
tool. You can now import Statamic v1 site content (with help of new exporter addon).markdown
fieldtype got some sweet design lovin', keyboard shortcuts, buttons, Assets, and a Markdown Cheatsheet.yaml
fieldtype is now syntax highlighted. How nerdy of us.title
fieldtype. It's a fancy-looking text
field for fancy people building fancy sites.array
fieldtype got an extreme makeover CSS edition and is reorderable when in dynamic mode.dd()
global in JS just because we could.grid
fieldtype got design love too. Fields inside the Grid are streamlined and chillin.table
fieldtype now looks more like a Grid field. That made sense to us.default
or asset
fieldset, you won't see the Loading Spinner of Doomâ„¢.Arr::combineRecursive
now sorts keys based on the newer array. This fixes an issue where people couldn't make a non-English locale the default.Do not upgrade to Beta 13. Go directly to Beta 14. We broke a thing.
@
are ignored, Blade style..blade.php
)modify($var)->slugify()
Path::makeFull()
that makes a relative path absolute.content_type: atom
will enforce utf-8 encoding.date
is now a Carbon instance. Fixes incorrect relative time when using {{ date | relative }}
.$data->set('foo.bar', $val)
date_instance
from content data.full_urls
modifier is baaaaaaack. Erin.count
and ability to multisort on it.remove_left:@
.user.registered
event.group_by_date
.glide.generated
event.$this->eventUrl()
using the customized name instead of the class name.$this->session
and $this->flash
contextual objects to addons.zero_index
and index
variables consistently consistent.