All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- NPM Package updates
- Now built for Craft 5
- CKEditor replacing Redactor plugin
- Remove Imager-X
- DDEV now uses PHP 8.2 and MySQL 8.0
- Now uses Vite 5 and Node 20
- Default Homepage amends
- Fix 500 and 503 pages
img.responsive()
,img.dummy()
andsvg.transparent()
macros
- DDEV config specifies that the project is of type
craftcms
- Now built for Craft4
- set preview token duration to 1 week
- Run
craft up
first when running composer install/update - increase max revisions to 10
- Default to Servd as hosting environment (remove Async Queue and adjust
make pull
command) - Switch to Verbb's Hyper as the default plugin for link fields
- Remove make commands that can now be fulfilled with
ddev
- Use
expose
instead ofport
for Vite
- Fix Vite restart when contents in
./templates
change (#38) - Avoid reloading when JS changes (thanks @nystudio107)
- Add
vbenjs/vite-plugin-compression
support - Add sourcemaps to production build
- Fix
ElMassimo/vite-plugin-manifest-sri
support
- Add a boilerplate Site Module
- Ensure
base.twig
does not introduce whitespace at start of response - New
HARD_MODE
to throw deprecation errors by environment
- Updated for DDEV 1.19 compatibility
- Default to Node version 16, composer 2
- Update Craft, plugins & NPM packages to latest
- Upgrade Tailwind 3.x
- Temporarily remove extra packages for puppeteer (currently not working with DDEV v1.18)
- "Edit this page" now works for any editable element
- add dir= based on current site / locale
- add inline CSS rule to support
x-cloak
- bump autoprefixer
- Use Craft 3.7.13's new
craft up
command
- Fix syntax error in composer file
- Add extra packages to enable Puppeteer Headless Chrome support (for Critical CSS).
- Add Craft favicon to webroot
- Move Tailwind and plugins under package's "dependencies"
- Remove trailing slashes from
@web
alias - Use aliases when configuring Vite URLs
- add
@
alias for/src
folder - add Makefile
- establish sane folder structure for CSS
- add Typed Link Field to default install
- remove
config/one.php
&APP
js variable, no longer part of our convention - remove sass in favor of postcss-import + tailwindcss/nesting
web/dist
is now ignored, assumes deployment process includes build step- added more exclusion rules to
.deployignore
- copy
.gitignore.default
to.gitignore
after composer create-project
- Start
package.json
version at0.0.1
- Fix path to
app.scss
/.ddev
is no longer ignored- ddev comes pre-configured with node 14
- ddev comes pre-configured to expose vite via port 3000
- Vite now runs inside the DDEV container
- Craft Vite pings the internal dev server to ensure ser
- Use SASS for CSS compilation
- Add Autocomplete for Craft CMS
- Add
jsconfig.json
for better intellisense of vite aliases - Improve readme
- Simplify to 2 scripts:
npm run build
andnpm run serve
- Invalidate all template tags as part of composer
craft-scripts
- Update Craft ^3.7
- Update npm packages: Alpine ^3.2, Autoprefixer ^10.3, Vite ^2.5, SASS ^1.38
- Swap webpack for vitejs
- Reduce number of starter plugins
one
script for CLI.deployignore
for DeployHQ atomic deployments
- Update dotenv to 3.*
- Allow craft headers to be sent
- Add Template Comments plugin
- Add CP Field Inspect plugin
- lang= and dir= attributes to HTML root node
- add one.php config
- streamlined environment config
- turn on project config
- exclude vendor
- Allow Craft above 3.2
- consolidated error templates and refactored title/message/block output
- removed SearchIt from default install
- Make sure our default composer requires < 3.2.0
- Keep Craft below 3.2 until we are confident it is stable for new builds
- Postmark mail adapter
- Add commented out line for
runQueueAutomatically
config
- Local environment mailer uses SMTP (defaults to mailhog)
- Prevent updates in production
- No longer use our env() for environment variable loading
- Use @web instead of environment variable when defining volumes
- Try to improve composer require/platform specifications
- Some unnamed tidy webpack & front-end tweaks
- Add preferred plugins: Agnostic Fetch, Queue Manager, Retcon-Craft
- Add some default _errors templates
- Add config file for Imager
- Ignore .ddev
- Change to *.twig file extensions
- Adjust ignore strategy so that
storage
exists - Improved multi-env config for SEOmatic
- Improved multi-env config for mailer; default to mailhog
- Upgraded to Async Queue 2.x; now requires PHP7.1 minimum
- Configure mailer as SMTP, pull creds from
.env
- Set @web alias to DEFAULT_SITE_URL from
.env
- Add the
DEFAULT_SITE_URL
Environment Variable to.env.example
- Set
allowAdminChanges
totrue
for production environment
- Bump composer dependency to Craft ^3.1.0, and Redactor ^2.3
- Use
DEFAULT_SITE_URL
in favour of@web
for settingurl
values for Volumes - Change
isSystemOn
toIsSystemLive
- Webpack, Postcss, Tailwind, Package.json.....
- Our typical Front End setup, opinionated, but all configured for a craft approach to HMR / webpack dev server etc.
- Still to do is to hook this build process into our config.php method of pinging port 9000 to see if we should serve webpack dev server assets, or built files.
- Include ostark/craft-async-queue to our default required plugins
env()
has been namespaced to avoid collision and moved intomodules/onedarnleyroad/functions.php
- default DDEV config
- Installation instructions and more README
- remove composer.lock
- composer.json.default replaces composer.json
- Initial release
- Use Laravel's env() for better getenv()
- Require Redactor, LinkIt, SearchIt, Retour, SEOmatic, and craft-scripts
- Add a few more default config files