Release Notes

3.1.34

August 17th, 2021

What's new

  • Add add_slashes modifier. 74208d23e
  • Add getKey method to User class. #4122

What's improved

  • Adjusted German translations. #4126
  • Align command descriptions. #4125

What's fixed

  • Fix data-table's rounded corners hover state. 1ea06666b

3.1.33

August 12th, 2021

What's new

  • Add Laravel Nova and Horizon links to CP. #4076 #4074

What's improved

  • Updated French and German translations. #4057 #4078

What's fixed

  • Fix GraphQL error when trying to get parent entry. #3971
  • GraphQL uses floats instead of integers for image dimensions. #4107
  • The video fieldtype no longer strips the ? from YouTube URLs. #4104
  • Add password_activations table to the auth:migration command stub. #4079
  • Update the config stubs used by the clear:site command. #4060
  • The markdown field's cmd+left behavior now works the way you expect it to. ad0c05bb4
  • Fix blueprint card corners. #4103
  • Fix tab overflow dropdown in LivePreview pane. a1c3f5bdb
  • Hide "Add Set" button when there are no sets. #4083
  • Prevent showing the Laravel Telescope link when the user doesn't have permission. #4075
  • Fix view scaffolding tpyo. #4077
  • Add toggle for "create" config option on entries and terms fieldtypes. #4069
  • Bump path-parse from 1.0.6 to 1.0.7 #4110
  • Remove unused tar dependency. c963ac8b5
  • Fix QueriesConditionTest #4113
  • Add more assertions for ternary conditions inside tag parameters #4111

3.1.32

July 28th, 2021

What's fixed

  • When we designed the tab overflow UI, we neglected the other tabs in the control panel. They look like tabs again. #4063

3.1.31

July 28th, 2021

What's new

  • Ability to query individual entries in a specific site using GraphQL. #4055

What's improved

  • Publish form tabs now overflow into a dropdown when there's no more room. #4051
  • Field handles are shown when hovering over labels for a moment. statamic/ideas#302

What's fixed

  • Fix newly uploaded assets showing incorrect metadata. #4059
  • Fix updating of entry's author field when user doesn't have permission to edit author. #4052

3.1.30

July 26th, 2021

What's new

  • Added a command to warm the static cache. #4016

What's improved

  • A more helpful exception is thrown when editing an entry that has an invalid blueprint. #3977

What's fixed

  • Fix asset editor overflow issues. #4043
  • Fix tree path issue on Windows. #4024
  • Fix issue where video fieldtypes would prevent asset selection. #3978

3.1.29

July 16th, 2021

What's fixed

  • Fix validation on blueprint editor. #4015

3.1.28

July 15th, 2021

What's new

  • The link fieldtype can have its collections specified, and it defaults to only collections with routes. #3973
  • Sites can now have arbitrary attributes. #3996
  • Added GraphQL support for the array fieldtype. #3972
  • Added a session:has tag. #3958

What's improved

  • The blueprint builder will prevent you from adding fields with reserved words. #3989
  • The blueprint builder will allow you to set default field values. #3982
  • The collection scaffolder now just creates views. #3997
  • In listings that only ever require a single selection, you no longer need to unselect before selecting its replacement. #3950

What's fixed

  • Fix "create navigation" button not appearing when you have permission. #4005
  • Fix asset meta data disappearing when renaming programmatically. #3964
  • Collection trees will be deleted when setting a collection to not orderable. #3901
  • Prevent video previews blowing out the UI of the asset editor. #3975
  • Support collections in the reverse modifier. #4003
  • Prevent the Live Preview toolbar covering the Bard toolbar. #3979
  • Tree files are ignored if they don't have a matching collection. #3948
  • Consolidate the Stache's getItemFilter and getFileFilter methods. #4001
  • Fix search tag when the as param is used without paginate. #4000
  • Fix static caching invalidation mismatch when using trusted proxies and SSL. #3939
  • Fix removing users from groups when using Eloquent. #3951
  • Fix table word wrap weirdness. #2550
  • Fix code fieldtype not loading, and textarea fieldtype not being the correct height when in inactive tabs. #3955
  • Fix site specific views not loading. #3944

3.1.27

July 1st, 2021

