UNPKG

16.1 kBMarkdownView Raw
1
2CHANGELOG
3====
4
5v5.0.0
6----
7
8# Features
9
10* Support Capacitor Projects (Beta)
11* Support Yarn Projects (Beta)
12
13# Breaking changes
14
15* Modified `isMonacaProject` function. The project is "Monaca" if it is either "Cordova" or "Capacitor" project.
16* Removed `_getNpmPathForSpawn` method.
17* Removed `_getGlobalNpmPath` method.
18
19# Deprecated
20
21* Removed `includeInExplicitFilterList`.
22* Removed `_fileFilter`.
23* Removed `_excludeFromCloudDelete`.
24
25v4.1.10
26----
27
28* Fix template
29* Update README
30
31v4.1.9
32----
33
34* Fix getting project name and description from config.xml
35
36v4.1.8
37----
38
39* Added retry to `downloadFile`
40
41v4.1.7
42----
43
44* Pinned latest blank template for Cordova 12
45
46v4.1.5
47----
48
49* Support iOS Simulator build
50
51v4.1.2
52----
53
54* Cordova 11 support
55
56v4.1.0
57----
58
59* Remove NPM API-related functions
60* Remove internal function `_npmInit`
61
62v4.0.6
63----
64
65* Update new Monaca Document Url.
66
67v4.0.5
68----
69
70* Fix to return the error message got from the server.
71
72v4.0.4
73----
74
75* Upload missing project creation template to NPM
76
77v4.0.3
78----
79
80* Return `isTranspilable` to `project` instance in Monaca Localkit
81
82v4.0.2
83----
84
85* Fix `cloneProject` function when project name contains Japanese characters
86* Change default cordova version from 9.0.0 to 10.0.0
87
88v4.0.1
89----
90
91* Fix `monaca download`
92
93v4.0.0
94----
95
96* Accept `filenamecallback` function as Promise function
97* Synchronize version with other Monaca Development Kits
98
99v3.2.11
100----
101
102* Update dependencies to resolve circular dependency warnings
103
104v3.2.10
105----
106
107* Update Cordova 10 Blank Template for Project Migration Command
108
109v3.2.9
110----
111
112* Fixed Resource Permission for Localkit on Non-Windows
113
114v3.2.8
115----
116
117* Upgrade default blank template to the latest version
118* Update default cordova version to 9.0.0
119
120v3.2.7
121----
122
123* Fixes to support older version of Nodejs (CERT_HAS_EXPIRED).
124* We will drop support of Node 8.x in the future. Please upgrade Node to 10.x or higher.
125
126v3.2.6
127----
128
129* Fixed to encode the file path param for file comparison operation
130
131v3.2.5
132----
133
134* Fixed to encode the file path param for upload operation
135
136v3.2.4
137----
138
139* Validated application icon for electron build
140
141v3.2.3
142----
143
144* Validated cordova version for electron build
145
146v3.2.2
147----
148
149* Fixed inspector run in Android 9
150* Fixed remove non-empoty directories
151* Upgraded fs-extra dependencies
152
153v3.2.1
154----
155
156* Fixed to encode the file path param
157
158v3.2.0
159----
160
161* Modified `checkModifiedFiles` function to show spinner and file information when reading file for upload/download process if `showSpinner` flag is passed.
162
163v3.1.0
164----
165
166* Added new properties - `npmPath` and `nodePath` to the `Monaca` Object. These properties are used to `spawn` the `npm` process.
167* Fixed for `Monaca Localkit@3.1.0` - use spawned `npm` process to install `dependencies` instead of `npm` API.
168
169v3.0.4
170----
171
172* Minor fix to the comment blocks.
173
174v3.0.3
175----
176
177* Added `getRemoteProjectFiles` for reading project files from cloud.
178* Added `getRemoteProjectFilesByPath` to read project files from cloud specified by file path.
179* Modified `getProjectFiles` to not download `node_modules` folders.
180* Modified `getLocalProjectFiles` to upload symlinked files/directories if any.
181* Modified `cloneProject` to install dependencies after cloning/importing project from cloud.
182
183v3.0.2
184----
185
186* Fixed backup process of package.json for `monaca update` and `monaca init`.
187
188v3.0.1
189----
190
191#### Features
192
193* Added `upgrade` function. This function is used to upgrade projects created using Monaca Lib 2.x to Monaca Lib 3.
194* Added `init` function. This function is used to initialize projects created using other CLI tools to the Monaca structure.
195* Added `getCordovaVersion` function. This function is used to get the current Cordova version installed.
196* Added `getTemplateType` function. This function is used to get the template type old project.
197* Added `hasTranspileScript` function. This function is used to check if the project has the new Monaca Tranpile Command (`'monaca:transpile'`) defined.
198* Added `hasDebugScript` function. This function is used to check if the project has the new Monaca Debug Command (`'monaca:debug'`) defined.
199* 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).
200* Added `getLatestCordovaVersion` function. This function returns the latest Cordova verion supported by Monaca Build Server.
201* Added `createProjectInfoFile` function. This function creates a basic `project_info.json` from `blank` template.
202* Added `initIconsSplashes` function. This function creates icons and splashes files from `blank` template.
203* Added `createConfigFile` function. This function creates a basic `config.xml` from `blank` template.
204* Added `createPackageJsonFile` function. This function creates a basic `package.json` from `blank` template.
205* Added `webpack 4` and `webpack-serve` support.
206* Added `blank` template as a submodule.
207* Added `monaca_preview.js` script to be able to execute old projects with the new version.
208
209#### Deprecated
210
211* Removed `isTranspilable`.
212* Removed `isTranspileEnabled`.
213* Removed `_filterIgnoreList`.
214* Renamed `installBuildDependencies` as `installDevDependencies`.
215* Renamed `generateBuildConfigs` as `generateTemplateWebpackConfigs`.
216
217#### Breaking changes
218
219* Added `dev` to `_npmInstall` function to be able to install dev depependencies.
220* Modified `initComponents`function to get Monaca Components from `blank` template.
221* 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.
222* Added `folder` to `getWebpackConfig` function to be able to specify the new folder with the new Webpack templates.
223* 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.
224* Renamed `generateBuildConfigs` function to `generateTemplateWebpackConfigs`. This function gets the new webpack config template files.
225* Modified `isMonacaProject` function to check if the project has `project_info.json` file.
226* Upgraded `webpack.ENV.FRAMEWORK.js` files to use project dev dependencies:
227 * `Vue` webpack files.
228 * `React` webpack files.
229 * `Angular` webpack files.
230
231v2.7.13
232----
233
234* Fixed bug in `uploadProject` and `downloadProject` function.
235
236v2.7.12
237----
238
239* Added `checkForMinimumRequirements` to the `buildParams` parameter in the `checkBuildAvailability` method.
240
241v2.7.11
242----
243
244* appended `path` to the `upload` and `download` request url
245* return `upload` and `download` progress to `localkit`
246* remove `platforms` from default `.monacaignore` for project with lower cordova version ( <= 5.x)
247
248v2.7.10
249----
250
251* added `loader.js` and `loader.css` to webpack-dev-server (webpack.dev.config.js)
252
253v2.7.9
254----
255
256* add optional param to `cloneProject` function (to fix `monaca import`)
257* change content of default `.monacaignore`
258* add message during generating `.monacaignore`
259
260v2.7.8
261----
262
263* Modified `webpack` development configuration of `Angular` to fix `live reloading`
264
265v2.7.7
266----
267
268* Modified `webpack` development configuration to generate files to `www` directory
269
270v2.7.6
271----
272
273* Improved `getLocalProjectFiles` functions by filtering files before further processing
274* Generated only one `.monacaignore` file for all project templates
275* Fixed Typo
276
277v2.7.5
278----
279
280* Added `historyApiFallback` to angular template
281* Modified `checkModifiedFiles` functions to return file differences if `options.actionType` is passed as `downloadProject`
282* Modified `Upload/Download` functions to include custom files if `options.userDefinedSelectedFiles` and `options.userDefinedSelectFileFlag` is passed as `true`
283* Generate `.monacaignore` for both `cordova` and `react-native` templates before `Upload/Download` operation
284* Update `.monacaignore` pattern to follow `.gitignore` pattern
285* Misc fix
286
287v2.7.4
288----
289
290* Added directory path validation check for signing APIs.
291* Added fetching signing certificate collection API.
292
293v2.7.0
294----
295
296* monaca: Stop live relaod in case of transpile project.
297
298v2.6.3
299----
300
301* Reverted changes to the client request creation for CLI.
302
303v2.6.2
304----
305
306* Added Android and iOS Signing APIs
307
308v2.6.0
309----
310
311* monaca: Added React-Native Project Support
312* monaca: Updated iOS Webkit Debug Proxy
313
314v2.5.1
315----
316
317* monaca: fixed npm issue for CLI.
318* monaca: improved error message when a remote build fails.
319
320v2.5.0
321----
322
323* monaca: internal logic fix.
324* templates: Fixed default webpack configurations for Angular 2+ in order to support PostCSS correctly.
325
326v2.4.2
327----
328
329* monaca: Improved `startRemoteBuild` method logic.
330
331v2.4.1
332----
333
334* monaca: Added remote build history API.
335* monaca: Improved logout method.
336
337v2.4.0
338----
339
340* templates: Added support to Cordova 6.5 templates.
341* monaca: Allowed `.bower.json` sync to Cloud.
342* monaca: Minor improvement on login method.
343
344v2.3.2
345----
346
347* monaca: Updated Webpack resolvers for transpilable templates.
348
349v2.3.1
350----
351
352* monaca: Updated `vue-template-compile` to fix issue with Vue templates.
353
354v2.3.0
355----
356
357* monaca: Added support to the latest Vue and React templates with Onsen 2.4.0.
358* templates: Fixed dependencies and debugging avilability.
359* monaca: Improved some error messages with resolution references.
360
361v2.2.12
362----
363
364* monaca: Fixed local debugging issue.
365
366v2.2.11
367----
368
369* monaca: Fixed critical sync bug when the project path contains special characters.
370
371v2.2.10
372----
373
374* monaca: Fixed isTranspileEnabled check.
375
376v2.2.9
377----
378
379* templates: fixed Vue Webpack configuration.
380* monaca: Added API endpoint management.
381* monaca: Fixed requests missing content.
382* monaca: Fixed hard-coded API references.
383
384v2.2.8
385----
386
387* templates: Added missing additionalDependencies.
388
389v2.2.7
390----
391
392* templates: Added Vue.js 2.0 templates for Onsen UI 2.2.0.
393* templates: Updated ReactJS and Angular 2+ templates for Onsen UI 2.2.0.
394
395v2.2.6
396----
397
398* monaca: Added deleteProjectId functionality.
399* monaca: Fixed checkModifiedFiles error handler.
400
401v2.2.5
402----
403
404* monaca: Fixed Cordova Project check.
405* monaca: Fixed iOS build availability check.
406* monaca: Fixed various iOS10 pairing issues on macOS.
407
408v2.2.4
409----
410
411* templates: Use autoprefixer for all the CSS.
412* templates: Conservative minify for Angular 2.
413* monaca: Updated TypeScript dependencies.
414
415v2.2.3
416----
417
418* monaca: Improve error message.
419
420v2.2.2
421----
422
423* templates: Renamed index.ejs => index.html.ejs
424* templates: HTML minifier is case sensitive now. Fixes Angular2 directive naming issues.
425* monaca: Fixed logout token minor bug.
426* monaca: Fixed cached Cordova version minor bug.
427
428v2.2.1
429----
430
431* monaca: Added patched minimatch dependency.
432
433v2.2.0
434----
435
436* monaca: Added CI support.
437
438v2.1.4
439----
440
441* monaca: Update 'portfinder' dependency.
442* monaca: Fixed escape character bug on project path.
443
444v2.1.3
445----
446
447* monaca: Reduce package size.
448* monaca: Improve Webpack output in development mode.
449
450v2.1.2
451----
452
453* monaca: Minor improvement to transpiler configuration.
454
455v2.1.1
456----
457
458* monaca: Localkit support when running transpiler.
459
460v2.1.0
461----
462
463* monaca and localkit: Various fixes.
464* monaca: Webpack dev server support.
465
466v1.1.13
467----
468
469* monaca: Allowed upload/download for config files inside the root directory.
470
471v1.1.12
472----
473
474* monaca: Fixed wrong files deletion in `downloadProject()`.
475
476v1.1.11
477----
478
479* monaca: Added missing `options` to `downloadProject` method in `Monaca.startRemoteBuild` API.
480
481v1.1.10
482----
483
484* monaca: Fixed .monaca/project_info.json not updated when syncing back from the Cloud.
485* monaca: Fixed to delete unnecessary files after the build process.
486
487v1.1.9
488----
489
490* monaca: Fixed `Monaca.startRemoteBuild()` API to support placeholders.
491
492v1.1.8
493----
494
495* localkit: Added Cordova Version when getting project list.
496* localkit: Added a filter to the files when getting project file tree.
497* monaca: Added `showUrl` argument to `Monaca.buildProject()` API.
498
499v1.1.7
500----
501
502* monaca: Added `delete` argument to `uploadFiles` method.
503
504v1.1.6
505----
506
507* monaca: Added `Monaca.getLatestVersionInfo()` API to get the latest version information.
508* monaca: Support for .monacaignore so that the user can specify what file to ignore when upload/download from the Cloud.
509* monaca: Added support for `--dry-run` and `--delete` when upload/downloading from the Cloud.
510* monaca: Changed to unzip2 npm module for unzipping the archive.
511
512v1.1.5
513----
514
515* monaca: Fixed `Monaca.uploadFile()` API to limit the number of concurrent connections.
516* monaca: Removed `Monaca.buildProject()` API timeout.
517
518v1.1.5-rc.3
519----
520
521* monaca: Fixed `Monaca.uploadFile()` API to upload using Base64 encoding to avoid data corruption.
522
523v1.1.5-rc.2
524----
525
526* monaca: Fixed `Monaca.uploadProject()` API to also upload platform specific files.
527* localkit: Fixed nic address does not return a valid value in some cases.
528
529v1.1.5-rc.1
530----
531
532* monaca: Added `Monaca.getCurrentUser()` API.
533* localkit: Added `Localkit.generateOneTimePassword()`, `Localkit.validateOneTimePassword()`, `Localkit.generateLocalPairingKey()` API.
534* monaca: Fixed the POST parameter not sent to the server for some reason.
535
536v1.1.4
537----
538
539* monaca: Fix the number of concurrent connections during the network requests.
540
541v1.1.3
542----
543
544* monaca: Fix issue in `Monaca.cloneProject()` where promise was never resolved.
545
546v1.1.0-rc.10
547----
548
549* Released without any changes.
550
551v1.1.0-rc.9
552----
553
554* localkit: Return `frameworkVersion` when calling `Localkit.getProject()` function.
555* localkit: Now `Localkit` emits `live-reload` event when the file has changed.
556
557v1.1.0-rc.8
558----
559
560* localkit: Fixed bug when serving multiple projects.
561
562v1.1.0-rc.7
563----
564
565* monaca: Added `isBuildOnly` parameter to `Monaca.createProject()` API.
566* monaca: Rewrote `Monaca.getTemplates()` method to get templates from Monaca Cloud.
567* monaca: Added `Monaca.createFromTemplate()` method to create a project from a template in Monaca cloud.
568* monaca: Added `disableStatusUpdate` parameter to `Monaca.getLatestNews()`.
569* localkit: Added `Localkit.startWatchProject()`, `Localkit.stopWatchingProject()` and `Localkit.isWatchingProject()` for more granular control.
570* monaca: Added `options.language` parameter.
571* monaca: Added `options` object to `Monaca.relogin()`. Works exactly like the parameters for `Monaca.login()`.
572* localkit: Added `Localkit.initInspector()` method.
573* localkit: Fixed `Localkit.startWatch()` so it will always be resolved.
574* monaca: Return whole response body in `Monaca.login` instead of just the message.
575* monaca: Added `Monaca.download()` method.
576* localkit: Removed nw.js dependency.
577* localkit: `Localkit` object is now an event emitter.
578* localkit: Fixed `Localkit.stopHttpServer` so it will work even if clients are connected to SSE.
579* localkit: Kill adb processes on shutdown.
580* localkit: Add ability to override config.xml project name in `Localkit.addProject()` and `Localkit.setProjects()`.
581* monaca: Don't save cloud project id in `Monaca.cloneProject()`.
582* monaca: Return whole JSON response when making requests to Monaca Cloud.
583
584v1.0.4
585----
586
587* monaca: Added `Monaca.getLatestNews()` to fetch latest news and status on known issues from Monaca Cloud.
588* localkit: Added `options.clientId` to `Localkit.startProject()` method. Used to start a project on one device instead of sending the start signal to all connected devices.
589* localkit: Added `Localkit.startInspector()` to start an inspector when the computer is connected to Localkit.
590* monoaca: Added `Monaca.isMonacaProject()` to check if a directory is a Monaca project.
591
592v1.0.3
593----
594
595* monaca: Added `options` parameter to `Monaca.login()` to specify version.
596* monaca: Added `Monaca.isCordovaProject()` to check if a directory is a Cordova project.
597
598v1.0.2
599----
600
601* monaca: Fixed bug where .cordova directory was not created correctly when missing.
602
603v1.0.1
604----
605
606* monaca: Added configuration methods.
607* monaca: Added proxy support.
608
609v1.0.0
610------
611
612* Initial version.