Skip to content

Commit

Permalink
Merge branch 'release/1.0.27' into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed Jan 12, 2022
2 parents 052770c + b6471ec commit 2288f45
Show file tree
Hide file tree
Showing 174 changed files with 12,430 additions and 3,722 deletions.
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Do not export those files in the Composer archive (lighter dependency)
/.craftplugin export-ignore
/.gitattributes export-ignore
/.github/ export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/codeception.yml export-ignore
/composer.lock export-ignore
/buildchain/ export-ignore
/docs/ export-ignore
/src/web/assets/public/
/src/web/assets/src/
/tests/ export-ignore

# Auto detect text files and perform LF normalization
* text=auto
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @khalwat
92 changes: 84 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,146 +1,222 @@
# Webperf Changelog

## 1.0.27 - 2022.01.12

### Added

* Add `.gitattributes` & `CODEOWNERS`
* Add linting to build
* Add compression of assets
* Add bundle visualizer

## 1.0.26 - 2022.01.04

### Changed

* Updated the buildchain to use Node 16
* Changed buildchain to Vite from webpack 5

## 1.0.25 - 2021.07.17

### Changed

* Switched documentation system to VitePress

### Fixed
* Fixed an issue where an exception could be thrown in Craft CMS 3.7.x if no `element` existed when rendering the sidebar (https://github.com/nystudio107/craft-webperf/issues/38)

* Fixed an issue where an exception could be thrown in Craft CMS 3.7.x if no `element` existed when rendering the
sidebar (https://github.com/nystudio107/craft-webperf/issues/38)

## 1.0.24 - 2021.04.06

### Added

* Added `make update` to update NPM packages
* Added `make update-clean` to completely remove `node_modules/`, then update NPM packages

### Changed

* Use Tailwind CSS `^2.1.0` with JIT

## 1.0.23 - 2021.04.01

### Changed

* More consistent `makefile` build commands
* Use Tailwind 2.x & `@tailwindcss/jit`
* Move settings from the `composer.json` “extra” to the plugin main class
* Move the manifest service registration to the constructor
* Fix the broken Vue data tables

## 1.0.22 - 2021.03.03

### Changed

* Dockerized the buildchain, using `craft-plugin-manifest` for the webpack HMR bridge

## 1.0.21 - 2021.02.24

### Added

* Added support for both 8.x and 9.x versions of `league/csv` for peer compatibility

### Changed

* Updated build system infra

## 1.0.20 - 2021.02.09

### Changed

* Updated Axios to `^0.21.1`

### Fixed

* Fixed an incompatibility with PHP 8 caused by trait aliases not being fully qualified

## 1.0.19 - 2020.12.09

### Changed

* Moved the CSS/JS buildchain over to webpack 5
* Updated to latest npm deps

## 1.0.18 - 2020.03.11

### Fixed

* Fixed an issue where outlier samples were not being properly trimmed due to the computed threshold being non-integral

## 1.0.17 - 2019.12.11

### Security
* Throw an exception if an invalid sort field is passed into the controller methods, to eliminate a low-impact SQL injection vulnerability

* Throw an exception if an invalid sort field is passed into the controller methods, to eliminate a low-impact SQL
injection vulnerability

## 1.0.16 - 2019.12.09

### Changed

* Updated to the latest datepicker package

### Fixed

* Fixed a low-impact SQL injection vulnerability
* Fixed an issue where Webperf was erroneously showing "0 data samples" on the Dashboard

## 1.0.15 - 2019.11.19

### Changed

* Updated packages as per `npm audit fix`

## 1.0.14 - 2019.09.09

### Changed

* Replaced frontend api route with an actionUrl()

## 1.0.13 - 2018.08.07

### Changed

* Updated assets build to update to the latest npm packages
* Fixed a `bootstrap` error when viewing entries with Webperf sidebar is visible

## 1.0.12 - 2018.06.25

### Changed
* Fixed an issue where an error could be thrown rendering the Webperf Twig template if the title contained characters that need escaping in a JavaScript context

* Fixed an issue where an error could be thrown rendering the Webperf Twig template if the title contained characters
that need escaping in a JavaScript context
* Added the frontend routes for `/retour` and `/seomatic/` to the default exclusion list
* Added database indexes to improve performance

## 1.0.11 - 2018.06.05

### Changed

* Fixed an issue where the sidebar preview would log JavaScript errors
* Updated to Tailwind CSS `^1.0.0`
* Updated to the latest ApexCharts, fixed issues due to changed APIs

## 1.0.10 - 2018.05.21

### Changed

* Updated to the latest version of the beacon (Boomerang 1.650.0), which fixes some issues
* Updated build system

## 1.0.9 - 2018.05.01

### Changed

* Removed vestigial debugging code
* Added a Sample Trimming Rate Limit that defaults to once per hour, to prevent the sample trimming from impacting performance
* Added a Sample Trimming Rate Limit that defaults to once per hour, to prevent the sample trimming from impacting
performance

## 1.0.8 - 2018.04.19

### Changed
* Fixed an issue where an empty **Exclude Patterns** table and the use of Project Config on Craft 3.1 or later could cause an exception to be thrown when a 404 is thrown

* Fixed an issue where an empty **Exclude Patterns** table and the use of Project Config on Craft 3.1 or later could
cause an exception to be thrown when a 404 is thrown
* Fixed an issue where Webperf would fire during Live Preview when it shouldn't
* Updated Twig namespacing to be compliant with deprecated class aliases in 2.7.x

## 1.0.7 - 2019-03-15

### Changed
* Fixed a potential `Undefined property` in the MetricsController

* Fixed a potential `Undefined property` in the MetricsController
* Don't allow editing of the plugin settings if `allowAdminChanges` is false
* Fixed an issue where an error would be thrown on the Performance Detail page if you were not running Craft 3.1 or later
* Fixed an issue where an error would be thrown on the Performance Detail page if you were not running Craft 3.1 or
later

## 1.0.6 - 2019-02-28

### Changed

* Fixed a potential division by zero error in the memory limit recommendation under rare circumstances

## 1.0.5 - 2019-02-27

### Changed

* Fixed a `A non well formed numeric value` if you have your `memory_limit` set a certain way in your `php.ini`

## 1.0.4 - 2019-02-26

### Changed

* Fixed an issue with Craft 3.1.5 no longer allowing non-numeric values in the nav `badgeCount`
* Fixed a potential division by zero error in the memory limit recommendation

## 1.0.3 - 2019-02-22

### Changed

* Updated the beacon to remove `AutoXHR` and add in `MD5`
* If you're using Craft 3.1, Webperf will use Craft [environmental variables](https://docs.craftcms.com/v3/config/environments.html#control-panel-settings) for secrets
* If you're using Craft 3.1, Webperf will use
Craft [environmental variables](https://docs.craftcms.com/v3/config/environments.html#control-panel-settings) for
secrets

## 1.0.2 - 2019-02-20

### Changed

* Removed the unimplemented Widget stub

## 1.0.1 - 2019-02-12

### Changed

* Fixed the docs and changelog URLs in composer.json
* Price is now $59; I want as many people using Webperf as possible

## 1.0.0 - 2019-02-12

### Added

* Initial release
2 changes: 1 addition & 1 deletion buildchain/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-var-requires": 0
"no-undef": "off"
},
"env": {
"browser": true,
Expand Down
9 changes: 7 additions & 2 deletions buildchain/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"extends": "stylelint-config-recommended",
"extends": [
"stylelint-config-recommended",
"stylelint-config-standard-scss",
"stylelint-config-recommended-vue"
],
"rules": {
"at-rule-no-unknown": [ true, {
"ignoreAtRules": [
"screen",
"apply",
"extends",
"screen",
"responsive",
"tailwind"
]
Expand Down
2 changes: 1 addition & 1 deletion buildchain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DOCKERRUN=docker container run \

.PHONY: build dev docker install clean npm

build: clean docker install
build: docker install
${DOCKERRUN} \
run build
dev: docker install
Expand Down
Loading

0 comments on commit 2288f45

Please sign in to comment.