Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Releases: liferay/generator-liferay-fragments

v1.8.0-rc2

07 Oct 09:52
Compare
Choose a tag to compare
v1.8.0-rc2 Pre-release
Pre-release

Bug fixes

  • Set bundler dependency to 3.0.0-alpha.5

v1.8.0-rc1

06 Oct 08:09
Compare
Choose a tag to compare
v1.8.0-rc1 Pre-release
Pre-release

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

06 May 12:41
Compare
Choose a tag to compare
  • Fully rename CLI to Toolkit
  • Added NodeJS 14 to test matrix
  • Create add-fragment-composition and add-page-template commands:
    • preview command shows page templates and fragment compositions
    • export command exports page templates and fragment compositions
  • Ensure compatibility with data-* editables
    • add-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

04 Feb 14:12
Compare
Choose a tag to compare

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

14 Jan 08:41
Compare
Choose a tag to compare
  • Allow selecting the global site in importing/exporting commands
  • Executing the compress command now includes the fragment thumbnails in the zip

v1.4.0

03 Oct 07:41
Compare
Choose a tag to compare
  • Increase test coverage
  • Avoid installing generator locally in new projects
  • Fix broken UI icons
  • Fix OAuth authentication error then it is not available

v1.3.0

29 Aug 11:53
Compare
Choose a tag to compare
  • Manage error messages more gracefully
  • Drastically improve import error messages
  • Add NodeJS 12 to test matrix

v1.2.2

20 Aug 09:58
331adc3
Compare
Choose a tag to compare
  • Update documentation
  • Improve error messages after API calls

v1.2.1

10 Jul 09:15
f104099
Compare
Choose a tag to compare
  • Make preview work with Fragment's Configuration
  • Update documentation

v1.2.0

27 Jun 11:39
Compare
Choose a tag to compare
  • 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