Skip to content

4.0 Migration Guide

Ryan Johnson edited this page Aug 4, 2017 · 26 revisions

EncoreUI 3.x to 4.x Migration Guide

NOTE: The 4.x block of releases has been abandoned due to a change in project direction.

Many of the breaking changes in the 4.x block were reverted in the 5.0.0 release to provide backward compatibility with legacy applications (not just Origin). Features and bug fixes added in the 4.x block have been included in the 5.0.0 release.

Please see the 5.0 Migration Guide for details about upgrading your applications.


Deprecations

  • progressbar (provided by angular ui-bootstrap).
  • Stacked progressbars (multiple progressbars in a single track) deprecated without a replacement.

Breaking Changes

Unless stated otherwise, removed items do not have replacements.

Bower Dependencies

  • angular-hotkeys removed
    • a la "chieffancypants/angular-hotkeys#~1.4.0"
    • Simple to add back to consuming application, if needed.

Directives

  • rxAccountInfo removed
  • rxAccountInfoBanner removed
  • rxAccountSearch removed
  • rxAccountUsers removed
  • rxAppSearch removed
  • rxApp removed
  • rxAppNav removed
  • rxAppNavItem removed
  • rxAtlasSearch removed
  • rxBillingSearch removed
  • rxBreadcrumbs removed
  • rxOptionTable removed
    • Build a table manually to fit your needs.
  • rxPage removed
  • rxStatusTag removed
  • rxTicketSearch removed

Services

  • Auth removed
    • Use rxIdentity or rxSession instead.
  • devicePaths renamed to rxDevicePaths
  • encoreRoutes renamed to rxEncoreRoutes
  • Environment renamed to rxEnvironment
  • Environment.get() removed
    • Use appropriate methods on rxEnvironment instead.
  • ErrorFormatter renamed to rxErrorFormatter
  • feedbackApi renamed to rxFeedbackApi
  • feedbackTypes renamed to rxFeedbackTypes
  • Identity renamed to rxIdentity
  • NotifyProperties renamed to rxNotifyProperties
  • PageTracking renamed to rxPageTracker
  • Permission renamed to rxSession
  • rxAppRoutes removed
  • rxAuth removed
    • Use rxIdentity or rxSession instead.
  • rxBreadcrumbsSvc removed
  • rxFormUtils removed
  • rxStatusTags removed
  • rxVisibility removed
  • rxVisibilityPathParams removed
  • routesCdnPath removed
  • Session renamed to rxSession
  • SessionStorage renamed to rxSessionStorage
  • Status renamed to rxStatus
  • StatusUtil removed
  • TokenInterceptor renamed to rxTokenInterceptor
  • UnauthorizedTokenInterceptor renamed to rxUnauthorizedTokenInterceptor
  • urlUtils renamed to rxUrlUtils
  • UtcOffsets renamed to rxUtcOffsets

Filters

  • Apply renamed to rxApply
  • Page renamed to rxPager
  • Paginate renamed to rxPaginate
  • SelectFilter renamed to rxSelectFilter
  • titleize renamed to rxTitleize
  • xor renamed to rxXor

LESS Mixins

  • .transition() removed
    • Use standard transition property instead.
  • .transition-property() removed
    • Use standard transition property instead.
  • .transition-value() removed
    • Use standard transition property instead.

Page Objects

  • exercises all require passing an instance property. No defaults will be generated.
  • *.initialize() has been removed. Use the new keyword, instead.
  • rxAccountInfo removed
  • rxApp page object removed
  • rxBreadcrumbs removed
  • rxButton page object removed
  • rxEnvironment page object removed
  • rxForm removed
  • rxInfoPanel page object removed
  • rxMisc
    • rxMisc.currencyToPennies() removed
    • rxMisc.newDate() removed
    • rxMisc.negate() removed
    • rxMisc.nullValueMatches removed
    • rxMisc.unless() removed
    • rxMisc.scrollPosition() removed
    • rxMisc.compareYLocations() removed
    • rxMisc.compareXLocations() removed
    • rxMisc.compareLocations() removed
  • rxOptionTable exercise and page object removed
  • rxPage page object removed
  • rxPermission removed
  • rxSpinner page object removed