Socket
Socket
Sign inDemoInstall

angular

Package Overview
Dependencies
0
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
15Next

1.5.6

Diff

Changelog

Source

1.5.6 arrow-stringification (2016-05-27)

Bug Fixes

  • $browser: set the url even if the browser transforms it (743b33ab, #14427, #14499)
  • $compile:
    • properly bind context to linking functions for directives with templateUrl (5ae72dc7)
    • always use the DDO as this in pre-/post-linking functions (47bc98a1, #9306)
    • don't run unnecessary update to one-way bindings (30479647, #14546, #14580)
    • removing unnecessary white space in element-transclusion comments (1116a96d, #14549, #14550)
    • properly handle setting srcset to undefined (308f22ba, #14470, #14493)
  • $injector:
  • $templateRequest: trust empty templates in $templateCache as well (10955969, #14479, #14496)
  • filters: always call splice() with 2 arguments or more (6f1fae8a, #14467, #14489)
  • ng-bind-html: watch the unwrapped value using $sce.valueOf() (instead of toString()) (1c1c9b27, #14526, #14527)
  • ngAnimate:
  • ngMessages: do not compile ngMessagesInclude template if scope is destroyed (69d9072d, #12695, #14640)
  • ngMock:
    • match HTTP request regardless of the order of query params (363fb16c, #12762)
    • pass eventHandlers to $httpBackend if passThrough is active (147650b3, #14471)

Features

  • $compile: support omitting required controller name if same as the local name (8965d57a, #14513)
  • $parse: Add support for ES6 object initializers (1c9b9e24)

Performance Improvements

<a name="1.4.11"></a>

angularcore
published 1.4.11 •

Changelog

Source

1.4.11 relentless-syncomania (2016-05-27)

Bug Fixes

Performance Improvements

  • $compile: use createMap() for directive bindings to allow fast forEach (832b383c, #12529)

<a name="1.5.5"></a>

angularcore
published 1.5.5 •

Changelog

Source

1.5.5 material-conspiration (2016-04-18)

Reverts

  • $compile: move setting of controller data to single location Reverted commit 21d148ae since it caused the Angular Material tabs directive to fail.

  • ngRoute: allow ngView to be included in an asynchronously loaded template Eagerly loading $route, could break tests, because it might request the root or default route template (something $httpBackend would know nothing about).

    It will be re-applied for v1.6.x, with a breaking change notice and possibly a way to disable the feature in tests.

    (8237482d, #1213, #6812, #14088)

Bug Fixes

  • $compile:
  • $injector: ensure functions with overridden toString() are annotated properly (d384834f, #14361)
  • ngAnimate:
    • remove event listeners only after all listeners have been called (79604f46, #14321)
    • fire callbacks when document is hidden (c7a92d2a, #14120)
    • fire callbacks in the correct order for certain skipped animations (90da3059)
  • ngClass: fix watching of an array expression containing an object (f975d8d4, #14405)
  • ngMock: fix collecting stack trace in inject() on IE10+, PhantomJS (e9c718a4, #13591, #13592, #13593)
  • ngOptions: set select value when model matches disabled option (832eba5f, #12756)
  • $http: pass event object to eventHandlers/uploadEventHandlers (25d4e5cc, #14436)

Features

Performance Improvements

<a name="1.5.4"></a>

angularcore
published 1.5.3 •

Changelog

Source

1.5.3 diplohaplontic-meiosis (2016-03-25)

Bug Fixes

Features

<a name="1.5.2"></a>

angularcore
published 1.5.2 •

Changelog

Source

1.5.2 differential-recovery (2016-03-18)

This release reverts a breaking change that accidentally made it into the 1.5.1 release. See fee7bac3 for more info.

Bug Fixes

  • ngAnimate.$animate: remove animation callbacks when the element is removed (ce7f4000)

<a name="1.5.1"></a>

angularcore
published 1.4.10 •

Changelog

Source

1.4.10 benignant-oscillation (2016-03-16)

Bug Fixes

  • core: only call console.log when window.console exists (beb00e44, #14006, #14007, #14047)
  • $animateCss: cancel fallback timeout when animation ends normally (a60bbc12, #13787)
  • $compile:
    • allow directives to have decorators (77cdc37c)
    • properly denormalize templates when only one of the start/end symbols is different (2d44a681, #13848)
    • handle boolean attributes in @ bindings (2ffbfb0a, #13767, #13769)
  • $parse:
    • prevent assignment on constructor properties (f47e2180, #13417)
    • preserve expensive checks when running $eval inside an expression (96d62cc0)
    • copy inputs for expressions with expensive checks (0b7fff30)
  • $rootScope: set no context when calling helper functions for $watch (ab5c7698)
  • $route: allow preventing a route reload (4bc30314, #9824, #13894)
  • $routeProvider: properly handle optional eager path named groups (6a4403a1, #14011)
  • copy: add support for copying Blob objects (863a4232, #9669, #14064)
  • dateFilter: follow the CLDR on pattern escape sequences (f476060d, #12839)
  • dateFilter, input: fix Date parsing in IE/Edge when timezone offset contains : (571afd65, #13880, #13887)
  • input: re-validate when partially editing date-family inputs (02929f82, #12207, #13886)
  • select: handle corner case of adding options via a custom directive (df6e7315, #13874, #13878)
  • ngOptions: always set the 'selected' attribute for selected options (f87e8288, #14115)
  • ngAnimate: properly cancel previously running class-based animations (3b27dd37, #10156, #13822)
  • ngAnimateChildren: make it compatible with ngIf (dc158e7e, #13865, #13876)
  • ngMockE2E: pass responseType to $delegate when using passThrough (947cb4d1, #5415, #5783)

Features

  • $locale: Include original locale ID in $locale (e69f3550, #13390)
  • ngAnimate: provide ng-[event]-prepare class for structural animations (796f7ab4)

Performance Improvements

  • $compile: avoid needless overhead when wrapping text nodes (946d9ae9)
  • ngRepeat: avoid duplicate jqLite wrappers (d04c38c4)
  • ngAnimate:
    • avoid jqLite/jQuery for upward DOM traversal (ab95ba65)
    • avoid $.fn.data overhead with jQuery (86416bcb)

<a name="1.5.0"></a>

angularcore
published 1.5.1 •

Changelog

Source

1.5.1 equivocal-sophistication (2016-03-16)

Bug Fixes

Features

Performance Improvements

  • ngRepeat: avoid duplicate jqLite wrappers (632e15a3)
  • ngAnimate:
    • avoid jqLite/jQuery for upward DOM traversal (35251bd4)
    • avoid $.fn.data overhead with jQuery (15915e60)

<a name="1.4.10"></a>

angularcore
published 1.5.0 •

Changelog

Source

1.5.0 ennoblement-facilitation (2016-02-05)

Bug Fixes

Features

Breaking Changes

angularcore
published 1.5.0-rc.2 •

Changelog

Source

1.5.0-rc.2 controller-requisition (2016-01-28)

Deprecation Warning

  • The ngTouch module's ngClick directive has been deprecated and disabled by default. See the breaking changes section for more information
  • The angular.lowercase and angular.uppercase functions have been deprecated and will be removed in version 1.7.0. It is recommended to use String.prototype.toLowerCase and String.prototype.toUpperCase functions instead.

Bug Fixes

Features

  • $compile:
    • allow required controllers to be bound to the directive controller (56c3666f, #6040, #5893, #13763)
    • allow directive definition property require to be an object (cd21216f, #8401, #13763)
    • call $onInit on directive controllers after all sibling controllers have been constructed (3ffdf380, #13763)
  • $locale: include original locale ID in $locale (63492a02, #13390)
  • $resource: add support for timeout in cancellable actions (d641901b, #13824)

Performance Improvements

  • $compile: avoid needless overhead when wrapping text nodes (92e4801d)
  • ngAnimate: speed up areAnimationsAllowed check (683bd92f)

Breaking Changes

The $sanitize service will now remove instances of the usemap attribute from any elements passed to it.

This attribute is used to reference another element by name or id. Since the name and id attributes are already blacklisted, a sanitized usemap attribute could only reference unsanitized content, which is a security risk.

The ngClick override directive from the ngTouch module is deprecated and disabled by default. This means that on touch-based devices, users might now experience a 300ms delay before a click event is fired.

If you rely on this directive, you can still enable it with the $touchProvider.ngClickOverrideEnabled()method:

angular.module('myApp').config(function($touchProvider) {
  $touchProvider.ngClickOverrideEnabled(true);
});

Going forward, we recommend using FastClick or perhaps one of the Angular 3rd party touch-related modules that provide similar functionality.

Also note that modern browsers already remove the 300ms delay under some circumstances:

  • Chrome and Firefox for Android remove the 300ms delay when the well-known <meta name="viewport" content="width=device-width"> is set
  • Internet Explorer removes the delay when touch-action css property is set to none or manipulation
  • Since iOs 8, Safari removes the delay on so-called "slow taps"

See this article by Telerik for more info on the topic.

Note that this change does not affect the ngSwipe directive.

<a name="1.4.9"></a>

angularcore
published 1.4.9 •

Changelog

Source

1.4.9 implicit-superannuation (2016-01-21)

Bug Fixes

Minor Features

Performance Improvements

  • ngAnimate: speed up areAnimationsAllowed check (2d3303dd)

Breaking Changes

While we do not deem the following to be a real breaking change we are highlighting it here in the changelog to ensure that it does not surprise anyone.

Possible breaking change for users who updated their code to provide a timeout promise for a $resource request in version v1.4.8.

Up to v1.4.7 (included), using a promise as a timeout in $resource, would silently fail (i.e. have no effect).

In v1.4.8, using a promise as timeout would have the (buggy) behaviour described in https://github.com/angular/angular.js/pull/12657#issuecomment-152108887. (I.e. it will work as expected for the first time you resolve the promise and will cancel all subsequent requests after that - one has to re-create the resource class. This was not documented.)

With this change, using a promise as timeout in v1.4.9 onwards is not allowed. It will log a warning and ignore the timeout value.

If you need support for cancellable $resource actions, you should upgrade to version 1.5 or higher.

<a name="1.5.0-rc.1"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc