Sprout Fields
Version 3.8.6
November 5, 2022
Changed
- Updated
barrelstrength/sprout-base-fields
requirement to v1.4.6
Version 3.8.5
May 30, 2021
Fixed
- Fixed migrations when upgrading from Craft 2 to Craft 3
Version 3.8.4
October 13, 2020
Changed
- Updated
barrelstrength/sprout-base-fields
requirement to v1.4.4
Fixed
- Fixed Address Field display issue introduced in Craft 3.5 (#114)
- Updated initialization behavior changes in Address and Templates fields introduced in Craft 3.5
Version 3.8.3
May 21, 2020
Added
- Added support for Predefined Date field in Element Index
Fixed
- Fixed error when displaying empty Phone field in Element Index column (#108)
Version 3.8.2
May 21, 2020
Changed
- Updated
barrelstrength/sprout-base-fields
requirement to v1.4.2 - Updated
giggsey/libphonenumber-for-php
requirement to v8.12.4
Version 3.8.1
May 15, 2020
Changed
- Updated Phone Field column type to default to use varchar data type
- Updated
barrelstrength/sprout-base-fields
requirement to v1.4.1 - Updated
giggsey/libphonenumber-for-php
requirement to v8.12.3
Fixed
Version 3.8.0
April 28, 2020
Changed
- Updated
barrelstrength/sprout-base
requirement v6.0.0
Fixed
- Fixed Template Field registration (#106)
- Fixed migration issue when multiple Sprout plugins are installed
Version 3.7.0
April 27, 2020
Added
- Added
barrelstrength\sproutbase\base\SproutDependencyTrait
- Added
barrelstrength\sproutbase\base\SproutDependencyInterface
- Added
barrelstrength\sproutbase\records\Settings
- Added
barrelstrength\sproutbase\migrations\Install::safeDown()
- Added support for config overrides in base settings models
Changed
- Improved uninstall migration
- Updated
barrelstrength/sprout-base-fields
requirement to v1.4.0 - Updated
barrelstrength/sprout-base
requirement to v5.2.0
Fixed
- Fixed Name Field html attributes relationships between labels and inputs
Removed
- Removed
barrelstrength\sproutbase\services\Settings::getPluginSettings()
- Removed
barrelstrength\sproutbase\base\BaseSproutTrait
- Removed
barrelstrength/sprout-base-import
dependency
Version 3.6.2
February 12, 2020
Changed
- Updated
barrelstrength/sprout-base-fields
requirement to v1.3.4
Fixed
- Fixed saving address in Postgres (#101)
Version 3.6.1
February 12, 2020
Added
- Added the Template Field for selecting Twig Templates with Auto-suggest and Dropdown field style options
Changed
- Updated
barrelstrength/sprout-base-fields
requirement to v1.3.1 - Updated
barrelstrength/sprout-base
requirement to v5.1.1
Version 3.6.0
February 5, 2020
Changed
- Updated models to use
defineRules()
method - Removed
EditableTable.js
file - Updated
barrelstrength/sprout-base-fields
requirement to v1.3.0 - Updated
barrelstrength/sprout-base
requirement to v5.1.0
Version 3.5.4
January 15, 2020
Updated
- Updated
barrelstrength/sprout-base-fields
to v1.2.3
Fixed
- Fixed array offset error in PHP 7.4 (#405)
Version 3.5.3
January 15, 2020
Updated
- Updated
barrelstrength/sprout-base-fields
to v1.2.2
Fixed
- Fixed error in address table migration (#182)
Version 3.5.2
January 15, 2020
Fixed
- Fixed bug where optional Phone field would not validate with blank value
Version 3.5.1
January 9, 2020
Updated
- Updated
barrelstrength/sprout-base-fields
to v1.2.1
Fixed
- Fixed scenario where address table updates may not get triggered in migrations
Version 3.5.0
January 9, 2020
Added
- Added support for displaying Address on Revisions using
Field::getStaticHtml()
- Added
barrelstrength\sproutbasefields\services\Name
- Added
barrelstrength\sproutbasefields\services\Phone::getCountries()
- Added
barrelstrength\sproutbasefields\models\Address::getCountryCode()
- Added
barrelstrength\sproutbasefields\events\OnSaveAddressEvent::$address
Changed
- Updated how Address Fields are saved and retrieved to better handle Drafts, Revisions, and other integrations
- Updated and standardized shared logic, validation, and response for fields Email, Name, Phone, Regular Expression, and Url
- Improved multi-site support for Addresses
- Updated dynamic email validation to exclude check for unique email setting
- Updated Phone field to save
null
instead of empty JSON blob - Updated Name field to save
null
instead of empty JSON blob - Addresses are now stored only in the
sproutfields_adddresses
table. Updatedbarrelstrength\sproutfields\fields\Address::hasContentColumn
to return false. - Updated
barrelstrength\sproutbasefields\services\Address::deleteAddressById()
to require address ID - Improved fallbacks for Address Field's default country and language
- Moved methods from
barrelstrength\sproutbasefields\helpers\AddressHelper
tobarrelstrength\sproutbasefields\services\Address
- Moved methods from
barrelstrength\sproutbasefields\helpers\AddressHelper
tobarrelstrength\sproutbasefields\services\AddressFormatter
- Updated
barrelstrength\sproutbasefields\helpers\AddressHelper
tobarrelstrength\sproutbasefields\services\AddressFormatter
- Deprecated property
barrelstrength\sproutbasefields\events\OnSaveAddressEvent::$model
- Renamed
barrelstrength\sproutbasefields\services\Address::getAddress()
=>getAddressFromElement()
- Renamed data attribute
addressid
=>address-id
- Renamed data attribute
defaultcountrycode
=>default-country-code
- Renamed data attribute
showcountrydropdown
=>show-country-dropdown
- Updated
barrelstrength/sprout-base-fields
to v1.2.0 - Updated
commerceguys/addressing
to v1.0.6 - Updated
giggsey/libphonenumber-for-php
to v8.11.1
Fixed
- Fixed Phone validation bug on initial Drafts
- Fixed Email Field unique email validation with Drafts
- Fixed display issue with Gibraltar addresses
- Fixed bug where Address input fields did not display in edit modal after Address was cleared
Removed
- Removed
barrelstrength\sproutfields\fields\Phone::getCountries()
- Removed
barrelstrength\sproutfields\fields\Address::serializeValue()
- Removed
barrelstrength\sproutbasefields\helpers\AddressHelper
- Removed
barrelstrength\sproutbasefields\controllers\actionDeleteAddress()
- Removed
barrelstrength\sproutbasefields\models\Name;:$fullName
- Removed
commerceguys/intl
Version 3.4.4
August 14, 2019
Changed
- Updated barrelstrength/sprout-base-fields requirement v1.1.0
Fixed
- Fixed bug where unique email field setting did not exclude soft deleted entries (#328)
Version 3.4.3
July 14, 2019
Changed
- Updated barrelstrength/sprout-base-fields requirement v1.0.9
- Updated barrelstrength/sprout-base-import requirement v1.0.5
Version 3.4.2
July 9, 2019
Added
- Added support for Craft 3.2 allowAnonymous updates
Changed
- Updated craftcms/cms requirement to v3.2.0
- Updated barrelstrength/sprout-base-fields requirement to 1.0.8
Version 3.4.1
June 10, 2019
Changed
- Updated barrelstrength/sprout-base-fields requirement v1.0.7
Fixed
- Fixed JS error when using Notes Field (#2)
Version 3.4.0
May 24, 2019
Added
- Added dynamic rendering for the Predefined Field
Changed
- Predefined Field Date data type has been moved to a separate Predefined Date Field
- Updated barrelstrength/sprout-base-fields requirement v1.0.6
Fixed
- Fixed bug in Predefined Date data type migration
Version 3.3.1
May 21, 2019
Added
- Added Predefined Field setting to support Text and Date Data Types
Changed
- Updated barrelstrength/sprout-base-fields requirement v1.0.5
Fixed
- Fixed bug where Name field could throw error on Entry edit page
- Improved Postgres support
Version 3.3.0
April 30, 2019
Changed
- Updated icon
Version 3.2.9
April 20, 2019
Changed
- Updated barrelstrength/sprout-base-fields requirement v1.0.4
- Updated barrelstrength/sprout-base requirement v5.0.0
Fixed
- Fixed Phone field bug in migration from Craft 2 to Craft 3 (#86)
Version 3.2.8
March 13, 2019
This is a critical release. Please update to the latest to ensure your Address Field Administrative Area code data is being saved correctly.
Changed
- Updated barrelstrength/sprout-base-fields requirement v1.0.3
Fixed
- Fixed bug where Administrative Area Input was not populated correctly (#85)
Version 3.2.6
March 6, 2019
Fixed
- Fixed error related to the Project Config when migrating from Craft 2 to Craft 3 (#84)
Version 3.2.5
March 1, 2019
Changed
- Updated barrelstrength/sprout-base-fields requirement v1.0.2
Fixed
- Fixed invalid path alias error when running console commands (#83)
Version 3.2.4
February 26, 2019
Version 3.2.3
February 14, 2019
Fixed
- Added barrelstrength/sprout-base-import requirement v1.0.0
Version 3.2.2
February 13, 2019
Added
- Added Craft 3.1 support
Changed
- Improved translation support
- Updated barrelstrength/sprout-base requirement to v4.0.6
- Added barrelstrength/sprout-base-fields requirement v1.0.0
Fixed
- Fixed bug where
settings
column was not found when migrating from Craft 3.0 to 3.1
Version 3.2.1
January 23, 2019
null
Version 3.2.0
January 23, 2019
null
Version 3.1.21
November 28, 2018
Added
- Fixed bug where Address Field clear button did not have an effect before field is saved (#68)
Changed
- Updated Sprout Base requirement to v4.0.3
Version 3.1.20
November 14, 2018
Added
- Added option to hide or show Predefined Field in Field Layout
- Added option to display Predefined Field as a textarea field
Changed
- Updated Predefined Field settings to use textarea
- Updated Sprout Base requirement to v4.0.2
- Updated commerceguys/addressing requirement to v1.0.1
Version 3.1.13
October 29, 2018
Changed
- Updated Sprout Base requirement to v4.0.0
Version 3.1.12
October 27, 2018
Changed
- Updates Sprout Import references to Sprout Base
Version 3.1.11
October 23, 2018
Fixed
- Fixed bug on address field when entries is save as new entry [#65]
Version 3.1.8
August 30, 2018
Fixed
- Fixed error where Name Field could throw errors when value was null #62
Version 3.1.7
August 1, 2018
Fixed
- Fixed release notes syntax
Version 3.1.5
July 26, 2018
null
Version 3.1.4
July 26, 2018
Changed
- Updated Sprout Base requirement to v2.0.10
Fixed
- Fixed issue where Address Field prompted user that a form had changed after page load (#60)
Version 3.1.2
May 15, 2018
Fixed
- Fixes release notes warning syntax
Version 3.1.1
May 15, 2018
If you have more than one Sprout Plugin installed, to avoid errors use the 'Update All' option.
Added
- Added minVersionRequired: Sprout Fields v2.1.3
Changed
- Updated application folder structure
- Moved all templates to Sprout Base
- Moved all asset bundles to Sprout Base
- Moved schema and component definitions to Plugin class
- Updated Sprout Base requirement to v2.0.0
- Updated Craft requirement to v3.0.0
Version 3.0.8
April 20, 2018
null
Version 3.0.7
April 18, 2018
null
Version 3.0.6
April 3, 2018
null
Version 3.0.5
April 3, 2018
null
Version 3.0.3
March 8, 2018
Fixed
- Fixes bug where Phone Field could throw error when empty (#38)
- Fixes bug where Name Field referenced deprecated method
Version 3.0.2
March 1, 2018
Changed
- Updated Sprout Base requirement
Fixed
- Fixed Name field validation bug
Version 3.0.1
March 1, 2018
Added
- Added Craft License
Version 3.0.0
March 1, 2018
Added
- Added Address Field (International)
- Added Gender Field (Inclusive)
- Added Name Field (International)
- Added Phone Field (International)
- Added Predefined Field
Changed
- Renamed Link Field to URL Field
- Updated Notes Field style settings to be managed by config css files
Removed
- Removed Email Select Field in Craft CP (data will be migrated to Plain Text Field)
- Removed Hidden Field in Craft CP (data will be migrated to Plain Text Field)
- Removed Invisible Field in Craft CP (data will be migrated to Plain Text Field)
- Removed Phone Field and mask in favor of international Phone Field (data will be migrated to Plain Text Field)
Version 2.1.3
August 29, 2017
Changed
- Updated default pattern for Phone field to work with Android and iPhone devices
Version 2.1.2
August 25, 2017
Changed
- Updated legacy Redactor syntax for lists
Fixed
- Fixed bug in Notes field where the 'Default' style option would throw an error in Sprout Forms front-end field output
- Fixed bug in Notes field where 'Hide Field Label' option had no effect on Sprout Forms front-end field output
- Fixed incorrect placeholder text in Invisible field settings
- Fixed bug in Phone field where submitting an empty field would not save if Pattern Mask was enabled
Version 2.1.1
January 11, 2017
Added
- Added Regular Expression Field type
- Added Notes Field Default style option
- Added Notes Field option to hide the field label
- Added Email Select Field support for comma-separated email addresses
Fixed
- Fixed a bug where Phone Field did not accept empty values
- Fixed an issue where Phone Field could throw an HTML5 pattern attribute syntax error for some phone patterns
Version 2.1.0
September 26, 2016
Added
- Added support to add Email, Email Select, Hidden, Invisible, Link, and Phone fields as columns in Element Index column configurator
- Added Sprout Import integrations for Email, Email Select, Hidden, Invisible, Link, and Phone fields
- Added craft.sproutFields.obfuscateEmailAddresses variable
Changed
- Updated Email, Link, and Phone field actions to use icons
- Added support for 'default' setting in Email Select template
- Added support for 'selected' setting in Email Select output
- Removed the use of wildcards when using Craft::import()
Fixed
- Fixed issue where Phone field mask did not display
- Fixed incorrect log method name
Version 2.0.5
May 18, 2016
Fixed
- Fixed issue where the placeholder setting did not display when using the Email and Link fields.
- Fixed bug where Email Select field did not obfuscate email addresses in front-end output.
Version 2.0.4
April 20, 2016
Added
- Added placeholder setting to Email, Link and Phone fields
- Added Sprout Import integration for importing fake data into email fields
Fixed
- Fixed error when Email Select field is used with Sprout Forms getField tag
Version 2.0.3
March 30, 2016
Added
- Added PHP 7 compatibility
Fixed
- Fixed a bug where Notes field did not minimize when used within a Matrix field
Version 2.0.2
February 4, 2016
Added
- Added migration to update legacy Sprout More Info fields to Notes fields
Changed
- Notes no longer requires a database column in the content table
Fixed
- Fixed error when Link field type was included on Recent Entries dashboard widget
Version 2.0.1
December 31, 2015
Fixed
- Fixed issue where error message could be blank when the Email Field failed validation
- Fixed issue where error message could be blank when the Link Field failed validation
Version 2.0.0
December 2, 2015
Added
- Added Plugin icon
- Added Plugin description
- Added link to documentation
- Added link to plugin settings
- Added link to release feed
- Added Email Select field (Initial Release)
- Added Email Select field support for Sprout Forms and Sprout Email
- Added Notes field (previously Sprout More Info)
- Added Notes field support for Sprout Forms
- Added support to expand/collapse Notes fields in the Control Panel and retain state
Changed
- Improved default styles for Notes field to accomodate more common elements
- Improved several naming conventions
- Improved behavior when updating Notes output setting to immediately display related options
- Improved phone validation to occur on
input
instead of onblur
Fixed
- Fixed a bug where Phone field settings could load without making all selected settings visible
- Fixed a bug where Email, Link, and Phone field custom validation settings could remain even after they were toggled off
- Fixed Phone field link to display if valid on page load
- Fixed a bug where Unique Email validation didn't take into account new Elements
Version 1.0.0
October 20, 2015
Added
- Added Phone Field (Initial Release)
- Added Hidden Field (Initial Release)
- Added Invisible Field (Initial Release)
- Added Email Field (previously Sprout Email Field)
- Added Link Field (previously Sprout Link Field)
- Added support for validation using HTML5 patterns and custom error messages
- Added Sprout Forms front-end field support for Phone, Email, Link, Hidden, and Invisible fields.
Changed
- Standardized settings and naming conventions across all field types
- Updated Phone, Link, and Email field to support input types tel, url, and email