What's improved

  • Structure entry eager loading is conditional, and won't happen when loading front-end pages. #3540

What's fixed

  • Only update Stache indexes when they aren't cached at all yet. #3936
  • Fix is_parent being true for the home page in the nav tag when your site is defined with a full URL. #3900
  • Fix error when getting the dimensions for a zero byte image. #3935
  • That also prevents corrupt images from constantly recalculating their dimensions.
  • Fix dimensions validation rule on assets fields. #3922
  • Filter out import fields from the "add existing field" pane in the Blueprint builder, which was causing JS errors. #3924
  • Make Grid column squeezing rules more specific, which fixes a derpy date field. #3917
  • Check permissions for the "Create" button on the entries fieldtype. #3906
  • Fix integer fieldtype focus state. 6211855ad
  • Fix isLowerCase method casing. 9f05530bf
  • Fix random invalid popper reference errors. d8a0f52b9

3.1.26

June 22nd, 2021

What's new

  • The View::make() method can now accept data.
  • Added a View::first() method that uses the first view that exists in a given array. #3880

What's fixed

  • Fixed pagination in the search:results tag. #3894
  • Static caching: Collection-based term URLs get invalidated when saving a term. #3884
  • Static caching: Reordering a collection will invalidate the URL where it's mounted. #3885
  • Static caching: Saving a nav tree will trigger invalidation. #3882
  • Prevent error for entries with layout: false, or routes with layout: false/null. #3893
  • Apply field config classes to grid fields. #3881
  • Improve handling of creating terms in a non-default site. #3441
  • Fix errors when importing single fields into Blueprints. #3249
  • Prevent seeing asset breadcrumbs when navigation is restricted. #3873
  • Fixed the "Create Folder" field not gaining focus in some browsers. #3874
  • Bump striptags from 3.1.1 to 3.2.0 #3879

3.1.25

June 18th, 2021

What's new

  • Support for .antlers.xml views which automatically set the response type to text/xml. #3855
  • You can add more fieldtypes to the selector when building Form blueprints. #3866
  • You can set the width on grid sub-fields in table mode. #3867

What's improved

  • When using full-measure static caching, pages with really long query strings will fall back to half-measure caching. #3864

What's fixed

  • Fix filtering of taxonomy terms by collection. #3870
  • Term files will always be created when using the terms fieldtype. #3852
  • Fix wrong asset container with similar URLs being resolved. #3858
  • Prevent dispatching invalidation jobs when static caching is disabled. #3869

3.1.24

June 16th, 2021

What's new

  • Add support for defining default password validation rules. #3823

What's fixed

  • Markdown fieldtype previews are rendered server side so you can see custom parsers. #3859
  • Prevent static caching error when visiting a URL with a really long query string. #3860
  • Fix the size of SVGs in the assets fieldtype when in list mode. #3854

3.1.23

June 14th, 2021

What's improved

What's fixed

  • Fixed validation error when saving entries in a strutured collection without a route. #3847
  • Prevent an error when selecting an entry to mount to a collection. #3846
  • Assets can now access their mime_type in templates. c5858990f

3.1.22

June 11th, 2021

What's new

  • Action classes can customize their toast messages. #3822
  • Sites may specify text direction. #3815
  • Added form to Submission. #3792
  • Added width attribute to DataList's Table component. #3762
  • Added maxlength to the views of form fields that have a character_limit set. #3797

What's improved

  • Updated Dutch translations. #3834

What's fixed

  • Fixed issue where ticking many items in a listing could fail. #3298
  • Fixed fatal: not a git repository errors when using symlinks. #3829
  • Prevented the "Create Fieldset" button disappearing. #3821
  • Added a Submission typehint. 370cdc4ea
  • Bump browserslist from 4.12.2 to 4.16.6 #3769

3.1.21

June 9th, 2021

What's new

  • The redirect tag will pass along route parameters when targeting a named route. #3801

What's fixed

  • Fix entry slug or date changes not being reflected in filename. #3816
  • Fix incorrect blueprint being saved to localized entry files. #3818
  • Fix error when attempting to parse an image validation rule. #3812

3.1.20

June 8th, 2021

What's fixed

  • URI uniqueness is validated per site. #3808
  • Prevent an infinite loop when you manually create an entry file without an ID. #3807