Skip to content

Latest commit

 

History

History
449 lines (351 loc) · 16.9 KB

CHANGELOG.md

File metadata and controls

449 lines (351 loc) · 16.9 KB

nystudio107/plugindev Change Log

1.2.4 - 2024.06.18

Added

  • Add nystudio107/craft-cookies to the cms_v5/composer.json
  • Add nystudio107/craft-minify to the cms_v5/composer.json
  • Add nystudio107/craft-retour to the cms_v5/composer.json
  • Add nystudio107/craft-webperf to the cms_v5/composer.json
  • Add craftcms/commerce to the cms_v5/composer.json
  • Add codeception to the cms_v5/composer.json
  • Add putyourlightson/craft-campaign to the cms_v5/composer.json
  • Add verbb/doxster to the cms_v5/composer.json
  • Add craftcms/feed-me to the cms_v5/composer.json
  • Add craftcms/shopify to the cms_v5/composer.json
  • Add craftcms/digital-products to the cms_v5/composer.json
  • Add spicyweb/craft-neo to the cms_v5/composer.json
  • Add libavif to the PHP containers
  • Add nystudio107/craft-typogrify to the cms_v5/composer.json
  • Add nystudio107/craft-imageoptimize to the cms_v5/composer.json
  • Add craftcms/aws-s3 to the cms_v5/composer.json
  • Add craftcms/cloud to the cms_v4/composer.json & cms_v5/composer.json
  • Add nystudio107/craft-twigpack to the cms_v5/composer.json
  • Add nystudio107/craft-emptycoalesce to the cms_v5/composer.json
  • Add nystudio107/craft-templatecomments to the cms_v5/composer.json
  • Add solspace/craft-calendar to the cms_v5/composer.json
  • Add nystudio107/craft-templatecomments to the cms_v5/composer.json
  • Add nystudio107/craft-twigprofiler to the cms_v5/composer.json
  • Add nystudio107/craft-similar to the cms_v5/composer.json

Changed

  • Use postgres:13-alpine for Craft 5 support

1.2.3 - 2024.01.30

Added

  • Add nystudio107/craft-autocomplete to the cms_v5/composer.json
  • Add nystudio107/craft-closure to the cms_v4/composer.json
  • Add nystudio107/craft-closure to the cms_v5/composer.json

Changed

  • Use phpstan level 5 by default
  • Add craftcms/ecs, craftcms/phpstan & craftcms/rector

Fixed

  • Update ecs.php to be compatible with the latest ECSConfig spec

1.2.2 - 2024.01.22

Added

  • Explicitly set charset & collation in config/db.php and example.env rather than depending on defaults
  • Add craft-code-field to the composer.json
  • Add craft-vite to the composer.json
  • Add craft-seomatic to the composer.json

Changed

  • Updated config/vite.php to src/js/app.ts for reloading through Twig errors

Fixed

  • Fixed the Tailwind CSS content path to the Craft CMS templates/ directory for the buildchain

1.2.1 - 2023.12.28

Added

  • Added vite_v3.plugindev.local, vite_v4.plugindev.local & vite_v5.plugindev.local as OrbStack domain labels for the buildchain
  • Added documentation for the buildchain

1.2.0 - 2023.12.27

Added

  • Added support for Craft CMS 5 ^5.0.0-alpha.1 for both MySQL and Postgres development. Let the plugin porting commence!
  • Use craft-twig-base-templates for the base layout templates
  • The buildchain now uses vite ^5.0.0

Changed

  • Updated the db seeds to the latest versions of Craft CMS
  • Removed the Project Config files entirely (and rely on the db seeds instead)
  • User settings now default to showing field handles, and showing the debug toolbar on the frontend and in the CP
  • Remove ENV PHPIZE_DEPS, and use the environment variable inherited from the parent Alpine images rather than manually setting it ourselves

1.1.27 - 2023.11.26

Added

  • Add craftcms/shopify & verbb/vizy plugins to composer.json
  • Add craftcms/digital-products plugin to composer.json

Changed

  • Moved the PHP Docker config to subdirs v3 & v4 for both php-dev-craft and php-prod-craft so we can pin different PHP versions to different versions of Craft
  • The default PHP version for Craft 4 is now 8.2

1.1.26 - 2023.09.25

Added

  • Add craftcms/ckeditor ^3.0.0 to the default packages
  • Add OrbStack support via the local domain plugindev.local

Fixed

  • Fix Solspace Calendar namespace

1.1.25 - 2023.03.01

Added

  • Added an optional buildchain to both the craft_v3 and craft_v4 projects, which allows you to spin up a Vite buildchain; see the Makefile for available commands. This is for frontend testing.

Changed

  • Remove optimize-autoloader in composer.json to speed up composer installs in local dev (#16)
  • Added stop_grace_period: "1s" to the services that have long-running processes in the docker-compose.yaml
  • Rename the docker-config/ directory to .docker-config/ so it is tucked away
  • Ensure permissions are set properly on the entire project in composer_install.sh prior to doing a composer install

1.1.24 - 2022.12.15

Changed

  • Ensure that flags can be passed down via make xxx commands via $(MAKEFLAGS). e.g.: make craft make field-type -- --module=test (simple flags without values like --help already worked)

1.1.23 - 2022.12.14

Added

  • Added nystudio107/craft-code-field

Changed

  • Added updated versions of nystudio107 plugins to reflect their beta/release status
  • Added craftcms/generator to the craft_v4 composer.json
  • Bumped the minimum Craft CMS versions to the latest

1.1.22 - 2022.09.11

Changed

  • Use fluent model config settings for general.php & db.php
  • Bumped minimum craftcms/cms versions for both Craft 3 and Craft 4
  • Updated to reflect the status of the Craft 4 plugins that are out of beta (and what's left to do)

1.1.21 - 2022.05.31

Changed

  • Prefer release plugin/package versions where available for Craft CMS 4
  • Use craft up to run migrations & apply Project Config changes

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