Releases: WeareJH/wf2
v0.33.3: Merge pull request #127 from WeareJH/elasticsearch-m2-runtime-envs
Add Elasticsearch runtime env variables
Locked mysql authentication plugin to "mysql_native_password"
Release v0.33.2
Added multistore based on URI prefix support
Release v0.33.1
The one where you can set the mysql image
eg:
domains: [ example.m2 ]
options:
services:
db:
image: "mysql:8.0"
The one with Wordpress fixes
The one with PWA support
This release includes includes support for wiring a headless application into the M2 stack.
Benefits:
- Full M2 Backend stack: PHP, Mysql, MailHog, BlackFire, ElasticSearch, Varnish, Reddis, RabbitMQ etc
- NodeJS, PM2 -> with all requests going through the M2 stack as they would in production
- BE developers no longer need ANY tools installed on their machines
- Easily debug/inovate on things that require both the M2 backend + the PWA
- production-critical things like Varnish can be fully tested E2E
Configuration
Since (in many cases) the headless application will be in a separate repo, the initial wf2
support requires a tiny bit of configuration - this may be removed/simplifed in the future.
Before:
recipe: M2
domains: [ example.m2 ]
After:
recipe: M2
domains: [ example.m2 ]
options:
services:
pwa:
domains: [ example.pwa, test.ngrok.io ]
src_dir: /users/shane/pwa
dockerfile: /users/shane/pwa/wf2/Dockerfile
This assumes that the PWA has a Dockerfile and knows how to build/serve itself.
The one with latest elastic search
v0.31.1 release: 0.31.1
The one that lets you hack the vendor folder
sync folders from vendor
Sometimes you'll need or want to edit files that would normally be accessible in your local
vendor
folder - but you cannot with wf2
because we don't 'sync' 'vendor' by default for performance reasons.
To get around this limitiation, we can add temporary 'sync' folders
with the --sync
flag
wf2 up --sync vendor/magento/framework/Acl
You can also add folders with wf2.yml
or wf2.env.yml
options:
services:
unison:
ignore_not:
- vendor/wearejh
Note: If you provide both (in the yml + cli flag) then ONLY the cli flag will be used
The one with n98 and easier mysql imports
-
db-import: Use force flag when importing sql files to ignore errors c626268 @AydinHassan
-
m2-recipe:
- added n98 passthru command 509ac16 @JamelleG
- Only stop and rm containers, if there are some running c2f2e14 @AydinHassan
-
timelog: added "1" as the Default range 2e51c07 @shakyShane
# this now defaults to 1 wf2 timelog
The one with MORE jira fixes
Fixed another case where the 'emailAddress' field is absent in some nested api calls. 0a6def5