Skip to content

Commit cf3ee13

Browse files
chore(master): release 4.0.0 (#30)
* chore(master): release 4.0.0 * build: Update versions in mod files Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bd054cb commit cf3ee13

12 files changed

+35
-11
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
This project adheres to [Semantic Versioning](http://semver.org/) as of v1.8.0.
66

7+
## [4.0.0](https://github.com/live627/smf-custom-forms/compare/v3.1.0...v4.0.0) (2022-12-08)
8+
9+
10+
### ⚠ BREAKING CHANGES
11+
12+
* Field descriptions no longer accept raw HTML as part of the security fix (BBC accepted instead)
13+
* Requires PHP 8 or newer
14+
15+
### Features
16+
17+
* Add update notice for admins ([8d88ff6](https://github.com/live627/smf-custom-forms/commit/8d88ff6dc3c107e053dd98eca7a81df6cc516f46))
18+
* Form edit box now includes a button to add field macros ([445473d](https://github.com/live627/smf-custom-forms/commit/445473de818f7fd55aac44e67965e3d26c8c6dc5))
19+
* integrate_customform_classlist ([bd054cb](https://github.com/live627/smf-custom-forms/commit/bd054cbc81ae69d8e0b697c33e54a08eeb854f73))
20+
21+
22+
### Bug Fixes
23+
24+
* Tighten security by encoding HTML special characters ([430f1f7](https://github.com/live627/smf-custom-forms/commit/430f1f7b35583d35a0ba02ccd275ca24781f70c4))
25+
26+
27+
### Code Refactoring
28+
29+
* move to namespace classes ([3289cd8](https://github.com/live627/smf-custom-forms/commit/3289cd80e925a338b33fb3313d141a672a6b0f59))
30+
731
## [3.1.0](https://github.com/live627/smf-custom-forms/compare/v3.0.0...v3.1.0) (2022-11-21)
832

933

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Package name | SMF version | Minimmum PHP version
99
--- | --- | ---
10-
[Custom Form Mod 3.1.0](https://github.com/live627/smf-custom-forms/releases/download/v3.1.0/custom-forms_3-1-0.tgz) | SMF 2.1.x | PHP 7.4
10+
[Custom Form Mod 4.0.0](https://github.com/live627/smf-custom-forms/releases/download/v4.0.0/custom-forms_4-0-0.tgz) | SMF 2.1.x | PHP 7.4
1111
[Custom Form Mod 2.2.4](https://github.com/live627/smf-custom-forms/releases/download/v2.2.4/custom-forms_2-2-4.tgz) | SMF 2.0.x, SMF 2.1.x | PHP 7.4
1212
Custom Form Mod 1.7 | SMF 1.1.x, 2.0.x | PHP 4.3 – PHP 7.4
1313

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
"require": {
2626
"php": ">=7.4"
2727
},
28-
"version": "3.1.0"
28+
"version": "4.0.0"
2929
}

src/CustomForm.english.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* @package Custom Form mod
7-
* @version 3.1.0
7+
* @version 4.0.0
88
* @author John Rayes <live627@gmail.com>
99
* @copyright Copyright (c) 2014, John Rayes
1010
* @license http://opensource.org/licenses/MIT MIT

src/CustomForm.template.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* @package Ultimate Menu mod
7-
* @version 3.1.0
7+
* @version 4.0.0
88
* @author John Rayes <live627@gmail.com>
99
* @copyright Copyright (c) 2014, John Rayes
1010
* @license http://opensource.org/licenses/MIT MIT

src/CustomForm/ManageCustomForm.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ManageCustomForm
2727
const MOVEFIELDDOWN = 'movefielddown';
2828
const MOVEFIELDUP = 'movefieldup';
2929
const SAVEFIELD = 'savefield';
30-
const VERSION = '3.0.0';
30+
const VERSION = '4.0.0';
3131

3232
private string $scripturl;
3333
private string $sourcedir;

src/install.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* @package Ultimate Menu mod
7-
* @version 3.1.0
7+
* @version 4.0.0
88
* @author John Rayes <live627@gmail.com>
99
* @copyright Copyright (c) 2014, John Rayes
1010
* @license http://opensource.org/licenses/MIT MIT

src/install.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[b][size=6]Custom Form Mod Version 3.1.0[/size][/b]
1+
[b][size=6]Custom Form Mod Version 4.0.0[/size][/b]
22

33
[url="http://opensource.org/licenses/MIT"][img]https://camo.githubusercontent.com/d7b0ca6383644d5ac81e234f8d2249b731a1407b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3030393939392e737667[/img][/url] [url="https://www.paypal.me/JohnRayes"][img]https://camo.githubusercontent.com/e03e24ac37094afa6d1d089fc32de8027e9b4988/687474703a2f2f696d672e736869656c64732e696f2f62616467652f50617950616c2d242d3030393936362e737667[/img][/url]
44

src/package-info.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<name>Custom Form Mod</name>
55
<id>LHVWB:CustomFormMod</id>
66
<type>modification</type>
7-
<version>3.1.0</version>
7+
<version>4.0.0</version>
88

99
<upgrade for="2.1 - 2.1.99" from="3.*">
1010
<code type="inline"><![CDATA[<?php

src/uninstall-optional.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* @package Custom Form mod
7-
* @version 3.1.0
7+
* @version 4.0.0
88
* @author John Rayes <live627@gmail.com>
99
* @copyright Copyright (c) 2014, John Rayes
1010
* @license http://opensource.org/licenses/MIT MIT

src/uninstall-required.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* @package Custom Form mod
7-
* @version 3.1.0
7+
* @version 4.0.0
88
* @author John Rayes <live627@gmail.com>
99
* @copyright Copyright (c) 2014, John Rayes
1010
* @license http://opensource.org/licenses/MIT MIT

src/upgrade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* @package Ultimate Menu mod
7-
* @version 3.1.0
7+
* @version 4.0.0
88
* @author John Rayes <live627@gmail.com>
99
* @copyright Copyright (c) 2014, John Rayes
1010
* @license http://opensource.org/licenses/MIT MIT

0 commit comments

Comments
 (0)