UNPKG

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