Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ionic-team/ionic-framework
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0-beta.8
Choose a base ref
...
head repository: ionic-team/ionic-framework
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0-beta.9
Choose a head ref

Commits on Jun 3, 2016

  1. Copy the full SHA
    07d55c5 View commit details

Commits on Jun 6, 2016

  1. Copy the full SHA
    dc95439 View commit details
  2. 2
    Copy the full SHA
    dc87353 View commit details
  3. feat(item): two-way sliding of items

    closes #5073
    manucorporat committed Jun 6, 2016
    Copy the full SHA
    c28aa53 View commit details

Commits on Jun 7, 2016

  1. Copy the full SHA
    587ca7c View commit details
  2. Copy the full SHA
    51f6c48 View commit details
  3. Copy the full SHA
    2ff19ef View commit details
  4. Update CHANGELOG.md

    mlynch committed Jun 7, 2016
    Copy the full SHA
    ba3e786 View commit details
  5. Copy the full SHA
    f7b2ea2 View commit details
  6. Fix typo (#6789)

    guillenotfound authored and danbucholtz committed Jun 7, 2016
    Copy the full SHA
    af289ec View commit details

Commits on Jun 8, 2016

  1. Copy the full SHA
    ccd926b View commit details
  2. docs(events): clean up confusion with Event arguments

    Addresses part of ionic-team/ionic-site#544.
    
    This PR makes it so that the piece of code in the docs works as intended. Otherwise, the second console.log statement will result in an array output, instead of the intended user object.
    wli authored and adamdbradley committed Jun 8, 2016
    Copy the full SHA
    f16a443 View commit details
  3. Copy the full SHA
    1570d2b View commit details
  4. fix(click-block): fix for the click block logic

    fix for the click block logic
    danbucholtz authored and adamdbradley committed Jun 8, 2016
    Copy the full SHA
    9b78aeb View commit details
  5. chore(range): sass validates now (#6806)

    sass validates now
    danbucholtz committed Jun 8, 2016
    Copy the full SHA
    9425eef View commit details
  6. Copy the full SHA
    6f8f2ab View commit details
  7. Copy the full SHA
    d98f3c9 View commit details
  8. Copy the full SHA
    84f37cf View commit details
  9. Copy the full SHA
    9f293e8 View commit details
  10. Feature/toast position (#6804)

    * refactor(toast): refactored toast to support positions and clean up transitions a bit
    
    refactored toast to support positions and clean up transitions a bit
    
    * test(toast): added additional test
    
    added additional tests
    danbucholtz authored and brandyscarney committed Jun 8, 2016
    Copy the full SHA
    82adf6f View commit details
  11. Copy the full SHA
    c67ce8c View commit details
  12. Copy the full SHA
    bc306c6 View commit details
  13. Copy the full SHA
    fd9cdc7 View commit details
  14. Copy the full SHA
    d23c75a View commit details
  15. refactor(inset-modal): inset-modal fixes (#6809)

    inset-modal fixes
    danbucholtz committed Jun 8, 2016
    Copy the full SHA
    cb1caca View commit details
  16. feat(item): add the ability to show a forward arrow on md and wp modes

    The following Sass variables control this:
    
    ```
    $item-ios-detail-push-show
    $item-md-detail-push-show
    $item-wp-detail-push-show
    ```
    
    ios is set to true by default, the others are set to false.
    
    references #5993
    brandyscarney committed Jun 8, 2016
    Copy the full SHA
    c41f24d View commit details
  17. style(item): remove the mixin for detail push from the themes

    added the sass variable for the color directly to the svg instead. This
    will help with future themes since the mixin was just being copied over.
    
    references #5993
    brandyscarney committed Jun 8, 2016
    Copy the full SHA
    11d5488 View commit details
  18. Copy the full SHA
    f2a9f2d View commit details
  19. Copy the full SHA
    5d873ff View commit details
  20. Copy the full SHA
    e9f0968 View commit details
  21. Copy the full SHA
    e03bb31 View commit details
  22. Copy the full SHA
    d3f0aec View commit details
  23. Copy the full SHA
    8836ae0 View commit details
  24. Copy the full SHA
    46f6ee8 View commit details
  25. Copy the full SHA
    c1d09dd View commit details
  26. Copy the full SHA
    14d29e6 View commit details

Commits on Jun 9, 2016

  1. Copy the full SHA
    9b2e934 View commit details
  2. Copy the full SHA
    b5107cd View commit details
  3. Copy the full SHA
    f049521 View commit details
  4. Copy the full SHA
    1188730 View commit details
  5. Copy the full SHA
    14c7bc2 View commit details
  6. 2
    Copy the full SHA
    ce3da97 View commit details
  7. Copy the full SHA
    29791f8 View commit details
  8. docs(): update docs

    mhartington committed Jun 9, 2016
    Copy the full SHA
    b266e9f View commit details
  9. docs(item): improve documentation behind item

    adds more usage examples and content projection information.
    
    closes ionic-team/ionic-site#579
    references #5993
    brandyscarney committed Jun 9, 2016
    Copy the full SHA
    922a8a3 View commit details
  10. fix(toast): close toasts when two or more are open (#6814)

    * fix(toast): close toast when two or more are open
    
    * fix(toast): abc order imports
    
    * fix(toast): move focus code into ionic event
    jgw96 authored and danbucholtz committed Jun 9, 2016
    Copy the full SHA
    8ff2476 View commit details
  11. Copy the full SHA
    7a3477b View commit details
  12. * refactor(overlays): overlays now are enabled via ionViewDidEnter (#…

    …6811) closes #6753
    
    
    
    overalys now are enabled via ionViewDidEnter
    
    * style(overlays): fixed tslint error
    
    fixed tslint error
    
    * style(overlays): formatting
    
    formatting
    
    * refactor(overlays): minor refactor to match style
    
    minor refactor to match style
    danbucholtz authored Jun 9, 2016
    Copy the full SHA
    2be96f2 View commit details
  13. Copy the full SHA
    181129b View commit details
  14. feat(popover): background dismiss, escape dismiss

    background dismiss, escape dismiss
    
    closes #6817
    danbucholtz committed Jun 9, 2016
    1
    Copy the full SHA
    1d78f78 View commit details
Showing with 4,850 additions and 1,608 deletions.
  1. +331 −1 CHANGELOG.md
  2. +87 −2 demos/item-sliding/index.ts
  3. +38 −111 demos/item-sliding/main.html
  4. +4 −1 demos/toast/index.ts
  5. +3 −1 demos/toast/main.html
  6. +19 −3 gulpfile.js
  7. +6 −3 package.json
  8. +4 −3 scripts/docs/processors/jekyll.js
  9. +1 −0 scripts/docs/tag-defs/tag-defs.js
  10. +3 −4 scripts/docs/templates/common.template.html
  11. +1 −0 scripts/e2e/e2e.template.html
  12. +0 −4 scripts/karma/system.config.js
  13. +2 −0 scripts/npm/package.json
  14. +1 −1 scripts/snapshot/snapshot.config.js
  15. +2 −2 src/animations/animation.ts
  16. +1 −0 src/components.md.scss
  17. +1 −0 src/components.wp.scss
  18. +7 −11 src/components/action-sheet/action-sheet.ts
  19. +13 −17 src/components/alert/alert.ts
  20. +83 −22 src/components/app/app.ts
  21. +366 −3 src/components/app/test/app.spec.ts
  22. +11 −0 src/components/button/button.ts
  23. +1 −1 src/components/card/card.ios.scss
  24. +1 −1 src/components/card/card.md.scss
  25. +1 −1 src/components/card/card.wp.scss
  26. +15 −0 src/components/datetime/datetime.md.scss
  27. +9 −2 src/components/datetime/datetime.scss
  28. +11 −0 src/components/datetime/datetime.ts
  29. +34 −0 src/components/datetime/datetime.wp.scss
  30. 0 src/components/datetime/test/labels/e2e.ts
  31. +23 −0 src/components/datetime/test/labels/index.ts
  32. +47 −0 src/components/datetime/test/labels/main.html
  33. +9 −2 src/components/img/img.scss
  34. +52 −11 src/components/img/img.ts
  35. +65 −202 src/components/item/item-sliding-gesture.ts
  36. +58 −6 src/components/item/item-sliding.scss
  37. +348 −13 src/components/item/item-sliding.ts
  38. +29 −15 src/components/item/item.ios.scss
  39. +28 −1 src/components/item/item.md.scss
  40. +202 −11 src/components/item/item.ts
  41. +27 −0 src/components/item/item.wp.scss
  42. +1 −1 src/components/item/test/buttons/main.html
  43. +46 −7 src/components/item/test/sliding/index.ts
  44. +173 −48 src/components/item/test/sliding/main.html
  45. +2 −1 src/components/label/label.ios.scss
  46. +2 −1 src/components/label/label.md.scss
  47. +2 −1 src/components/label/label.wp.scss
  48. +5 −5 src/components/list/list.ios.scss
  49. +3 −3 src/components/list/list.md.scss
  50. +14 −18 src/components/list/list.ts
  51. +3 −3 src/components/list/list.wp.scss
  52. +0 −7 src/components/loading/loading.ts
  53. +21 −8 src/components/menu/menu-gestures.ts
  54. +7 −6 src/components/menu/menu-types.ts
  55. +0 −9 src/components/menu/menu.scss
  56. +12 −3 src/components/menu/menu.ts
  57. +5 −0 src/components/modal/modal.ios.scss
  58. +5 −0 src/components/modal/modal.md.scss
  59. +12 −5 src/components/modal/modal.scss
  60. +113 −57 src/components/modal/modal.ts
  61. +5 −0 src/components/modal/modal.wp.scss
  62. +15 −1 src/components/modal/test/basic/index.ts
  63. +0 −57 src/components/modal/test/modal.spec.ts
  64. +105 −49 src/components/nav/nav-controller.ts
  65. +3 −3 src/components/nav/nav-portal.ts
  66. +1 −7 src/components/nav/nav-router.ts
  67. +6 −6 src/components/nav/nav.ts
  68. +3 −0 src/components/nav/test/child-navs/e2e.ts
  69. +113 −0 src/components/nav/test/child-navs/index.ts
  70. +417 −77 src/components/nav/test/nav-controller.spec.ts
  71. +36 −13 src/components/nav/test/nested/index.ts
  72. +1 −1 src/components/nav/view-controller.ts
  73. +8 −12 src/components/picker/picker.ts
  74. +29 −15 src/components/popover/popover.ts
  75. +16 −9 src/components/popover/test/basic/main.html
  76. +7 −0 src/components/range/range.ios.scss
  77. +13 −0 src/components/range/range.md.scss
  78. +7 −1 src/components/range/range.ts
  79. +4 −0 src/components/range/range.wp.scss
  80. +8 −0 src/components/range/test/basic/page1.html
  81. +57 −21 src/components/searchbar/searchbar.ios.scss
  82. +1 −1 src/components/searchbar/searchbar.md.scss
  83. +1 −1 src/components/searchbar/searchbar.scss
  84. +173 −152 src/components/searchbar/searchbar.ts
  85. +2 −2 src/components/searchbar/searchbar.wp.scss
  86. 0 src/components/searchbar/test/basic/e2e.ts
  87. +53 −0 src/components/searchbar/test/basic/index.ts
  88. +32 −0 src/components/searchbar/test/basic/main.html
  89. +0 −17 src/components/searchbar/test/floating/e2e.ts
  90. +0 −35 src/components/searchbar/test/floating/index.ts
  91. +0 −25 src/components/searchbar/test/floating/main.html
  92. +7 −0 src/components/searchbar/test/nav/detail.html
  93. +4 −0 src/components/searchbar/test/nav/e2e.ts
  94. +36 −16 src/components/searchbar/test/nav/index.ts
  95. 0 src/components/searchbar/test/nav/{first.html → main.html}
  96. +17 −0 src/components/searchbar/test/nav/search.html
  97. +0 −17 src/components/searchbar/test/nav/second.html
  98. +4 −0 src/components/searchbar/test/nav/tabs.html
  99. +0 −16 src/components/searchbar/test/toolbar/e2e.ts
  100. +1 −1 src/components/searchbar/test/toolbar/index.ts
  101. +6 −6 src/components/searchbar/test/toolbar/main.html
  102. +5 −0 src/components/select/select.ios.scss
  103. +5 −0 src/components/select/select.md.scss
  104. +7 −1 src/components/select/select.ts
  105. +6 −0 src/components/select/select.wp.scss
  106. +1 −1 src/components/select/test/single-value/main.html
  107. +3 −3 src/components/tabs/tab.ts
  108. +1 −1 src/components/tabs/tabs.ios.scss
  109. +39 −17 src/components/tabs/tabs.ts
  110. +6 −11 src/components/tabs/test/advanced/index.ts
  111. +58 −7 src/components/tabs/test/basic/index.ts
  112. 0 src/components/tabs/test/child-navs/e2e.ts
  113. +140 −0 src/components/tabs/test/child-navs/index.ts
  114. +1 −1 src/components/tabs/test/tab-bar-scenarios/main.html
  115. +212 −0 src/components/tabs/test/tabs.spec.ts
  116. +2 −2 src/components/tap-click/tap-click.ts
  117. +3 −2 src/components/toast/test/basic/index.ts
  118. +3 −1 src/components/toast/test/basic/main.html
  119. +37 −1 src/components/toast/test/toast.spec.ts
  120. +16 −14 src/components/toast/toast.ios.scss
  121. +15 −14 src/components/toast/toast.md.scss
  122. +0 −15 src/components/toast/toast.scss
  123. +199 −61 src/components/toast/toast.ts
  124. +16 −3 src/components/toast/toast.wp.scss
  125. +22 −5 src/components/virtual-scroll/test/basic/index.ts
  126. +2 −2 src/components/virtual-scroll/test/basic/main.html
  127. +15 −5 src/components/virtual-scroll/test/cards/index.ts
  128. +2 −2 src/components/virtual-scroll/test/cards/main.html
  129. +3 −1 src/components/virtual-scroll/test/image-gallery/index.ts
  130. +58 −0 src/components/virtual-scroll/test/sliding-item/index.ts
  131. +33 −0 src/components/virtual-scroll/test/sliding-item/main.html
  132. +5 −3 src/components/virtual-scroll/test/variable-size/index.ts
  133. +9 −9 src/components/virtual-scroll/test/virtual-scroll.spec.ts
  134. +24 −48 src/components/virtual-scroll/virtual-scroll.ts
  135. +37 −34 src/components/virtual-scroll/virtual-util.ts
  136. +32 −5 src/config/bootstrap.ts
  137. +4 −4 src/config/directives.ts
  138. +3 −0 src/gestures/drag-gesture.ts
  139. +1 −0 src/gestures/gesture.ts
  140. +1 −1 src/platform/cordova.ios.scss
  141. +1 −1 src/platform/cordova.md.scss
  142. +1 −1 src/platform/cordova.wp.scss
  143. +126 −66 src/platform/platform.ts
  144. +10 −6 src/platform/registry.ts
  145. +70 −0 src/platform/test/platform.spec.ts
  146. +0 −11 src/themes/dark.ios.scss
  147. +1 −0 src/themes/dark.md.scss
  148. +0 −11 src/themes/default.ios.scss
  149. +0 −1 src/themes/default.md.scss
  150. +3 −2 src/util/events.ts
  151. +3 −1 src/util/functions.scss
  152. +5 −0 src/util/key.ts
  153. +2 −1 src/util/keyboard.ts
  154. +12 −10 src/util/scroll-view.ts
  155. +1 −1 tooling/generators/component/component.tmpl.js
  156. +4 −1 tooling/generators/component/component.tmpl.ts
  157. +1 −1 tooling/generators/directive/directive.tmpl.js
  158. +1 −1 tooling/generators/directive/directive.tmpl.ts
  159. +2 −2 tooling/generators/page/page.tmpl.js
  160. +3 −3 tooling/generators/page/page.tmpl.ts
  161. +1 −1 tooling/generators/pipe/pipe.tmpl.js
  162. +1 −1 tooling/generators/pipe/pipe.tmpl.ts
  163. +2 −2 tooling/generators/provider/provider.tmpl.js
  164. +6 −4 tooling/generators/provider/provider.tmpl.ts
  165. +3 −3 tooling/generators/tabs/tabs.tmpl.js
  166. +4 −4 tooling/generators/tabs/tabs.tmpl.ts
332 changes: 331 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,333 @@
<a name="2.0.0-beta.9"></a>
# [2.0.0-beta.9](https://github.com/driftyco/ionic/compare/v2.0.0-beta.8...v2.0.0-beta.9) (2016-06-16)

### Features

* **backButton:** register back button actions ([84f37cf](https://github.com/driftyco/ionic/commit/84f37cf))
* **item:** add the ability to show a forward arrow on md and wp modes ([c41f24d](https://github.com/driftyco/ionic/commit/c41f24d))
* **item:** two-way sliding of items ([c28aa53](https://github.com/driftyco/ionic/commit/c28aa53)), closes [#5073](https://github.com/driftyco/ionic/issues/5073)
* **item-sliding:** two-way item sliding gestures ([5d873ff](https://github.com/driftyco/ionic/commit/5d873ff))
* **modal:** background click and escape key dismiss (#6831) ([e5473b6](https://github.com/driftyco/ionic/commit/e5473b6)), closes [#6738](https://github.com/driftyco/ionic/issues/6738)
* **navPop:** add nav pop method on the app instance ([9f293e8](https://github.com/driftyco/ionic/commit/9f293e8))
* **popover:** background dismiss, escape dismiss ([1d78f78](https://github.com/driftyco/ionic/commit/1d78f78)), closes [#6817](https://github.com/driftyco/ionic/issues/6817)
* **range:** range can be disabled ([ccd926b](https://github.com/driftyco/ionic/commit/ccd926b))
* **select:** add placeholder as an input for select ([461ba11](https://github.com/driftyco/ionic/commit/461ba11)), closes [#6862](https://github.com/driftyco/ionic/issues/6862)
* **tabs:** track tab selecting history, create previousTab() method ([d98f3c9](https://github.com/driftyco/ionic/commit/d98f3c9))

### Bug Fixes

* **button:** check for icon and add css after content checked ([f7b2ea2](https://github.com/driftyco/ionic/commit/f7b2ea2)), closes [#6662](https://github.com/driftyco/ionic/issues/6662)
* **click-block:** click block is now showing on all screns. ([761a1f6](https://github.com/driftyco/ionic/commit/761a1f6))
* **click-block:** fix for the click block logic ([9b78aeb](https://github.com/driftyco/ionic/commit/9b78aeb))
* **datetime:** add styling for datetime with different labels ([adcd2fc](https://github.com/driftyco/ionic/commit/adcd2fc)), closes [#6764](https://github.com/driftyco/ionic/issues/6764)
* **decorators:** change to match angular style guide ([9315c68](https://github.com/driftyco/ionic/commit/9315c68))
* **item:** change ion-item-swiping to use .item-wrapper css instead ([31f62e7](https://github.com/driftyco/ionic/commit/31f62e7))
* **item:** encode hex value in the detail arrow so it works on firefox ([03986d4](https://github.com/driftyco/ionic/commit/03986d4)), closes [#6830](https://github.com/driftyco/ionic/issues/6830)
* **item:** improve open/close logic, update demos ([db9fa7e](https://github.com/driftyco/ionic/commit/db9fa7e))
* **item:** item-options width calculated correctly ([64af0c8](https://github.com/driftyco/ionic/commit/64af0c8))
* **item:** sliding item supports dynamic options + tests ([14d29e6](https://github.com/driftyco/ionic/commit/14d29e6)), closes [#5192](https://github.com/driftyco/ionic/issues/5192)
* **item:** sliding item's width must be 100% ([efcdd20](https://github.com/driftyco/ionic/commit/efcdd20))
* **menu:** push/overlay working correctly in landscape ([0c88589](https://github.com/driftyco/ionic/commit/0c88589))
* **menu:** swiping menu distinguishes between opening and closing direction ([29791f8](https://github.com/driftyco/ionic/commit/29791f8)), closes [#5511](https://github.com/driftyco/ionic/issues/5511)
* **Menu:** fix right overlay menu when rotating device ([07d55c5](https://github.com/driftyco/ionic/commit/07d55c5))
* **modal:** add status bar padding to modal ([181129b](https://github.com/driftyco/ionic/commit/181129b))
* **modal:** change modal display so you can scroll the entire height ([01bbc94](https://github.com/driftyco/ionic/commit/01bbc94)), closes [#6839](https://github.com/driftyco/ionic/issues/6839)
* **navigation:** keep the click block up longer if the keyboard is open (#6884) ([d6b7d5d](https://github.com/driftyco/ionic/commit/d6b7d5d))
* **popover:** allow target element to be positioned at left:0 ([ea450d4](https://github.com/driftyco/ionic/commit/ea450d4)), closes [#6896](https://github.com/driftyco/ionic/issues/6896)
* **popover:** hide arrow if no event was passed ([8350df0](https://github.com/driftyco/ionic/commit/8350df0)), closes [#6796](https://github.com/driftyco/ionic/issues/6796)
* **range:** bar height for ios should be 1px, add disabled for wp ([f2a9f2d](https://github.com/driftyco/ionic/commit/f2a9f2d))
* **range:** stop sliding after releasing mouse outside the window ([9b2e934](https://github.com/driftyco/ionic/commit/9b2e934)), closes [#6802](https://github.com/driftyco/ionic/issues/6802)
* **scrollView:** ensure scroll element exists for event listeners ([1188730](https://github.com/driftyco/ionic/commit/1188730))
* **searchbar:** add opacity so the searchbar doesn't show when it's moved over ([b5f93f9](https://github.com/driftyco/ionic/commit/b5f93f9))
* **searchbar:** only trigger the input event on clear if there is a value ([99fdcc0](https://github.com/driftyco/ionic/commit/99fdcc0)), closes [#6382](https://github.com/driftyco/ionic/issues/6382)
* **searchbar:** position elements when the value changes not after content checked ([31c7e59](https://github.com/driftyco/ionic/commit/31c7e59))
* **searchbar:** set a negative tabindex for the cancel button ([614ace4](https://github.com/driftyco/ionic/commit/614ace4))
* **searchbar:** use the contrast color for the background in a toolbar ([b4028c6](https://github.com/driftyco/ionic/commit/b4028c6)), closes [#6379](https://github.com/driftyco/ionic/issues/6379)
* **tabs:** reduce padding on tabs for ios ([fd9cdc7](https://github.com/driftyco/ionic/commit/fd9cdc7)), closes [#6679](https://github.com/driftyco/ionic/issues/6679)
* **tap:** export isActivatable as a const so its transpiled correctly ([ce3da97](https://github.com/driftyco/ionic/commit/ce3da97))
* **toast:** close toasts when two or more are open (#6814) ([8ff2476](https://github.com/driftyco/ionic/commit/8ff2476)), closes [(#6814](https://github.com/(/issues/6814)
* **toast:** toast will now be enabled (#6904) ([c068828](https://github.com/driftyco/ionic/commit/c068828))
* **virtualScroll:** detect changes in individual nodes ([f049521](https://github.com/driftyco/ionic/commit/f049521)), closes [#6137](https://github.com/driftyco/ionic/issues/6137)

### Performance Improvements

* **virtualScroll:** improve UIWebView virtual scroll ([ff1daa6](https://github.com/driftyco/ionic/commit/ff1daa6))



<a name="2.0.0-beta.8"></a>
# [2.0.0-beta.8](https://github.com/driftyco/ionic/compare/v2.0.0-beta.7...v2.0.0-beta.8) (2016-06-06)


### BREAKING CHANGES

#### Ionic Decorators Removed

We’ve started the process of optimizing Ionic 2 to improve our support for Progressive Web Apps and upcoming Angular tooling. Because of this, we have removed the Ionic decorators in favor of using Angular's `Component` decorator. The following changes need to be made. For a step by step guide, see the [Steps to Upgrade to Beta 8 section](https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#steps-to-upgrade-to-beta-8).

- `@App` and `@Page` should be replaced with `@Component`.
- `IonicApp` has been renamed to `App`.
- `ionicBootstrap` is required to bootstrap the app.
- Config is now the 3rd parameter in `ionicBootstrap(rootComponent, providers, config)`.
- Property `prodMode` is now a config option, enabling or disabling production mode.


#### Ionic Lifecycle Events Renamed

All Ionic lifecycle events have been renamed from starting with `onPage` to starting with `ionView`. These changes were made to make it more clear that the events belong to Ionic on each view.

- `onPageLoaded` renamed to `ionViewLoaded`
- `onPageWillEnter` renamed to `ionViewWillEnter`
- `onPageDidEnter` renamed to `ionViewDidEnter`
- `onPageWillLeave` renamed to `ionViewWillLeave`
- `onPageDidLeave` renamed to `ionViewDidLeave`
- `onPageWillUnload` renamed to `ionViewWillUnload`
- `onPageDidUnload` renamed to `ionViewDidUnload`


#### Ionic Component Events Renamed

All Ionic component events have been renamed to start with `ion`. This is to prevent the Ionic events from clashing with native HTML events.

- **Checkbox**
- `change` -> `ionChange`
- **DateTime**
- `change` -> `ionChange`
- `cancel` -> `ionCancel`
- **InfiniteScroll**
- `infinite` -> `ionInfinite`
- **Menu**
- `opening` -> `ionDrag`
- `opened` -> `ionOpen`
- `closed` -> `ionClose`
- **Option**
- `select` -> `ionSelect`
- **Picker**
- `change` -> `ionChange`
- **RadioButton**
- `select` -> `ionSelect`
- **RadioGroup**
- `change` -> `ionChange`
- **Refresher**
- `refresh` -> `ionRefresh`
- `pulling` -> `ionPull`
- `start` -> `ionStart`
- **Searchbar**
- `input` -> `ionInput`
- `blur` -> `ionBlur`
- `focus` -> `ionFocus`
- `cancel` -> `ionCancel`
- `clear` -> `ionClear`
- **Segment**
- `change` -> `ionChange`
- `select` -> `ionSelect`
- **Select**
- `change` -> `ionChange`
- `cancel` -> `ionCancel`
- **Slides**
- `willChange` -> `ionWillChange`
- `didChange` -> `ionDidChange`
- `move` -> `ionDrag`
- **TabButton**
- `select` -> `ionSelect`
- **Tab**
- `select` -> `ionSelect`
- **Tabs**
- `change` -> `ionChange`
- **Toggle**
- `change` -> `ionChange`


#### Steps to Upgrade to Beta 8

1. Upgrade to `Beta 8` by running the following command:

```
npm install --save ionic-angular@2.0.0-beta.8
```

_or_ modify the following line to use `beta.8` in your `package.json` and then run `npm install`:

```
"ionic-angular": "^2.0.0-beta.8",
```

**This is the way to update Ionic to any version, more information can be found in the [docs](http://ionicframework.com/docs/v2/resources/using-npm/).**

2. Replace all instances of `@Page` with `@Component`:

```
import {Page} from 'ionic-angular';
@Page({
})
```

becomes

```
import {Component} from '@angular/core';
@Component({
})
```

3. Replace `@App` with `@Component` and then bootstrap it. Move any `config` properties into the bootstrap:

```
import {App, Platform} from 'ionic-angular';
@App({
templateUrl: 'build/app.html',
providers: [ConferenceData, UserData],
config: {
tabbarPlacement: 'bottom'
}
export class MyApp {
}
```

becomes

```
import {Component} from '@angular/core';
import {ionicBootstrap, Platform} from 'ionic-angular';
@Component({
templateUrl: 'build/app.html',
})
export class MyApp {
}
// Pass the main app component as the first argument
// Pass any providers for your app in the second argument
// Set any config for your app as the third argument:
// http://ionicframework.com/docs/v2/api/config/Config/
ionicBootstrap(MyApp, [ConferenceData, UserData], {
tabbarPlacement: 'bottom'
});
```

4. Rename any uses of `IonicApp` to `App`:

```
import {IonicApp} from 'ionic-angular';
constructor(
private app: IonicApp
) {
```

becomes

```
import {App} from 'ionic-angular';
constructor(
private app: App
) {
```

5. Rename any uses of the lifecycle events, for example:

```
onPageDidEnter() {
console.log("Entered page!");
}
```

becomes

```
ionViewDidEnter() {
console.log("Entered page!");
}
```

The full list of lifecycle name changes is in the [section above](https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#ionic-lifecycle-events-renamed).

6. Rename any Ionic events, for example:

```
<ion-slides (slideChangeStart)="onSlideChangeStart($event)">
```

becomes

```
<ion-slides (ionWillChange)="onSlideChangeStart($event)">
```

The full list of event name changes is in the [section above](https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#ionic-component-events-renamed).

### Bug Fixes

* **build:** correct link in output.wp.scss file to old ionic directory. ([6113daf](https://github.com/driftyco/ionic/commit/6113daf))
* **button:** style disabled anchor/button elements ([d0abbaf](https://github.com/driftyco/ionic/commit/d0abbaf)), closes [#6108](https://github.com/driftyco/ionic/issues/6108)
* **config:** pass custom providers in the bootstrap of the app ([c74b3f7](https://github.com/driftyco/ionic/commit/c74b3f7))
* **config:** set the properties for each mode and add defaults ([7def98c](https://github.com/driftyco/ionic/commit/7def98c)), closes [#6132](https://github.com/driftyco/ionic/issues/6132)
* **datetime:** clear out existing datetime data ([c1ad804](https://github.com/driftyco/ionic/commit/c1ad804)), closes [#6614](https://github.com/driftyco/ionic/issues/6614)
* **datetime:** fix ISO format when w/out timezone data ([272daf2](https://github.com/driftyco/ionic/commit/272daf2)), closes [#6608](https://github.com/driftyco/ionic/issues/6608)
* **infiniteScroll:** ensure infinite doesn't fire when already loading ([f7b1f37](https://github.com/driftyco/ionic/commit/f7b1f37))
* **input:** add form validation classes to the item ([5498a36](https://github.com/driftyco/ionic/commit/5498a36))
* **input:** fix material design success/error highlighting on inputs ([702a882](https://github.com/driftyco/ionic/commit/702a882))
* **input:** fix the clear input placement on wp mode ([4ba999e](https://github.com/driftyco/ionic/commit/4ba999e))
* **input:** pass the control classes down to the native input ([6180cb8](https://github.com/driftyco/ionic/commit/6180cb8))
* **ion-backdrop:** new ion-backdrop can prevent background scrolling ([a1a582b](https://github.com/driftyco/ionic/commit/a1a582b)), closes [#6656](https://github.com/driftyco/ionic/issues/6656)
* **item:** remove border for the last item in an item-group ([6b3e7ac](https://github.com/driftyco/ionic/commit/6b3e7ac)), closes [#6518](https://github.com/driftyco/ionic/issues/6518)
* **label:** make all ion-labels stacked or floating stretch ([b742e1f](https://github.com/driftyco/ionic/commit/b742e1f)), closes [#6134](https://github.com/driftyco/ionic/issues/6134)
* **menu:** fix swipe to go back and left menu conflict ([f18a624](https://github.com/driftyco/ionic/commit/f18a624)), closes [#5575](https://github.com/driftyco/ionic/issues/5575)
* **menu:** pass platform to menu type ([7f597a0](https://github.com/driftyco/ionic/commit/7f597a0))
* **modal:** fix onPageWillEnter ([01110af](https://github.com/driftyco/ionic/commit/01110af)), closes [#6597](https://github.com/driftyco/ionic/issues/6597)
* **picker:** safari fired pointerEnd() twice (#6708) ([170cf8c](https://github.com/driftyco/ionic/commit/170cf8c)), closes [#6704](https://github.com/driftyco/ionic/issues/6704)
* **picker:** use sanitizer on translate3d css prop ([8598a2e](https://github.com/driftyco/ionic/commit/8598a2e))
* **platform:** pass original event in EventEmitter ([cc93366](https://github.com/driftyco/ionic/commit/cc93366))
* **popover:** allow popover to have an ion-content wrapping it ([c801d18](https://github.com/driftyco/ionic/commit/c801d18))
* **popover:** position MD popover on top of element clicked ([6bd91f0](https://github.com/driftyco/ionic/commit/6bd91f0)), closes [#6683](https://github.com/driftyco/ionic/issues/6683)
* **popover:** style the ion-content background in a popover to match popover bg ([9ea89ea](https://github.com/driftyco/ionic/commit/9ea89ea))
* **range:** fix styling on range, add demo ([d24b080](https://github.com/driftyco/ionic/commit/d24b080))
* **range:** prevent change detection exception ([7e4b13d](https://github.com/driftyco/ionic/commit/7e4b13d))
* **range:** update range left/right margin on ios ([27fa22f](https://github.com/driftyco/ionic/commit/27fa22f))
* **range:** update the styling for all modes ([061af93](https://github.com/driftyco/ionic/commit/061af93))
* **ripple:** do not activate ripple if pointer moved ([d57833c](https://github.com/driftyco/ionic/commit/d57833c))
* **slides:** Removing a slide via *ngIf now properly removes the slide and the bullet from th ([dbe54b5](https://github.com/driftyco/ionic/commit/dbe54b5)), closes [#6651](https://github.com/driftyco/ionic/issues/6651)
* **toast:** remove backdrop, allow user interaction when up ([d4d1f70](https://github.com/driftyco/ionic/commit/d4d1f70)), closes [#6291](https://github.com/driftyco/ionic/issues/6291)
* **toast:** remove the enableBackdropDismiss option on toast ([aeeae3f](https://github.com/driftyco/ionic/commit/aeeae3f))
* **toggle:** do not fire change when initializing ([cd2afb3](https://github.com/driftyco/ionic/commit/cd2afb3)), closes [#6144](https://github.com/driftyco/ionic/issues/6144)
* **transition:** reduce transition delay on MD ([908fa03](https://github.com/driftyco/ionic/commit/908fa03))

### Features

* **alert:** add Sass variables for the radio/checkbox labels when checked ([9cc0dc7](https://github.com/driftyco/ionic/commit/9cc0dc7)), closes [#6289](https://github.com/driftyco/ionic/issues/6289)
* **item:** add item-content attr selector ([839adf8](https://github.com/driftyco/ionic/commit/839adf8)), closes [#6643](https://github.com/driftyco/ionic/issues/6643)
* **menu:** add opened/closed events ([51ee8b7](https://github.com/driftyco/ionic/commit/51ee8b7))
* **popover:** add height auto for safari and remove ability to scroll on backdrop ([620b7c8](https://github.com/driftyco/ionic/commit/620b7c8))
* **popover:** add MD animation ([1d0d755](https://github.com/driftyco/ionic/commit/1d0d755))
* **popover:** add popover component ([53fd3c3](https://github.com/driftyco/ionic/commit/53fd3c3))
* **popover:** add styling for the md pin ([a25a552](https://github.com/driftyco/ionic/commit/a25a552))
* **popover:** adjust popover to position in the center with no event ([1e7b572](https://github.com/driftyco/ionic/commit/1e7b572))
* **popover:** change MD animation and use for WP also ([44a7da8](https://github.com/driftyco/ionic/commit/44a7da8))
* **popover:** change popover item background color to match wrapper ([b0d71da](https://github.com/driftyco/ionic/commit/b0d71da))
* **popover:** change template in popover to a page similar to modal ([a96e36a](https://github.com/driftyco/ionic/commit/a96e36a))
* **popover:** fix long popovers that go off the page ([4db72cf](https://github.com/driftyco/ionic/commit/4db72cf))
* **popover:** fix MD animations and start from the right side ([e419ec6](https://github.com/driftyco/ionic/commit/e419ec6))
* **popover:** modify the animation for each mode ([57a1274](https://github.com/driftyco/ionic/commit/57a1274))
* **popover:** position popover in the top middle if no event ([438a389](https://github.com/driftyco/ionic/commit/438a389))
* **popover:** position the popover on transition instead of create ([2cd1b51](https://github.com/driftyco/ionic/commit/2cd1b51))
* **range:** add ability to add labels to the left/right of range ([fc819dd](https://github.com/driftyco/ionic/commit/fc819dd))
* **range:** add md and wp styling, tweak ios styling ([af6d5e4](https://github.com/driftyco/ionic/commit/af6d5e4))
* **range:** add styling for range-left/range-right md and wp ([21753a8](https://github.com/driftyco/ionic/commit/21753a8))
* **range:** add styling for the range when knob is minimum md ([c59c656](https://github.com/driftyco/ionic/commit/c59c656))
* **range:** create ion-range input ([2c6e11b](https://github.com/driftyco/ionic/commit/2c6e11b))
* **range:** fix the knob on md so the transform isn't blurry ([cffa84c](https://github.com/driftyco/ionic/commit/cffa84c))
* **range:** only increase knob size when pin doesn't exist ([47174df](https://github.com/driftyco/ionic/commit/47174df))


<a name="2.0.0-beta.7"></a>
# [2.0.0-beta.7](https://github.com/driftyco/ionic/compare/v2.0.0-beta.6...v2.0.0-beta.7) (2016-05-19)

@@ -871,6 +1201,6 @@ Enjoy!

### Breaking Changes

The Web Animations polyfill is no longer shipped with the framework and may cause build errors.
The Web Animations polyfill is no longer shipped with the framework and may cause build errors.

Projects will need to be [updated accordingly](https://github.com/driftyco/ionic-conference-app/commit/2ed59e6fd275c4616792c7b2e5aa9da4a20fb188).
Loading