- Add
amFromUtcpipe (#163, contributed by connormlewis)
- Add
amLocalpipe (#153, contributed by benwilkins)
- Add
amLocalepipe (#155, contributed by FallenRiteMonk) - Migrate testing framework to jest
- Fix:
amCalendarcauses protractor to timeout on waiting async Angular (#135, contributed by romanovma)
- Add missing
amAddandamSubtractpipes (fixes #130)
- Enable Angular 4 as peer dependency
Happy new year!
- Add
referenceTimeandformatargs toamCalendar(#64, contributed by irsick) - Add
amAddandamSubtractpipes (#113, contributed by dustin486) - Fix: Do not import whole Rx.js library (#117, contributed by FabienDehopre)
Promoted 1.0.0-rc.1 to final release
*** Breaking change: Requires moment 2.16.0 or newer
- Fix “Expression has changed after it was checked” (#111, contributed by nithril)
- Fix "Module 'moment' has no exported member 'UnitOfTime'" (#112)
*** Breaking change: typescript sources are no longer published in the npm package
- Inline sources in the source map file, should fix #96.
- Handle undefined dates in
amDateFormatpipe (#105, contributed by amcdnl)
*** Breaking change: source files renamed, which could affect your imports:
import { TimeAgoPipe } from 'angular-moment/TimeAgoPipe';
now becomes:
import { TimeAgoPipe } from 'angular-moment/time-ago.pipe';
All changes:
- Rename source files to follow Angular 2 Style Guide conventions
- Require
moment>= 2.13.0, and remove@types/momentfrom our dependencies (as it is already included inmoment)
- Add support for server side pre-rendering (#89, contributed by https://github.com/jmezach)
- Fix a bug caused TimeAgo and Calendar pipes not to update automatically (#94)
- Add
@types/momentto package dependencies (see #91)
- Fix exports for Rollup / Ionic 2 users (#86, contributed by TheMadBug)
- Protractor fix: run long standing timeouts outside of angular zones (#74, contributed by tiagoroldao)
- Switch to Typescript 2.0
- Angular 2 AoT (Ahead of Time) template compilation support (#68)
- Removed impure flags from pure Pipes:
amDateFormatandamDifference(#75, contributed by tiagoroldao)
- Support angular-2.0.0-rc.5 NgModules, see README for details.
- Align with the angular 2.0.0-rc.0 and the new angular packaging system
- Move
angular2from npmdependenciestopeerDependencies(see #24) - Add
amDurationpipe (#29, contributed by xenolinguist)
- include
amFromUnixpipe in the package's exports - publish our
typings.jsonto npm
- add
amFromUnixpipe (#16, contributed by lanocturne)
- Don't run
typings installon postinstall (fixes #13)
- Switch from
tsdtotypings, stop publishing themoment.jstypings to npm. - Additional unit-tests
Note: You may need to manually install moment.js typings, by running typings install --save moment in your project directory.
- add
amDateFormatpipe (#9, contributed by andreialecu) - refactor: remove the
supports()from all the pipes (it is no longer used as of angular2-beta)
- bugfix: wrong method name for cleanup, caused resource leak (#8, contributed by andreialecu)
- add
amCalendarpipe (#6, contributed by andreialecu)
- Fix 'Cannot use in app due to triple-slash references' typescript error (#2)
- Align with angular 2.0.0-beta.0
- Align with angular-2.0.0-alpha.46
- Add ES5 transpiled version and typescript definitions (.d.ts) file to the published npm package
- Align with angular-2.0.0-alpha.44
- Align with angular-2.0.0-alpha.37
- Initial release