UNPKG

20.3 kBMarkdownView Raw
1<!--
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance
9# with the License. You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing,
14# software distributed under the License is distributed on an
15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16# KIND, either express or implied. See the License for the
17# specific language governing permissions and limitations
18# under the License.
19#
20-->
21# Cordova-cli Release Notes
22
23### 4.3.0 (Feb 27, 2015)
24* docs update for plugin --save
25* Grunt "retire" task added (close #204)
26* CB-8439 Fix 'cordova platform update' documentation to include `<plat-spec>` (close #208)
27* CB-8379 Have --version print out cordova-lib version if it's not the same as CLI's version
28* CB-8211, CB-8358 Update `--link` help text
29* CB-8168 --list support for CLI (close #205)
30* CB-8314 Speed up Travis CI (close #207)
31* CB-8301 Added CI configuration files (close #206)
32* CB-8227 CB-8237 CB-8238 Add --save option to 'cordova platform add', 'cordova platform remove' and 'cordova platform update'
33* Add coverage/ to .npmignore
34* CB-5316 Spell Cordova as a brand unless it's a command or script
35* CB-7950 CLI make CordovaCliCreate.prototype.run vaguely correct
36* CB-7739 document installing specific version of platforms
37* CB-7950 CLI create.js misspells parseConfig
38
39### 4.2.0 (Jan 06, 2015)
40* CB-6756 use cordova_lib.binname instead of cordova
41* Fixed jshint issues with cli.js (close #199)
42* CB-8211 Add --link option to `cordova plugin add` (close #191)
43* CB-8129 Adds 'npm run cover' command to generate tests coverage report
44* searchpath option is added to restore
45
46### 4.1.2 (Nov 13, 2014)
47* Expose cordova-lib and the cli from cordova-cli
48* CB-7636 Allow using --nobuild flag without screaning
49
50### 4.0.0 (Oct 10, 2014)
51* Made version semver complient and bumped to 4.0.0
52* Pinned dependencies
53* added missing AL header
54
55### 3.6.1-0.2.13
56* update shrinkwrap
57
58### 3.6.1-0.2.12
59* CB-7383 depend on a newer version of cordova-lib
60
61### 3.6.1-0.2.11
62* bump version to 3.6.3-0.2.11
63
64### 3.6.1-0.2.10 (Sep 05, 2014)
65* updated Release notes
66* updated version to include dev prefix
67
68### 3.6.0-0.2.8 (Aug 29, 2014)
69* adds missing 'fs' reference required for Windows (ln191)
70* [CB-7355] re added single test to test call through to cordova-lib cordova raw create
71* CB-7364 remove duplicate logging initialization for cordova/plugman
72* CB-7363 Do not insist on precise version of cordova-lib
73* [CB-7355] removed create tests which test behaviour of downstream dependencies
74* [CB-7358] cli spec mocks console log to avoid polluting test output while testing
75* CB-7347 document cordova platform add /path/to support
76* CB-7345 add tests to validate documentation
77* CB-7345 improve cli documentation
78* [] refactored test to make use of jasmine's 'toThrow' expectation
79* correct object referenced in tests
80* proper order of initializers, which indicates a bigger problem
81* removed merge conflict
82* moved custom www handling code to a separate function
83* basic tests and structure added to create spec
84* renamed cli create spec more sensibly
85* parse config json moved to a function
86* functional refactor of create with expected input from caller implemented
87* updated tests and cli to pass all tests
88* tracking cli create spec
89* inital commit of cli create command logic in its own file
90* added verbose mode initialization to set up event handlers
91* created init function to handle initalization of underscore and nopt
92* Fixed the tests
93* Added browserify option "download_opts"
94* CB-7260 use newer cordova-lib to get cordova-android 3.5.1, bump version num
95* CB-7249 cordova-cli documentation translation: cordova-cli
96* CB-7001 moved browserify help docs to proper locations
97* CB-7001 added browserify to cordova.txt help doc
98* CB-6024 Document -- for platform options
99* Added browserify flag to cli options
100* checking for browserify flag
101* CB-7220 Support cordova_lib.binname
102* CB-7220 Split cordova help into per feature help files
103* CB-6756 Adds the platforms subcommand for save and restore
104* CB-7100: Use npm based lazy-load by default
105* CB-6127lisa7cordova-plugin-consolecordova-cli documentation translation: cordova-cli
106* Call process.removeAllListeners() in cli spec
107* Add --captureExceptions flag to jasmine
108* Pin jasmine to older version temporarily
109* Fix CB-7069 copy-from & link-to custom uri -> url
110* CB-7002 Incremented package version to -dev
111
112### 3.5.0-0.2.6 ()
113* CB-6976 Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
114* CB-6728: Support chip architecture flag --archs
115* CB-6954: Use the unified cordova_lib.events
116* CB-6740: [amazon-fireos]Clean up error reporting when AmazonWebView SDK not found
117* CB-6943 Path can include the : if it is absolute, only test for http. Added tests
118* Show full stack for CordovaError in verbose mode
119* CB-6024: Use nopt instead of optimist in cli
120* CB-6859 remove wp7 as platform
121* Add --usenpm flag to activate npm based lazy_load
122* CB-6767 Allow `cordova` to be replacable in error messages
123* CLI implementation & docs for the save and restore plugins
124* Add --noregstry flag for disabling plugin lookup in the registry
125
126### 3.5.0-0.2.4 (May 14, 2014)
127* CB-5941 Update link to hooks-README.md file from README.md
128* Fix cordova help
129* Fixing failing CLI tests by removing 'experimental' key
130
131### 3.5.0-0.2.0 (May 09, 2014)
132* CB-6649 Removing experimental flag from positional arguments
133* CB-6648 Adding a flag for experimental features
134* Fix require paths to use cordova-lib
135* Update package.json to use cordova-lib
136* Split out cordova-lib: move cordova-cli files
137* [Windows8] re-added BOM : CB-5421 Add BOM to all html, js, css files to ensure app can pass Windows Store Certification
138* CB-6491 add CONTRIBUTING.md
139* Adding support for privileged
140* Merge pull request #4 from rodms10/autoPermission
141* android-parser: Add AndroidLaunchMode preference
142* Fix CLI tests to work with node v0.11
143* Update version of jasmine-node. Fixes test warnings util.print with node 0.11
144* CB-2606 Andriod icon - do not attempt copy to undefined path
145* CB-2606 Icons support for iOS, Android, BB10, WP8, Win8, FxOS
146* CB-6329 Delete unused info-utils.js
147* CB-6329 Clean-up of cordova info changes previously merged.
148* CB-6329 improve 'cordova info' command
149* CB-5847 strictSSL is no longer ignored
150* CB-6432 pre_package hook does not populate %CORDOVA_PLATFORMS%
151* Revert "CB-6267 Windows8. Apply BackgroundColor from config.xml"
152* Recreate "platforms" dir if it was deleted.
153* CB-5093: Add versionCode and CFBundleVersion during prepare
154* CB-6312 Use "landscape" instead of "userLandscape" in AndroidManifest.xml
155* CB-6421: Move tests from e2e to spec - cli test
156* CB-6377 superspawn: always wrap non .exe with spaces to cmd with /s /c
157
158### 3.4.1-0.1.0 (Apr 03, 2014)
159* updated to use iOS 3.4.1
160* CB-6377 Fix up superspawn's cmd fallback when there is a space in the args
161* CB-6377 Remove windowsVerbatimArguments from superspawn
162* CB-6344 Fix spy to return a default platform JSON instead of an empty object
163* CB-6382 platform list: sort output
164* CB-6377 Handle spaces in paths for cmd related scripts
165* CB-6292 Add a callback-based API for cordova info (in addition to promise API)
166* CB-6292 Revert commits that add explicit callbacks to APIs
167* CB-6322 Simplify platforms/platform code for platform specifics
168* README.md: Getting Started guides link was broke. Fix.
169* Make "cmd" executed more readable.
170* CB-6141 Fix Windows 8 tests
171* Use smarter BOM-skipping logic when parsing XML.
172* CB-6357 platform check - install each platform to determine working + version number
173* CB-6357 platform: provide exports for functions
174* CB-6357 platform: Refactor into distinct functions
175* CB-6338 Improve error for missing template
176* CB-6337 Print nice error when cordova-cli hits various expected things
177* This closes #147
178* CB-6267 Windows8. Apply BackgroundColor from config.xml
179* CB-6338 Improve error for missing template
180* CB-6030 - Automatically increment port for serve when default is in use
181* CB-6337 Print nice error when cordova-cli hits various expected things
182* CB-6323 Fix harmless typo in superspawn (cmd -> c)
183* CB-6323 Fix superspawn's resolve function on windows (was very broken)
184* CB-6306 Error creating project when path to project includes spaces
185* Tweak error message when hooks fail (wasn't showing correct command)
186* [CB-6296] callback/promise interface implemented
187* [CB-6293] additional tests for run command
188* [CB-6292] tests for build function's dual return method
189* updated jasmine dependency for timing
190* CB-6211 'cordova info' command fixed for Windows platform
191* Fix prepare command from hiding failures.
192* Fix ConfigParser.getPreference error + tests
193* CB-6209 Uplevel changes from android_parser to amazon_fireos_parser Added orientation related config changes from android_parser.
194* CB-6147 Enable CLI and Plugman with npm shrinkwrap
195* When searchpath is specified in config and CLI, merge them.
196* Add --searchpath to help.txt
197* Fix node-style-callbacks form of the CLI api not passing through results.
198
199### 3.4.0-0.1.3 (Mar 3, 2014)
200* Update to plugman v0.20.2
201
202### 3.4.0-0.1.2 (Feb 28, 2014)
203* Update to plugman v0.20.1
204
205### 3.4.0-0.1.1 (Feb 26, 2014)
206* Update to plugman v0.20.0
207* CB-5647 Remove concept of .staging dir. Install directly to www/
208* CB-5299 Speed up prepare by using plugman's new reapply_global_munge()
209* Refactored config_parser.js to simply both it and its tests.
210* CB-6076 Make "Generating config.xml from defaults" a verbose log
211* CB-5181 Use spawn helper for all sub-shelling.
212* CB-6049, CB-5181 Enable stdio for build sub-commands and hooks
213
214## 3.4.0-0.1.0 (Feb 14, 2014)
215* CB-5638 Clean-up: remove unreachable info case from function
216* CB-5937 Add "platform check" command: Shows platforms that are out of date
217* CB-5634 Minor refactoring + tests for Android's orientation preference.
218* CB-5634 Set Android orientation from config.xml
219* Upleveled amazon_fireos_parser. Making it at par with android_parser.js
220* CB-5947 Throw when trying to create project inside custom www.
221* CB-4153 Update help.txt about --source -> --copy-from
222
223## 3.3.1-0.3.1 (Jan 31, 2014)
224* CB-4153 Rename --source and --link flags to --copy-from and --link-to
225
226## 3.3.1-0.3.0 (Jan 30, 2014)
227* Updated plugman dependency to 0.19.0
228* CB-5913 Fail more gracefully on Windows when symlinks fail.
229* Fix isWindows check in util.js to support win64
230* CB-5907 Make `cordova update` get version from platform's version script
231* CB-3612 Don't pass --device to "run" command by default.
232* CB-5493 lazy_load now downloads to a temp dir and then moves.
233* CB-5782 Hide stack trace for explicitly handled error conditions
234* CB-5590 Have config.xml version map to CFBundleShortVersionString instead of CFBundleVersion
235* CB-5299 Cache pbxproj to avoid re-parsing it for each plugin.
236* CB-5813 Fix missing quotes on update and ls commands
237* CB-5808 Fix lazy_load stripping off windows drive letters
238* Expose util.isCordova as cordova.findProjectRoot()
239* Allow lazy_load libs to work without an id and version for local paths.
240* Add an option to config.js to not write config.json during create.
241* Update node-xcode dependency to 0.6.6
242
243## 3.3.1-0.2.0 (Jan 15, 2014)
244* CB-5006 Add --searchpath to "plugin add" so that installing by ID will search local paths before hitting the registry.
245* CB-4153 Add --src & --link to cordova create.
246* CB-5687 Make cordova commands work when CWD is inside of a symlink'ed www/
247* CB-4910 Default config.xml to the root instead of within www/
248* CB-5764 Move hooks/ to top-level instead of under .cordova
249* CB-5763 Don't create .cordova/ by default
250* CB-4871 Reduced package size significantly.
251* CB-4976 Don't use ~/.cordova/lib for local directory
252* CB-5777 Fix "platform update" not updating cordova.js
253* CB-5728 Files in merges must remain intact when removing platform
254
255## 3.3.0-0.1.0
256* CB-5347 Handle dangling platform symlink in cordova platform add
257* Added deprecation notice about wp7
258* updated plugman version to 0.17.0
259* CB-5573 relies on stderr content and error codes to detect a problem with xcode installation.
260* CB-4382 Pass cli arguments to project-level hooks
261* CB-5362 blackberry parser: support local cordova-blackberry
262* CB-5345 Add pre_package event for windows8 parser.
263
264## 3.2.0-0.4.0
265
266* Make sure errors during prepare are reported
267* CB-5031 Add CLI help text for platform update and plugin search
268* CB-5298 Remove redundant requirements check for iOS and Android. The bin/create scripts check.
269* windows8. fixes version number parsing logic
270* CB-4472 Remove preference from template config.xml
271
272## 3.2.0-0.3.0
273
274* CB-5501 fix blackberry10 platform
275* [android] fixing failing android parser spec tests
276* [android] call out to platform check_req script
277
278## 3.2.0-0.2.0
279
280* CB-5485 fixed issue with use of cordova cli api
281
282## 3.2.0-0.1.0
283
284* add the output of the plugman results to the console
285* CB-5363 Improve config_json error reporting
286* CB-5364 config_parser - check for null element text
287* Fix issue not finding platform script when in subdir - check platforms which have subdir
288* CB-5377 serve: should only indicate listening when it is
289* CB-5368 Cordova serve deflate content breaks IE
290* Change cordova serve's project.json to include etags.
291* CB-5280 Update serve's help text to remove platform arguments
292* CB-5364 config_parser - handle duplicates with children and text when merging
293* CB-5320 Document avoiding sudo
294* CB-4400: cd to project root in most cordova commands.
295* CB-5063: Revert to copying cordova.js before user www dir
296* fix 3 failing tests for windows8 and wp8 and add assertions for wp7 too.
297* Adding instructions for installing on master.
298* CB-5063: Keep cordova.js in platform_www to avoid copying it from lib.
299* CB-5307: Remove references to Callback and Incubator
300* tests were failing attempting to match lib/dir and lib\\dir on windows
301* CB-5183 WP7/8 lib path is not correctly resolved by CLI (additional changes)
302* CB-5283 Improved cordova serve message to be more descriptive
303* [CB-4866] Execute hooks in ascending order of any leading numbers
304* [CB-5143] Locate the actual Android app .java file much more carefully.
305* Cleaning up wp7+8 parsers' use of promises. Fix tests.
306* serve: Fix doRoot() not being called & remove duplicated table.
307* serve: provide basic entry point
308* Code style (indentation)
309* Wait for the pre_package event to finish, or the update_csproj function might give unexpected results
310* Add pre_package event to wp8 project
311* readability + code quality in wp7+8 parsers
312* CB-5183 WP7/8 custom_path is not correctly resolved by CLI
313* [CB-4994] Update xcode dependency to handle Xcode 5 capabilities.
314* [CB-5220] "An error occurred" is missing an "A" ...
315
316
317## 3.1.0-0.2.0
318
319* increased version of plugman to 0.14.0 in package.json
320* CB-5187: remove unused var os_platform
321* CB:5187 on node windows broken compile, emulate, run
322* [CB-4976] Don't symlink into ~/.cordova/lib for local libs
323* [CB-5142] improve grammar of emulate description
324* [CB-5147] emulate needs a space before error message
325* CB-5125 add tests for chil process spawn
326* CB-5125: replace child process exec with spawn
327* CB-4748: Fail quickly if dir passed to cordova create is not empty.
328* CB-5106: removed flood of cp error messages when running tests
329* CB-5106:[wp7] fixed broken wp7 tests
330* CB-5106:[win8] fixed tests for windows 8
331* Using .find to grab visualelements instead
332* CB-5066: fixed issue with visual elements not being referenced correctly
333* windows8: remove debug console.log
334* windows8: fixed project parser issue, and updated tests
335* Update tests for commit d1c8024: update_project() should not call update_www() directly
336* begin firefoxos tests
337* CB-5066: dealing with windows8 issues
338* config.xml helper function is used, removed error merge of wp folder.
339* CB-5066: continuing merge of windows 8 stuff
340* CB-5066: merged in windows 8 support into master from cordova-3.1.x
341* config.xml helper function is used, removed error merge of wp folder.
342* CB-5066: continuing merge of windows 8 stuff
343* CB-5066: merged in windows 8 support into master from cordova-3.1.x
344* CB-2234 Add 'cordova info' command
345* CB-4774: Copy www assets before running plugin prepare
346* cordova help should return a Q. fixes CB-5070
347* updated to a version greater than our latest version on npm
348* added not about platform+os restrictions
349* added myself as a contributor, CB-5042 added info on windows8
350* CB-5067: added exception incase no platform level config.xml or defaults.xml exisit
351* added temp config path for ffos, fixed wp8 config_xml function
352* [CB-4774] Updated prepare flow to make platform config.xml a build output - Adds a new method to
353* CB-5032: clarify the help text
354* [CB-4621] Updating run and emulate commands to always provide default options
355* Log requests in cordova serve
356* Make cordova serve ignore dot files.
357* CB-4957: added fix for FFOS
358* Update "cordova serve" to work with promises refactoring
359* [CB-4774] Display proper error if cordova prepare run not in project dir.
360* Fixes a bug where cordova prepare bombs on a config missing a content element - Changes an undefi
361* Bumping elementtree version to 0.1.5 to match plugman and support namespaced xml elements
362* Fix cli.js tests broken by --silent change.
363* [CB-4877]: Add basic logging, --silent flag.
364* Fix busted test.
365* First pass
366* [CB-4883]: Graceful handling of lazy loading errors.
367* reapplied change to add event mid build to allow mods to www folder pre_package aka 775e969f9cc27a
368* Remove two debugger; lines that snuck in.
369* [CB-4604] Execute hooks directly (not .bat files) cross-platform
370* Refactor to use Q.js promises in place of callbacks everywhere.
371* [CB-4837]: Version 3.0.10. Depends on Plugman 0.12.x.
372* Add missing license headers
373* Update repo versions to 3.1.0-rc1
374* Add `cordova update foo` command, with tests. [CB-4777]
375* Add version numbers to `platform ls` output.
376* [CB-4545] support for merges directory on both wp7 & wp8
377* Rename CHANGELOG.md -> RELEASENOTES.md
378* Fix expectation for platform ls test, for firefoxos
379* Fix platforms.js: firefoxos.parser
380* CB:4657 added ffos support to cli
381* CB-4657: added staging_dir function to ff parser
382* add default manifest properties for firefox os platform
383* make the firefoxos parser actually build the project
384* change firefoxos link to tarball
385* add firefox platform
386* [CB-4797] Fix a crash on undefined platform in path.
387* [CB-4797] Add missing return statement in cordova serve
388* Fix broken tests due to lazy requiring change.
389* [CB-4797] Change `serve` command to serve platforms keyed off of path component.
390* [CB-4793] Lazily require modules in some places.
391* [CB-4325] Run platform installs in serial instead of in parallel
392* Version updated to 3.0.10-dev
393
394## 3.0.10
395
396Important note: This version targets Cordova version 3.1.0-rc1.
397
398### Notable
399
400- You can now `cordova platform update <platform>`, which calls the platform's update script. Android, iOS, WP7 and WP8 have update scripts. Please give this a try and report any problems!
401
402### Features
403
404- `platform ls` now shows the version of each installed platform.
405- `merges` are now supported on WP7+8.
406- `serve` now serves from `http://myhost.com/ios/www`, `/android/www`, etc., serving all platforms at once.
407- Speed significantly improved by importing modules only on demand. `prepare` is much faster, `platform ls` more than 10x faster.
408- Now with Firefox OS!
409
410### Bugfixes
411
412- Corner cases in `serve`.
413
414
415## 3.0.9
416
417### Features
418
419- `platform ls` now shows both installed and available-to-install platforms. [CB-3904](https://issues.apache.org/jira/browse/CB-3904)
420
421### Bugfixes
422
423- Plugins are now installed serially across all installed platforms, rather than in parallel. This avoids race conditions in dependency installation. [CB-4184](https://issues.apache.org/jira/browse/CB-4184)
424- (WP8) All files from project www dir are now copied into the binary, not the top-level www. This means merges and plugin assets are correctly handled.