Skip to content

Commit 371abbb

Browse files
committed
chore(release): 1.4.0
1 parent b48addc commit 371abbb

File tree

8 files changed

+70
-8
lines changed

8 files changed

+70
-8
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.4.0](https://github.com/flyntwp/flynt/compare/v1.3.0...v1.4.0) (2020-10-21)
6+
7+
8+
### Features
9+
10+
* **shortcodes, NavigationFooter:** add global shortcodes and examples for dynamic copyright notices ([#297](https://github.com/flyntwp/flynt/issues/297)) ([00f9f6b](https://github.com/flyntwp/flynt/commit/00f9f6b754a6df41f31b3396ad97884e85f1172d))
11+
* **theme:** use wp_get_environment_type for WP_ENV ([#298](https://github.com/flyntwp/flynt/issues/298)) ([5bf90db](https://github.com/flyntwp/flynt/commit/5bf90dbd26a51063f60d0a6af68ac800fca41555))
12+
13+
14+
### Bug Fixes
15+
16+
* **SliderImages:** add Number polyfill to fix Swiper v6 in IE ([#304](https://github.com/flyntwp/flynt/issues/304)) ([72e2be9](https://github.com/flyntwp/flynt/commit/72e2be9307124c57e5a488beba968afd50d54498))
17+
* **theme:** force visuallyHidden styles ([#301](https://github.com/flyntwp/flynt/issues/301)) ([d0e7645](https://github.com/flyntwp/flynt/commit/d0e76454a30c678f4af2e1938c468692f9373652))
18+
* **theme:** rename skiplink text ([#307](https://github.com/flyntwp/flynt/issues/307)) ([f82743d](https://github.com/flyntwp/flynt/commit/f82743dfa7573e7cf54b78bee73349a2eb9e780d))
19+
* **TimberDynamicResize:** convert path with backslash to slash for uploads basedir just as get_home_path() ([#299](https://github.com/flyntwp/flynt/issues/299)) ([789098e](https://github.com/flyntwp/flynt/commit/789098e51c677b504058fbffb0e7b5a66c8f54b5))
20+
21+
22+
### Other
23+
24+
* **php:** adjust several argument definition ([b7f64f9](https://github.com/flyntwp/flynt/commit/b7f64f9ef71a48beb08f147c89e70ae123c81c53))
25+
* **swiper:** only import needed components ([#319](https://github.com/flyntwp/flynt/issues/319)) ([ff82ebd](https://github.com/flyntwp/flynt/commit/ff82ebdb70683504f18b85fa47fd2d5583cb4523))
26+
527
## [1.3.0](https://github.com/flyntwp/flynt/compare/v1.2.1...v1.3.0) (2020-08-13)
628

729

assets/scripts/ExternalScriptLoader/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let instance
1212

1313
class ExternalScriptLoader {
1414
constructor () {
15-
console.warn('ExternalScriptLoader is deprecated since version %%NEXT_VERSION%% with no alternative available.')
15+
console.warn('ExternalScriptLoader is deprecated since version 1.4.0 with no alternative available.')
1616
if (!instance) {
1717
instance = this
1818
}

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ function replaceVersion (config) {
1010
const replace = require('replace-in-file')
1111
try {
1212
// read current version from package.json
13-
config.replaceVersion.php.to = pjson.version
1413
log(`Replacing ${config.replaceVersion.php.from} with ${config.replaceVersion.php.to} in all PHP files.`)
14+
config.replaceVersion.php.to = pjson.version
1515
const changedFilesPhp = replace.sync(config.replaceVersion.php)
1616
for (const file of changedFilesPhp) {
1717
log(`Updated ${file}`)
1818
}
1919
log(`Replacing ${config.replaceVersion.js.from} with ${config.replaceVersion.js.to} in all JS files.`)
20+
config.replaceVersion.js.to = pjson.version
2021
const changedFilesJs = replace.sync(config.replaceVersion.js)
2122
for (const file of changedFilesJs) {
2223
log(`Updated ${file}`)

lib/Defaults.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static function loadFunctionsFile($componentName)
3333

3434
protected static function renderFile($componentData, $filePath)
3535
{
36-
_deprecated_function(__METHOD__, '%%NEXT_VERSION%%');
36+
_deprecated_function(__METHOD__, '1.4.0');
3737
if (!is_file($filePath)) {
3838
trigger_error("Template not found: {$filePath}", E_USER_WARNING);
3939
return '';

lib/Utils/ArrayHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ArrayHelpers
1515
*/
1616
public static function isAssoc(array $array)
1717
{
18-
_deprecated_function(__METHOD__, '%%NEXT_VERSION%%');
18+
_deprecated_function(__METHOD__, '1.4.0');
1919
// Keys of the array
2020
$keys = array_keys($array);
2121

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flynt",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"main": "index.js",
55
"repository": "[email protected]:flyntwp/flynt.git",
66
"author": "bleech <[email protected]>",
@@ -122,7 +122,46 @@
122122
"standard-version": {
123123
"scripts": {
124124
"postbump": "gulp replaceVersion && composer config --unset version && composer update nothing && git diff && git add . && composer validate --strict"
125-
}
125+
},
126+
"types": [
127+
{
128+
"type": "feat",
129+
"section": "Features"
130+
},
131+
{
132+
"type": "fix",
133+
"section": "Bug Fixes"
134+
},
135+
{
136+
"type": "chore",
137+
"hidden": true
138+
},
139+
{
140+
"type": "docs",
141+
"section": "Other",
142+
"hidden": false
143+
},
144+
{
145+
"type": "doc",
146+
"section": "Other"
147+
},
148+
{
149+
"type": "style",
150+
"hidden": true
151+
},
152+
{
153+
"type": "refactor",
154+
"section": "Other"
155+
},
156+
{
157+
"type": "perf",
158+
"section": "Other"
159+
},
160+
{
161+
"type": "test",
162+
"hidden": true
163+
}
164+
]
126165
},
127166
"dependencies": {},
128167
"browserslist": [

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Theme Name: Flynt
33
Theme URI: https://www.flyntwp.com/
44
Description: The starter theme for building Flynt projects.
5-
Version: 1.3.0
5+
Version: 1.4.0
66
Author: bleech <[email protected]>
77
Author URI: https://bleech.de/
88
Text Domain: flynt

0 commit comments

Comments
 (0)