Releases: liferay/liferay-environment-composer
Bug fix
What's Changed
- LPD-69566 initializing an LEC workspace with LXC uses the wrong database by @drewbrokke in #158
Full Changelog: v0.5...v0.5.1
v0.5
What's Changed
Added
- LPD-67152: Provide empty patching folder by default
- LPD-67521: Allow users to select a SaaS environment instead of a Liferay version
- LPD-67604: Technical Task | add lec command to export and share the workspace
- LPD-68594: Delete previous ticket branch when initializing a new workspace for the same ticket
Fixed
- LPD-66476: Extract image pull logic into separate task
- LPD-66759: Images don't show up on cluster nodes
- LPD-68046: Composer build fails if the liferay-lxc repo contains a fuzzy commit history file match
- LPD-68157: lec init fails on Ubuntu 22
- LPD-69028: lec - colors do not show up properly if used in fzf
- LPD-69088: Composer readme does not indicate to export environment variable
- LPD-69089: lec init mentions LXC ID even when the liferay-lxc repo is not configured
PRs:
- LPD-68046 Composer build fails if the liferay-lxc repo contains a fuzzy commit history file match by @drewbrokke in #132
- LPD-66759 Images don't show up on cluster nodes by @drewbrokke in #133
- LPD-68157 lec init fails on Ubuntu 22 by @drewbrokke in #135
- LPD-62912 Add support for Microsoft SQL Server 2022 by @anthony-chu in #131
- LPD-67604 Technical Task | add lec command to export and share the workspace by @drewbrokke in #140
- Master lpd 66476 by @drewbrokke in #141
- LPD-68594 Delete previous ticket branch when initializing a new workspace for the same ticket by @drewbrokke in #142
- LPD-67151 Provide a way to clean up or expire workspaces in bulk by @drewbrokke in #143
- LPD-67521 Allow users to select a SaaS environment instead of a Liferay version by @drewbrokke in #144
- LPD-67521 Allow users to select a SaaS environment instead of a Liferay version by @drewbrokke in #145
- LPD-67152 Provide empty patching folder by default by @drewbrokke in #146
- LPD-69028 lec - colors do not show up properly if used in fzf by @drewbrokke in #147
- LPD-69088 Composer readme does not indicate to export environment variable by @drewbrokke in #148
- LPD-69028 lec - colors do not show up properly if used in fzf by @drewbrokke in #149
- LPD-69089 lec init mentions LXC ID even when the liferay-lxc repo is not configured by @drewbrokke in #150
- LPD-62912 [Composer]Add support for Microsoft SQL Server 2022 by @drewbrokke in #151
Full Changelog: v0.4...v0.5
v0.4
Highlights
- Adds an
lec importDLStructurecommand to import the file structure only of a large Document Library - Adds an
lec removecommand to completely tear down and remove a Composer project - Adds an
lec versioncommand to print the current version - Adjusts the
lec updatecommand to choose the latest release tag rather than the tip of themasterbranch - Fixes a bug where LXC configs were copied to the wrong place
Pull requests
- LPD-58281 Add script to recreate document library file structure in new directory by @drewbrokke in #117
- LPD-67491 SaaS configuration properties are copied to configs/configs instead of configs/ by @drewbrokke in #125
- LPD-67313 Technical Task | Make lec update choose the latest release tag instead of master HEAD by @drewbrokke in #127
- LPD-67150 Make the process to clean up the workspaces clear by @drewbrokke in #128
- LPD-67897 add lec version command to print the version by @drewbrokke in #129
Full Changelog: 0.3...v0.4
0.3 Bug fixes
What's Changed
- LPD-65679 lec - allow starting a non-git project
- LPD-66454 lec clean command should also prune worktrees
- LPD-66479 Make sure that a clustering license is present when clustering is enabled
- LPD-66521 lec init fails if you do not have a workspace directory in your home .liferay folder
- LPD-66537 lec init is very slow in WSL2 in some cases
PRs
- LPD-65679 removes duplicates by @drewbrokke in #106
- merge dev by @drewbrokke in #114
Full Changelog: 0.2...0.3
0.2
Introducing the lec CLI, and improved support for LXC, and more
💡 lec command-line tool to make working with multiple projects easier
This release includes the lec command-line tool. It makes initializing and jumping between multiple Composer workspaces much easier.
How to install
See this section in the README
Create a new project
lec init
# or
lec init <LPP ticket number>
# or
lec init <LPP ticket number> <Liferay version>If you don't provide the LPP or Liferay version, you will be prompted for that info
Jump between your projects
lecd
Try it!
Start/stop/clean up projects
lec start
lec stop
lec clean # <-- like lec stop, but will also remove Docker volumes
💡 Improved parity with Spinner features - LXC Database import assistance
Support for importing an LXC backup is greatly improved, courtesy of @holatuwol!
Some highlights:
- Can accept
.sql,.gz,.7zand.zipfile formats - Can be configured with a password to unzip the file if it's password-protected
- Can pull in customer configs from the
liferay-lxcrepo (if found) - Can reset user passwords for easier access
- Can append
.localhostto virtual host names for easier access
See more at the README.md.
💡 Mail server support
The maildev mail server can be enabled with this property:
lr.docker.environment.service.enabled[mail]=trueRead more here: Mail Features
💡 Bug fixes
- Fixed an issue where certain environments would not properly invoke shell commands from Gradle
PR:
- Merge dev into master by @drewbrokke in #104
Jira tickets:
LPD-55579 Composer - Support Spinner feature set
LPD-64401 create lec script to make setup and management of worktrees easier
LPD-64587 Document basic usage
LPD-64975 Technical Task | [Composer] Add mail server support
LPD-65048 LEC - ports should default to the lowest open port in the range
LPD-65114 Composer prints multiple Docker Compose project names
LPD-65138 LEC - init new projects off of HEAD instead of master, for testing
LPD-65237 composer - sub-process fails intermittently with x not found error
LPD-65332 composer tries to use the same port across cluster nodes
LPD-65363 Check for dependencies in the script
LPD-65521 lec cli - provide command to print the published ports for the started containers
LPD-65679 lec - allow starting a non-git project
Full Changelog: 0.1...0.2