Skip to content

Releases: monaca/monaca-lib

3.0.4

24 Oct 03:46
82124e3
Compare
Choose a tag to compare
  • Minor fix to the comment blocks.

3.0.3

21 Sep 07:59
f7a3a04
Compare
Choose a tag to compare

v3.0.3

  • Added getRemoteProjectFiles for reading project files from cloud.
  • Added getRemoteProjectFilesByPath to read project files from cloud specified by file path.
  • Modified getProjectFiles to not download node_modules folders.
  • Modified getLocalProjectFiles to upload symlinked files/directories if any.
  • Modified cloneProject to install dependencies after cloning/importing project from cloud.

3.0.2

19 Sep 05:42
Compare
Choose a tag to compare
  • Fixed backup process of package.json for monaca update and monaca init.

3.0.1

18 Sep 09:59
Compare
Choose a tag to compare

Same as 3.0.0

3.0.0

18 Sep 09:44
Compare
Choose a tag to compare

Features

  • Added upgrade function. This function is used to upgrade projects created using Monaca Lib 2.x to Monaca Lib 3.
  • Added init function. This function is used to initialize projects created using other CLI tools to the Monaca structure.
  • Added getCordovaVersion function. This function is used to get the current Cordova version installed.
  • Added getTemplateType function. This function is used to get the template type old project.
  • Added hasTranspileScript function. This function is used to check if the project has the new Monaca Tranpile Command ('monaca:transpile') defined.
  • Added hasDebugScript function. This function is used to check if the project has the new Monaca Debug Command ('monaca:debug') defined.
  • Added isOldProject function. This function is used to check if the project was created using Monaca Lib 2.x (mainly checks if the project has monaca:preview script).
  • Added getLatestCordovaVersion function. This function returns the latest Cordova verion supported by Monaca Build Server.
  • Added createProjectInfoFile function. This function creates a basic project_info.json from blank template.
  • Added initIconsSplashes function. This function creates icons and splashes files from blank template.
  • Added createConfigFile function. This function creates a basic config.xml from blank template.
  • Added createPackageJsonFile function. This function creates a basic package.json from blank template.
  • Added webpack 4 and webpack-serve support.
  • Added blank template as a submodule.
  • Added monaca_preview.js script to be able to execute old projects with the new version.

Deprecated

  • Removed isTranspilable.
  • Removed isTranspileEnabled.
  • Removed _filterIgnoreList.
  • Renamed installBuildDependencies as installDevDependencies.
  • Renamed generateBuildConfigs as generateTemplateWebpackConfigs.

Breaking changes

  • Added dev to _npmInstall function to be able to install dev depependencies.
  • Modified initComponentsfunction to get Monaca Components from blank template.
  • Renamed installBuildDependencies function to installDevDependencies. Additional dependencies were moved into this function to install them considering the template-type from project_info.json. This function installs Cordova as a dev dependency as well.
  • Added folder to getWebpackConfig function to be able to specify the new folder with the new Webpack templates.
  • Modified transpile function to be able to execute the new Monaca Command ('monaca:transpile' and/or 'monaca:debug') defined under scripts tag in package.json instead of loading the Webpack Config file.
  • Renamed generateBuildConfigs function to generateTemplateWebpackConfigs. This function gets the new webpack config template files.
  • Modified isMonacaProject function to check if the project has project_info.json file.
  • Upgraded webpack.ENV.FRAMEWORK.js files to use project dev dependencies:
    • Vue webpack files.
    • React webpack files.
    • Angular webpack files.

2.7.13

06 Sep 05:37
Compare
Choose a tag to compare
  • Fixed bug in uploadProject and downloadProject function.

2.7.12

27 Aug 06:31
68a9f9a
Compare
Choose a tag to compare
  • Added checkForMinimumRequirements flag to checkBuildAvailability

The purpose of this flag is to only check if the minimum requirements are satisfied for a build.

2.7.11

09 Aug 02:38
Compare
Choose a tag to compare
  • appended path to the upload and download request url
  • return upload and download progress to localkit
  • remove platforms from default .monacaignore for project with lower cordova version ( <= 5.x)

2.7.10

03 Aug 07:14
Compare
Choose a tag to compare
  • added loader.js and loader.css to webpack-dev-server (webpack.dev.config.js)

2.7.9

25 Jul 06:37
9485aaf
Compare
Choose a tag to compare
  • add optional param to cloneProject function (to fix monaca import)
  • change content of default .monacaignore
  • add message during generating .monacaignore