This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
Releases: liferay/generator-liferay-fragments
Releases · liferay/generator-liferay-fragments
v1.8.0-rc2
Bug fixes
- Set bundler dependency to 3.0.0-alpha.5
v1.8.0-rc1
Bug fixes
- Compose thumbnail path correctly (LPS-117083) (353bbad)
- Log error message when fragment has been imported as draft (LPS-114623) (e6d1fce)
- Make error message when importing page templates consistent (LPS-114623) (5917548)
- More clear message when there are errors importing fragments (LPS-114623) (b675a80)
- Simplify zip elements path calculation (LPS-121080) (1481027)
- Wait until build process finishes when importing (LPS-121080) (45b72aa)
Features
- Add 'react' fragment type (LPS-121080) (aa19302)
- Add React and generator dependencies for new projects (LPS-121080) (c25a882)
- Export getBundlerConfig (LPS-121080) (c651bda)
- Support exporting with zip file (LPS-113418) (11bd10c)
- Throw a more friendly error when getProjectContent fails (LPS-119618) (59d46b0)
- Update build process to use bundler (LPS-121080) (bb1a905)
Code structure
- Use TypeScript. Currently we have mixed JS and TS, but we will migrate the whole application while adding new features.
v1.7.0
- Fully rename CLI to Toolkit
- Added NodeJS 14 to test matrix
- Create
add-fragment-composition
andadd-page-template
commands:preview
command shows page templates and fragment compositionsexport
command exports page templates and fragment compositions
- Ensure compatibility with
data-*
editablesadd-fragment
command asks for portal version
in order to use old/new editable syntax
- Fix
import
command log - Fix
compress
command log and some issues on Windows
v1.6.0
This new version improves the import/compress process making all files available including fragments' thumbnails and all possible options we may add in the future.
- Simplify compress process (now it accepts any content inside the project)
- Make import process use zip files instead of raw API imports.
This still fallbacks to the old API if zip import is not available (see brianchandotcom/liferay-portal#84118)
v1.5.0
- Allow selecting the global site in importing/exporting commands
- Executing the compress command now includes the fragment thumbnails in the zip
v1.4.0
v1.3.0
v1.2.2
v1.2.1
v1.2.0
- Rename to Fragment Toolkit
- Add
preview
command for fast development - Include
fragments-configuration.json
in existing fragments - Separate config files (prettier, eslint...)
- Add
yo-rc.json
to.gitignore
in generated projects - Add static type checking with TypeScript
- Update API manipulation
- Add OAuth authentication to API requests
- Make CustomGenerator methods private
- Add
format:all
task to apply prettier from - Update documentation