instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
angelolab__Nimbus__14
angelolab/Nimbus
14
defect
7cf8d1d4b57f60e4fcd017b5c9e4eca355720d9b
84e1eae56441dce0b1f544d7206e9897db725a7e
Prepare example
**What is the purpose of this PR?** Adding the remaining functionalities `make_tf_record`, `serialize_example`, `tile_example` and `prepare_example` as well as the parse function `parse_dict` that takes a tfrecord example consisting of byte strings and parses it into a dict of tensors, dataframes and strings. This P...
diff --git a/cell_classification/segmentation_data_prep.py b/cell_classification/segmentation_data_prep.py index 78c8849..a3c3425 100644 --- a/cell_classification/segmentation_data_prep.py +++ b/cell_classification/segmentation_data_prep.py @@ -10,7 +10,6 @@ import json from ark.utils.misc_utils import verify_in_list...
7
7
1
[{"id": "G0", "claim": "Normalization should eventually be moved out of prepare_example into its own function so data is normalized once instead of on every load, though the reviewer notes this is not necessary for the first pass and filing an issue would suffice.", "category": "performance", "verdict": "supported", "p...
null
angelolab__Nimbus__18
angelolab/Nimbus
18
defect
bbaaa75015a34ccb2d98ef61d25c845e0e8feb8a
67b68d9fc2360f723caefa879e9748102d0971b3
Training script
**What is the purpose of this PR?** This PR adds the training script for the cell classification model. I didn't open an issue beforehand so this PR closes none. **How did you implement your changes** Class `Trainer` in `cell_classification/train.py` contains the training loop, loading of data and models as we...
diff --git a/.travis.yml b/.travis.yml index 1b173f4..3a62b70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ git: language: python python: - - 3.8 + - 3.8.0 install: - travis_retry pip install -r requirements.txt diff --git a/cell_classification/augmentation_pipeline.py b/cell_classification/a...
5
2
1
[{"id": "G0", "claim": "Tests should be added for the new augmentation functions that at least run them with an augmentation object and check they don't error.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The raw_keys/label_keys entries in params.toml...
null
angelolab__Nimbus__20
angelolab/Nimbus
20
defect
a83435aecc2ca43c4b00d4a606c648c54fec422d
b44f248ba6277e043c82eca073329838ccfb54c9
Predict with model and calculate pixel-wise evaluation metrics
**What is the purpose of this PR?** This code loads a model checkpoint and the associated `params.toml` and prepares predictions and calculates pixel-level metrics (ROC curve, AUC, precision, recall, f1_score) for the binary segmentation problem. This PR closes issue #19 **How did you implement your changes** ...
diff --git a/cell_classification/configs/params.toml b/cell_classification/configs/params.toml index f67dbb2..ede86c0 100644 --- a/cell_classification/configs/params.toml +++ b/cell_classification/configs/params.toml @@ -13,8 +13,8 @@ scale_min = 0.8 scale_max = 1.2 shear_angle = 0.2 elastic_prob = 0.5 -elastic_alph...
5
5
1
[{"id": "G0", "claim": "Keeping the whole validation set (and all accumulated predictions) in memory in predict() may eventually become a problem as the dataset grows.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pixel-level ROC/metrics calcul...
null
angelolab__Nimbus__24
angelolab/Nimbus
24
defect
8eb4a1803abe4dffa9f302907b34cdfb3ccbeefb
b47635b90498d1d89f61a0086b09231db4608f0e
Implemented subset plots
**What is the purpose of this PR?** This PR closes #23 . It contains code to prepare facet plots for arbitrary subsets of the cell-level predictions to get a clearer picture of error cases. **How did you implement your changes** I added functions `collapse_activity_dfs`, `subset_activity_df` and `subset_plots`...
diff --git a/cell_classification/configs/params.toml b/cell_classification/configs/params.toml index 907e469..eee5ed8 100644 --- a/cell_classification/configs/params.toml +++ b/cell_classification/configs/params.toml @@ -30,7 +30,7 @@ steps_per_epoch = 100 loss_fn = "BinaryCrossentropy" loss_selective_masking = true ...
2
2
1
[{"id": "G0", "claim": "The code has a small error that shows up when it is applied on real data, so an updated version fixing it needs to be uploaded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "collapse_activity_dfs should collect the activity ...
null
angelolab__Nimbus__33
angelolab/Nimbus
33
defect
32d01a9dd54ce562ad835bb525390c458e602744
1de0399c08714c1b37f2daa61f3d2e612b73ea17
Data aug
**What is the purpose of this PR?** This PR closes #26 by adding the tf augmentation pipeline and mixup. **How did you implement your changes** Added classes `Flip`, `Rot90`, `GaussianNoise`, `GaussianBlur`, `Zoom`, `LinearContrast`, `MixUp` and `Augmenter`. Augmenter applies augmentations on each image in a b...
diff --git a/cell_classification/augmentation_pipeline.py b/cell_classification/augmentation_pipeline.py index 5115870..f989301 100644 --- a/cell_classification/augmentation_pipeline.py +++ b/cell_classification/augmentation_pipeline.py @@ -4,6 +4,7 @@ from imgaug.augmentables.batches import Batch import numpy as np ...
3
3
0
[{"id": "G0", "claim": "The author should state what image rank the augmentations actually receive (3D row x col x 1 vs 4D) so the rank-dependent control flow in the augmentations is justified.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The MixUp cod...
null
angelolab__Nimbus__36
angelolab/Nimbus
36
defect
2a9a1e86eca237b2063a796f654ed9337f4dd7e4
f744f2e2437a8cfb5b02736116505685385a7a29
Filter out sparse examples from the training data
**What is the purpose of this PR?** This PR closes #34 by adding function `quantile_filter` to `ModelBuilder`. **How did you implement your changes** Added function `quantile_filter` to the `ModelBuilder` class that first calculates the x-quantile of positive cells per tile for each marker and then filters out t...
diff --git a/cell_classification/model_builder.py b/cell_classification/model_builder.py index e2c2246..07a3bfc 100644 --- a/cell_classification/model_builder.py +++ b/cell_classification/model_builder.py @@ -41,6 +41,10 @@ def prep_data(self): ) dataset = dataset.map(parse_dict, num_parallel_calls=tf...
2
2
1
[{"id": "G0", "claim": "The computed per-marker positive-cell counts should be persisted (appended to the tf.record or stored elsewhere) so the quantiles only need to be calculated once and a different threshold can be used in subsequent rounds on the same data.", "category": "performance", "verdict": "supported", "pri...
null
angelolab__Nimbus__37
angelolab/Nimbus
37
defect
904cd7066ee2f58e8a42fa72f87d0f9d9c7ac81f
8a9b2fd144c15d9508e2ec59b7e56d30480d126a
Added deepcell application wrapper for model
**What is the purpose of this PR?** Wraps the model with the deepcell `Application` class that does batching and tile & stitch during inference. **How did you implement your changes** Added the required functions `cell_preprocess`, `cell_postprocess` and `format_output` as well as class `CellClassification` th...
diff --git a/cell_classification/application.py b/cell_classification/application.py new file mode 100644 index 0000000..6f6f768 --- /dev/null +++ b/cell_classification/application.py @@ -0,0 +1,67 @@ +import numpy as np +from deepcell.applications import Application + + +def cell_preprocess(image, **kwargs): + """P...
3
2
0
[{"id": "G0", "claim": "The reviewer asks whether normalizing only channel 0 (indexing into the channels dimension) is necessary.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "There should be a separate test for the normalize (cell_preprocess) function....
null
angelolab__Nimbus__4
angelolab/Nimbus
4
defect
c1eb5f65e9aa4075d87471a67f2435750de77154
a4018e9310a276fb1b26a24f15dc6d5bb18a4d82
Data preparation
**What is the purpose of this PR?** It adds a skeleton to the `prepare_example` function that fleshes out how a single training example will be generated. This is done to check if anything is missing in the design concept. **How did you implement your changes** The necessary functions are chained and their out...
diff --git a/cell_classification/segmentation_data_prep.py b/cell_classification/segmentation_data_prep.py index d017c6d..c79a14d 100644 --- a/cell_classification/segmentation_data_prep.py +++ b/cell_classification/segmentation_data_prep.py @@ -4,6 +4,8 @@ import numpy as np import os import xarray +from tqdm import...
2
2
2
[{"id": "G0", "claim": "The arguments of get_cell_types don't match the arguments down below in the example, and the labeled image shouldn't be needed - the cell_table can just be subset to the name of the image being looked at to get the list of cells present.", "category": "design", "verdict": "supported", "priority"...
null
angelolab__Nimbus__47
angelolab/Nimbus
47
defect
84e1340b9725db91502879a34e01642cfdc29755
b2c9f03552b815cb4eb4de1c3beb007645c84e63
Added worst n plots and heatmaps of per cell precision, recall, spec, f1
**What is the purpose of this PR?** This PR closes #45 and adds functionality to automatically generate validation dataset performance metric plots and tables and visualizations of the worst n predictions. In a future PR this will be extended for the case of multiple validation datasets. **How did you implement y...
diff --git a/cell_classification/evaluation_script.py b/cell_classification/evaluation_script.py index 1963e3a..45c0ea0 100644 --- a/cell_classification/evaluation_script.py +++ b/cell_classification/evaluation_script.py @@ -6,9 +6,7 @@ import numpy as np from metrics import load_model_and_val_data, calc_roc, average...
2
2
2
[{"id": "G0", "claim": "There should be an option to compute/plot the worst n predictions by marker, in addition to the global worst_n selection.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "An option for best_n should be added alongside worst_n to ena...
null
angelolab__Nimbus__5
angelolab/Nimbus
5
defect
845f831689c112179b49f75eea75b7567003f749
b20eba5e4b4d842cc3aabc8fb0a5bfff82ef28f8
Calculate normalization matrix
**What is the purpose of this PR?** Added `calculate_normalization_matrix` and `get_instance_mask` functions and tests. **How did you implement your changes** Replaced dummy code in `segmentation_data_prep.py`. **Remaining issues** None
diff --git a/cell_classification/segmentation_data_prep.py b/cell_classification/segmentation_data_prep.py index 60d4176..28235c4 100644 --- a/cell_classification/segmentation_data_prep.py +++ b/cell_classification/segmentation_data_prep.py @@ -2,6 +2,7 @@ from skimage.morphology import erosion import tensorflow as t...
16
15
5
[{"id": "G0", "claim": "The cell mask key is generally not the segmentation image's name in their data, so get_instance_mask should take a separate argument specific to the segmentation mask name.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The p...
null
angelolab__Nimbus__60
angelolab/Nimbus
60
defect
02b0d8fde6ee5f76ebcf7a0e88da40c999e1cd9a
cfed459dd61518c6ed5f4ae6b30586fdb991c885
Added seeds to tests and changed conftest to work on my machine
Hi @srivarra, I got the tests to run on my machine and here's a PR that has the necessary changes. I'd be happy to get some feedback from you. **What is the purpose of this PR?** Purpose of this PR is to make the tests run on my local device , without installing the codebase as a package. Installing the module i...
diff --git a/conftest.py b/conftest.py index 76c000a..74b2f18 100644 --- a/conftest.py +++ b/conftest.py @@ -2,7 +2,12 @@ import pytest import toml +import os +import sys +os.environ["CUDA_VISIBLE_DEVICES"] = "-1" +sys.path.append(os.path.join(os.path.dirname(__file__), "src")) +sys.path.append(os.path.join(os.pa...
1
1
0
[{"id": "G0", "claim": "The tests and test utility functions should pass in the `rng` fixture from conftest.py and use the numpy Generator API (e.g. `rng.integers`) instead of global `np.random.seed` calls, so results are reproducible across systems.", "category": "testing", "verdict": "supported", "priority": "P2", "s...
null
angelolab__Nimbus__7
angelolab/Nimbus
7
defect
09f61d6e652aee19d56a8aef9cc4feffd901ed99
6f763675e2913254fb38cac9a8872126f3df8502
Make marker activity GT masks
**What is the purpose of this PR?** Constructing the gt marker activity masks given the cell segmentations, the conversion table and the cell table. **How did you implement your changes** I implemented the functions - `get_cell_types(sample_name)`: subsets `cell_table` and returns only the rows that come fro...
diff --git a/cell_classification/segmentation_data_prep.py b/cell_classification/segmentation_data_prep.py index 6dff4ac..c21c6b8 100644 --- a/cell_classification/segmentation_data_prep.py +++ b/cell_classification/segmentation_data_prep.py @@ -66,6 +66,7 @@ def __init__( self.imaging_platform = imaging_platfo...
4
4
1
[{"id": "G0", "claim": "The get_cell_types lookup probably doesn't need to be a whole function; it can be removed later if the team decides to.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The marker-activity and mask functions could be combined to han...
null
angelolab__Nimbus__84
angelolab/Nimbus
84
defect
b418eb842ee095afd0a9abe79be98a66ba157127
f44f901652caf6959c0caf7631a36b08573a6e60
Update training code
**If you haven't already, please read through our [contributing guidelines](https://ark-analysis.readthedocs.io/en/latest/_rtd/contributing.html) before opening your PR** **What is the purpose of this PR?** A clear description of what this PR is adding to the repository. Describe the bug that you've fixed or the ...
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0346464..6814b8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,8 +23,8 @@ jobs: - name: Check wheel Metadata run: pipx run twine check dist/* - - name: Store Wheel Artifacts - u...
5
2
2
[{"id": "G0", "claim": "After cloning avg_model, its weights should be initialized to match the main model (e.g. via set_weights) before EMA updates start, otherwise the EMA starts from random weights.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
angr__angr__4595
angr/angr
4,595
defect
b601b58330ae8f5a777a52b394538dc79d7abcef
f242d6a1e8f08806e663f0023cc32e83618cb1a1
Support inlining of callees during decompilation
Traditionally, we decompile a function at a time, but this can be annoying with: - complex data flow through small handlers - wrapper functions - all sorts of cases where you don't want to keep clicking into things This PR adds support to angr to inline functions during decompilation, subjecting the resulting s...
diff --git a/angr/analyses/decompiler/clinic.py b/angr/analyses/decompiler/clinic.py index b26c43b77aa8..4383c59a24f0 100644 --- a/angr/analyses/decompiler/clinic.py +++ b/angr/analyses/decompiler/clinic.py @@ -26,6 +26,7 @@ SimTypeFloat, SimTypePointer, ) +from ..stack_pointer_tracker import Register, Offse...
4
1
0
[{"id": "G0", "claim": "The inlining code that removes calls and their windups hardcodes the specific statement cases, and the author asks ltfish for design advice on this approach.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test_inlining errors in C...
null
angr__angr__4610
angr/angr
4,610
defect
617c57cb46fc1090d644632eeaf30b93d974b8d3
8f7fae62c755debd713875db2a11626e00688b4d
SimType & friends: Fully typecheck, fix observed bugs
This involved making several classes NOT subclasses of other classes, since doing so would violate the Liskov Substitution Principle. Several bugs were discovered while making these changes, they were all fixed. Type-checking was done with pyright.
diff --git a/angr/analyses/decompiler/structured_codegen/c.py b/angr/analyses/decompiler/structured_codegen/c.py index 5406b56b9db..93ef73498f8 100644 --- a/angr/analyses/decompiler/structured_codegen/c.py +++ b/angr/analyses/decompiler/structured_codegen/c.py @@ -2766,9 +2766,7 @@ def _force_type_cast(src_type_: SimTy...
3
1
0
[{"id": "G0", "claim": "The pull request should use `from __future__ import annotations` in the modules it changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the new way of testing for a bottom type is `.size is No...
null
angr__angr__5229
angr/angr
5,229
defect
1ed83c62887b3e0cabed93592d20569f72634063
9290ac1b0b083f80d47694ec9e6baaf75fbd56a8
Fix a couple RDA bugs
- Handle basic stack pointer alignment. The approach here is consistent with what is done now in [StackPointerTracker](https://github.com/angr/angr/blob/1ed83c62887b3e0cabed93592d20569f72634063/angr/analyses/stack_pointer_tracker.py#L591). - Fix an issue with loading pointer values off the stack with the wrong endness...
diff --git a/angr/analyses/reaching_definitions/engine_vex.py b/angr/analyses/reaching_definitions/engine_vex.py index a26465d6f798..299490742b54 100644 --- a/angr/analyses/reaching_definitions/engine_vex.py +++ b/angr/analyses/reaching_definitions/engine_vex.py @@ -12,7 +12,8 @@ from angr.engines.vex.claripy.datalaye...
1
1
0
[{"id": "G0", "claim": "The comment '# CAUTINO:w experimental' that the pull request adds above _handle_expr_ITE in engine_vex.py appears to be a typo of '# CAUTION: experimental'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angr__angr__6202
angr/angr
6,202
defect
b7b9cecc309287bda8abdb584de00a873b4ec113
f146ecbf3ffe38f8d43515a8ed456bc8948c56a2
Caching Icicle State
Caches icicle state at fuzzer initialization, then only updates registers/writable memory in subsequent fuzzer iterations.
diff --git a/angr/engines/icicle.py b/angr/engines/icicle.py index 89a84089528..22402e57e13 100644 --- a/angr/engines/icicle.py +++ b/angr/engines/icicle.py @@ -4,6 +4,7 @@ import logging import os +from contextlib import suppress from dataclasses import dataclass from typing import cast @@ -11,6 +12,7 @@ from...
3
2
1
[{"id": "G0", "claim": "Add a test that, when a new page is allocated or a page is freed relative to the cached state, the sync copies the correct set of pages.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Make the sync function public rather than cal...
null
angr__angr__6346
angr/angr
6,346
defect
c6630f415480b558e3128fc568e59b9d9e080676
5c3fdf6a2ccad34742bb33044fc94e75fc895d48
Fuzzer infrastructure: engine caching, custom breakpoints, icicle bump
…tic mutations - Cache UberIcicleEngine across fuzzer iterations with snapshot mode - Support state.globals['_fuzzer_breakpoints'] for user-controlled breakpoints - Add DeterministicMutator for predictable test mutations - Add max_mutations parameter and executions getter - Handle EMULATION_GAP as ExitKind::Ok ...
diff --git a/Cargo.lock b/Cargo.lock index f21f08cc14e..61f43787e53 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7,12 +7,21 @@ name = "addr2line" version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" +dependen...
2
2
1
[{"id": "G0", "claim": "The icicle-emu git dependencies in native/angr/Cargo.toml should point at the angr fork instead of the author's personal fork (rileyseefeldt/icicle-emu).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The EMULATION_GAP ex...
null
angr__cle__167
angr/cle
167
defect
5b85d7adc5b895aea16be21a97656677416b818b
7411d71f91c4bda3bee4ef8f30514d983ab3e5a7
Implement Simple Preloading
Re: #144 Very simplistic `LD_PRELOAD` implementation. It's not yet tested on Windows but this is for basic code review.
diff --git a/cle/loader.py b/cle/loader.py index 1b445652a..ab2f81a02 100644 --- a/cle/loader.py +++ b/cle/loader.py @@ -52,7 +52,8 @@ class Loader: :param aslr: Load libraries in symbolic address space. Do not use this option. :param page_size: The granularity with which data is mapp...
6
6
3
[{"id": "G0", "claim": "As implemented, force_load_libs entries are also appended to preload_libs, so all force-loaded libs act as if they were preloaded (get symbol resolution and relocation precedence); rhelmot asks to fix this and proposes adding a kwarg to _internal_load for whether the batch is preloading and runn...
null
angr__cle__202
angr/cle
202
defect
135a15ed7ec4326d61bd7c2ec7786eb504bf6d6f
75a30121a6f01efe814e5d58365fe8fc34601377
Upstream the internal Macho-O Backend Changes
This PR contains the changes from the internal CLE fork at Fraunhofer SIT. For the most part this is _not_ my code, 73909fb is simply a checkout of the internal backend code over the current upstream code base.The code was mostly written by Andreas Wittman and Christian Rueckriegel. The testcases were also already e...
diff --git a/cle/backends/macho/binding.py b/cle/backends/macho/binding.py index cb4a9b990..57a4f1ba6 100644 --- a/cle/backends/macho/binding.py +++ b/cle/backends/macho/binding.py @@ -1,9 +1,11 @@ # -*-coding:utf8 -*- # This file is part of Mach-O Loader for CLE. -# Contributed December 2016 by Fraunhofer SIT (https...
4
4
3
[{"id": "G0", "claim": "Making self.symbols a SortedKeyList with key=lambda: True breaks find_symbol, describe_addr and the rest of the API, which expects symbols sorted by address; self.symbols should be an ordinary address-sorted list with a separate list kept in insertion order for the mach-o analyses that need it."...
null
angr__cle__218
angr/cle
218
defect
0bf34745e8be39aea67adc6e03b2282f8ab198fd
e824029b1446f19852465e70486bcadb4fa16753
Support guessing initial rtoc value for PPC64 ABIv2
This patch will add support for guessing the initial rtoc value based on the virtual address of the .got section, if present. According to the [ABIv2 spec](http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/dbdoclet.50655241_66700.html), the typical location for the TOC is `addr(.got)+0x8000`. Th...
diff --git a/cle/backends/elf/metaelf.py b/cle/backends/elf/metaelf.py index 690a883c1..eb5ce6597 100644 --- a/cle/backends/elf/metaelf.py +++ b/cle/backends/elf/metaelf.py @@ -1,6 +1,7 @@ import pyvex import elftools import os +import logging from .. import Backend from ..symbol import SymbolType @@ -11,6 +12,7...
2
2
1
[{"id": "G0", "claim": "The new module-level logger should be created with the modern angr convention, logging.getLogger(name=__file__), instead of a hardcoded string logger name.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request s...
null
angr__cle__222
angr/cle
222
defect
d05dcaa8526739a034ca7b0631851e02034e997a
d91c64b924c01c04d9564869625a71fab0c9e423
Add a new backend for XBE (Xbox Executable) files
This adds a new backend to CLE to support loading the executable files for the original Microsoft Xbox game console. This builds on an independent library that I've developed outside of CLE to parse XBE files, [pyxbe](https://github.com/mborgerson/pyxbe), in the same way that CLE depends on pyelftools/pefile/etc to do ...
diff --git a/cle/backends/__init__.py b/cle/backends/__init__.py index f6ccb5f40..86029861f 100644 --- a/cle/backends/__init__.py +++ b/cle/backends/__init__.py @@ -374,6 +374,7 @@ def register_backend(name, cls): from .named_region import NamedRegion from .java.jar import Jar from .java.apk import Apk +from .xbe im...
4
2
1
[{"id": "G0", "claim": "The imports at the top of cle/backends/xbe.py should be reordered into the standard grouping: Python packages, third-party packages, angr packages, then internal relative modules.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla...
null
angr__cle__316
angr/cle
316
defect
e230c39ac7f4f884454bba960c835daad5f5c557
6319b7952792b139b4425d3cce8f2415e97c0f91
Added a remote_file_mapper option to the elfcore backend
This option allows the user to specify a function to do remote file mapping (instead of a dictionary, which remote_file_mapping allows). Kept the old ability to use remote_file_mapping as well, but it's translated into a function call internally (to simply the mapping code). Improved elfcore class docstring with...
diff --git a/cle/backends/elf/elfcore.py b/cle/backends/elf/elfcore.py index d558ee212..33a147297 100644 --- a/cle/backends/elf/elfcore.py +++ b/cle/backends/elf/elfcore.py @@ -20,10 +20,26 @@ class ELFCore(ELF): """ Loader class for ELF core files. + + One key pain point when analyzing a core dump genera...
1
1
0
[{"id": "G0", "claim": "Avoid re-adding the nose import to this repository in the new test file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angr__cle__419
angr/cle
419
defect
23edc1e95b0b1bace308ca80b5a8189bf8cbf8f3
0c02a3b79efef471cf9843632330ebed0507f4fe
Add basic COFF (.obj) file support
Adds basic support for loading x86 and x86-64 COFF object files, per [MSDN spec](https://learn.microsoft.com/en-us/windows/win32/debug/pe-format)
diff --git a/cle/__init__.py b/cle/__init__.py index ab1b072b2..c63f6a3c6 100644 --- a/cle/__init__.py +++ b/cle/__init__.py @@ -19,6 +19,7 @@ BackedCGC, Backend, Blob, + Coff, ELFCore, ExceptionHandling, FunctionHint, @@ -81,6 +82,7 @@ "BackedCGC", "Backend", "Blob", + ...
1
1
0
[{"id": "G0", "claim": "The new cle/backends/coff.py should not carry a `#!/usr/bin/env python3` shebang since the file is not intended to be run as main.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular-cli__29753
angular/angular-cli
29,753
defect
005f511ef6430e305dede9c0ac9dd38a18ceeba9
e4c41951a380709a775b68bb919501d932cc9ac0
fix(@angular/build): exclude all entrypoints of a library from prebundling
The configuration now ensures that when a package is listed for exclusion, all paths within that package including sub-paths like `@foo/bar/baz` are marked as external and not prebundled by the development server. For example, specifying `@foo/bar` in the exclude list will prevent the development server from bund...
diff --git a/packages/angular/build/src/builders/application/execute-build.ts b/packages/angular/build/src/builders/application/execute-build.ts index d07e2a793732..c8890a17818c 100644 --- a/packages/angular/build/src/builders/application/execute-build.ts +++ b/packages/angular/build/src/builders/application/execute-bu...
1
1
0
[{"id": "G0", "claim": "Rename the misspelled helper `isExplicateExternal` to `isExplicitExternal` (suggested code change on the added line).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
angular__angular-cli__30072
angular/angular-cli
30,072
defect
eeba3a8889bc3a0505afcb411ced91aad48b6c92
ff6d1b4ac4633fdc717b7657fd3c8ab85d6a0ed0
fix(@angular/ssr): support `getPrerenderParams` for wildcard routes
Handle `getPrerenderParams` return values when used with wildcard route paths, including support for combined routes like `/product/:id/**`. Supports returning an array of path segments (e.g., `['category', '123']`) for `**` routes and dynamic segments combined with catch-all routes. This enables more flexible prer...
diff --git a/goldens/public-api/angular/ssr/index.api.md b/goldens/public-api/angular/ssr/index.api.md index 81764fcc1f62..66ec1d0f5986 100644 --- a/goldens/public-api/angular/ssr/index.api.md +++ b/goldens/public-api/angular/ssr/index.api.md @@ -63,7 +63,7 @@ export interface ServerRoutePrerender extends Omit<ServerRo...
6
4
3
[{"id": "G0", "claim": "Consider adding a separate option such as `getPrerenderPath` or `getPrerenderSegments` instead of reusing `getPrerenderParams` for wildcard routes.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The API supports a params object (for...
null
angular__angular-cli__30761
angular/angular-cli
30,761
defect
5d085ee104af79f44cdf6d921268909ab86faafe
4186d3ed56e24f16ec4dff259a0e6fe38f1ff014
fix(@angular-devkit/build-angular): expand `jest` and `jest-environment-jsdom` to allow version 30
This commit expands the peer deps of these dependencies to allow version 30. Closes #30760
diff --git a/packages/angular_devkit/build_angular/package.json b/packages/angular_devkit/build_angular/package.json index a2eedc8229d7..0e278a95e2af 100644 --- a/packages/angular_devkit/build_angular/package.json +++ b/packages/angular_devkit/build_angular/package.json @@ -81,8 +81,8 @@ "@angular/ssr": "^0.0.0-PL...
1
1
0
[{"id": "G0", "claim": "Limit jest support to the latest major (drop v29) since the builder is experimental and carries no backwards-compatibility obligation, unless dropping v29 would be exceptionally difficult for users to adopt.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
angular__angular-cli__31067
angular/angular-cli
31,067
defect
2c498d2b87c13a63bef2a9be2ca4f087c72c6b8a
169ed14d8bacf760287b27f8c910e0522b54dc46
fix(@angular/cli): improve list_projects MCP tool to find all workspaces in monorepos
The `list_projects` MCP tool is enhanced with better monorepo support by correctly discovering all `angular.json` files in any subdirectory. The tool's description is also rewritten to follow best practices for LLM consumption, using structured tags like `<Purpose>`, `<Use Cases>`, and `<Operational Notes>` to provi...
diff --git a/packages/angular/cli/src/commands/mcp/tools/projects.ts b/packages/angular/cli/src/commands/mcp/tools/projects.ts index dc71f6d5fd2b..85a34f9a34b0 100644 --- a/packages/angular/cli/src/commands/mcp/tools/projects.ts +++ b/packages/angular/cli/src/commands/mcp/tools/projects.ts @@ -6,53 +6,103 @@ * found ...
1
1
1
[{"id": "G0", "claim": "The `glob` function imported from node:fs/promises is only available in Node 22, but the project still supports and tests Node 20, so it must not be used in this change.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
angular__angular-cli__31247
angular/angular-cli
31,247
defect
fe77f97f1f9079819fa55773f4453544e3d8e29d
6830620406afbc277eb5aa61cb32e62cbbeef65d
fix(@schematics/angular): use fixture.whenStable() instead of fixture detectChanges() for zoneless apps
Closes #31193 ## PR Checklist Please check to confirm your PR fulfills the following requirements: <!-- Please check all that apply using "x". --> - [x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the...
diff --git a/packages/schematics/angular/application/files/module-files/src/app/app__suffix__.spec.ts.template b/packages/schematics/angular/application/files/module-files/src/app/app__suffix__.spec.ts.template index 43a982f1f3b1..90437619f44c 100644 --- a/packages/schematics/angular/application/files/module-files/src/...
5
5
0
[{"id": "G0", "claim": "The added application-spec test asserting provideZonelessChangeDetection() for zoneless standalone:false apps isn't necessary anymore in v21 and should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The expectation th...
null
angular__angular-cli__31497
angular/angular-cli
31,497
defect
53180a8f794eac0ecf66aba837542f64389ed25b
27ffba90126a90a10bba37622cb4092c10bc1482
fix(@angular/ssr): ensure server-side navigation triggers a redirect
When a navigation occurs on the server-side, such as using `router.navigate`, and the final URL is different from the initial URL that was requested, the server should respond with a redirect. Previously, the initial URL was being read from `router.lastSuccessfulNavigation.initialUrl`, which could be incorrect in sc...
diff --git a/packages/angular/ssr/src/utils/ng.ts b/packages/angular/ssr/src/utils/ng.ts index fe8148727425..34b2e8e36024 100644 --- a/packages/angular/ssr/src/utils/ng.ts +++ b/packages/angular/ssr/src/utils/ng.ts @@ -96,24 +96,26 @@ export async function renderAngular( applicationRef = await bootstrap({ platfo...
3
2
1
[{"id": "G0", "claim": "The redirect spec case should be exercised via a guard instead of a component calling router.navigate, because the current approach causes the navigation to not complete successfully.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
angular__angular-cli__31722
angular/angular-cli
31,722
defect
c3c9ac5067275461e2d8caefba81ac9701949776
33da0a0623c53ba4e328e17bfb56a1da3d1b6d1c
fix(@angular/build): simplify SSL handling for `ng serve` with SSR
This commit simplifies the handling of self-signed SSL certificates for `ng serve` with SSR. Previously, tests and potentially users had to set `NODE_TLS_REJECT_UNAUTHORIZED` or `NODE_EXTRA_CA_CERTS` to bypass certificate validation issues with self-signed certificates. Closes #31710
diff --git a/package.json b/package.json index 2a45ab656476..a04ea47beead 100644 --- a/package.json +++ b/package.json @@ -169,6 +169,7 @@ } }, "resolutions": { - "typescript": "5.9.3" + "typescript": "5.9.3", + "undici-types": "^7.16.0" } } diff --git a/packages/angular/build/BUILD.bazel b/pack...
2
2
1
[{"id": "G0", "claim": "The `https.key` private key should not be passed into the dispatcher's CA configuration, since the CA list is about trusting other parties' certificates — even if it likely doesn't break anything, better not to pass private keys around even dev-only ones.", "category": "security", "verdict": "su...
null
angular__angular-cli__32045
angular/angular-cli
32,045
defect
0cc102e5011a3fc4b41dcaad16e616d67974e53d
d9325f4f72aa88255868646be2a1e1f5545f4e24
test: remove RxJS from E2E process utility
Replaces RxJS-based retry logic in `execAndWaitForOutputToMatch` with standard async/await for better readability and reduced dependency footprint.
diff --git a/tests/legacy-cli/e2e/utils/BUILD.bazel b/tests/legacy-cli/e2e/utils/BUILD.bazel index a565262640c4..093a4f832092 100644 --- a/tests/legacy-cli/e2e/utils/BUILD.bazel +++ b/tests/legacy-cli/e2e/utils/BUILD.bazel @@ -19,7 +19,6 @@ ts_project( "//:node_modules/verdaccio", "//:node_modules/ver...
1
1
0
[{"id": "G0", "claim": "The rxjs devDependency at tests/package.json line 5 should be removed from this PR as well, now that the E2E process utility no longer uses RxJS.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular-cli__32056
angular/angular-cli
32,056
defect
588f3b85b1fc451edd8f23df77bca2992280e1e2
03337ee4f66ceaed7d63def5292d9567695e6eb0
Tailored error message for custom host
Add custom middleware for to present an Angular-tailored message Fix #32028 ## PR Checklist Please check to confirm your PR fulfills the following requirements: - [X] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [X]...
diff --git a/packages/angular/build/src/builders/dev-server/tests/options/allowed-hosts_spec.ts b/packages/angular/build/src/builders/dev-server/tests/options/allowed-hosts_spec.ts index 8e96c7b4b4b0..e3eb577eb211 100644 --- a/packages/angular/build/src/builders/dev-server/tests/options/allowed-hosts_spec.ts +++ b/pack...
6
6
1
[{"id": "G0", "claim": "The new custom host-check middleware seems to change behaviour for a number of valid cases (http://foo.localhost, sub-domains of allowed hosts, and access via an external IP would now be marked invalid), and instead of recreating the middleware the response of Vite's existing host middleware sho...
null
angular__angular-cli__32263
angular/angular-cli
32,263
defect
f2917f5ab03deabaee6d8eea3de844bc930a6e9e
9ed07d9696b20a976d7fcf81926f2cfdf038aefd
fix(@angular/ssr): handle platform destruction during rendering
Fixes crash when platform/app destroys itself during the bootstrapping and stabilization phase. Previously, the code would call `applicationRef.injector` without checking if the platform was destroyed, resulting in: "Error: Injector has already been destroyed" This can occur when: - Component constructor calls `inj...
diff --git a/packages/angular/ssr/src/utils/ng.ts b/packages/angular/ssr/src/utils/ng.ts index 16e059e6aaf2..e0c075862b04 100644 --- a/packages/angular/ssr/src/utils/ng.ts +++ b/packages/angular/ssr/src/utils/ng.ts @@ -100,6 +100,19 @@ export async function renderAngular( // Block until application is stable. ...
1
1
1
[{"id": "G0", "claim": "Change the return type of renderAngular to a union that includes `{ hasNavigationError: true }` and return `{ hasNavigationError: true }` in the destroyed branch instead of a content function that rejects.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular-cli__32367
angular/angular-cli
32,367
defect
98a24d0401f36f484dc9c4d8b0f5284ffa524f19
1b984f190bffa878c44b4c47c003f975de59d4b5
feat(@angular/cli): automatic formatting files modified by schematics
This change introduces automatic formatting of files generated or modified during a schematic execution. When a schematic is executed, the CLI will now attempt to find and use the project's local Prettier installation to format all created or updated files. This ensures that generated code adheres to the project's e...
diff --git a/packages/angular/cli/src/command-builder/schematics-command-module.ts b/packages/angular/cli/src/command-builder/schematics-command-module.ts index ef317700d1a6..f0846c7be82f 100644 --- a/packages/angular/cli/src/command-builder/schematics-command-module.ts +++ b/packages/angular/cli/src/command-builder/sc...
3
2
1
[{"id": "G0", "claim": "Read the Prettier `bin` path from prettier's `package.json` instead of hardcoding `bin/prettier.cjs`, in case the path changes in the future (e.g., `.cjs` becomes `.mjs`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On...
null
angular__angular-cli__32491
angular/angular-cli
32,491
defect
9c5901ee23e42bce4e9c5b05d67fbddabb1a404c
5dc365af3847a19b34fab2b0c3923dc8b9d4987f
fix(@angular/ssr): introduce DI token to signal route discovery process
A new DI token, `IS_DISCOVERING_ROUTES`, is introduced to provide a clear signal for when the application is operating in route discovery mode. This token is provided with the value `true` within the route extraction providers. Other services and components can inject this token to conditionally alter their behavior, f...
diff --git a/goldens/public-api/angular/ssr/index.api.md b/goldens/public-api/angular/ssr/index.api.md index 81764fcc1f62..d165dcf6a7e2 100644 --- a/goldens/public-api/angular/ssr/index.api.md +++ b/goldens/public-api/angular/ssr/index.api.md @@ -6,6 +6,7 @@ import { DefaultExport } from '@angular/router'; import {...
3
3
2
[{"id": "G0", "claim": "The DURING_ROUTE_DISCOVERY token should be given a default value (suggested: factory: () => false), since it will also run in browser mode where no provider is installed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tok...
null
angular__angular-cli__32827
angular/angular-cli
32,827
defect
742a8740d6209c7f6ad53237babbf4ba6ee69d7d
25132c3cf3d5aa5aa4a0bf375def2016115767bc
fix(@angular/ssr): support '*' in allowedHosts and warn about security risks
This commit adds support for '\*' in allowedHosts for SSR, allowing any host to be validated. It also adds a security warning when '\*' is used to inform users of the potential risks of allowing all host headers. Additionally, it enables '\*' for the Vite dev server when 'allowedHosts' is set to 'true'. Closes ...
diff --git a/packages/angular/build/src/builders/dev-server/vite/index.ts b/packages/angular/build/src/builders/dev-server/vite/index.ts index 083008f17050..557b2d34b52a 100644 --- a/packages/angular/build/src/builders/dev-server/vite/index.ts +++ b/packages/angular/build/src/builders/dev-server/vite/index.ts @@ -101,7...
2
1
0
[{"id": "G0", "claim": "The '*' security warning should expand on the vague phrase \"another layer\" (e.g. mention the production serving environment, cloud middleware, CDN or gateway) and include a link to adev documentation covering allowedHosts and the broader context.", "category": "documentation", "verdict": "supp...
null
angular__angular-cli__32881
angular/angular-cli
32,881
defect
f1ed0257abad0f5772647911d0a2683e3e6b3eb8
0f809d362d01408d850687ec072ea903503157fc
fix(@angular/build): show clear error when styleUrl points to a TypeScript file
## PR Checklist - [x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) ## PR Type - [x] Bugfix ...
diff --git a/packages/angular/build/src/builders/application/tests/behavior/component-stylesheets_spec.ts b/packages/angular/build/src/builders/application/tests/behavior/component-stylesheets_spec.ts index ddae750a64a4..0fb1fb22c9fa 100644 --- a/packages/angular/build/src/builders/application/tests/behavior/component-...
1
1
0
[{"id": "G0", "claim": "Simplify the new hasTypeScriptExtension switch statement by using Array.prototype.includes(), and consider applying the same refactoring to hasTemplateExtension for consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular-cli__32899
angular/angular-cli
32,899
defect
7fbc715bf728e6e08035f4bae663bead1e5b0e4c
9275953bdd7c4ae4d9b113a145d50c95d77ad4c2
test(@angular/build): verify coverage ignore comments are preserved during compilation
The underlying Vitest coverage engine depends on specific developer comments like `/* istanbul ignore next */` or `/* v8 ignore next */` being present in the executing code to accurately isolate unmeasured blocks. This commit adds strict behavioral tests to assert that the Angular CLI's in-memory compilation pipelin...
diff --git a/packages/angular/build/src/builders/unit-test/tests/behavior/coverage-ignore-comments_spec.ts b/packages/angular/build/src/builders/unit-test/tests/behavior/coverage-ignore-comments_spec.ts new file mode 100644 index 000000000000..dd159b759554 --- /dev/null +++ b/packages/angular/build/src/builders/unit-te...
1
1
0
[{"id": "G0", "claim": "The coverage-parsing and no-uncovered-statements assertion logic is duplicated across all test cases in coverage-ignore-comments_spec.ts and should be extracted into a shared helper function to improve maintainability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s...
null
angular__angular-cli__32936
angular/angular-cli
32,936
defect
7fbc715bf728e6e08035f4bae663bead1e5b0e4c
9d71be17fd152a9e9780394f63d70a1a3158ddd5
feat(@schematics/angular): add migrate-karma-to-vitest update migration
Migrate projects using the Karma unit-test builder to the new @angular/build:unit-test builder with Vitest. This migration automatically updates target builders, translates builder options (such as coverage and browsers format), moves custom build options to dedicated configurations to prevent loss of custom setting...
diff --git a/packages/schematics/angular/migrations/migrate-karma-to-vitest/migration.ts b/packages/schematics/angular/migrations/migrate-karma-to-vitest/migration.ts new file mode 100644 index 000000000000..9d1bfc40629e --- /dev/null +++ b/packages/schematics/angular/migrations/migrate-karma-to-vitest/migration.ts @@ ...
3
3
3
[{"id": "G0", "claim": "Because `customBuildOptions` is one object shared across every iteration over the test target's options (base options and each configuration), a configuration defining one of these build options overwrites the value collected from the base options or a previous configuration, which can lose conf...
null
angular__angular-cli__32971
angular/angular-cli
32,971
defect
3601c7510a9b38abd38f1d9c1806a023637f52e3
612c5281a99bfb49e129355474f40b7486551127
feat(@angular/build): enable chunk optimization by default with heuristics
Enable the advanced chunk optimization pass by default for applications with multiple lazy chunks to improve loading performance. A heuristic is introduced that automatically triggers this optimization when the build generates 3 or more lazy chunks. Developers can customize this behavior or disable it entirely using th...
diff --git a/packages/angular/build/package.json b/packages/angular/build/package.json index b0d4a1197d74..754d1a56c672 100644 --- a/packages/angular/build/package.json +++ b/packages/angular/build/package.json @@ -36,7 +36,7 @@ "parse5-html-rewriting-stream": "8.0.0", "picomatch": "4.0.4", "piscina": "5...
2
1
1
[{"id": "G0", "claim": "Asks what the motivation is for migrating chunk optimization back to Rollup and making Rolldown opt-in, noting the team migrated to Rolldown a while ago without issues.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "The NG_BUILD_O...
null
angular__angular-cli__32976
angular/angular-cli
32,976
defect
94aa77cb71d6567218dfbdee0492abc7a057cc77
573ec2baff1c560c4b8a400cdccb09f4d50882d2
fix(@angular/build): allow configuring Access-Control-Allow-Origin via headers option
Removes the default Vite CORS origin: true configuration, allowing custom Access-Control-Allow-Origin header configurations to take effect when using the development server. BREAKING CHANGE: The development server (ng serve) no longer automatically mirrors the request origin in the Access-Control-Allow-Origin re...
diff --git a/packages/angular/build/src/builders/dev-server/tests/options/headers_spec.ts b/packages/angular/build/src/builders/dev-server/tests/options/headers_spec.ts index bff502b84d4b..44c8f080103d 100644 --- a/packages/angular/build/src/builders/dev-server/tests/options/headers_spec.ts +++ b/packages/angular/build...
1
1
1
[{"id": "G0", "claim": "Add a test case explicitly verifying that the Access-Control-Allow-Origin header is not set by default when no headers option is provided, to confirm the old origin-mirroring behavior was removed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__61230
angular/angular
61,230
defect
d9e40cb456a5ad845f8af5d8d476a90418423554
da8f782f6a90ce9f240640e7707087f48d769fcf
refactor(core): Don't throw when there are no async metadata
In the context of AOT tests, component with defer blocks no longer throw on instanciation if the component is not overridden (with `overrideComponent`) Prior to this change, all components with a `@defer` block would throw if `compileComponents` was not invoked. In none-JIT apps, this change makes `compileCompon...
diff --git a/adev/src/app/app.component.spec.ts b/adev/src/app/app.component.spec.ts index 1b5360966333..1b698ab66925 100644 --- a/adev/src/app/app.component.spec.ts +++ b/adev/src/app/app.component.spec.ts @@ -6,20 +6,20 @@ * found in the LICENSE file at https://angular.dev/license */ +import {provideHttpClient}...
2
2
0
[{"id": "G0", "claim": "The new prepareAsyncComponents method should have documentation about when you need to call it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'unresolved metadata' error messages should be improved to provide more cont...
null
angular__angular__62111
angular/angular
62,111
defect
1182fe7053871bb8a4554c1d31d43fe91e9b2942
63e3d2377f1a774f1eeb83c590e26564474908f5
refactor(core): Support Error like object for resource errors.
Error like objects will be treated as errors. Related to #61861
diff --git a/packages/core/rxjs-interop/test/rx_resource_spec.ts b/packages/core/rxjs-interop/test/rx_resource_spec.ts index 6aa6fd58894c..d8d1c5ec1ea6 100644 --- a/packages/core/rxjs-interop/test/rx_resource_spec.ts +++ b/packages/core/rxjs-interop/test/rx_resource_spec.ts @@ -6,7 +6,7 @@ * found in the LICENSE file...
2
1
0
[{"id": "G0", "claim": "Instead of treating error-like objects as `Error` via `isErrorLike`, the fix should be to update the http error (`HttpErrorResponse`) to properly extend `Error`.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `isErrorLike` check...
null
angular__angular__64509
angular/angular
64,509
defect
1d40465d5f58fc8f506c88b9e76a336f6ac47be4
3acfd3c888bd3b4f5b84cf1b826299d0b8996058
fix(compiler): support arbitrary nesting in :host-context()
Previously we supported one level of nested pseudo-element selectors inside `:host-context()`, e.g. `:host-context(:is(.foo, .bar))`. This was based on a regex-based approach. We could support deeper levels of nesting by updating the regex, but using a regex approach prohibits us from supporting arbitrary nesting. R...
diff --git a/packages/compiler/src/shadow_css.ts b/packages/compiler/src/shadow_css.ts index a66aa6c551a9..210f8789a8d9 100644 --- a/packages/compiler/src/shadow_css.ts +++ b/packages/compiler/src/shadow_css.ts @@ -525,6 +525,40 @@ export class ShadowCss { }); } + /** + * Generator function that splits a s...
4
2
0
[{"id": "G0", "claim": "Since only specific symbols are matched, the character comparisons in _splitOnTopLevelCommas could use charCodeAt(i) with the char-code constants from chars.ts instead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Some vali...
null
angular__angular__64948
angular/angular
64,948
defect
de1f22cf2ca72e326943ce034bbc968a78aa2855
38395325c0211e9f35f98744c26616f6fcc4a1fb
Signal forms type checking fixes
Includes the following fixes for type checking in signal forms: ### fix(compiler-cli): use any when checking field interface conformance Switches to checking against `FormValueControl<any>` instead of `FormValueControl<unknown>` when checking whether custom controls conform to the interface. ### fix(compiler-cli...
diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.ts index 57b978b5d910..034f06be3dc0 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/type_chec...
1
1
1
[{"id": "G0", "claim": "The PR should have a test showing the error is not reported for the scenario it fixes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__65249
angular/angular
65,249
defect
c1057c69f05354e8c5e99e9e75a3f5590e155fb0
485bc26060a4fca2c9c8e462dd2b1f62951c8f47
fix(compiler): throw on invalid `in` expressions
`{{in}}` are not interpreted as `'in'` string expressions anymore. ``` <input #in /> // OK {{in}} // throws ``` fixes https://github.com/angular/angular/issues/65244 BREAKING CHANGE: `in` variables will throw in template expressions.
diff --git a/packages/compiler/src/expression_parser/parser.ts b/packages/compiler/src/expression_parser/parser.ts index 1ab4dad428f5..6359cb623fcb 100644 --- a/packages/compiler/src/expression_parser/parser.ts +++ b/packages/compiler/src/expression_parser/parser.ts @@ -957,7 +957,7 @@ class _ParseAST { // '<', '>...
1
1
1
[{"id": "G0", "claim": "Parsing the `in` keyword as a string literal is unjustified and making it conditional on token index makes it even weirder, so multi-statement output bindings like `(click)=\"in; in\"` are not expected to be handled correctly; keyword tokens shouldn't be parsed to string literals.", "category": ...
null
angular__angular__65469
angular/angular
65,469
defect
2ddf26e69906a09dfcc915cc44c3a0bcecd3af67
c6fa096b918cb9fab26b4b5f47e135113f808f2a
fix(compiler-cli): do not type check native controls with ControlValueAccessor
Currently when we detect a `field` binding on a native element, we treat it as a built-in native control. This might not be the case if it's a pre-existing `ControlValueAccessor` relying on the CVA interop. These changes try to detect any CVA-like directive on the element and disable the additional type checking if ...
diff --git a/packages/compiler-cli/src/ngtsc/metadata/src/api.ts b/packages/compiler-cli/src/ngtsc/metadata/src/api.ts index bc57d529f115..b2d2b503d2f4 100644 --- a/packages/compiler-cli/src/ngtsc/metadata/src/api.ts +++ b/packages/compiler-cli/src/ngtsc/metadata/src/api.ts @@ -116,6 +116,9 @@ export interface Directiv...
1
1
0
[{"id": "G0", "claim": "The new native-field condition makes the `if` logic in scope.ts too long, so it should be extracted into a function called `hasCVA` or something similar.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular__65553
angular/angular
65,553
defect
72b1f7fd4319c2f2a1ddfc43d4b8e9ffde10056f
90f422b47fd8f5c68d05364960c7efaed2bfb56b
refactor(compiler-cli): add warning for matching viewport `@defer` t…
…rigger options Ensures that viewport `@defer` trigger prefetch warnings occur when the viewport options are identical, including cases with empty or no parameters. Currently, when using cases like don’t show warning, this PR adds proper support and fixes the missing viewport warning. With viewport options ...
diff --git a/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/defer_trigger_misconfiguration/index.ts b/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/defer_trigger_misconfiguration/index.ts index c4cb98766d27..4d5511d27781 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/defer...
2
1
0
[{"id": "G0", "claim": "The `areLiteralMapsEqual` helper could be written more concisely using the `Map` constructor with an iterable and the `every` array method, improving readability and maintainability.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
angular__angular__65646
angular/angular
65,646
defect
40790ef98037105421c064ecbbef0e0257c90b3a
8a58c5d8ecceba32c635c58fd0b65966d0cda8c3
test(core): test bundling of dynamic component creation and bindings
Add test coverage for bundling dynamic component creation API like `createComponent()` and `inputBinding()`. This will be used to test that Signal Forms related features for #64632 can be tree-shaken when unused.
diff --git a/packages/core/test/bundling/create_component/BUILD.bazel b/packages/core/test/bundling/create_component/BUILD.bazel new file mode 100644 index 000000000000..b44a51e73669 --- /dev/null +++ b/packages/core/test/bundling/create_component/BUILD.bazel @@ -0,0 +1,28 @@ +load("@rules_angular//src/optimization:ind...
2
2
0
[{"id": "G0", "claim": "The PR should also test outputs and two-way bindings, in addition to input bindings.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The createComponent call in ngOnInit should instead be done in the constructor.", "category": "ma...
null
angular__angular__65683
angular/angular
65,683
defect
8f3fdc3e8045bd443d022496546624fdc2e02459
9db3f802cc44d9f182e8c84af8ebfd9397860949
fix(http): enable XSRF protection for same-origin absolute URLs
Previously, the XSRF interceptor only added the XSRF token to requests with relative URLs. This commit updates the interceptor to also add the token to requests with absolute URLs, provided they match the current origin. Closes #20511
diff --git a/adev/src/content/guide/http/security.md b/adev/src/content/guide/http/security.md index 5ba432eba068..dd9838de1856 100644 --- a/adev/src/content/guide/http/security.md +++ b/adev/src/content/guide/http/security.md @@ -18,7 +18,7 @@ A common technique to prevent XSSI is to serve JSON responses with a "non-e...
2
2
1
[{"id": "G0", "claim": "The tail of the updated sentence in the HTTP security guide (\"...or on requests with an absolute URL\") also needs updating, since it no longer matches the new same-origin-absolute-URL behaviour.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
angular__angular__65699
angular/angular
65,699
defect
8f3fdc3e8045bd443d022496546624fdc2e02459
3cb151bfb01c3fff361c9b86800ad16f606bd305
fix(devtools): router tree callables view source functionality
This PR fixes a set of issues with the router tree view source callable search algorithm: - Depending on the function/class location in the router tree (should be inner leaf relative to tree level), the algorithm wasn't able to pin-point the ref every time because leaf routes that didn't hit a base case, would exit ...
diff --git a/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.ts b/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.ts index 096aeb01c8b7..ff84f9088ab2 100644 --- a/devtools/projects/ng-devtools-backend/src/lib/client-event-subscribers.ts +++ b/devtools/projects/ng-devtools-b...
1
1
0
[{"id": "G0", "claim": "The call site in viewSourceFromRouter should also adopt the new parameter name by renaming the argument 'name' to 'constructName' in the call to getRouterCallableConstructRef.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular__65878
angular/angular
65,878
defect
789f91bd4fd1ceca50b8cc765c0b7ccf5fc82768
b2b7b09ed9e97031b75ceecf635568c7c7f51708
docs(docs-infra): recommended/avoid code block styling
fixes #65866
diff --git a/adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts b/adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts index 93e95092541e..d09f0fa82f4f 100644 --- a/adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts +++ b/adev/shared-docs/components/viewer...
6
5
1
[{"id": "G0", "claim": "Update a content page (angular.dev/style-guide) to use the new recommended/avoid code block syntax so it can be seen in the preview.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The recommended/avoid code block styling fe...
null
angular__angular__65896
angular/angular
65,896
defect
789f91bd4fd1ceca50b8cc765c0b7ccf5fc82768
f78cbe786aa4619a12ebba85e3dd9cfbc02ba58e
perf(compiler): chain query creation instructions
We always emit the query creation instructions in a group which makes them good candidates for chaining.
diff --git a/packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/queries/content_query_for_directive.js b/packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/components_and_directives/queries/content_query_for_directive.js index 6c431809d774..b21c8ab175f...
2
1
0
[{"id": "G0", "claim": "The `viewQueryCall`/`viewQuerySignalCall` variable assignments have been swapped (the non-signal-named variable holds the signal call and vice versa), both for view queries and for content queries below.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
angular__angular__65991
angular/angular
65,991
defect
47eb77ffb10a248e9e28da0a5fbe3f6657e2fce1
14415ed9e908776a960ebd9ad14c63f6a208fb1b
feat(router): add controls for route cleanup
This commit introduces a new feature to automatically destroy `EnvironmentInjector`s associated with routes that are no longer active or stored. This helps in managing memory by releasing resources held by unused injectors. Key changes: - Added `shouldDestroyInjector` and `retrieveStoredRouteHandles` to `RouteReuse...
diff --git a/adev/src/content/guide/routing/customizing-route-behavior.md b/adev/src/content/guide/routing/customizing-route-behavior.md index a489a8e15df8..e476ebc7a7b1 100644 --- a/adev/src/content/guide/routing/customizing-route-behavior.md +++ b/adev/src/content/guide/routing/customizing-route-behavior.md @@ -149,1...
8
7
2
[{"id": "G0", "claim": "Add an `@see` tag to the new `destroyDetachedRouteHandle` doc comment, referencing the 'Manually destroying detached route handles' guide section, to improve discoverability of the added documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
angular__angular__66110
angular/angular
66,110
defect
8243bb3064931c659b8fb807f9802ca75ff886f6
0502ff06247ca7c3744682ce5b3e1389176866a4
feat(core): Add stability debugging utility
This commit adds a utility method to debug why the application has not stabilized after a set period of time (9 seconds, or `hydrationTimeout-1`). fixes #52912
diff --git a/adev/src/content/guide/hydration.md b/adev/src/content/guide/hydration.md index 6a5d2bffd69a..3676ac186bc2 100644 --- a/adev/src/content/guide/hydration.md +++ b/adev/src/content/guide/hydration.md @@ -176,6 +176,26 @@ Keep in mind that adding the `ngSkipHydration` attribute to your root applicatio Appl...
8
7
4
[{"id": "G0", "claim": "The debug task tracker should be restructured so PendingTasksInternal optionally injects it as a token (a DebugTaskTracker class) rather than having the provider factory assign a property onto PendingTasksInternal, or alternatively implemented as an ngDevMode-gated top-level-scope library.", "ca...
null
angular__angular__66130
angular/angular
66,130
defect
9fa77af1106578f4fe79e8091df0fab7ed66c096
6ea92be10754c2356994e2a575fb248f475f01dc
fix(migrations): inject migration not work in multi-project workspace…
Fix inject migration in multi-project workspace. The inject migration doesn't work when targeting one of the projects due to either not finding any files in other projects or considering them external thus it throws a SchematicsException Fixes: #66074 ## PR Checklist Please check if your PR fulfills the follow...
diff --git a/packages/core/schematics/ng-generate/inject-migration/index.ts b/packages/core/schematics/ng-generate/inject-migration/index.ts index 9c13384b79af..81d35b36f922 100644 --- a/packages/core/schematics/ng-generate/inject-migration/index.ts +++ b/packages/core/schematics/ng-generate/inject-migration/index.ts @...
1
1
0
[{"id": "G0", "claim": "The new test should be renamed from 'should not throw when --path matches files only in a later tsconfig' to 'should migrate files present in other workspace projects' to describe what it actually verifies.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
angular__angular__66317
angular/angular
66,317
defect
29574f622dd382510abe8b91a5ff595024534945
553d6353bb435a0413823603e60c3f938d6e7910
docs(docs-infra): Add package filter to the API list
This commit also introduces the usage of signal forms on adev
diff --git a/adev/shared-docs/components/search-dialog/search-dialog.component.html b/adev/shared-docs/components/search-dialog/search-dialog.component.html index a29ea4ed461f..fe6fe9b78ca9 100644 --- a/adev/shared-docs/components/search-dialog/search-dialog.component.html +++ b/adev/shared-docs/components/search-dialo...
1
1
0
[{"id": "G0", "claim": "The effect syncing the form value into searchQuery could be dropped by matching the form directly to the searchQuery signal, which the author says is much better.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular__66318
angular/angular
66,318
defect
29574f622dd382510abe8b91a5ff595024534945
9776ff765131467d22662986ea839b1a8da8329a
fix(core): sanitize sensitive attributes on SVG script elements
This commit updates the DOM security schema and sanitization logic to properly recognize and sanitize `href` and `xlink:href` attributes on SVG `<script>` elements. Previously, these attributes were not treated as resource URLs, which could allow for Cross-Site Scripting (XSS) if attacker-controlled values were inte...
diff --git a/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts b/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts index fe7a2077d7c1..0a8de6f055ad 100644 --- a/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts +++ b/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts @@ -8611,6 +8611,28 @@ runInEachFileSystem((os: string) => { ...
1
1
1
[{"id": "G0", "claim": "The xlink case (sanitizing xlink:href on SVG script elements) should also be covered by a test, alongside the href case the new test already checks.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__66331
angular/angular
66,331
defect
821d5652b0ddd88a6af3cf8145d8aa7203cde1e1
f852f28f97a94a68d35965b72cdce5efca3ac011
fix(forms): clean up abort listener after timeout
Removes the abort event listener once the debounce timeout completes. This avoids lingering listeners, prevents potential memory leaks, and ensures the abort logic runs at most once. ## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines:...
diff --git a/packages/forms/signals/src/api/rules/debounce.ts b/packages/forms/signals/src/api/rules/debounce.ts index 1503e6483d5c..a050f323259a 100644 --- a/packages/forms/signals/src/api/rules/debounce.ts +++ b/packages/forms/signals/src/api/rules/debounce.ts @@ -42,8 +42,18 @@ export function debounce<TValue, TPath...
1
1
1
[{"id": "G0", "claim": "The new abort-listener cleanup behaviour in debounceForDuration should have test coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__66371
angular/angular
66,371
defect
0d6ac92ccbb384dd30049a73071db61af2fc0e4e
75b91668aea5adb1005622169f389a5a0d8c6af7
fix(core): fix memory leak with event replay
This ensures event replay does not hold on to elements after an application has been destroyed. fixes: #59261 ## Does this PR introduce a breaking change? - [ ] Yes - [x] No
diff --git a/packages/core/src/core_private_export.ts b/packages/core/src/core_private_export.ts index 903736fddb01..2a0a0341a989 100644 --- a/packages/core/src/core_private_export.ts +++ b/packages/core/src/core_private_export.ts @@ -95,6 +95,7 @@ export { IS_INCREMENTAL_HYDRATION_ENABLED as ɵIS_INCREMENTAL_HYDRATI...
2
2
0
[{"id": "G0", "claim": "Since the injector is available, the event replay queue can be injected inside hydrateAndInvokeBlockListeners, so it need not be passed in as an argument.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The function replayQueuedBlo...
null
angular__angular__66404
angular/angular
66,404
defect
7003e8d2417660f71b3a2a017aff3e650c8d9646
f83dfdac0949ca83c179a4743203596b4693332e
fix(forms): Ensure the control instruction comes after the other bindings
Prior to this change, binding to radio value was sensitive to the order in which `value` & `formField` where binding in the template. The compiler change makes that order non-important. fixes #66402
diff --git a/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/control_bindings/GOLDEN_PARTIAL.js b/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/control_bindings/GOLDEN_PARTIAL.js index 9bac3845076a..373b0ef1cb00 100644 --- a/packages/compiler-cli/test/compliance/t...
1
1
1
[{"id": "G0", "claim": "The new test 'synchronizes with a radio group with bindings' calls setupRadioGroup() when it should call setupRadioWithBindingsGroup().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__66810
angular/angular
66,810
defect
d072791f131714d0556bb8894cd9192cb98da820
6675959031df99583b3c7321651f0f5c827e9f99
feat(forms): update submit function to accept options object
Changes the `submit` function signature to accept a `FormSubmitOptions` object instead of a direct action callback. This allows for more flexibility, including: - `action`: The standard submit action to perform with the data. - `onInvalid`: A callback to execute when the submit action is not triggered due to faili...
diff --git a/adev/src/content/examples/signal-forms/src/login-validation-complete/app/app.ts b/adev/src/content/examples/signal-forms/src/login-validation-complete/app/app.ts index 03317f7c562f..d8599589eff4 100644 --- a/adev/src/content/examples/signal-forms/src/login-validation-complete/app/app.ts +++ b/adev/src/cont...
2
1
1
[{"id": "G0", "claim": "Calling async/await inside untracked() is flawed because untracked synchronously re-enters the previous reactive context, so anything after the first await is effectively tracked again.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
angular__angular__66848
angular/angular
66,848
defect
cab5ddd526f5a6ba44b042ba0391f0526877cde6
0c48945cee2dc6af63c0f7537ebc73f9a2428dbb
feat(core): add support for nested animations
Now if there's a leave animation nested within a template, those will animate before the parent element is removed. This makes animating leaving elements a bit easier than before and adds a lot more flexibility to how animations can be structured. fixes: #66476
diff --git a/packages/core/src/animation/queue.ts b/packages/core/src/animation/queue.ts index 952d517fa1b9..e5432a2d1fdd 100644 --- a/packages/core/src/animation/queue.ts +++ b/packages/core/src/animation/queue.ts @@ -24,11 +24,14 @@ export const ANIMATION_QUEUE = new InjectionToken<AnimationQueue>( typeof ngDevMod...
3
2
2
[{"id": "G0", "claim": "gemini suggested trying `lView[FLAGS] & LViewFlags.Destroyed` in runLeaveAnimationsWithCallback as a way to detect the destroyed AppRef, in case checking the order of when things are marked as destroyed allows it to work.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scop...
null
angular__angular__67077
angular/angular
67,077
defect
d5b35b1826fe87ccec0e59f4c5daaa7cb962fac3
3294b79b284dfcdfd7fed46764c55e57e4f626a7
fix(forms): Untrack `setValue` in reactive forms
Reasonably, writing to an `AbstractControl` shouldn't register signal reads. fixes #67073
diff --git a/packages/forms/src/model/form_array.ts b/packages/forms/src/model/form_array.ts index 1b3a6e3523a1..4363dd2f3dc5 100644 --- a/packages/forms/src/model/form_array.ts +++ b/packages/forms/src/model/form_array.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import {ɵWri...
1
1
1
[{"id": "G0", "claim": "The same untracking treatment should also be considered for `patchValue` and `reset`, which the reviewer tested and found behave the same way as `setValue`.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__67161
angular/angular
67,161
defect
488d962bc700fb7189749c63ba63eac50a54e363
275a3192357fec51749da34e841550110d0ed436
refactor(forms): restrict reactive logic to a readonly API
Reactive logic in forms is not intended to mutate state, but this was poorly communicated by the permissive and highly mutable field context provided to all logic functions. This change splits all of the state-related API into writable and readonly interfaces. * Top-level functions that produce a `FieldTree` (e.g. `...
diff --git a/goldens/public-api/forms/signals/compat/index.api.md b/goldens/public-api/forms/signals/compat/index.api.md index 5a15dfe09a37..3a6dbbbfc236 100644 --- a/goldens/public-api/forms/signals/compat/index.api.md +++ b/goldens/public-api/forms/signals/compat/index.api.md @@ -40,7 +40,7 @@ export class CompatVali...
3
1
1
[{"id": "G0", "claim": "Add a couple of @ts-expect-error tests verifying that a value can indeed no longer be written in a class-setting function or in a validator.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider whether the errors should actual...
null
angular__angular__67179
angular/angular
67,179
defect
f90e5565e07cdd97e5cd7fa81655f0ed4666ee31
38dd529bcc1ba0e0dc612192cecfb5722d088620
feat(compiler): Support comments in html element.
Let's support comments ! ``` <div // comment 0 /* comment 1 */ attr1="value1" /* comment 2 spanning multiple lines */ attr2="value2" ></div> ```
diff --git a/packages/compiler/src/ml_parser/lexer.ts b/packages/compiler/src/ml_parser/lexer.ts index 3c8b04ab61b4..6e01c98b3b11 100644 --- a/packages/compiler/src/ml_parser/lexer.ts +++ b/packages/compiler/src/ml_parser/lexer.ts @@ -804,6 +804,28 @@ class _Tokenizer { return [prefix, name]; } + private _co...
3
2
1
[{"id": "G0", "claim": "The spec should also include a test case where an attribute is commented out.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should address which comment syntax is used (JS vs HTML), because IDEs still toggle HTML-style co...
null
angular__angular__67262
angular/angular
67,262
defect
db11e74b3d23053c148dd6535099a5a53aaf7fb1
df5da9e0acb55841d504ffb051ee27328567a641
feat(core): support customization of @defer's on idle behavior
This commit makes the behavior of `on idle` in `@defer` configurable via DI. It defines an `IdleService` interface that an application can implement and provide to Angular: ```ts @Injectable({providedIn: 'root'}) export class CustomIdleService implements IdleService { requestOnIdle(callback: () => void): number...
diff --git a/goldens/public-api/core/index.api.md b/goldens/public-api/core/index.api.md index ff078f386e6b..b20269f0921d 100644 --- a/goldens/public-api/core/index.api.md +++ b/goldens/public-api/core/index.api.md @@ -843,6 +843,12 @@ export interface HostListenerDecorator { new (eventName: string, args?: string[...
1
1
0
[{"id": "G0", "claim": "The IDLE_SERVICE factory should not pass the shim functions as constructor arguments; RequestIdleCallbackService should instead reference the shim functions directly as its own class fields.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular__67268
angular/angular
67,268
defect
db11e74b3d23053c148dd6535099a5a53aaf7fb1
f0ad607878e208ae241ae5d8ff9cf87205d61cf6
feat(forms): support binding `number|null` to `<input type="text">`
`<input type="number">` often does not provide the desired user experience when editing numbers in a form. MDN even [describes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/number#using_number_inputs) how text inputs should be used in many cases instead, via `<input type="text" inputmode="...
diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/ops/signal_forms.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/ops/signal_forms.ts index 0fabdb6ef77f..3a87d19cb361 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/ops/signal_forms.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/ops/signa...
1
1
1
[{"id": "G0", "claim": "kirjs asks whether the numeric parsing for text-like <input> elements should also check that the input type equals 'text', or whether that check happens earlier.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__67333
angular/angular
67,333
defect
f9a92bfe4f81cee121cbe3d7ec25442369e9bb4f
95c981673e86fb49142b0fd3a2dadff08b4eae7f
fix(common): prevent focus from scrollToAnchor
Focus the target element using `focus({preventScroll: true})` after scrolling, so the browser doesn’t adjust the scroll position when applying focus. Fixes #65938 See: https://www.yanandcoffee.com/2020/05/08/accessible-smooth-scrolling-and-focus-management-solutions/
diff --git a/goldens/public-api/common/index.api.md b/goldens/public-api/common/index.api.md index 0c4103c98802..db5047c466fa 100644 --- a/goldens/public-api/common/index.api.md +++ b/goldens/public-api/common/index.api.md @@ -1037,7 +1037,9 @@ export const VERSION: Version; // @public export abstract class ViewportS...
2
2
2
[{"id": "G0", "claim": "The pull request should fix #65938 by making the focus happen first with preventScroll (or defaulting preventScroll: true) instead of adding focusOptions to the public API, because as written it does not address #65938 and might even move further away from fixing it.", "category": "design", "ver...
null
angular__angular__67344
angular/angular
67,344
defect
f02be58aa95f8023905d69e9a2ee4a54e1b53c8f
f10b16c37afb4f4aef8f3239956055f9bcf96273
perf(forms): lazily instantiate signal form fields
Currently, Signal Forms eagerly instantiates all nodes in the form tree because `childrenMap` iterates over the `value` and creates a `FieldNode` for every property. This ensures validation side-effects are run early, but creates pure overhead for fields without validation logic unless explicitly accessed. This comm...
diff --git a/packages/forms/signals/src/field/structure.ts b/packages/forms/signals/src/field/structure.ts index 01ef055a02d7..96a0beac03ae 100644 --- a/packages/forms/signals/src/field/structure.ts +++ b/packages/forms/signals/src/field/structure.ts @@ -84,6 +84,9 @@ export abstract class FieldNodeStructure { /** L...
3
3
0
[{"id": "G0", "claim": "The new materialization check in ensureChildrenMap should reuse the _areChildrenMaterialized() helper instead of duplicating its expression.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The local variable `data` in comp...
null
angular__angular__67346
angular/angular
67,346
defect
03db2aefaa88bc73b6af6ed1c9c722b65079ab3b
ab6abb4797d0677c787d63931f751600f0231020
Add report duplicate selectors as NG8023 compile-time diagnostic
Add NG8023 extended diagnostic to report duplicate component selectors during compilation. This replaces the former NG0300 runtime error, ensuring the failure occurs at build time instead of runtime. Closes #48377 ## What is the current behavior? ```ts @Component({ selector: '[stroked-button]', ...
diff --git a/goldens/public-api/compiler-cli/error_code.api.md b/goldens/public-api/compiler-cli/error_code.api.md index a02e8c70045e..484d1a741353 100644 --- a/goldens/public-api/compiler-cli/error_code.api.md +++ b/goldens/public-api/compiler-cli/error_code.api.md @@ -89,6 +89,7 @@ export enum ErrorCode { MISSIN...
3
2
1
[{"id": "G0", "claim": "The removed MULTIPLE_COMPONENTS_MATCH entry should either be dropped from the documentation or a new entry added documenting the error as a compile-time error.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The runtime NG03...
null
angular__angular__67349
angular/angular
67,349
defect
cda3e8963a926048adeef6abdfb6554b1e2df27a
9514eabd90302ef1504020171abb2dc5c6aab351
feat(migrations): model + output migrations
becomes input + linkedSignal fixes #67340 ## PR Checklist Please check if your PR fulfills the following requirements: - [X] The commit message follows our guidelines: https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md - [X] Tests for the changes have been added (fo...
diff --git a/packages/core/schematics/ng-generate/model-output/BUILD.bazel b/packages/core/schematics/ng-generate/model-output/BUILD.bazel new file mode 100644 index 000000000000..cbf447577c0f --- /dev/null +++ b/packages/core/schematics/ng-generate/model-output/BUILD.bazel @@ -0,0 +1,30 @@ +load("//tools:defaults.bzl"...
2
2
1
[{"id": "G0", "claim": "The migration is a ng-generate schematic in the wrong location; it should be an ng update migration registered in migrations.json and located in packages/core/schematics/migrations, without options or docs pages.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
angular__angular__67418
angular/angular
67,418
defect
f28b8f621da350c5aa14cb79a144ef055ff841bb
4611daa21c827396406cb2da82bdce5d81bb4e5c
feat(forms): add 'blur' option to debounce rule
Expands the `debounce` rule configuration to accept `'blur'`. When this option is provided, the rule will delay model synchronization until the field loses focus (is touched). This introduces a debouncer that defers resolution until the framework automatically aborts pending debounces upon touch events. This improve...
diff --git a/goldens/public-api/forms/signals/index.api.md b/goldens/public-api/forms/signals/index.api.md index 9aa2d50fbeba..dfb5ca667d5e 100644 --- a/goldens/public-api/forms/signals/index.api.md +++ b/goldens/public-api/forms/signals/index.api.md @@ -91,7 +91,7 @@ export function createMetadataKey<TWrite>(): Metada...
1
1
0
[{"id": "G0", "claim": "Consider inlining the never-resolving promise instead of the module-level `NEVER` constant and `never()` wrapper, since the bundle-size optimization probably wouldn't apply (unless always returning the same promise was intentional).", "category": "maintainability", "verdict": "supported", "prior...
null
angular__angular__67494
angular/angular
67,494
defect
d69c468bf263e5d65df16d552a57a2aab89bb112
58bf5ecd4ed256d66a3444166d172eeffd38f75f
fix(service-worker): preserve redirect policy on reconstructed asset requests
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / ...
diff --git a/packages/service-worker/worker/src/assets.ts b/packages/service-worker/worker/src/assets.ts index b3d220eb0bcc..f380f56a2286 100644 --- a/packages/service-worker/worker/src/assets.ts +++ b/packages/service-worker/worker/src/assets.ts @@ -501,7 +501,7 @@ export abstract class AssetGroup { * Create a new...
1
1
0
[{"id": "G0", "claim": "The `(response as any)` cast in mock.ts's redirect check doesn't look necessary and should be dropped, per the suggestion `if (response.redirected && req.redirect === 'error') {`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular__67557
angular/angular
67,557
defect
20496988b1d9e919760a4c84bfaa083f06c3eecc
066ae0a1d05aec463db9e5b2450e1a44c3e650af
fix(router): restore internal URL on popstate when `browserUrl` is used
Fixed an issue where back/forward (`popstate`) navigation attempted to match the displayed `browserUrl` instead of the internal route, which could result in `NG04002: Cannot match any routes`. Fixes #67549 ## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message ...
diff --git a/packages/router/src/navigation_transition.ts b/packages/router/src/navigation_transition.ts index 38f06947a49c..dfc739595c6f 100644 --- a/packages/router/src/navigation_transition.ts +++ b/packages/router/src/navigation_transition.ts @@ -218,6 +218,9 @@ export type RestoredState = { // The `ɵ` prefix is...
3
3
1
[{"id": "G0", "claim": "The new browserUrl popstate test should live in packages/router/test/integration/integration.spec.ts and use RouterTestingHarness instead of the current helpers.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The routerUrlState s...
null
angular__angular__67697
angular/angular
67,697
defect
ada150c69301434e3ccd46cf9ff50340a5ead9fa
df9e35964b107a74b0c867a88b02bb9f7462aaaf
fix(migrations): fix NgClass leaving trailing comma after removal
This fixes an issue where when removing NgClass from the imports array of a component, an extra trailing comma would be left behind if it was the last element. ## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/angula...
diff --git a/packages/core/schematics/ng-generate/ngclass-to-class-migration/util.ts b/packages/core/schematics/ng-generate/ngclass-to-class-migration/util.ts index b4e57f718f26..56ffa3be9622 100644 --- a/packages/core/schematics/ng-generate/ngclass-to-class-migration/util.ts +++ b/packages/core/schematics/ng-generate/...
1
1
1
[{"id": "G0", "claim": "If properties.length === 1, the if (propertyIndex === 0) check will throw a TypeError because properties[1] is undefined; the if (properties.length === 1) block, which safely handles a single property, needs to be moved above this check.", "category": "correctness", "verdict": "supported", "prio...
null
angular__angular__67715
angular/angular
67,715
defect
eeba51c50b7b2f4ecf8f7be2926f675d7ebc59f8
b9c7c32836ebbafb2154a5444a9ce80539a98034
fix(core): lazy-initialize debounced state to prevent computation cycle
When building a debounced resource, we previously eagerly started tracking the 'source' signal state by instantiating a regular signal. However, if this 'debounced' primitive is initialized in a computation reactive graph (like signal forms 'validateAsync'), reading the current UI source dependency eagerly can induce a...
diff --git a/packages/core/src/resource/debounce.ts b/packages/core/src/resource/debounce.ts index 8c6fd104ff2a..2e60eba68cfe 100644 --- a/packages/core/src/resource/debounce.ts +++ b/packages/core/src/resource/debounce.ts @@ -9,6 +9,7 @@ import {assertInInjectionContext, inject, Injector} from '../di'; import {Destr...
2
1
0
[{"id": "G0", "claim": "The `as ResourceSnapshot<T>` cast applied to `untracked(state)` in the effect looks unnecessary, since `state` should already be a `WritableSignal<ResourceSnapshot<T>>` based on its definition above.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
angular__angular__67750
angular/angular
67,750
defect
61967d7ad36a6b0efde00c6235edce54bb093357
4f60dd7b497f6c6b30aa18a95eef78659a968cc9
fix(compiler-cli): avoid recursive scope lookups for invalid NgModule imports
## PR Checklist - [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (not needed for this bug fix) ## PR Type - [...
diff --git a/packages/compiler-cli/src/ngtsc/scope/src/local.ts b/packages/compiler-cli/src/ngtsc/scope/src/local.ts index f8537594f17f..e52dd3d2c749 100644 --- a/packages/compiler-cli/src/ngtsc/scope/src/local.ts +++ b/packages/compiler-cli/src/ngtsc/scope/src/local.ts @@ -151,10 +151,19 @@ export class LocalModuleSco...
2
2
2
[{"id": "G0", "claim": "The new test sets up a component that is standalone by default yet declares it in an NgModule, which cannot happen; it should mark the component `standalone: false` explicitly instead of pinning `_angularCoreVersion` to 18.2.10.", "category": "correctness", "verdict": "supported", "priority": "P...
null
angular__angular__67808
angular/angular
67,808
defect
73b6135bf51622e82ba624493317276500af8f78
98d76f8c7388bba839b8a6b2206f71d5381f7d45
fix(forms): run metadata create lifecycle after node is fully constructed
Updates MetadataKey.create() to accept FieldState as the first argument, and moves its execution from the FieldMetadataState constructor to a runMetadataCreateLifecycle() method called at the end of the FieldNode constructor. This ensures the FieldNode is fully constructed before any metadata create operations run. ...
diff --git a/goldens/public-api/forms/signals/index.api.md b/goldens/public-api/forms/signals/index.api.md index 9aa2d50fbeba..819538df16e6 100644 --- a/goldens/public-api/forms/signals/index.api.md +++ b/goldens/public-api/forms/signals/index.api.md @@ -79,10 +79,10 @@ export type CompatSchemaPath<TControl extends Abs...
3
1
1
[{"id": "G0", "claim": "The new test should read the state signal (e.g. state.value) since the change makes the create lifecycle run once the node and its state are fully constructed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The method runMetadata...
null
angular__angular__67884
angular/angular
67,884
defect
0eeb1b5f03395ea0ddb047790af4cf1440655a07
a5978ff1777bdfa4f5d8ece6a155dc117b98a278
feat(migrations): add strictTemplates to tsconfig during ng update
Add the strictTemplates option to tsconfig.json with a default value of false ## PR Checklist Please check if your PR fulfills the following requirements: - [X] The commit message follows our guidelines: https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md - [X] Tests fo...
diff --git a/packages/core/schematics/BUILD.bazel b/packages/core/schematics/BUILD.bazel index 6c14c761ac28..216f2c666fe8 100644 --- a/packages/core/schematics/BUILD.bazel +++ b/packages/core/schematics/BUILD.bazel @@ -125,6 +125,10 @@ bundle_entrypoints = [ "http-xhr-backend", "packages/core/schemati...
1
1
1
[{"id": "G0", "claim": "If a tsconfig file has no angularCompilerOptions, the migration should skip it instead of creating angularCompilerOptions and adding strictTemplates, since such a file likely does not handle Angular files.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__67947
angular/angular
67,947
defect
c9502999cfd5063e8af32424b99496ae9906b04a
7f43620ad547dbbbdd4539ea84ab5c44bb88e648
Another approach to bootstrap Angular under a shadow root
(Attempt number 3 at a minimal approach to supporting bootstrapping under a shadow root.) This is a spin off of https://github.com/angular/angular/pull/66782, with the primary takeaway that referencing counting usages of specific shadow root hosts is hard<sup>TM</sup>. This approach attempts to avoid that problem by...
diff --git a/packages/core/src/core_private_export.ts b/packages/core/src/core_private_export.ts index 2a0a0341a989..45af6a261586 100644 --- a/packages/core/src/core_private_export.ts +++ b/packages/core/src/core_private_export.ts @@ -61,6 +61,10 @@ export { DeferBlockState as ɵDeferBlockState, } from './defer/inte...
7
7
3
[{"id": "G0", "claim": "Use the existing `storeLViewOnDestroy` helper instead of manually creating and pushing onto `rootLView[ON_DESTROY_HOOKS]`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `typeof Document !== 'undefined'` and `typeof S...
null
angular__angular__67948
angular/angular
67,948
defect
c9502999cfd5063e8af32424b99496ae9906b04a
fa28c1119c658e74bba2ef38d4291037c991d529
feat(core): bootstrap via `ApplicationRef` with config
This is to align the shape of the method with `createComponent` BREAKING CHANGE=The second arguement of appRef.bootstrap does not accept `any` anymore. Make sure the element you pass is not nullable. fixes #67946
diff --git a/goldens/public-api/core/index.api.md b/goldens/public-api/core/index.api.md index bcea6c7a0dd5..a237d7a02338 100644 --- a/goldens/public-api/core/index.api.md +++ b/goldens/public-api/core/index.api.md @@ -133,8 +133,19 @@ export class ApplicationModule { export class ApplicationRef { constructor(); ...
3
2
2
[{"id": "G0", "claim": "Checking for the option keys with the `in` operator in normalizeBootstrapOptions may not be safe from Closure's property renaming.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The second `bootstrap` parameter should be rena...
null
angular__angular__68041
angular/angular
68,041
defect
4a174b89c8de7bad62be780d1bc20fe1383d4404
d899c2ec113945a2760696576fee1d2b6cf6ac1a
fix(core): handle missing serialized container hydration data
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been ad...
diff --git a/packages/core/src/linker/view_container_ref.ts b/packages/core/src/linker/view_container_ref.ts index 2e5c5b8f216b..c3f177a4c2c9 100644 --- a/packages/core/src/linker/view_container_ref.ts +++ b/packages/core/src/linker/view_container_ref.ts @@ -773,16 +773,17 @@ function populateDehydratedViewsInLContaine...
1
1
1
[{"id": "G0", "claim": "Keep the ngDevMode warning (the original assertDefined error) when serializedViews is undefined, since it is the only devmode signal of a hydration problem and without it the failure is silent.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
angular__angular__68073
angular/angular
68,073
defect
a0aa8304cd78a58a990c3b648e41f6888b50b1b3
c489ebd1f6d34ea12290e36d37acd2e24a839242
refactor(compiler-cli): Fix regressions caused by ts.typechecker removal
removing ts.typechecker in a prior refactor caused some regressions, particularly when multiple directives appear on a single elemnt. this is now addressed by using an id for directives and storing that in the tcb comment
diff --git a/packages/compiler-cli/src/ngtsc/typecheck/src/comments.ts b/packages/compiler-cli/src/ngtsc/typecheck/src/comments.ts index ae863cc45d1d..e7469d6e151d 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/src/comments.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/src/comments.ts @@ -182,7 +182,38 @@ ...
2
1
0
[{"id": "G0", "claim": "The two branches of the if/else in readDirectiveIdFromComment contain identical parsing logic and the shared logic should be moved out into a function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The directive index th...
null
angular__angular__68092
angular/angular
68,092
defect
c70b4fec8cdf4827fc5157fb948d60bc2bbee9ff
3c27c2e5a0d463729aa4c0c1a63aa37ac2cf2e68
feat(platform-browser): make incremental hydration default behavior
This PR automatically enables incremental hydration by default in `provideClientHydration()`. It introduces a new `withNoIncrementalHydration()` feature for opting out, implements developmental conflict safety checks, and provides an automatic schematic migration. Fixes #65263
diff --git a/packages/core/schematics/BUILD.bazel b/packages/core/schematics/BUILD.bazel index bb167dbfba04..6ae425532d16 100644 --- a/packages/core/schematics/BUILD.bazel +++ b/packages/core/schematics/BUILD.bazel @@ -133,6 +133,10 @@ bundle_entrypoints = [ "can-match-snapshot-required", "packages/co...
3
3
2
[{"id": "G0", "claim": "The migration should not remove withIncrementalHydration() when it is present, so that it stays idempotent like the recent implicit-value migrations (standalone, OnPush, etc.).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
angular__angular__68279
angular/angular
68,279
defect
a0d45639a9f2d8c30e4a69c5ed875d1fc7647b46
2ec73cadce1073f3fbb1279ea67e441d269a5c6c
fix(compiler-cli): preserve Ambient NodeFlag on declare fields in chi…
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been ad...
diff --git a/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.ts b/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.ts index e47c18da29d2..bd4bec2ee31a 100644 --- a/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.ts +++ b/p...
3
3
1
[{"id": "G0", "claim": "Drop the ambient NodeFlag preservation changes wholesale (ambient_flag.ts and its use in downlevel_decorators_transform, with the downlevel spec updated to match), reporting the underlying issue to TypeScript instead of patching it here.", "category": "design", "verdict": "supported", "priority"...
null
angular__angular__68381
angular/angular
68,381
defect
08930e60bb34fa705af09c930ac1c7aae45afe75
cfa1a1647678b5f38fa4f6aeb43b200c28c17fc5
fix(core): respect ngSkipHydration on components with projectable nodes in LContainers
## PR Checklist - [x] The commit message follows our guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) ## PR Type - [x] Bugfix ## What is the current behavior? Issue Number: #67928 When a component is created dynamical...
diff --git a/packages/core/src/hydration/annotate.ts b/packages/core/src/hydration/annotate.ts index ef500da720f3..412fde0c9e09 100644 --- a/packages/core/src/hydration/annotate.ts +++ b/packages/core/src/hydration/annotate.ts @@ -442,10 +442,26 @@ function serializeLContainer( } if (!isHydrateNeverBloc...
1
1
0
[{"id": "G0", "claim": "Invert the newly added skip-hydration condition so the serialization logic has no empty if block, which is much easier to follow.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__angular__68431
angular/angular
68,431
defect
ef38017418c89d5a178e79ef163239cf4ad08563
8a382f270de23c2bfc68d0e41fc53025c751beda
docs(docs-infra): open update guide external links in new tabs
External links in the update guide opened inconsistently. Configure marked's `postprocess` hook to add `target="_blank" rel="noopener"` to external anchors and apply the existing `external-link-with-icon` mixin so they render with the standard adev icon. fixes #68429 ## PR Checklist Please check if your PR fu...
diff --git a/adev/src/app/features/update/update.component.scss b/adev/src/app/features/update/update.component.scss index f1f8fefe96af..d66839a28eb0 100644 --- a/adev/src/app/features/update/update.component.scss +++ b/adev/src/app/features/update/update.component.scss @@ -1,4 +1,5 @@ @use '@angular/docs/styles/media...
3
3
0
[{"id": "G0", "claim": "The target=\"_blank\" postprocess-hook regex should be replaced by overriding the marked link renderer (renderer.link), as the reviewer sketched.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The two recommendation links https://...
null
angular__angularfire__132
angular/angularfire
132
defect
e452347981fb4eec4517fda7f60ea993928421d1
602f251001a6ef039fd0acee32f3c6ed38c8f6ed
chore(auth): Auth fixes and method additions
This PR closes: #71, #107, #124, #112, #106. Changelog: - fix: `af.auth.login({ email: 'email', password: 'pass' })` fails with just credentials. #71, #107 - fix: Populate expires to field in `FirebaseAuthState`. #112 - feature: Added `af.auth.getAuth()`. #124 - feature: Added `af.auth.createUser({ email: 'email', pa...
diff --git a/src/providers/auth.spec.ts b/src/providers/auth.spec.ts index fcc429376..0d1fd2414 100644 --- a/src/providers/auth.spec.ts +++ b/src/providers/auth.spec.ts @@ -1,6 +1,6 @@ /// <reference path="../../manual_typings/manual_typings.d.ts" /> -import {expect, describe,it,beforeEach} from 'angular2/testing'; ...
2
1
0
[{"id": "G0", "claim": "The createUser wrappers in FirebaseSdkAuthBackend and WebWorkerFirebaseAuth needlessly hand-roll a Promise and could simply return this._fbRef.createUser(creds) directly.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In authDataT...
null
angular__angularfire__1369
angular/angularfire
1,369
defect
25815cce9c703049ccd6d142703e0e3c6f931cd9
4de5f717eaf8c72c07bd3293248f5ddf7555641c
(WIP) Add AngularFireStorage
The wait is finally over! The `AngularFireStorage` service is here. Closes #940. ## What's it all about? Does you website need to handle user generated content like images or other media? Cloud Storage for Firebase is a serverless way of managing binary files. Now with an AngularFire integration, it's as easy as...
diff --git a/karma.conf.js b/karma.conf.js index a021349ac..fa4dd3ce6 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -31,6 +31,7 @@ module.exports = function(config) { 'dist/packages-dist/bundles/auth.umd.{js,map}', 'dist/packages-dist/bundles/database.umd.{js,map}', 'dist/packages-dist/bundles/...
7
2
1
[{"id": "G0", "claim": "The state_changed observable never emits the final SUCCESS state (state_changed is not updated right before complete()), so consumers such as a percentage uploader never reach 100% and success mappings never fire.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "i...
null
angular__angularfire__1532
angular/angularfire
1,532
defect
e343f137bd0ca9a1d958253b58104c64acbe3944
d37e452d4ddd00555e5b859d7c09d766740caed0
feat(functions): Adding AngularFireFunctions with httpCallable
<!-- Thank you for contributing to the Firebase community! Please fill out the pull request form below and make note of the following: Run the linter and test suite ============================== Make sure your changes pass our linter and the tests all pass on your local machine. We've hooked up this repo wit...
diff --git a/package.json b/package.json index 75370c6f7..7d69af0d9 100644 --- a/package.json +++ b/package.json @@ -42,11 +42,13 @@ "@firebase/database-types": "^0.1.1", "@firebase/firestore": "^0.2.3", "@firebase/firestore-types": "^0.1.1", + "@firebase/functions": "^0.1.0", + "@firebase/function...
3
2
0
[{"id": "G0", "claim": "The module should use the new RxJS 6 style — import Observable from 'rxjs' and `from` from 'rxjs/observable/from' — and pipeable operators from 'rxjs/operators' instead of the legacy patch imports ('rxjs/Observable', 'rxjs/add/observable/fromPromise', 'rxjs/add/operator/map', Observable.fromProm...
null
angular__angularfire__1976
angular/angularfire
1,976
defect
b91cd5a84c04628858e09ff19738e5797bd3f88c
45dcb64e42e6f7fcd10629d5f49661924a9a62c7
feat(firestore): Added option to include document IDs on valueChanges()
### Checklist - Issue number for this PR: #1973 - Docs included?: Yes - Test units included?: Yes - In a clean directory, `yarn install`, `yarn test` run successfully? Yes ### Description An 'idField' string arg can be used with collection.valueChanges() to include the document ID on the emitt...
diff --git a/docs/firestore/collections.md b/docs/firestore/collections.md index 70148d0e1..e709589bb 100644 --- a/docs/firestore/collections.md +++ b/docs/firestore/collections.md @@ -73,9 +73,9 @@ interface DocumentSnapshot { There are multiple ways of streaming collection data from Firestore. -### `valueChange...
2
2
0
[{"id": "G0", "claim": "valueChanges() should take an options object (e.g. { idField: string }) instead of a bare idField string argument, to future-proof the API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The return type should union T with an obje...
null
angular__angularfire__2016
angular/angularfire
2,016
defect
7108875fb8811aaebc5b986696ec1b84762650a0
bcff88e3319d804c51b134c4e9a9a58076605a51
feat(): Angularfire auth guards
<!-- Thank you for contributing to the Firebase community! Please fill out the pull request form below and make note of the following: Run the linter and test suite ============================== Make sure your changes pass our linter and the tests all pass on your local machine. We've hooked up this repo wit...
diff --git a/README.md b/README.md index 8da57864a..7bb182c7c 100644 --- a/README.md +++ b/README.md @@ -88,14 +88,18 @@ Firebase offers two cloud-based, client-accessible database solutions that suppo ### Authenticate users - [Getting started with Firebase Authentication](docs/auth/getting-started.md) +- [Route us...
5
4
2
[{"id": "G0", "claim": "The docs should reword the pre-built pipes heading to \"Use the built-in `hasCustomClaim`, `redirectUnauthorizedTo`, and `redirectLoggedInTo` pipes for common auth checks\" and, better, list all of the useful pre-built pipes exported from auth-guard.ts in that section.", "category": "documentati...
null
angular__angularfire__2066
angular/angularfire
2,066
defect
d12b4c5f602a88477ee57f8a00a524f6a768db01
98737e21b3370c937d629c37a956a13d21a14b82
feat(firestore): Support Firestore Collection Group Queries
<!-- Thank you for contributing to the Firebase community! Please fill out the pull request form below and make note of the following: Run the linter and test suite ============================== Make sure your changes pass our linter and the tests all pass on your local machine. We've hooked up this repo wit...
diff --git a/docs/firestore/querying-collections.md b/docs/firestore/querying-collections.md index 87ada4c92..22596566b 100644 --- a/docs/firestore/querying-collections.md +++ b/docs/firestore/querying-collections.md @@ -180,4 +180,23 @@ export class AppComponent { } ``` +## Collection Group Queries + +To query acr...
2
1
0
[{"id": "G0", "claim": "The sentence saying `AngularFirestoreCollectionGroup` is similar to `AngularFirestoreCollection` but has no data operation methods such as `add` because it has no set reference is hard to interpret; rewrite it, e.g. \"... similar to `AngularFirestoreCollection`. The main difference is that `Angu...
null
angular__angularfire__368
angular/angularfire
368
defect
9edf33adec437ead72b2063e44545ddabf8b6185
99e02f4f35af8e213d5506b3c14378f2181bd374
fix(auth): add scheduler to schedule onAuth events through Angular zone
Closes #354
diff --git a/src/auth/auth.spec.ts b/src/auth/auth.spec.ts index a9beedad7..20aa41cd9 100644 --- a/src/auth/auth.spec.ts +++ b/src/auth/auth.spec.ts @@ -139,13 +139,17 @@ describe('FirebaseAuth', () => { }); authSpy['getRedirectResult'].and.returnValue(Promise.resolve(null)); - inject([FirebaseApp, Ang...
3
3
0
[{"id": "G0", "claim": "Add a comment in auth.spec.ts explaining why the spec setup is wrapped in a zone and what exactly needs to be wrapped.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Implement ZoneScheduler by overriding the schedule method...
null
angular__angularfire__471
angular/angularfire
471
defect
f2d5ba532850d7458e34da8fe65447f3d5d3ab03
3a740ddcc3bb0faa8ddd4b46e4d3d22348aae809
feat(utils): Add $exists method to AFUnwrappedSnapshot
Closes` #300. Also closes #464. Exposes the `DataSnapshot#exists` function to the `AFUnwrappedSnapshot`. ``` ts af.database.object('myKey').subscribe((obj) => { if (obj.$exists()) { // object exists } else { // object does not exist } }); ```
diff --git a/src/auth/auth_backend.ts b/src/auth/auth_backend.ts index 60489cf48..b5da7020d 100644 --- a/src/auth/auth_backend.ts +++ b/src/auth/auth_backend.ts @@ -37,6 +37,7 @@ export enum AuthMethods { export interface AuthConfiguration { method?: AuthMethods; provider?: AuthProviders; + scope?: string[]; }...
2
1
0
[{"id": "G0", "claim": "The `scope?: string[]` addition to AuthConfiguration does not look like part of the $exists implementation and may not generate sufficient release notes from the commit message.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
angular__angularfire__505
angular/angularfire
505
defect
1eb449a77b69e42166807fc81f8af8ad4db529a4
4e33b417c38c38647698c27b9cf25251a7b89c18
Upgrade to RC7
Addresses #468 #493 #499 #502 And hopefully some auth issues too #496
diff --git a/karma-test-shim.js b/karma-test-shim.js index 184fb51d2..d1bf56928 100644 --- a/karma-test-shim.js +++ b/karma-test-shim.js @@ -30,35 +30,31 @@ System.config({ System.config( { + paths: { + // paths serve as alias + 'npm:': 'node_modules/' + }, map: { - 'rxjs': 'node_modules/rxjs', - '...
4
3
0
[{"id": "G0", "claim": "The @types/bluebird dependency should not be in package.json because the project does not use the Bluebird library.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "SystemJS could instead load the ES modules using the old c...
null
angular__angularfire__912
angular/angularfire
912
defect
980c447899eb6e3bc28c24fb2b4a58fdbe262306
42fb3b9c2f380001435e3b5f70062f31ad75ec5f
feat(FirebaseListObservable): add `set` method for destructive updates
Provides support for destructive updates from `FirebaseListObservables. Signed-off-by: Somo <somo@mombo.solutions> <!-- Thank you for contributing to the Firebase community! Please fill out the pull request form below and make note of the following: Run the linter and test suite ==========================...
diff --git a/docs/3-retrieving-data-as-lists.md b/docs/3-retrieving-data-as-lists.md index 4ce454ff0..0ffd41351 100644 --- a/docs/3-retrieving-data-as-lists.md +++ b/docs/3-retrieving-data-as-lists.md @@ -120,7 +120,19 @@ const items = af.database.list('/items'); items.push({ name: newName }); ``` -### Updating ite...
1
1
0
[{"id": "G0", "claim": "Remove the stray blank line inside the newly added set() method.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
angular__components__12488
angular/components
12,488
defect
dcd228229529145f3104b7340bf96d7696be8423
4e93368e7c51a43e71ab0b2508eab91338cef893
fix(ripple): not fading out on touch devices
* Makes the ripple animations no longer dependent on `setTimeout` that does not always fire properly / or within the specified duration. (related chrome issue: https://bugs.chromium.org/p/chromium/issues/detail?id=567800) * Fix indentation of a few ripple tests and that the speed factor tests are basically not checkin...
diff --git a/src/lib/checkbox/checkbox.spec.ts b/src/lib/checkbox/checkbox.spec.ts index 1ae96a96d582..4e46fb0ec115 100644 --- a/src/lib/checkbox/checkbox.spec.ts +++ b/src/lib/checkbox/checkbox.spec.ts @@ -2,7 +2,6 @@ import { ComponentFixture, fakeAsync, TestBed, - tick, flush, flushMicrotasks, } fro...
4
1
0
[{"id": "G0", "claim": "If the bug only occurs when constantly tapping, jelbourn asks whether it would be simpler to just cap the number of ripples that can appear.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new transition-end handler should be nam...
null