What's New in 1.4?
Weekly release candidates
35+ new features
140+ bugs fixed
Performance improvements
New Features
Performance focussed
What's New in 1.4?
New Router
Pluralization and Gender support
ng-animate update
ng-messages update
ng-cookies update
I'm going to highlight just a few
New Router
Watch Brian's talk @ 15:10
Much better. You will love it.
So exciting that there's a whole talk about it.
Pluralization and Gender
Based on ICU MessageFormat
Use in interpolation expressions
Use in attributes
Backward compatible
Extends interpolation expressions
Declarative
Designed for future i18n support
Shared with other flavors of Angular
Pluralization
{{numMessages, plural,
=0 { You have no new messages }
=1 { You have one new message }
other { You have # new messages }
}}
Triggered by top level comma
Explain slide
Can contain interpolations
Nesting works
other is required
Gender
{{friendGender, select,
male { Invite him }
female { Invite her }
other { Invite them }
}}
ng-messages updates
- New ngMessages with multiple `includes`
- More dynamic messages
More composable
Multiple include
dynamic messages based on expressions
ng-cookies updates
- Ability to set path and domain
- Cleans up cookie update process
- Closes one of the oldest and most commented open issues :-)
only basic cookie support for a long time
needed lots of changes to add features in a good way
big overhaul
can set path / domain
numerous bugfixes
2 yr old issue closed
What's new (more)
CommonJS-friendly builds
injector - print caller name in "unknown provider" errors
ng-jq - make it possible to force jqLite or a specific jQuery version
ngOptions - add support for disabling an option
limitTo - add a beginning index argument
ngModel - add $setDirty
method
routeProvider - allow case-insensitive route matching
ngAria improvements
$http improvements
Better Performance
~30% faster digest times (vs Angular 1.3)
2-4% memory footprint improvement
Performance improvements varies depending on browser/application
explain digest as change detection
snappier, more responsive, especially for larger tables
Everyone should upgrade!
Very few breaking changes
Same browsers supported as in 1.3
care taken to not break stuff
expect most folks to not have trouble
please check the changelog
browser support
Angular 1.5
- Work will start after 1.4.0 is out
- Planning will happen in public
- Community involvement is the key
- Comment / vote on issues you want to see fixed
- Send pull requests
weekly meeting notes
you drive what gets shipped in 1.5
voting / commenting
high quality PRs
Angular 2
Watch Igor's talk @ 17:10
1.4 still the best today, then 1.5!
Shorter release cycles
usually don't promise any dates
used to take forever
focussed on faster, more frequent and smaller releases
summer for 1.5 maybe
You
can help!
3 Concrete things you can do to help us
❶ Add a Feature
Contact us
Minimal set of changes per PR
Unit tests
Follow conventions
Early feedback on design. Part of core or not? API for future.
Single feature per PR. Composable features
Unit tests are critical for any PR
Contributing guidelines
❷ Work on Issues
Write a Plunker or a failing test
Broken at master?
❸ Help closing issues and PRs
When they are no longer valid/relevant