https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
71f2189 docs: add changelog for 4.2.0-beta.1 10 May 2017, 23:11:12 UTC
dadd9f5 release: cut the 4.2.0-beta.1 release 10 May 2017, 23:02:36 UTC
a2dcb7b build: update key for pushing to PACKAGE-builds repos (#16667) 09 May 2017, 23:37:05 UTC
bb0902c refactor(compiler-cli): move the expression expression type checker (#16562) The expression type checker moved from the language service to the compiler-cli in preparation to using it to check template expressions. 09 May 2017, 23:16:50 UTC
9e661e5 docs(aio): image sweep (#16609) * fix(aio): allow code blocks to clear floated images Previously the negative margin on the code headings were causing floated images to overlay the start of a code block. Now all code block successfully clear all floated elements. * feat(aio): add a `.clear` class for clearing floating images * fix(aio): tidy up image styles The css rules for `img.right` and `img.left` allow authors easy access to floating an image on the left or right, respectively. The `.image-display` rule which was always found on a figure has been simplified so that all figures have this styling. It is very unlikely that a figure will be used outside the content area; and at this time it seems like `figure` is as good an indicator that we want this kind of styling as anything. Now that images are all tagged with width and height values, we cannot assume to modify these dimensions via CSS as it can cause the image to lose its correct proportions. Until we find a better solition we must set `height` to `auto` when the screen width is below 1300px to ensure that these images maintain their proportions as they get shrunk to fit. * docs(aio): general tidy up of image HTML in guides Previously, the guides have a lot of inline image styling and unnecessary use of the `image-display` css class. Images over 700px are problematic for guide docs, so those have been given specific widths and associated heights. * docs(aio): use correct anchor for "back to the top" link The `#toc` anchor does not work when the page is wide enough that the TOC is floating to the side. * build(aio): add `#top-of-page` to path variants for link checking Since the `#top-of-page` is outside the rendered docs the `checkAnchorLinks` processor doesn't find them as valid targets for links. Adding them as a `pathVariant` solves this problem but will still catch links to docs that do not actually exist. * fix(aio): ensure that headings clear floated images * fix(aio): do not force live-example embedded image to 100% size This made them look too big, generally. Leaving them with no size means that they will look reasonable in large viewports and switch to 100% width in narrow viewports. 09 May 2017, 22:53:32 UTC
d0e72a8 docs(*) fix dangling links in API docs (#16632) * docs(animations): fix links to `Component` animations * docs(core): fix links to `ReflectiveInjector` methods The `resolve` and other methods were moved from the `Injector` to the `ReflectiveInjector`. * docs(core): fix links to `Renderer` The local links were assuming that that methods were on the current document (e.g. `RootRenderer`), but they are actually on the `Renderer` class. * docs(router): fix links to methods * docs(forms): fix links to methods * docs(core): fix links to methods * docs(router): fix API page links and an internal link 09 May 2017, 22:51:37 UTC
b44eb32 docs(core): remove link to non-existent class in `InjectableDecorator` (#16653) Closes #16640 09 May 2017, 22:51:23 UTC
7b4a8d5 build(aio): remove "pure" property from pipe template (#16655) This information is not relevant to users, right now. Closes #16641 09 May 2017, 22:44:10 UTC
73505e2 feat(aio): scrolling tweaks per 16619 (#16660) 09 May 2017, 22:36:24 UTC
e11f529 build(aio): run docs after plunkers and zips (in setup) 09 May 2017, 13:33:40 UTC
0190df9 build(aio): local assets are not dangling links Closes #16615 Closes #16616 09 May 2017, 13:33:40 UTC
1af42ae docs(aio): doc guide tweaks (GS thru Components) Working through obvious non-image content defects, from top of menu (Getting Started) through Fundamentals/Components. 09 May 2017, 13:27:27 UTC
215611a refactor(aio): rename auto-scroll -> scroll and refactor Refactor inspired by @gkalpak feedback on PR #16619 09 May 2017, 13:11:23 UTC
98d83b2 feat(aio): scroll back to top when TOC more-items clicked to close closes #16482 Usability feature. When long embedded TOC, collapsing it should scroll user to TOC top, not leave in the middle of the page. 09 May 2017, 13:11:23 UTC
cf7689e refactor(aio): simplify/clarify some observables 09 May 2017, 13:10:58 UTC
2848f04 fix(aio): do not nav to an image url closes #16608 Formerly, tried to navigate when user clicked an anchor with an image url (to view image in a new tab) resulting in 404. Now ignores href URL with any extension and lets browser handle it. 09 May 2017, 13:10:36 UTC
5d4b36f fix(router): fix redirect to a URL with a param having multiple values (#16376) fixes #16310 PR Close #16376 08 May 2017, 22:50:33 UTC
415a0f8 test(router): simplify redirect tests (#16376) 08 May 2017, 22:50:29 UTC
e0a8376 fix(compiler): avoid a `...null` spread in extraction (#16547) This code only runs in ES5 mode in the test suite, so this is difficult to test. However `updateFromTemplate` is being called with a spread operator, as `...updateFromTemplate(...)`. The spread operator should fail on `null` values. This change avoids the problem by always returning a (possibly empty) array. PR Close #16547 08 May 2017, 22:49:43 UTC
f0f6544 fix(core): detach projected views when a parent view is destroyed (#16592) This also clarifies via a test that we only update projected views when the view is created or destroyed, but not when it is attached/detached/moved. Fixes #15578 PR Close #16592 08 May 2017, 22:49:02 UTC
fcc91d8 fix(core): projected views should be dirty checked when the declaring component is dirty checked. (#16592) Previously a projected view was only dirty checked when the component in which it was inserted was dirty checked. This fix changes the behavior so that a view is also dirty checked if the declaring component is dirty checked. Note: This does not change the order of change detection, only the fact whether a projected view is dirty checked or not. Fixes #14321 08 May 2017, 22:48:58 UTC
3887d8a feat(aio): close sidenav in narrow (mobile) mode when select a new document (#16617) closes #16603 As before this PR, when wide (side-by-side), the sidenav open/close status only changes when nav to/from marketing page in which case it opens for guide/api and closes for marketing page. 08 May 2017, 22:41:19 UTC
041f57c feat(aio): focus search when `/` is pressed (#16636) This will aid accessibility. Closes #16129 08 May 2017, 22:40:32 UTC
c5ce040 docs(core): EventEmitter docs for isAsync defaults (#15780) - solves #15758 08 May 2017, 17:47:53 UTC
98dd609 docs(animations): remove duplicate word (#16508) 08 May 2017, 17:47:13 UTC
6dc6777 docs(aio): move links from nav groups to items Fundamentals and Techniques nav groups we also links to pages. This caused counterintuitive behaviour when clicking on them. This commit moves each link from the group item to a children item, called Introduction. Closes #16604 07 May 2017, 07:14:10 UTC
5cf6426 docs(aio): fix sizing of marketing doc images This commit ensures that all the images in the marketing docs are correcly sized. Related to #16600 06 May 2017, 13:35:24 UTC
03513e9 fix(aio): constrain header-link styles The CSS rule for positioning the automated header links was too general, causing other links inside headings to be positioned incorrectly. Closes #16573 06 May 2017, 13:32:49 UTC
b9ed97c fix(aio): do not display a Toc initially Previously the `hasToc` was initialised to true, which caused a flash of unwanted "Contents" [sic] even if the page was not going to need a ToC. Closes #16597 06 May 2017, 13:32:09 UTC
799be9c feat(aio): TOC float right + service refactor TOC appears in right panel when wide and hides embedded TOC Right TOC panel height adjusts dynamically during scroll Refactored `TocService` and its tests for clarity. 06 May 2017, 06:13:31 UTC
566dab1 build(aio): upgrade to @angular/service-worker@1.0.0-beta.11 (#16594) 05 May 2017, 23:16:55 UTC
42dc2c1 refactor(aio): remove redundant test The search worker is now initialised from the `SearchBoxComponent`, which has its own tests for this. Closes #15593 05 May 2017, 20:43:02 UTC
518eb54 refactor(aio): tweak the CSS to account for new CSS classes on `aio-shell` 05 May 2017, 20:42:34 UTC
309ada5 feat(aio): add helper CSS classes to the `aio-shell` for fine grained styling Alternative to #16564 Closes #16549 05 May 2017, 20:42:34 UTC
9da6340 fix(http): flatten metadata for @angular/http/testing @angular/http/testing used to publish a metadata structure which paralleled the .d.ts structure. This causes ngc to write incorrect imports for this bundle when compiling providers using MockBackend and other http testing classes. This change restructures the @angular/http/testing build a bit, modeling it after @angular/platform-browser-animations, and produces a FESM structure that has flat metadata. Fixes #15521. 05 May 2017, 18:20:46 UTC
7ae7a84 fix(http): introduce encodingHint for text() for better ArrayBuffer support Currently, if a Response has an ArrayBuffer body and text() is called, Angular attempts to convert the ArrayBuffer to a string. Doing this requires knowing the encoding of the bytes in the buffer, which is context that we don't have. Instead, we assume that the buffer is encoded in UTF-16, and attempt to process it that way. Unfortunately the approach chosen (interpret buffer as Uint16Array and create a Javascript string from each entry using String.fromCharCode) is incorrect as it does not handle UTF-16 surrogate pairs. What Angular actually implements, then, is UCS-2 decoding, which is equivalent to UTF-16 with characters restricted to the base plane. No standard way of decoding UTF-8 or UTF-16 exists in the browser today. APIs like TextDecoder are only supported in a few browsers, and although hacks like using the FileReader API with a Blob to force browsers to do content encoding detection and decoding exist, they're slow and not compatible with the synchronous text() API. Thus, this bug is fixed by introducing an encodingHint parameter to text(). The default value of this parameter is 'legacy', indicating that the existing broken behavior should be used - this prevents breaking existing apps. The only other possible value of the hint is 'iso-8859' which interprets each byte of the buffer with String.fromCharCode. UTF-8 and UTF-16 are not supported - it is up to the consumer to get the ArrayBuffer and decode it themselves. The parameter is a hint, as it's not always used (for example, if the conversion to text doesn't involve an ArrayBuffer source). Additionally, this leaves the door open for future implementations to perform more sophisticated encoding detection and ignore the user-provided value if it can be proven to be incorrect. Fixes #15932. PR Close #16420 05 May 2017, 18:20:36 UTC
aef5245 fix(http): honor RequestArgs.search and RequestArgs.params map type Currently `new Request({search: ...})` is not honored, and `new Request({params: {'x': 'y'}) doesn't work either, as this object would have toString() called. This change allows both of these cases to work, as proved by the 2 new tests. Fixes #15761 PR Close #16392 05 May 2017, 18:20:26 UTC
547c363 feat: add .ngsummary.ts files to support AOT unit tests Design doc: https://docs.google.com/document/d/1VmTkz0EbEVSWfEEWEvQ5sXyQXSCvtMOw4t7pKU-jOwc/edit?usp=sharing 05 May 2017, 17:23:53 UTC
2714644 docs(aio): fix broken links discovered May 4th 05 May 2017, 10:05:22 UTC
d27588b feat(aio): api label styles - Moved info bar section in pipe template to be the first section to match other templates - Fixed label styling for type label - Added label styling for status label 05 May 2017, 10:04:55 UTC
a8379a4 docs(aio): remove toc from all marketing pages 05 May 2017, 09:43:36 UTC
b7caa3e fix(aio): do not route `eplnkr` URLs to / from ServiceWorker 05 May 2017, 09:42:58 UTC
3e33482 feat(aio): should not send in-page navigations to Google Analytics closes #16521 `LocationService` sends `GaService` a url stripped of fragment and query strings. `GaService` already guards against re-send of the prior url so it will only report doc changes. 05 May 2017, 09:37:36 UTC
5057e16 build(aio): throw an error if a code-example tag is not closed 04 May 2017, 22:52:17 UTC
9449eff docs(aio): improve tutorial next-steps prose/links 04 May 2017, 22:51:57 UTC
0361052 docs(aio): remove hardcoded TOC 04 May 2017, 22:51:37 UTC
cd28df6 docs: add changelog for 4.2.0-beta.0 04 May 2017, 21:41:39 UTC
59d62bc release: cut the 4.2.0-beta.0 version 04 May 2017, 21:37:20 UTC
8f46db3 docs: add changelog for 4.1.1 04 May 2017, 21:35:18 UTC
1092292 test(compiler-cli): add test for missingTranslation parameter 04 May 2017, 19:07:27 UTC
5856298 test: cleanup rxjs custom build The latest rxjs release works with closure compiler out of the box. We no longer need to compile our own. Also put closure options into a file rather than using a shell script. 04 May 2017, 19:07:27 UTC
7f9c589 feat(core): add `begin` and `end` renderer methods to track change detection 04 May 2017, 19:07:27 UTC
8931e71 build(aio): ensure that tutorial index arrives in the tutorial search area Fixes #16457 04 May 2017, 12:45:04 UTC
5bc435e feat(aio): provide icon for API packages in search 04 May 2017, 12:45:04 UTC
4dabec6 build(aio): compute search title for certain API docs 04 May 2017, 12:45:04 UTC
978376a build(aio): `doc.searchTitle` can override name in search results 04 May 2017, 12:45:04 UTC
895f47a refactor(aio): remove work-around for browsers without ServiceWorker support This essentially reverts #15731, which is no longer necessary after angular/mobile-toolkit@eeb4b22 (which is included in v1.0.0-beta.10). 04 May 2017, 11:28:19 UTC
aec65de refactor(aio): simplify DocViewer 04 May 2017, 11:23:49 UTC
2f66932 fix(aio): make `aio-top-menu .nav-link` cover the whole `<li>` Discussed in https://github.com/angular/angular/pull/16513/files#r114630560. 04 May 2017, 02:34:58 UTC
919ff12 fix(aio): cheatsheet table layout fix 04 May 2017, 02:34:12 UTC
6748aea build(aio): update to dgeni-packages 0.19.0 This contains an updated dependency to TypeScript 2.1, which supports the language constructs that we are using in Angular. 04 May 2017, 02:33:58 UTC
b3e63c0 fix(upgrade): initialize all inputs in time for `ngOnChanges()` Previously, non-bracketed inputs (e.g. `xyz="foo"`) on downgraded components were initialized using `attrs.$observe()` (which uses `$evalAsync()` under the hood), while bracketed inputs (e.g. `[xyz]="'foo'"`) were initialized using `$watch()`. If the downgraded component was created during a `$digest` (e.g. by an `ng-if` watcher), the non-bracketed inputs were not initialized in time for the initial call to `ngOnChanges()` and `ngOnInit()`. This commit fixes it by using `$watch()` to initialize all inputs. `$observe()` is still used for subsequent updates on non-bracketed inputs, because it is more performant. Fixes #16212 04 May 2017, 02:32:57 UTC
77b8a76 feat(aio): toc styling - TOC styling - TOC container placeholder 04 May 2017, 02:32:41 UTC
55b8de9 build(aio): lint examples 03 May 2017, 20:44:41 UTC
eb56ab3 fix(aio): remove top bar menu item focus jump 03 May 2017, 20:43:42 UTC
f29c6bb docs(aio): fix missing title warnings This commit provides missing titles for Press kit. License appears not to want a title. ngmodule and resources2 are no longer needed. 03 May 2017, 20:42:10 UTC
464701a docs(aio): revert removal of tutorial examples These files were inadvertently removed in #16488 but are actually still referenced. Closes #16503 03 May 2017, 20:41:05 UTC
5b96fb9 build(aio): rename `src/content` to `src/generated` This commit will definitely require a clean up of your working folder: ``` cd aio git clean -xdf yarn setup ``` 03 May 2017, 20:40:46 UTC
1cfb263 docs(aio): hide the copy button for code in StyleGuide tables. 03 May 2017, 20:38:25 UTC
9ca2b4c feat(aio): set “avoid” class by convention (filename has “.avoid.”) Most important for StyleGuide which lost example css class in migration. Also hides copy for “avoid” files. 03 May 2017, 20:30:45 UTC
673d8ae feat(aio): add attribute utils for code atty interpretation. These utils support flexible, natural attribute interpretation as applied to code-example and code-pane. Then apply those utils to code-example and live-example 03 May 2017, 20:30:45 UTC
8760bf7 build(aio): fix paths to template macros in overview-dump template 03 May 2017, 20:30:11 UTC
ea02073 build(aio): mark API docs as not having a TOC 03 May 2017, 20:30:11 UTC
b051d7f build(aio): refactor API templates for clean start 03 May 2017, 20:30:11 UTC
cade722 build(aio): upgrade to dgeni-packages@0.18.0 This contains a fix for the typescript module reader. Previously, TS modules that were of the form: ``` a/b/index.ts ``` Would be given the name `index` and id of `a/b/index`. This is not desirable, so the new version of dgeni-packages/typescript removes this `index` from the id and name, which results in name of `b` and id of `a/b`. 03 May 2017, 20:30:11 UTC
58817f5 fix(aio): do not collapse API code example indentation 03 May 2017, 20:30:11 UTC
3f1d7f7 build(aio): add the api folder to the list of template folders 03 May 2017, 20:30:11 UTC
c8dc116 docs(aio): fixing new url on glossary date pipe 03 May 2017, 20:29:04 UTC
9684d78 build: update `concurrently` to latest version The regression in `concurrently` v3.2.0 (which made us roll back to v3.1.0 in #14378) has been fixed in v3.3.0 (see kimmobrunfeldt/concurrently#89). 03 May 2017, 16:35:57 UTC
71f5b73 docs: fix links in api docs 03 May 2017, 08:22:32 UTC
5ba8c14 docs(aio): remove unnecessary anchor links from styleguide 03 May 2017, 08:21:18 UTC
ea9d8a6 docs(aio): move pipes guide under components 03 May 2017, 08:01:05 UTC
9650ff0 docs(aio): add hero “Zero” to toh-6 Update to in-memory-web-api should handle id=0. Make sure this works by having a hero with id=0 in ToH. Coincidentally delete lingering dead app/ folders Todo: fix ToH images (which have to do anyway) 03 May 2017, 07:03:55 UTC
00dce16 docs(aio): grammatical fix. remove duplicate word 'our' 03 May 2017, 07:03:03 UTC
c946a92 refactor(compiler): simplify AOT tests 02 May 2017, 22:51:54 UTC
21c96a5 feat(aio): sidenav styling extended 02 May 2017, 22:14:21 UTC
a0b9c23 feat(aio): support hiding the copy button on `code-examole` components In the API docs there are occasions where we do not wish the code snippet to have a copy button. This commit supports that by providing a new `hideCopy` attribute. 02 May 2017, 22:14:03 UTC
cb5bc76 feat(aio): move search results under search box This enables keyboarders to tab from the search box into the results. Important for a11y according to issue #16005. 02 May 2017, 22:13:40 UTC
1c8772a fix(aio): delete guide/index.md which is no longer used 02 May 2017, 22:13:15 UTC
79ed0e7 feat(aio): display API icons in search results Add API symbols for `let` and `var` so don’t have to translate those types into `const` Also replace <hr> in search results HTML with ellipses icon. 02 May 2017, 22:12:58 UTC
0c69903 feat(aio): top 5 weighted search results shown when many area results 02 May 2017, 22:12:58 UTC
04dc248 feat(aio): comment cleanup, API table styles - API table styling - Cleanup on resource page comments 02 May 2017, 17:57:54 UTC
e263e19 fix(core): don’t stop change detection because of errors - prevents unsubscribing from the zone on error - prevents unsubscribing from directive `EventEmitter`s on error - prevents detaching views in dev mode if there on error - ensures that `ngOnInit` is only called 1x (also in prod mode) Fixes #9531 Fixes #2413 Fixes #15925 01 May 2017, 22:56:25 UTC
ac220fc docs(aio): fix image size on homepage 01 May 2017, 22:52:51 UTC
3b80472 style(aio): fix comment on postProcessHtml processor Fixes https://github.com/angular/angular/pull/16336#discussion_r113891332 01 May 2017, 22:52:51 UTC
ca17d4f build(aio): auto-fill width/height to all image tags Parse all `<img>` tags, during doc-gen, and insert the width and height of the sourceed image, if neither are already specified. Warnings are reported if the `<img>` tag has no `src` attribute or the image cannot be loaded. The work is done in the `addImageDimensions` post-processor, which must be configured with a `basePath` so that it knows where to find the images. Closes #15888 01 May 2017, 22:52:51 UTC
64335d3 build(aio): capture and log errors and warnings when post-processing HTML 01 May 2017, 22:52:51 UTC
9945ce2 build(aio): move copyContentAssets processor to the base package This allows other processors who need to know about the copyContentAssets processors to ensure that the runs after the content has been copied. 01 May 2017, 22:52:51 UTC
6d9da73 build(aio): move attribute utils to helpers folder This allows these utility functions to be reused across packages. 01 May 2017, 22:52:51 UTC
c889fb1 build(aio): include new packages in docs-watch 01 May 2017, 22:52:51 UTC
back to top