close
The Wayback Machine - https://web.archive.org/web/20190322181051/https://github.com/angular/angular/commits/master
Skip to content
Image
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Permalink
Branch: master
Commits on Mar 22, 2019
  1. docs: fix minor typo in testing.md (#29464)

    ahasall authored and mhevery committed Mar 22, 2019
    PR Close #29464
  2. fix(ivy): properly check LView array size in binding asserts (#29476)

    pkozlowski-opensource authored and mhevery committed Mar 22, 2019
    This fix corrects a bug where we were passing a binding _value_
    in place of an expected binding index. This reulted in the binding
    value being compared to an array length and buggy type coercion.
    
    Fixing this bug speeds up test scenario by ~10-15%.
    
    PR Close #29476
Commits on Mar 21, 2019
  1. docs: add Siddharth Ajmera to GDE resources (#28456)

    SiddAjmera authored and mhevery committed Jan 30, 2019
    PR Close #28456
  2. docs: add NG-DE 2019 to events page (#29079)

    web-dave authored and mhevery committed Mar 2, 2019
    PR Close #29079
  3. docs: add app shell guide (#28591)

    alan-agius4 authored and mhevery committed Feb 7, 2019
    PR Close #28591
  4. docs(core): indicate OnPush applies to children (#28320)

    camsteffen authored and mhevery committed Jan 23, 2019
    Indicate the OnPush change detection strategy applies to all child directives.
    Resolves confusion from #12480.
    PR Close #28320
  5. docs: drop Coding Conventions section from style guide (#29331)

    brandonroberts authored and mhevery committed Mar 15, 2019
    Closes #24153
    
    PR Close #29331
  6. fix(ivy): handle class declarations consistently in ES5 code (#29209)

    gkalpak authored and mhevery committed Mar 20, 2019
    PR Close #29209
  7. refactor(ivy): use `ClassDeclaration` in more `ReflectionHost` methods (

    gkalpak authored and mhevery committed Mar 20, 2019
    #29209)
    
    PR Close #29209
  8. refactor(ivy): correctly type class declarations in `ngtsc`/`ngcc` (#…

    gkalpak authored and mhevery committed Mar 20, 2019
    …29209)
    
    Previously, several `ngtsc` and `ngcc` APIs dealing with class
    declaration nodes used inconsistent types. For example, some methods of
    the `DecoratorHandler` interface expected a `ts.Declaration` argument,
    but actual `DecoratorHandler` implementations specified a stricter
    `ts.ClassDeclaration` type.
    
    As a result, the stricter methods would operate under the incorrect
    assumption that their arguments were of type `ts.ClassDeclaration`,
    while the actual arguments might be of different types (e.g. `ngcc`
    would call them with `ts.FunctionDeclaration` or
    `ts.VariableDeclaration` arguments, when compiling ES5 code).
    
    Additionally, since we need those class declarations to be referenced in
    other parts of the program, `ngtsc`/`ngcc` had to either repeatedly
    check for `ts.isIdentifier(node.name)` or assume there was a `name`
    identifier and use `node.name!`. While this assumption happens to be
    true in the current implementation, working around type-checking is
    error-prone (e.g. the assumption might stop being true in the future).
    
    This commit fixes this by introducing a new type to be used for such
    class declarations (`ts.Declaration & {name: ts.Identifier}`) and using
    it consistently throughput the code.
    
    PR Close #29209
  9. refactor(ivy): implement `DtsModuleScopeResolver` from `MetadataDtsMo…

    gkalpak authored and mhevery committed Mar 21, 2019
    …duleScopeResolver` (#29209)
    
    PR Close #29209
  10. ci: add codefresh (#29305)

    filipesilva authored and mhevery committed Mar 14, 2019
    PR Close #29305
  11. ci: disable sauce-connect ssl bumping (#29447)

    devversion authored and mhevery committed Mar 21, 2019
    By default we disable SSL bumping for all requests. This is because SSL
    bumping is not needed for our test setup and in order to perform the SSL
    bumping, Saucelabs intercepts all HTTP requests in the tunnel VM and modifies
    them. This can cause flakiness as it makes all requests dependent on the SSL bumping
    middleware.
    
    See: https://wiki.saucelabs.com/display/DOCS/Troubleshooting+Sauce+Connect#TroubleshootingSauceConnect-DisablingSSLBumping
    
    PR Close #29447
  12. build(docs-infra): upgrade cli command docs sources to 18d979cdc (#29437

    gkalpak authored and matsko committed Mar 21, 2019
    )
    
    Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).
    Relevant changes in [commit range](angular/cli-builds@cafa558...18d979c):
    
    **Added**
    - help/analytics.json
    
    **Modified**
    - help/add.json
    - help/build.json
    - help/generate.json
    - help/new.json
    - help/serve.json
    
    PR Close #29437
  13. build: add @npm//jasmine-core dep back to jasmine_node_test in defaul…

    gregmagolan authored and kara committed Mar 21, 2019
    …ts.bzl (#29444)
    
    PR Close #29444
  14. build(compiler-cli): enable full TypeScript strictness (#29436)

    alxhub authored and matsko committed Mar 21, 2019
    This commit enables strict: true in TypeScript builds of
    //packages/compiler-cli.
    
    PR Close #29436
  15. refactor(service-worker): use `Adapter#parseUrl()` for all URL parsing (

    gkalpak authored and matsko committed Mar 20, 2019
    #27080)
    
    This commit also ensures that the correct implementation is used on
    environments that do not support `URL` (e.g. Node.js).
    
    PR Close #27080
  16. test(service-worker): test support for multiple apps on different sub…

    gkalpak authored and matsko committed Mar 20, 2019
    …paths of a domain (#27080)
    
    PR Close #27080
  17. feat(service-worker): support multiple apps on different subpaths of …

    sheikalthaf authored and matsko committed Mar 20, 2019
    …a domain (#27080)
    
    Previously, it was not possible to have multiple apps (using
    `@angular/service-worker`) on different subpaths of the same domain,
    because each SW would overwrite the caches of the others (even though
    their scope was different).
    
    This commit fixes it by ensuring that the cache names created by the SW
    are different for each scope.
    
    Fixes #21388
    
    PR Close #27080
  18. test(service-worker): do not create testing artifacts on environments…

    gkalpak authored and matsko committed Mar 20, 2019
    … that do not support SW (#27080)
    
    The tests will not be run anyway, so the artifacts are never used and
    there might be errors if creating the testing artifacts relies on APIs
    that are not available in that environment (e.g. `URL`).
    
    PR Close #27080
  19. test(service-worker): ensure `SwTestHarness#parseUrl()` behaves the s…

    gkalpak authored and matsko committed Mar 20, 2019
    …ame on browser and Node.js (#27080)
    
    PR Close #27080
  20. refactor(service-worker): make second parameter to `Adapter#parseUrl(…

    gkalpak authored and matsko committed Mar 20, 2019
    …)` optional (#27080)
    
    PR Close #27080
  21. docs: fix html tags in changelog (#29411)

    macjohnny authored and matsko committed Mar 20, 2019
    PR Close #29411
Commits on Mar 20, 2019
  1. docs: add Luis Aviles to GDE resources (#29405)

    luixaviles authored and matsko committed Mar 19, 2019
    PR Close #29405
  2. build(bazel): add comment about advancing the version of yarn used un…

    gregmagolan authored and matsko committed Mar 20, 2019
    …der Bazel in the future (#29431)
    
    PR Close #29431
  3. build(bazel): revert back to yarn 1.12.1 under Bazel to fix Windows f…

    gregmagolan authored and matsko committed Mar 20, 2019
    …ile-in-use issues (#29431)
    
    PR Close #29431
  4. fix(ivy): emit generic type arguments in Pipe metadata (#29403)

    JoostK authored and matsko committed Mar 19, 2019
    Previously, only directives and services with generic type parameters
    would emit `any` as generic type when emitting Ivy metadata into .d.ts
    files. Pipes can also have generic type parameters but did not emit
    `any` for all type parameters, resulting in the omission of those
    parameters which causes compilation errors.
    
    This commit adds support for pipes with generic type arguments and emits
    `any` as generic type in the Ivy metadata.
    
    Fixes #29400
    
    PR Close #29403
  5. fix(ivy): ChangeDetectorRef should be injectable on ng-container (#29424

    marclaval authored and matsko committed Mar 20, 2019
    )
    
    PR Close #29424
  6. fix(ivy): Class selector directives execute properly on container ele…

    benlesh authored and matsko committed Mar 18, 2019
    …ments (#29383)
    
    PR Close #29383
  7. test: remove symlink workaround (#29426)

    alan-agius4 authored and matsko committed Mar 20, 2019
    This is no longer required. And is causing some errors to some of our engineers
    
    PR Close #29426
  8. feat(ivy): ngcc - support creating a new copy of the entry-point form…

    petebacondarwin authored and matsko committed Mar 20, 2019
    …at (#29092)
    
    This commit adds a `NewEntryPointFileWriter` that will be used in
    webpack integration. Instead of overwriting files in-place, this `FileWriter`
    will make a copy of the TS program files and write the transformed files
    there. It also updates the package.json with new properties that can be
    used to access the new entry-point format.
    
    FW-1121
    
    PR Close #29092
Older
You can’t perform that action at this time.