Changelog
This is the changelog for infomaker/everyware-starter-kit
Current version: 3.2.0
[Unreleased]
3.2.0 - 2022-10-13
Fixed
Update the
lua-resty-http
rockspec to use the git+https protocol.Added missing WordPress query parameters to several CloudFront behaviours.
CloudFront alarms will no longer go to IEDC or Email.
The thresholds for CloudFront 4xx and 5xx alarms is now configurable through CloudFormation parameters.
Fix issue in "StarterKit upgrade script" that would not remove unknown directories from bin/ even when user asked for it.
Changed
PHP version updated to
7.4.30
.The min-version for the following Composer dependencies have been updated:
infomaker/everyware
infomaker/everyboard
infomaker/everyware-plugin-concepts
infomaker/everyware-plugin-network
infomaker/everyware-plugin-rss-feeds
infomaker/everyware-theme-base-2
Updated
Updated gulp-sass to
v5.1.0
. Since Node Sass is deprecated, we have switched to using Dart Sass as a compiler instead.Updated xdebug.ini to follow the new Xdebug 3 format.
3.1.0 - 2022-01-28
Added
The service that synchronises Concepts into the sites is, as of this version, part of StarterKit and is now called "ContentSync". It will be deployed and managed like any other part of StarterKit in AWS. This service has, during the move, been updated to support other types of OC content and will by default now also send events for types
List
andArticle
for any package to listen to. In order to use these events you will need the "ContentSync Plugin". Concepts Plugin is the only package to leverage the new ContentSync service to keep Concepts in WordPress in sync with Open Content.You can now define wildcard version when installing WordPress through the bin script
Fixed
Preview query parameters are now a part of the CloudFront cache key, preventing page and board previews from breaking the published version of a page.
The scripts that will be run by AWS might not have the correct permissions in certain scenarios. We've updated the aws-deploy script to correct this before attempting to deploy the application.
Changed
Access to
/wp-cron.php
is now IP-restricted, using the ACL connected to the CloudFront front cache.PHP version updated to
7.4.24
.Default WordPress version updated to
5.8.3
.The min-version for the following Composer dependencies have been updated to the latest versions:
infomaker/everyboard
infomaker/everyware-nginx-conf
infomaker/everyware-plugin-concepts
infomaker/everyware-plugin-google-analytics
infomaker/everyware-plugin-network
infomaker/everyware-theme-base-2
infomaker/everyware-widget-article-list
wpackagist-plugin/insert-headers-and-footers
Removed
robots.txt no longer contains Disallow statements for
/wp-admin/
and/wp-includes/
.
3.0.1 - 2021-09-24
Added
Example of how to set custom cache TTL for certain locations inside
app/locations.conf
.
Fixed
Dockerrun.aws.json will now be properly removed during an upgrade.
The themes
default-theme
andplaceholder-theme
will now be properly upgraded.Fix bug that uses docker-compose.yml instead of docker-compose-local.yml when running
make mysql-dump
command.Fixed missing permissions on executable files after an upgrade
3.0.0 - 2021-09-20
Added
Added AWS Glue table and database to the CloudFront CloudFormation template. This enables AWS Athena to be used out of the box when the stack is deployed.
Changed
Upgraded Amazon Elastic Beanstalk platform to run on Amazon Linux 2
Dockerrun.aws.json has been replaced with docker-compose.yml
Local dev environment now configurable via docker-compose-local.yml
Makefile
has been updated to work with the changes to docker-compose-local.yml
Fixed
The resource name of WebGlueDatabase in the CloudFront CloudFormation template was not environment unique, thus preventing the deployment of multiple CloudFronts (e.g. stage and prod).
Removed
Removed nginx/app/allow.conf and nginx/app/cacheblock.conf. These files have not been in use since
v2.0.0
.
Please note that the local environment will from now on be configured through docker-compose-local.yml instead of docker-compose.yml which will be used in AWS.
Please contact Naviga Support for assistance if you’re upgrading an existing StarterKit project to this version since this requires a different setup in Amazon.
2.0.1 - 2021-06-10
Changed
The "Default Theme" has had a major makeover.
It is no longer inheriting templates from "Base Theme 2", and we have removed all other functionality from it to make it as slim as possible.
The only template left, index.php, will always return
404 (Not found)
since the "root domain" (i.e. without subdomain) should not be public.For the removal of the parent theme to take effect, the theme will automatically reactivate itself if it detects that it is a child theme.
NOTE: This will only be done if it is a child theme so once it has reactivated itself it won't do so again since it will no longer be a child theme.
All classes previously found under the namespace
DefaultTheme
have been moved, and can now be found under the namespacePlaceholderTheme
instead.Auto-loading has been updated in composer.json to match the resent namespace changes
DefaultTheme
have been removed.PlaceholderTheme
have been added.
"Placeholder theme" will now automatically switch theme to "Default Theme" if it's ever activated on "root domain".
Updated
The docker image infomakerscandinaviaab/openresty has been updated to version
1.15.8.3
Removed
The directory www/internal/ has been removed along with the following files:
create-article.php
wp-bootstrap.php
2.0.0 - 2021-05-20
Added
The Redirect OriginalUrls package has been added to replace the old Lua solution for handling redirects of migrated content.
Changed
mysql-copy-files
command has changed name tomysql-switch-startup
.SQL dumps will, from now on, only use files compressed with gzip.
SQL dumps and startup-backups will automatically be compressed and placed under mysql/dumps with a new name format:
startup-YYYY-MM-DD-HHmmss (ex. startup-2021-05-05-123456.sql.gz)
dump-YYYY-MM-DD-HHmmss (ex. dump-2021-05-05-123456.sql.gz)
Update Everyboard dependency to 2.2.0, see package changelog for details.
Update Nginx-conf dependency to 1.0.0, see package changelog for details.
Update Base theme 2 dependency to 1.2.0, see package changelog for details.
Update version of Concept plugin and Article list with better support for Everyware 2.
Removed
Ledge front cache has been removed. CloudFront will be used as front cache from now on.
Cache invalidator package. It was specific to the Ledge cache.
Lua code for redirects that was coupled to Ledge has been removed.
The removal of Ledge will also impact any customer specific paywalls that leveraged the Ledge flow for running paywall code.
Removed rockspecs related to Ledge.
1.2.0 - 2021-02-10
Added
Updated dependencies to require new Everyware Plugin v2
Updated dependencies to require new Base Theme 2 v1
Added support for Everyware Twig v1 in DefaultTheme
1.1.0 - 2021-02-01
Added
We've added a gulp-config file to handle which themes should be built by Gulp
Updated
PHP version has been updated to
v7.4.14
Changed
The Placeholder theme is no longer used as default theme. We've added a new dedicated default theme to be used by Wordpress.
1.0.0 - 2020-12-08
Updated
PHP version has been updated to
v7.4
The new ProjectPlugin with Naviga colors for Wordpress admin is now standard from start.
0.12.1 - 2020-11-26
Added
Added new make command:
make self-update
to handle upgrades of StarterKit in projects.Added the Classic Editor plugin as part of the standard plugins list
Added our own Rss Feeds plugin as part of the standard plugins list
Fixed
Changed default of display option for
WP_DEBUG
to be false when not debugging.Fixed a bug where the content of a local new MySQL container could not be properly dumped.
startup.sql.gz now includes Wordpress
v5.5.3
and the new standard plugins activated.
Updated
Use composer through docker when running
make alt-composer
.
0.12.0 - 2020-11-12
Added
Added stage and production options for running init
Added support for local ssh information when installing composer from init
Added full docker executed dependency management from init
Added io utility to bin scripts
Updated
Updated default Wordpress version to
5.5.3
Updated oomphinc/composer-installers-extender to support Composer v2
Changed
www/api/ will now be part of the project code and versioned as such
Renamed
bin/utilis
directory tobin/utils
0.11.1 - 2020-11-04
Fixed
Fixed bug in Starter Kit upgrade script that removed permissions to execute files in bin directory after upgrade.
Made sure to not ignore the www/api directory in git
Other minor fixes
0.11.0 - 2020-10-30
Updated
Updated WP Offload SES (formerly known as WP SES) minimum version to 1.4.3
Updated default SES setup to match the new plugin.
Updated WP Offload Media minimum version to 2.4.4
Updated dependencies in composer.json
Updated Redis Object Cache configuration to match the new version
Updated local MySQL version to
5.7
Updated the Placeholder theme
IMPORTANT! The new mysql version comes with some mounting changes. The whole mysql directory will be mounted to the container through docker-compose instead just the startup.sql file. Make sure to put your local dumps in a subdirectory ex. mysql/dumps/\
Added
Added support to use AWS SES in local environment by configuring
.env
Added support for more AWS SES configuration through Environment Variables:
AWS_SES_REPLYTO
- Sets the "Reply-To" header for all outgoing emails.AWS_SES_ACCESS_KEY_ID
- Overrides the standardAWS_ACCESS_KEY_ID
value if set.AWS_SES_SECRET_KEY
- Overrides the standardAWS_SECRET_KEY
value if set.
Added support for more Redis configuration through Environment Variables:
REDIS_OB_DEBUG
- Set totrue
to disable graceful failures and throw exceptions.REDIS_OB_DISABLED
- Set totrue
to disable the object cache at runtime.REDIS_OB_PREFIX
- Previously known asCACHE_KEY_SALT
will be used as prefix for all cache keys.
Added support for using an alternative composer configuration in a project for development purposes.
Added basic
update script
to help out in the process of upgrading a project to match the latest Starter Kit standard. It will import the files from the latest version into the project and give some helpful hints on how to proceed.Added more useful make commands to manage your project
Added options to some management scripts for Wordpress
Default
config.json
file forplaceholder-theme
.
Changed
Renamed environment variable
CACHE_KEY_SALT
toREDIS_OB_PREFIX
for clarity.(
CACHE_KEY_SALT
will still be used as default for backwards compatibility)Now using
MY_IP
indocker-compose.yml
instead or usingsed
in Makefile. This makes it easier to debug container startup, by being able to rundocker-compose up
without having to manually changeextra_hosts
indocker-compose.yml
.Improved Open Content query for better performance on 404
Open Content request issue with OriginalUrl redirects has been fixed.
OriginalUrl redirect made more flexible. Now ignoring http/https, www and trailing slash.
Renamed the make command
remove-mysql
tomysql-remove
for better naming convention wit the other "mysql commands"Extracted the scripts that moves files in composer.json to a separate file (bin/composer-post-install.sh)
Now using
openresty:latest
andphp-fpm:7.2.27
indocker-compose.yml
instead ofdev
versions.
Removed
We have removed some files and functionality that are no longer supported.
Removed from
bin/
:bin/update.sh
bin/remove-composer.sh
Removed from
lua/
:tulo-auth/
Fixed
Fixes and optimizations to bin scripts
Fixed bug in paywall Lua.
Support for running in Windows Subsystem for Linux (WSL 2).
Other fixes and optimizations
0.10.2 - 2020-03-02
Removed
Actually removed the files mentioned in
0.10.1
0.10.1 - 2020-03-02
Removed
Removed some files that were accidentally added in the
0.10.0
release.
0.10.0 - 2020-03-02
Added
Requirements enabling for Xdebug added, but commented out by default.
It is now possible to disable caching for individual paths by using
nginx/app/cacheblock.conf
.
Changed
404.lua now uses
OriginalUrls
instead ofOriginalUrl
for redirects of old articles.Switched to new docker repo in
Makefile
.Improvements to
aws-deploy.sh
.
0.9.2 - 2019-12-18
Fixed
AWS-deploy fixes
0.9.1 - 2019-11-29
Added
Added a new endpoint at
api/oc-post/
. Which takes either a url or uuid parameter and returns the article's uuid & url. Attempts to create the article if passed an uuid and the article is not found in wordpress. Else 404.
Changed
Updated Placeholder theme to an actual theme based on "Base theme 2".
Updated Docker images
Updated Makefile
Updated startup.sql with new Open Content connection
Compressed startup.sql
Updated list of composer dependencies
0.9.0 - 2019-06-27
Added
Added HTTPS redirect in elasticbeanstalk loadbalancer.
0.8.2 - 2019-05-23
Fixed
Added option to ignore reinstalling Wordpress on init
Reverted patch
0.8.1
change.Minor fixes and Optimizations
0.8.1 - 2019-05-14
Fixed
Move auto-loading of composer to after path has been set.
0.8.0 - 2019-05-08
Added
Add first implantation of cache-invalidator plugin
Add new support for nginx-config package
Changed
Updated use of "app-folder" to use new Network plugin
Update out-of-the-box support for redirects of migrated content
Update gitignore to be more flexible when it comes to components and composer dependencies
Start lock-down of minimum-versions of composer packages
Fixed
Minor fixes and Optimizations
0.7.0 - 2019-03-19
Fixed
Make sure to include the bin scripts and the make file into the build
0.6.0 - 2019-03-06
Changed
Update gulpfile with new config-support for child-themes
Update with support for being created by Everyware installer
Update dependencies
0.5.0 - 2019-02-07
Changed
App/Startup and Project-plugin/bootstrap now have to instantiate twigSetup and inject an instance of ViewSetup
Minor changes to how you add folders, functions etc to Twig
0.4.0 - 2019-02-05
Changed
Move ProjectPlugin into MU-plugins and make sure Startup loads it
Fixed
Moved Path to Everyware Components in to plugins
Update information in Placeholder theme
Update Everyware packages
0.3.0 - 2019-01-08
Added
Added health.php for aws load balancer
Update startup-theme to register its Startup to the "project" and by separating it by services.
Changed
Separate startup-file into Network- and Theme-level and use new ProjectStartup from Everyware base to register them
0.2.0 - 2018-12-21
Added
Added Interface for the theme startup to implement for smoother handling of registering theme startup.
Added new Startup that implements new ThemeStartup Interface in startup theme.
Added new Teaser for handling presentation of articles in the form of a teaser.
Added function in Twig to render partial templates.
Changed
Implement function in Startup for running theme-startup.
Implemented theme-specific startup in startup theme.
Use NewsMLArticle to hold article data for ArticlePages.
Update image data to be suitable for general use.
Update ArticlePresentation class to use new NewsMLArticle as dependency.
Removed
Moved Theme specific startup-functionality into the responsibility of the theme.
0.1.0 - 2018-12-19
First alpha version
Added
Added this file and boilerplate and markup example for the future
Last updated
Was this helpful?