Skip to content

Latest commit

 

History

History
325 lines (249 loc) · 11.3 KB

CHANGELOG.md

File metadata and controls

325 lines (249 loc) · 11.3 KB

nystudio107/plugindev Change Log

1.1.20 - 2022.05.03

Added

  • Determine the container name separator character by checking the Docker Compose API version at runtime
  • Add config/general.php settings for requireMatchingUserAgentForSession & rememberedUserSessionDuration (#10)
  • Add Elements Panel plugin (#11)

1.1.19 - 2022.05.02

Fixed

  • Clean up initial check for composer.lock or vendor/autoload.php to ensure the first-time install is done

1.1.18 - 2022.04.22

Fixed

  • Ensure that the mysql/mysql-server image can pick from the ARM64 architecture by using latest tag

1.1.17 - 2022.04.15

Added

  • Added config/custom.php for custom config settings

Changed

  • Changed bootstrap.php to allow .env-set environment variables override existing injected environment variables (#82)

1.1.16 - 2022.04.08

Changed

  • Run migrations first via composer.json scripts, because Craft won't apply Project Config if there are pending migrations
  • Added tty: true back in now that the issue has been fixed in the Docker Compose API 2.4.1 (#9348)
  • Wait for both vendor/autoload.php as we as composer.lock before starting up the queue listener

1.1.15 - 2022.03.28

Changed

  • Add disableProcessTimeout to the post-craft-update Composer scripts, and run Project Config before migrations

1.1.14 - 2022.03.27

Added

  • Fix php-dev-craft Docker image regression by adding WORKDIR back in

1.1.13 - 2022.03.26

Added

  • Ensure permissions on directories Craft needs to write to

1.1.12 - 2022.03.26

Added

  • Added more logging to indicate when a container is waiting for another service to start up, and when seeding a database is complete
  • Run composer craft-update after a composer install is done via composer_install.sh

Changed

  • Moved permissions setting to Docker image creation

1.1.11 - 2022.03.26

Added

  • Dramatically sped up the startup time for the PHP containers by moving the permissions setting script to run asynchronously in the queue container via the run_queue.sh script
  • Added Codeception via the make codecept command via PR (#7)

1.1.10 - 2022.03.22

Added

  • Added empty test databases for local testing

1.1.9 - 2022.03.22

Fixed

  • Fixed the SiteModule to work properly on Craft 4, removing the additional logging code, as it is not needed. The Craft logger handles it properly as long as CRAFT_STREAM_LOG=true

1.1.8 - 2022.03.22

Added

  • Add a stream logging target for stderr so that we can capture thrown exceptions or other errors that would normally be captured only to a specific log file like queue.log

1.1.7 - 2022.03.19

Changed

  • Wait until the composer install is done by looking for the vendor/autoload.php file in the queue container

1.1.6 - 2022.03.17

Added

  • Run migrations / project config changes via the run_queue.sh script, only after both db containers respond

1.1.5 - 2022.03.17

Added

  • Significantly increased startup times via a composer_install.sh script that only runs composer install at container startup time if composer.lock or vendor/ is missing

Changed

  • Expose ports 33060 for MySQL and port 54320 on the host side, to avoid conflicts with other local development environments
  • Added a sleep 60 in the run_queue.sh containers, so they don't run the "keepalive" script until the other containers have started

1.1.4 - 2022.03.17

Added

  • Restart the queue container after switching between mysql and postgres so the queue runner process picks up the new database settings

1.1.3 - 2022.03.17

Changed

  • Adjust spaceless from the root template for easier debugging
  • Comment out non-Craft specific Rector settings in rector.php, for the initial pass
  • Add Craft Commerce 4.0.0-beta.1 to cms_v4
  • Update to Craft CMS 4.0.0-beta.2
  • Updated Project Config files for craft_v3 & craft_v4
  • Updated database seeds for craft_v3 & craft_v4

1.1.2 - 2022.03.10

Changed

  • Updated for Craft CMS 4.0.0-beta.1

1.1.1 - 2022.03.08

Added

  • Add updated Project Config files for craft_v3

1.1.0 - 2022.03.07

Added

  • Added a dual Craft CMS 3 & Craft CMS 4 setup

1.0.39 - 2022.02.18

Added

  • Add new make ssh command to open up a shell inside the PHP container (#4)

Fixed

  • fix: Go back to using dashes & the Docker Composer v2 API ref

1.0.38 - 2022.01.07

Fixed

  • Use su-exec www-data in the Makefile so craft and composer commands are not run as root

1.0.37 - 2021.12.25

Fixed

1.0.36 - 2021.12.22

Changed

  • Updated to use a unified bootstrap.php
  • Updated to use vlucas/phpdotenv ^5.4.0

1.0.35 - 2021.12.20

Fixed

  • Fixed a regression where the Postgres db seed was in .zip format, when it should have been in .gz format to work with the container entrypoint.sh (#3)

1.0.34 - 2021.12.07

Changed

  • Updated the Makefile to accommodate another change in Docker that switches back to using _ instead of - in container names

1.0.33 - 2021.11.20

Added

  • Use tty: true for nicer output in terminal from the PHP Docker containers

Changed

  • Move Craft Autocomplete to require-dev

1.0.32 - 2021.10.20

Changed

  • Updated the Makefile to accommodate the change in Docker to using - instead of _ in container names

1.0.31 - 2021.08.23

Added

  • Add CRAFT_ALLOW_SUPERUSER & COMPOSER_ALLOW_SUPERUSER .env variables (#2)

1.0.30 - 2021.08.16

Added

  • Added enableGraphqlCaching setting, defaulting to 0 (false)
  • Added iCalender and Vite plugins to the composer.json

1.0.29 - 2021.08.07

Added

  • Added compiled_templates as a bind mount in docker-compose.yaml for IDE autocompletion
  • Added nystudio107/craft-autocomplete for autocomplete of variables in Twig templates

1.0.28 - 2021.08.04

Added

  • Handle both XDEBUG_SESSION and XDEBUG_PROFILE cookies
  • Added make nuke to the Makefile commands to restart from scratch

Changed

  • Updated the baseline Craft vMS version to craftcms/cms ^3.7.0
  • Removed putyourlightson/craft-autocomplete

1.0.27 - 2021.07.29

Added

  • Added putyourlightson/craft-autocomplete for the Twig + Symfony plugin auto-complete, removed FauxTwigExtension.php

1.0.26 - 2021.06.22

Changed

  • Continue running the php-fpm containers as root (since php-fpm uses worker pools with the proper user/group), but switch to su-exec to ensure any craft CLI commands are run as www-data

1.0.25 - 2021.06.15

Fixed

  • Fixed typo in Dockerfile that would cause the PHP container to not build

1.0.24 - 2021.06.15

Changed

  • Removed USER directive in the PHP containers, since the pool runs as www-data already
  • Fix permissions regression

1.0.23 - 2021.06.11

Changed

  • Cleaned up the php-dev-craft & php-prod-craft Dockerfile file permissions

1.0.22 - 2021.05.23

Changed

  • Run php container as the www-data user to avoid permissions issues

1.0.21 - 2021.05.14

Added

  • Added VITE_PLUGIN_DEVSERVER environment variable

Changed

  • Added logs and compiled_templates directories back in so that they will appear on the client side

1.0.20 - 2021.04.27

Changed

  • Explicitly designate the rebrand mount

1.0.19 - 2021.04.27

Changed

  • Delegate all of storage & cpresources volumes, let the container own it

1.0.18 - 2021.04.22

Added

  • Use the mysql/mysql-server:8.0 Docker image because the "official" image doesn't support M1 Apple Silicon

Changed

  • Don't .gz compress the mysql-db-seed database seed, because the entrypoint.sh script doesn't support it ref
  • Silence errors from the root post-create-project-cmd script
  • Don't remove the README.md file

1.0.17 - 2021.04.17

Changed

  • Bring the debug container in line with the production container, allowing it to work with either Postgres or MySQL

1.0.16 - 2021.04.17

Changed

  • Use separate phpSessionNames for MySQL and Postgres, to keep us logged in when switching between them

1.0.15 - 2021.04.10

Added

  • Added make craft to the Makefile commands

1.0.14 - 2021.04.06

Changed

  • Use rm -f to ensure no errors if the file doesn’t exist

1.0.13 - 2021.04.05

Added

  • Added make update to update Composer packages
  • Added make update-clean to completely remove vendor/, then update Composer packages

1.0.12 - 2021.04.01

Changed

  • Better login background pattern

1.0.11 - 2021.04.01

Fixed

  • Fixed the rebrand by adding a bind mount for storage/rebrand/ in the docker-compose.yaml

1.0.10 - 2021.03.31

Changed

  • Add rebrand logo & icon, updated login background
  • Updated database seed with entry types & category group

Fixed

  • Fixed make up command by removing an errant $

1.0.9 - 2021.03.25

Added

  • Added make clean to the Makefile
  • Added Makefile Project Commands to README.md
  • Added make composer xxx - runs the composer command passed in, e.g. make composer install

1.0.8 - 2021.03.22

Added

  • Added name & description to root composer.json
  • Added a Makefile for command aliases
  • Added make mysql and make postgres for switching between databases

1.0.7 - 2021.03.15

Added

  • Add craftcms/redactor to the base config
  • Add craftcms/commerce to the base config
  • Added soap PHP extension for Commerce
  • Multiple sites for testing
  • Prefab content with a "blog" channel for testing

Changed

  • Set useEmailAsUsername to false in config/general.php so we can use the generic login admin
  • Remove errorTemplatePrefix and remove the errors/ templates completely, because, who cares?

1.0.6 - 2021.03.02

Added

  • Added Redactor plugin installed by default
  • Installed more NYS plugins by default

Changed

  • Updated seed dbs & Project Config

1.0.5 - 2021.03.02

Added

  • Added a default SITE_NAME in example.env

Changed

  • Updated the seed dbs and Project Config files to no longer include licenses
  • Updated README.md project creation instructions

1.0.4 - 2021.03.01

Changed

  • Default to using MySQL
  • Updated README.md to be more useful

1.0.3 - 2021.02.28

Changed

  • Remove require dependencies
  • Cleaned up README.md

1.0.2 - 2021.02.28

Changed

  • Removed sitemodule from composer.json
  • Put Craft dependencies back into the project

1.0.1 - 2021.02.28

Added

  • Added postgres container
  • Dynamic switching between mysql and postgres by just changing a line in db.php

Changed

  • Switch to Craft CMS 3.6.7 as a starting base
  • Switch to MySQL 8.x

1.0.0 - 2021.02.28

Added

  • Initial release

Brought to you by nystudio107