Skip to content

chore(master): release 4.0.0 #30

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
This project adheres to [Semantic Versioning](http://semver.org/) as of v1.8.0.

## [4.0.0](https://github.com/live627/smf-custom-forms/compare/v3.1.0...v4.0.0) (2022-12-08)


### ⚠ BREAKING CHANGES

* Field descriptions no longer accept raw HTML as part of the security fix (BBC accepted instead)
* Requires PHP 8 or newer

### Features

* Add update notice for admins ([8d88ff6](https://github.com/live627/smf-custom-forms/commit/8d88ff6dc3c107e053dd98eca7a81df6cc516f46))
* Form edit box now includes a button to add field macros ([445473d](https://github.com/live627/smf-custom-forms/commit/445473de818f7fd55aac44e67965e3d26c8c6dc5))
* integrate_customform_classlist ([bd054cb](https://github.com/live627/smf-custom-forms/commit/bd054cbc81ae69d8e0b697c33e54a08eeb854f73))


### Bug Fixes

* Tighten security by encoding HTML special characters ([430f1f7](https://github.com/live627/smf-custom-forms/commit/430f1f7b35583d35a0ba02ccd275ca24781f70c4))


### Code Refactoring

* move to namespace classes ([3289cd8](https://github.com/live627/smf-custom-forms/commit/3289cd80e925a338b33fb3313d141a672a6b0f59))

## [3.1.0](https://github.com/live627/smf-custom-forms/compare/v3.0.0...v3.1.0) (2022-11-21)


2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

Package name | SMF version | Minimmum PHP version
--- | --- | ---
[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
[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
[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
Custom Form Mod 1.7 | SMF 1.1.x, 2.0.x | PHP 4.3 – PHP 7.4

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -25,5 +25,5 @@
"require": {
"php": ">=7.4"
},
"version": "3.1.0"
"version": "4.0.0"
}
2 changes: 1 addition & 1 deletion src/CustomForm.english.php
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

/**
* @package Custom Form mod
* @version 3.1.0
* @version 4.0.0
* @author John Rayes <live627@gmail.com>
* @copyright Copyright (c) 2014, John Rayes
* @license http://opensource.org/licenses/MIT MIT
2 changes: 1 addition & 1 deletion src/CustomForm.template.php
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

/**
* @package Ultimate Menu mod
* @version 3.1.0
* @version 4.0.0
* @author John Rayes <live627@gmail.com>
* @copyright Copyright (c) 2014, John Rayes
* @license http://opensource.org/licenses/MIT MIT
2 changes: 1 addition & 1 deletion src/CustomForm/ManageCustomForm.php
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ class ManageCustomForm
const MOVEFIELDDOWN = 'movefielddown';
const MOVEFIELDUP = 'movefieldup';
const SAVEFIELD = 'savefield';
const VERSION = '3.0.0';
const VERSION = '4.0.0';

private string $scripturl;
private string $sourcedir;
2 changes: 1 addition & 1 deletion src/install.php
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

/**
* @package Ultimate Menu mod
* @version 3.1.0
* @version 4.0.0
* @author John Rayes <live627@gmail.com>
* @copyright Copyright (c) 2014, John Rayes
* @license http://opensource.org/licenses/MIT MIT
2 changes: 1 addition & 1 deletion src/install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[b][size=6]Custom Form Mod Version 3.1.0[/size][/b]
[b][size=6]Custom Form Mod Version 4.0.0[/size][/b]

[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]

2 changes: 1 addition & 1 deletion src/package-info.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<name>Custom Form Mod</name>
<id>LHVWB:CustomFormMod</id>
<type>modification</type>
<version>3.1.0</version>
<version>4.0.0</version>

<upgrade for="2.1 - 2.1.99" from="3.*">
<code type="inline"><![CDATA[<?php
2 changes: 1 addition & 1 deletion src/uninstall-optional.php
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

/**
* @package Custom Form mod
* @version 3.1.0
* @version 4.0.0
* @author John Rayes <live627@gmail.com>
* @copyright Copyright (c) 2014, John Rayes
* @license http://opensource.org/licenses/MIT MIT
2 changes: 1 addition & 1 deletion src/uninstall-required.php
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

/**
* @package Custom Form mod
* @version 3.1.0
* @version 4.0.0
* @author John Rayes <live627@gmail.com>
* @copyright Copyright (c) 2014, John Rayes
* @license http://opensource.org/licenses/MIT MIT
2 changes: 1 addition & 1 deletion src/upgrade.php
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

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