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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FabricMC__fabric-api__2901 | FabricMC/fabric-api | 2,901 | defect | 0780111d1981ebd00ff5c399c2bc8131f866f26e | 788524d846af892481d4ca297cae7ce390ad0f8d | Add registry for core shaders in custom namespaces | - `CoreShaderRegistrationCallback` lets mods register core shader programs (like `POSITION_TEX`, stored in `assets/namespace/shaders/core`) in any namespace.
- Likewise, the individual shader stages (vertex/fragment) can also be in any namespace.
- `#moj_import` in core shaders lets you import files from custom names... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/CoreShaderRegistrationCallback.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/CoreShaderRegistrationCallback.java
new file mode 100644
index 00000000000..f989d9c469f
--- /dev/null
+++ b/f... | 5 | 4 | 0 | [{"id": "G0", "claim": "The new import-processor mixin may not correctly take path normalization into account when rewriting moj_import paths.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replace the hardcoded ':' with Identifier.NAMESPACE_SEPARATOR... | null |
FabricMC__fabric-api__2908 | FabricMC/fabric-api | 2,908 | defect | 2facd446984085376bd23245410ebf2dc0881b02 | b637ee8e4c96c6eebc1568348d5ac3dc1967322f | Transfer API: Add slotted storage and non-empty iterator | - Add non-empty iterator system. This allows many slots to be skipped in large inventories provided a suitable tracking structure. Adds `StorageUtil.extractAny`.
- Add `SlottedStorage` that allows storages to optionally expose a slot list. This is optional, and is meant for usage by chest-like inventories.
- Clarify ... | diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/context/ContainerItemContext.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/context/ContainerItemContext.java
index d17bc12677f..e59276a2d17 100644
--- a/fabric-transfer-api-v1/src/main/java/net/fabric... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new default InventoryStorage.getSlotCount() calling getSlots().size() looks like a problematic recursion since getSlots uses getSlotCount.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "SquidDev is unsure when the default S... | null |
FabricMC__fabric-api__3056 | FabricMC/fabric-api | 3,056 | defect | 03ef495b7fa6ba8e61393c528cafae430a9dbd45 | 7d58698e6ab8d8f3934880af0321f887c86f6957 | Add and test for missing method overrides in FabricBlockSettings | 5 mins into porting my mod to 1.20, I found this problem. Its amazing what you find when you actually use something 😆
This should be a none breaking change, also added a basic test to ensure it doesnt get like this again. | diff --git a/fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/FabricItemSettingsTests.java b/fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/FabricItemSettingsTests.java
index bf9d1717ece..b784d7c7da9 100644
--- a/fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/Fabri... | 3 | 2 | 1 | [{"id": "G0", "claim": "These tests could be expanded to FabricItemSettings as well, since item settings seem most prone to changes and other classes might benefit.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ideally the whole thing would be replaced... | null |
FabricMC__fabric-api__3352 | FabricMC/fabric-api | 3,352 | defect | 8a234a4fd558606d05dc810de32cc96560b59bf8 | 7ac89dc3928a864fdb2e1d771845a72000f875a7 | Add LootTableEvents.LOADED event | Hey,
The current loot table mixin <https://github.com/FabricMC/fabric/blob/1.20.1/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/mixin/loot/LootManagerMixin.java#L55> updates the return value which will automatically blocks all modded mixins with the same injection but higher priority.
So I added an event ... | diff --git a/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/api/loot/v2/LootTableEvents.java b/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/api/loot/v2/LootTableEvents.java
index 56776cb1213..6c3b8b52483 100644
--- a/fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/api/loot/v2/LootTableEvents.java
+++... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new event's naming should reflect that it covers multiple loot tables: the listener method should be renamed `onLootTablesLoaded` (plural) and, since the per-table events keep singular names, the event itself should perhaps be called `ALL_LOADED` to avoid confusion.", "category": "maintainab... | null |
FabricMC__fabric-api__3363 | FabricMC/fabric-api | 3,363 | defect | 10292b95f5cf916170c0ac97c7d239dc1ef9e7bf | 6ae1dd2522766b1f740c18375a52e3c71757c694 | [1.20.3] Move clientPickBlock APIs to client source set. | Wont break the API for mods that are correctly using these events in the client sourceset (or merged mods).
Seems this was just missed when the inital split was made. | diff --git a/fabric-events-interaction-v0/src/main/java/net/fabricmc/fabric/api/event/client/player/ClientPickBlockApplyCallback.java b/fabric-events-interaction-v0/src/client/java/net/fabricmc/fabric/api/event/client/player/ClientPickBlockApplyCallback.java
similarity index 100%
rename from fabric-events-interaction-v... | 1 | 1 | 1 | [{"id": "G0", "claim": "The main mod's client entrypoint must not point at the test mod's InteractionEventsRouterClient class; the impl router client does not belong in the test mod's client source set.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
FabricMC__fabric-api__3389 | FabricMC/fabric-api | 3,389 | defect | 07fc18e50514e60b6ac3a527e6a381ef1271528d | a2f2c166c999f297aadb8e67a777fbc9a2add815 | Fix custom ingredient serialization with allowEmpty | @jaredlll08 told me that custom ingredients did not serialize correctly with the `allowEmpty` codec. This is because the serialization code in our modified codec actually tried to serialize using the vanilla codec first, which fails when the ingredient is empty if `allowEmpty` is false **but succeeds if `allowEmpty` is... | diff --git a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/impl/recipe/ingredient/CustomIngredientImpl.java b/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/impl/recipe/ingredient/CustomIngredientImpl.java
index 9e5e3e77441..dad5d25cb58 100644
--- a/fabric-recipe-api-v1/src/main/java/net/fabricmc/fabri... | 3 | 2 | 1 | [{"id": "G0", "claim": "Remove the now-unused CustomIngredientImpl#first helper (and its First record), since this change removes its only use.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fix could be as simple as flipping the order of th... | null |
FabricMC__fabric-api__3407 | FabricMC/fabric-api | 3,407 | defect | 65c120eded0fb3d65c10cd2a616e38e22746963d | 7c3648eea3d9b391209411bf60fffcad408c1488 | Avoid serializing object-based payload into `PacketByteBuf` on the main thread | Resolves #3335
```mermaid
graph TD
ResolvablePayload["<i>ResolvablePayload</i>"] --> RetainedPayload["RetainedPayload(Identifier, PacketByteBuf)"]
ResolvablePayload --> ResolvedPayload["<i>ResolvedPayload</i>"]
RetainedPayload -.-> ResolvedPayload
ResolvedPayload --> TypedPayload["TypedPayload(F... | diff --git a/fabric-networking-api-v1/src/client/java/net/fabricmc/fabric/api/client/networking/v1/ClientConfigurationNetworking.java b/fabric-networking-api-v1/src/client/java/net/fabricmc/fabric/api/client/networking/v1/ClientConfigurationNetworking.java
index 455771367e9..fa78e9ff37d 100644
--- a/fabric-networking-a... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR should serialise packets by default whenever the game runs in a development environment, with a system property to control that behaviour.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR must keep enforcing vanilla's ... | null |
FabricMC__fabric-api__3413 | FabricMC/fabric-api | 3,413 | defect | fd3c43cbb20f28b1b938bb602b485c8cba60dd5f | 00ddee08bcb94f7669dc7e2e171df8290f25b5a1 | Backport #2901 to 1.19.2 | This PR backports the core shader API in `fabric-rendering-v1` to 1.19.2. This consists mostly of renames of the 1.19.3 API’s code, plus a minor change in the test mod to use the pre-JOML `Matrix4f`.
## Motivation
While I want to use the standard Forge and Fabric APIs for custom core shaders in Caxton, Fabric’s A... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/CoreShaderRegistrationCallback.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/CoreShaderRegistrationCallback.java
new file mode 100644
index 00000000000..f945cdff3b7
--- /dev/null
+++ b/f... | 2 | 1 | 0 | [{"id": "G0", "claim": "Fix the checkstyle issues introduced by the new testmod file HudAndShaderTest.java (import ordering).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ShaderProgramMixin mixin fails validation, so the author should test... | null |
FabricMC__fabric-api__3563 | FabricMC/fabric-api | 3,563 | defect | 03be9f1df290e9de96065432c8ea851193e36af4 | cf1724188f5b74b239da3e6d4c1d771b89cdb553 | Fix WorldRenderEvents.AFTER_TRANSLUCENT | Fix #3561 | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/WorldRenderContext.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/WorldRenderContext.java
index 7dca30f3fe5..e36cd0603f2 100644
--- a/fabric-rendering-v1/src/client/java/net/fabricmc/fabr... | 2 | 1 | 1 | [{"id": "G0", "claim": "The context object is re-used, so its matrixStack must be set back to null in context.prepare.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Other objects of the re-used context, such as frustum and the block outline fields ... | null |
FabricMC__fabric-api__3706 | FabricMC/fabric-api | 3,706 | defect | 8f5205a8a127f86c4938bce1a101f4c9f528dc42 | 24e714852081ae9e3cc19ff2d0e8b87d8a5b5886 | Finish port to 1.20.5-pre1 | **Breaking Changes**
- Particle API: `FabricParticleTypes` no longer takes a `Factory` (which was removed). Also, one method erroneously took an unused param, `codecGetter`, which has been removed. (This was introduced in #3537.)
- Content Registries: Added an injected interface `FabricBrewingRecipeRegistryBuilder`, ... | diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/BrewingRecipeRegistryBuilderCallback.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/BrewingRecipeRegistryBuilderCallback.java
deleted file mode 100644
index f167a770067..00000000000
--- a/fabric-... | 1 | 1 | 1 | [{"id": "G0", "claim": "The builder's feature-flag handling should be redesigned: instead of methods taking FeatureFlag varargs, FabricBrewingRecipeRegistryBuilder should interface-inject a getter for the enabled feature set.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FabricMC__fabric-api__3728 | FabricMC/fabric-api | 3,728 | defect | ce4249dddc3b0dc89f49a162ed61038db4816ca0 | ce1e3e3939896dba1eb33802b93eb23ec5503bd1 | Add API to modify default item components | ```java
DefaultItemComponentsCallback.MODIFY.register(context -> {
context.modify(Items.GOLD_INGOT, builder -> {
builder.add(DataComponentTypes.ITEM_NAME, Text.literal("Fool's Gold").formatted(Formatting.GOLD));
});
context.modify(Items.GOLD_NUGGET, builder -> {
builder.add(DataComponentTypes.FIREWORKS, ne... | diff --git a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/DefaultItemComponentsCallback.java b/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/DefaultItemComponentsCallback.java
new file mode 100644
index 00000000000..7d0fe1b9ac1
--- /dev/null
+++ b/fabric-item-api-v1/src/main/java/... | 5 | 5 | 3 | [{"id": "G0", "claim": "The AfterModifyContext.modify implementation should not be filtered by FAPI to items that already contain the component; it should fire for every item and let the listener set its own condition, since a listener might want to check multiple components or modify items lacking certain components."... | null |
FabricMC__fabric-api__373 | FabricMC/fabric-api | 373 | defect | c208a44d66fd505ae541a1c9e9ef7a98cbc2a411 | 236dc11d4432615c75ceb6a4a4ac243fb255d05b | Bring dimension API to 1.15 branch | Most of this is a straightforward merge of the just-added Dimension API from the 1.14 branch to the 1.15 branch.
However, DimensionType has a new biome-related function in the constructor. I added a new builder attributed and patched in a default to make it run, but someone with more depth in biomes and dimensions ... | diff --git a/build.gradle b/build.gradle
index ff2acbdeef7..0266dc31459 100644
--- a/build.gradle
+++ b/build.gradle
@@ -12,7 +12,7 @@ plugins {
def ENV = System.getenv()
class Globals {
- static def baseVersion = "0.3.2"
+ static def baseVersion = "0.3.3"
static def mcVersion = "19w38b"
static def yarnVersion ... | 7 | 7 | 0 | [{"id": "G0", "claim": "Remove the commented-out constructor parameter line and adapt the constructor's @param javadoc, which still documents parameters that no longer exist.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The biome function should... | null |
FabricMC__fabric-api__3832 | FabricMC/fabric-api | 3,832 | defect | 98a7dbbb5725dcaf13e4f19d91696a3075c71a86 | 24c1c88b5e1f16adf9ba8a24d66a709095ffd267 | Configuration networking fixes | - Deprecate `ClientConfigurationConnectionEvents.READY` as it was incorrectly named, replaced with `COMPLETE`
- Add `ClientConfigurationConnectionEvents.START`, this is fired when the server is ready to recieve configuration packets. During login and reconfigure
- Remove incorrect assertion causing a crash when recon... | diff --git a/fabric-networking-api-v1/src/client/java/net/fabricmc/fabric/api/client/networking/v1/ClientConfigurationConnectionEvents.java b/fabric-networking-api-v1/src/client/java/net/fabricmc/fabric/api/client/networking/v1/ClientConfigurationConnectionEvents.java
index 42cac04f134..4ca3bd05bc5 100644
--- a/fabric-... | 3 | 3 | 3 | [{"id": "G0", "claim": "The onServerReady() override in ClientConfigurationNetworkAddon does not call super.onServerReady(), so the parent handler's ready state (isServerReady) is never set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "onServerRea... | null |
FabricMC__fabric-api__4038 | FabricMC/fabric-api | 4,038 | defect | 1bb677a646a4ee6ee39a7b193978daf2d0e5ceea | 19a5e5c73b58eeb174881065b05f26400899c687 | Add fuel registry events | This draft pull request is a first pass at a successor for Fabric API's `FuelRegistry` (which may be reintroduced as a deprecated class as well). More details will follow. | diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/FabricFuelRegistryBuilder.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/FabricFuelRegistryBuilder.java
new file mode 100644
index 00000000000..7eaaa0d54b6
--- /dev/null
+++ b/fabric-content-regi... | 8 | 8 | 2 | [{"id": "G0", "claim": "The events-holding interface should be marked @ApiStatus.NotExtendable so mods cannot implement it (the author should add that annotation).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The BUILD event's javadoc should clarify wh... | null |
FabricMC__fabric-api__4052 | FabricMC/fabric-api | 4,052 | defect | 2be899094a328effce684e986008295d07e46622 | 01bbb4e12ce6854ceaea4433a0a246d323f8470b | Print the full stack trace from the dedicated server watchdog | Turns out 1.21.2 broke my FullStack Watchdog mod but instead of merging someone's PR to port my mod to that version, I figured maybe it'll be better to have it in Fabric API itself.
This code simply swaps the ThreadInfo being passed to StringBuilder with a full stacktrace string instead. The reason for this is Threa... | diff --git a/fabric-crash-report-info-v1/src/main/java/net/fabricmc/fabric/impl/crash/report/info/ThreadPrinting.java b/fabric-crash-report-info-v1/src/main/java/net/fabricmc/fabric/impl/crash/report/info/ThreadPrinting.java
new file mode 100644
index 00000000000..340a1e8e439
--- /dev/null
+++ b/fabric-crash-report-inf... | 2 | 2 | 0 | [{"id": "G0", "claim": "Would it be possible to create a testmod with a way to trigger the watchdog stack-trace printing for testing?", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please add a comment to ThreadPrinting.fullThreadInfoToString saying it ... | null |
FabricMC__fabric-api__4070 | FabricMC/fabric-api | 4,070 | defect | 2ade441e6095974037f3d8c7926736c6a4134e8d | 523a4d12ef51fd7c4f2dc7afe61dcca41b1f0d7f | [1.21.5] Implement builtin mod resource/data pack sorting | > Supersedes #3913, targets 1.21.2 and changed how sorting works.
Overriding data/resource pack files from other mods is currently quite difficult as mod loading order isn't consistent. This can be especially annoying for compatibility mods that exist to override data/resource files from other mods.
This PR addre... | diff --git a/fabric-resource-loader-v0/build.gradle b/fabric-resource-loader-v0/build.gradle
index 3c7ab2966e2..2379c22ba1f 100644
--- a/fabric-resource-loader-v0/build.gradle
+++ b/fabric-resource-loader-v0/build.gradle
@@ -4,8 +4,54 @@ loom {
accessWidenerPath = file("src/main/resources/fabric-resource-loader-v0.ac... | 4 | 3 | 2 | [{"id": "G0", "claim": "The pull request's new builtin pack sorting behaviour clearly needs tests, which it does not have.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Trying to run the test mod via runTestmodClient or runTestmodServer crashes with a ... | null |
FabricMC__fabric-api__4082 | FabricMC/fabric-api | 4,082 | defect | a6aa5fa825c6b73053f601cd425cdc5f9e6f212a | 99af6c8a071e94abd7f28efc2ffd8ccc80d51e67 | Add ItemVariant#withComponentChanges and FluidVariant#withComponentChanges | Right now making a new transfer variant with some changed components is a bit cumbersome.
This PR adds a method to both ItemVariant and FluidVariant for easily making a copy of a variant with your component changes applied. | diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariant.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidVariant.java
index 9eaba31540d..6c775e5a6e4 100644
--- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transf... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new method should be named `withComponentChanges` rather than `withChanges` to clarify what is being changed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "withComponentChanges should also be declared on TransferVari... | null |
FabricMC__fabric-api__4173 | FabricMC/fabric-api | 4,173 | defect | b6ed6c19bb347d63acadc8f8932242a33a2cc3b3 | 2ccffe27e29a72fbae411c2e232235d968e69e4a | Add AFTER_CLIENT_WORLD_CHANGE | Add an event for the current ClientWorld being updated.
Fixes #3714 | diff --git a/fabric-entity-events-v1/src/client/java/net/fabricmc/fabric/api/entity/event/client/ClientWorldChangeEvents.java b/fabric-entity-events-v1/src/client/java/net/fabricmc/fabric/api/entity/event/client/ClientWorldChangeEvents.java
new file mode 100644
index 00000000000..b45739fa4aa
--- /dev/null
+++ b/fabric-... | 5 | 3 | 2 | [{"id": "G0", "claim": "The new client world-change event should not live in the entity-events module but in the client lifecycle-events module, as a ClientWorldEvents class mirroring ServerWorldEvents.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
FabricMC__fabric-api__4231 | FabricMC/fabric-api | 4,231 | defect | 5197d62800bbd09169ced6c73bc45767a028cd41 | fd1b366e7af382c82bfbc8bab83ae874ebe1630c | Registry aliasing | Adds a small API to add aliases to registries, useful for when mods want to change IDs without losing compatibility with existing saves, and without having to resort to datafixer hacks.
The API just consists of a new `FabricRegistry` interface, implemented on all Registry instances via interface injection, with an `... | diff --git a/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/api/event/registry/FabricRegistry.java b/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/api/event/registry/FabricRegistry.java
new file mode 100644
index 00000000000..a50f7b1b0f1
--- /dev/null
+++ b/fabric-registry-sync-v0/src/main/java/n... | 15 | 13 | 2 | [{"id": "G0", "claim": "The `fabric_` prefix on the @Unique `fabric_addObjectEvent` field is unnecessary when using @Unique and can be dropped.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should not reformat the pre-existing cr... | null |
FabricMC__fabric-api__4233 | FabricMC/fabric-api | 4,233 | defect | a884cf33d96165ea9aaae928e1440e51f69cc01a | 431c0b64466786be95434c21a454739a351d4c00 | [1.21.4] Add optional registries & refactor registry sync | - General code cleanup, a lot of stuff can now be made client only as we no longer persist ids.
- There is scope to move even more (such as the registry remapping code) to the client, but ill leave this for later.
- Add some more unit tests :)
- Add optional registries
# Optional registries / stricter defaults
... | diff --git a/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/server/ServerConfigurationNetworkAddon.java b/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/server/ServerConfigurationNetworkAddon.java
index c70e7dbdc77..e3179cba0a0 100644
--- a/fabric-networking-api-v... | 2 | 2 | 0 | [{"id": "G0", "claim": "The inline comment '// Found a registry entry from the server that is' is an unfinished sentence and should say the entry is missing on the client.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The non-optional unknown-reg... | null |
FabricMC__fabric-api__4304 | FabricMC/fabric-api | 4,304 | defect | 4fc7e41ba70c2da7fa32112a18dd6cd2e6dd8b8a | 3dfdebf6240240961645d9cf58fda694a532a64d | Client gametest threading tweaks | - Fixed cases where the game didn't close properly when a test is thrown or an exception is thrown elsewhere.
- Mutate the stack traces of exceptions thrown in tasks to make them easier to track.
You can review the commits one at a time to make it easier to review. | diff --git a/fabric-client-gametest-api-v1/src/client/java/net/fabricmc/fabric/api/client/gametest/v1/package-info.java b/fabric-client-gametest-api-v1/src/client/java/net/fabricmc/fabric/api/client/gametest/v1/package-info.java
index 79497dca5d8..521dd389e49 100644
--- a/fabric-client-gametest-api-v1/src/client/java/n... | 1 | 1 | 1 | [{"id": "G0", "claim": "When an exception is thrown inside a task run via ThreadingImpl.runOnServer, the new stack-trace joining in ThreadingImpl.joinAsyncStackTrace throws NullPointerException: stackTrace[9] at Throwable.setStackTrace instead of producing a clean joined stack trace, on both the integrated singleplayer... | null |
FabricMC__fabric-api__4321 | FabricMC/fabric-api | 4,321 | defect | 86a6267f0c0bb8d0f3fb4fa46fe2087cbb731554 | 4b76f1c125a95d27325bcc2c88c4dd2a055958c5 | Add `UnbakedModelDeserializer` | This pull request introduces the `UnbakedModelDeserializer` interface, which allows overriding the deserialization process of a JSON model file based on its `fabric:type` JSON key.
### Points to Discuss
- [x] Should optional types be allowed? That is, if a type is declared as optional in the JSON file and the typ... | diff --git a/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/UnbakedModelDeserializer.java b/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/UnbakedModelDeserializer.java
new file mode 100644
index 00000000000..3dd4e23e88b
--- /dev/... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new public UnbakedModelDeserializer API lacks javadoc, especially documentation of what the deserialization context can deserialize.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The interface's deserialize method shou... | null |
FabricMC__fabric-api__4474 | FabricMC/fabric-api | 4,474 | defect | b571d268477fc9c76f96086969afe2cdce0f1386 | b3fb29dfade7f091ab21b1ab3aa32fb384916663 | [1.21.5] Add back "invokeTestMethod" function to allow control over calling the test method. | This is basically the same API in as in 1.21.4. Useful to call code before and after each test, or pass custom params. | diff --git a/fabric-gametest-api-v1/src/main/java/net/fabricmc/fabric/api/gametest/v1/CustomTestMethodInvoker.java b/fabric-gametest-api-v1/src/main/java/net/fabricmc/fabric/api/gametest/v1/CustomTestMethodInvoker.java
new file mode 100644
index 00000000000..86e604e9334
--- /dev/null
+++ b/fabric-gametest-api-v1/src/ma... | 3 | 2 | 0 | [{"id": "G0", "claim": "Consider adding a deprecated FabricGameTest interface that subclasses CustomTestMethodInvoker so people can more easily find the right migration path.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "validateMethod's exception message... | null |
FabricMC__fabric-api__4538 | FabricMC/fabric-api | 4,538 | defect | e314ff6ae1edcfa6efe7c08f9424fe0871b7ddb6 | 45da61d19350ceba06ccb6dff979e25d2c95ab40 | AttSync: Disconnect when attachment target is null | Example:
 | diff --git a/fabric-data-attachment-api-v1/src/client/java/net/fabricmc/fabric/impl/attachment/client/AttachmentSyncClient.java b/fabric-data-attachment-api-v1/src/client/java/net/fabricmc/fabric/impl/attachment/client/AttachmentSyncClient.java
index ceb1bcef8b8..318e9ba9395 100644
--- a/fabric-data-attachment-api-v1/s... | 3 | 3 | 2 | [{"id": "G0", "claim": "tryApply would be better throwing a custom exception carrying the Text up to the receiver so the disconnect can be handled there, instead of handling the disconnect itself.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "These erro... | null |
FabricMC__fabric-api__4562 | FabricMC/fabric-api | 4,562 | defect | f5df0b8b1d41e3e11c4dda510094b08f4eab3a7d | 7e19712e6f5730d1ccb11ed8f048fbe30d22ff07 | Add custom unbaked block state model types | This pull request adds the `CustomUnbakedBlockStateModel`, which allows using custom model types in blockstate files. Any place where a `ModelVariant` is normally allowed (including within a weighted list) can now use the `"fabric:type"` key and define a custom model.
The `fabric:composite` custom model type is regi... | diff --git a/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/CustomUnbakedBlockStateModel.java b/fabric-model-loading-api-v1/src/client/java/net/fabricmc/fabric/api/client/model/loading/v1/CustomUnbakedBlockStateModel.java
new file mode 100644
index 00000000000..367e5ac80b3
-... | 1 | 1 | 1 | [{"id": "G0", "claim": "It is questionable whether the local record Key(Object[] subkeys) used as the composite model's geometry key will produce suitable equals and hashCode.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
FabricMC__fabric-api__4587 | FabricMC/fabric-api | 4,587 | defect | 1e0ad51b090027418317af04bac643896217ff44 | 18a1207a12669fb0cb794990bd95e5633a6002be | Add component tooltip appender registry | Supersedes #4567.
Adds a way to register `TooltipAppender` item components. This implementation allows modders to anchor their item components relative to any vanilla (or modded) item component, while not hardcoding the list or order of vanilla item components. It's annoying to need to scrape the vanilla order from ... | diff --git a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/ComponentTooltipAppenderRegistry.java b/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/ComponentTooltipAppenderRegistry.java
new file mode 100644
index 00000000000..9fa736e94e2
--- /dev/null
+++ b/fabric-item-api-v1/src/main... | 7 | 7 | 2 | [{"id": "G0", "claim": "The new registry API should expose its add methods as static methods on the interface instead of the getInstance() singleton pattern, which new APIs no longer use.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "This kind of null c... | null |
FabricMC__fabric-api__4599 | FabricMC/fabric-api | 4,599 | defect | 549074665bbab99ebe2a87ce110c1730cb7e2c68 | b2d18a8fd470f85c83b824ba4f32d6ab1fc771a2 | Add a tracked data handler registry (continuation of #3584) | This pull request is a continuation of #3584 and thus supersedes it. I am not the author of the original pull request and thus it is difficult for me to make the necessary changes to it directly. However, the commits from the original pull request have been included in this one to preserve authorship.
Some minor adj... | diff --git a/fabric-object-builder-api-v1/build.gradle b/fabric-object-builder-api-v1/build.gradle
index 3dd29fe9d18..4143ec0d89a 100644
--- a/fabric-object-builder-api-v1/build.gradle
+++ b/fabric-object-builder-api-v1/build.gradle
@@ -2,12 +2,14 @@ version = getSubprojectVersion(project)
moduleDependencies(project... | 6 | 3 | 1 | [{"id": "G0", "claim": "Make FabricTrackedDataRegistry a @ApiStatus.NonExtendable interface instead of a final class.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The public inspection methods get(Identifier) and getId(TrackedDataHandler) may not be usef... | null |
FabricMC__fabric-api__4606 | FabricMC/fabric-api | 4,606 | defect | 549074665bbab99ebe2a87ce110c1730cb7e2c68 | a35b9915c915e7b3bb0c90ac48cd39012eaec1ea | Attachment changed event | Continuation of #4592, made as a listener(and not a modify) and set in the target itself.
Example usage:
```java
ClientEntityEvents.ENTITY_LOAD.register((entity, world) -> {
entity.onAttachedChanged(AttachmentTestMod.SYNCED_ITEM).register((oldValue, newValue) -> {
MinecraftClient.getInstance().inGameHud.getC... | diff --git a/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/api/attachment/v1/AttachmentTarget.java b/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/api/attachment/v1/AttachmentTarget.java
index bf409133022..259a1750f60 100644
--- a/fabric-data-attachment-api-v1/src/main/java/net/fabri... | 7 | 7 | 2 | [{"id": "G0", "claim": "The javadoc for the event getter should mention the potentially recursive nature of the event.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Both the old and the new value parameters of the OnAttachedChanged callback shoul... | null |
FabricMC__fabric-api__4683 | FabricMC/fabric-api | 4,683 | defect | f84dc5662589fd56ac4b36a4b94920a15b1da29d | 1cff9acb26e3f30d67ceaf3accc0b2e026982947 | Fix Bug in LootTableEvents.MODIFY_DROPS causing inline loot tables to always throw (Breaking Change) | Fixes #4681 by passing Direct entries when the table is unregistered and adds inline table tests to the tested | diff --git a/fabric-loot-api-v3/src/main/java/net/fabricmc/fabric/api/loot/v3/LootTableEvents.java b/fabric-loot-api-v3/src/main/java/net/fabricmc/fabric/api/loot/v3/LootTableEvents.java
index 8a13e9d4f2c..5b8b978dad8 100644
--- a/fabric-loot-api-v3/src/main/java/net/fabricmc/fabric/api/loot/v3/LootTableEvents.java
+++... | 2 | 1 | 0 | [{"id": "G0", "claim": "A cast would be a better way than .map(Function.<RegistryEntry<LootTable>>identity()) to widen the RegistryEntry.Reference to RegistryEntry, though the reviewer doubts it matters much.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "... | null |
FabricMC__fabric-api__4690 | FabricMC/fabric-api | 4,690 | defect | 13e0aafc84a7a3b197f012b09623741c67c377bc | f948bed230837516582bddbb1c7d3988dffae000 | Add `GatherDebugTextEvents` | This adds two simple events that run when the text on the left and right sides of the `DebugHud` is gathered, respectively.
The mutable lists populated by vanilla are passed to the events, allowing for adding custom lines and editing existing ones.
This is a common injection point for mods, so it might be good to h... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/GatherDebugTextEvents.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/GatherDebugTextEvents.java
new file mode 100644
index 00000000000..2a4998e4f67
--- /dev/null
+++ b/fabric-rendering-v1... | 4 | 2 | 0 | [{"id": "G0", "claim": "The feature should not be added as is: the idea was previously rejected because it would invite every mod to add pointless debug lines, and even the author's screenshot shows text overflowing the window bounds.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"... | null |
FabricMC__fabric-api__4693 | FabricMC/fabric-api | 4,693 | defect | 94fba6bcf5e54c11b70620a9f5c7979aaf2d7a6a | 47c5f4ea6193d2d357e8639a20cbc514ee133bc9 | ArmorRenderer: Add option to disable default head item rendering | Adds a new method to `ArmorRenderer`, `shouldRenderDefaultHeadItem`, that can disable the default vanilla behaviour of rendering an item as its model when it doesn't have an armor asset id defined. Most custom armor doesn't need the extra item model, so it's useful to have an API to turn it off.
Also contains a fix ... | diff --git a/fabric-rendering-v1/build.gradle b/fabric-rendering-v1/build.gradle
index 5eb2b31ba73..7ddab602d07 100644
--- a/fabric-rendering-v1/build.gradle
+++ b/fabric-rendering-v1/build.gradle
@@ -7,5 +7,6 @@ moduleDependencies(project, [
testDependencies(project, [
':fabric-client-gametest-api-v1',
+ ':fabric... | 2 | 1 | 0 | [{"id": "G0", "claim": "Asks whether items that already had a registered armor renderer change behaviour under this change.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The mixins should capture the ItemStack method argument directly via WrapOperati... | null |
FabricMC__fabric-api__4696 | FabricMC/fabric-api | 4,696 | defect | 94fba6bcf5e54c11b70620a9f5c7979aaf2d7a6a | d0605dccbc4838b3fc0e2338fd26408aaea1cdf3 | Special gui elements registry | This is based on https://github.com/FabricMC/fabric/pull/4676 but takes a diffrent approach removing the need for an event. I wasnt too keen on the event for a few reasons:
- Its only called once, events are good for callbacks that need to be invoked many times
- It depends on class loading order/timing. What if th... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/SpecialGuiElementRegistry.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/SpecialGuiElementRegistry.java
new file mode 100644
index 00000000000..14fb9610085
--- /dev/null
+++ b/fabric-rend... | 6 | 4 | 1 | [{"id": "G0", "claim": "SpecialGuiElementRegistryImpl should explain with a comment why an IllegalStateException is thrown when onReady is called after transitioning to the late registration handler, or handle duplicate initialization calls more gracefully.", "category": "maintainability", "verdict": "uncertain", "prio... | null |
FabricMC__fabric-api__4706 | FabricMC/fabric-api | 4,706 | defect | 8ea25362f47bbd552ef4e5db68f3cf58d7bf7c74 | 7f0222b9caa84e4fb55c7dc699efaa6334b93589 | Add `DrawItemStackOverlayCallback` | Adds an event for rendering custom item stack decorations. In vanilla those are: durability bar, cooldown overlay and stack count.
The event runs for every item stack and provides that stack as a parameter.
Regarding performance concerns it is possible to introduce a more specialized event / registry in the futur... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/DrawItemStackOverlayCallback.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/DrawItemStackOverlayCallback.java
new file mode 100644
index 00000000000..4e098ad3876
--- /dev/null
+++ b/fabri... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `(DrawContext) (Object) this` instead of the reflective `DrawContext.class.cast(this)` in DrawContextMixin, since double-casting is the Fabric API/mixin convention and avoids reflection's ongoing per-call cost.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "... | null |
FabricMC__fabric-api__4746 | FabricMC/fabric-api | 4,746 | defect | b120773fbed83b77936ca0b03c06828e090ebe0b | 9852d7115467c877e623e1277441f37b5bccf279 | Add FabricItem#getCreatorNamespace | Requested on Discord, adds `FabricItem#getCreatorNamespace(ItemStack stack)`, as well as `FabricItemStack#getCreatorNamespace()`, for a stack-aware method of getting the namespace of the mod that added an item.
This could be useful for things like Patchouli guidebooks, where Patchouli can add a single `patchouli:gui... | diff --git a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java b/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java
index f8cbeb6e378..68d42507bda 100644
--- a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java
+++ b/fabric-item-... | 6 | 3 | 0 | [{"id": "G0", "claim": "The new getCreatorNamespace should also provide default implementations for vanilla items such as potions and enchanted books (as NeoForge does), since the generic default does not reflect their actual creator.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
FabricMC__fabric-api__4755 | FabricMC/fabric-api | 4,755 | defect | bcdb7097dafe598447427dfd603b41b54507e140 | 93587d02fe96861dc2c49a862138ccedf00d9b25 | Allow command suggestions to autofill identifiers not under "minecraft" namespace | # Issue
When typing commands, the autofill suggestions will only be able to autofill paths if they are under the `minecraft` namespace. This can be seen when typing `/give @s dirt` as the game will suggest `/give @s minecraft:dirt`. However, content not under the `minecraft` namespace needs to have its namespace typed... | diff --git a/fabric-command-api-v2/src/client/java/net/fabricmc/fabric/mixin/command/client/CommandSourceMixin.java b/fabric-command-api-v2/src/client/java/net/fabricmc/fabric/mixin/command/client/CommandSourceMixin.java
new file mode 100644
index 00000000000..45f396e4b43
--- /dev/null
+++ b/fabric-command-api-v2/src/c... | 7 | 5 | 4 | [{"id": "G0", "claim": "The changed suggestion behaviour has no unit test; a unit test should be added for the PR's change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR removes a purposeful vanilla namespace check without showing its context is... | null |
FabricMC__fabric-api__4763 | FabricMC/fabric-api | 4,763 | defect | bcdb7097dafe598447427dfd603b41b54507e140 | 9163980d9d2d1b772b37887a2b17fadc3eb18098 | Fix multiple special GUI elements not rendering properly | This PR fixes special GUI elements not rendering properly when there are multiple of them, specifically overwriting the same texture and then rendering that texture many times. The fix works by using the factories supplied by the existing API to create new renderer instances as needed, which each have separate textures... | diff --git a/fabric-rendering-v1/build.gradle b/fabric-rendering-v1/build.gradle
index 7ddab602d07..618e0e985fe 100644
--- a/fabric-rendering-v1/build.gradle
+++ b/fabric-rendering-v1/build.gradle
@@ -8,5 +8,6 @@ moduleDependencies(project, [
testDependencies(project, [
':fabric-client-gametest-api-v1',
':fabric-i... | 7 | 3 | 0 | [{"id": "G0", "claim": "The pull request does not seem to do any texture size matching; the commenter notes that, if wanted, it could come in a later PR.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the class SpecialGuiElementOverflowData t... | null |
FabricMC__fabric-api__4824 | FabricMC/fabric-api | 4,824 | defect | e35f037e62c39c4fa7d968cad1a3f05ff2444988 | cdf6460c1803f5cbcba32c69755b8d15242f1d22 | Fix: Allow RenderPipeline VertexFormat.DrawMode to take effect in GuiRenderer | Allows pipelines to use the `FabricRenderPipeline$Builder#withUsePipelineDrawModeForGui` to specify whether the pipeline's `VertexFormat.DrawMode` should be respected in `GuiRenderer` this pr does not change vanilla behavior, only allows mods to customize the behavior for their pipelines. An included example renders a ... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/FabricRenderPipeline.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/FabricRenderPipeline.java
new file mode 100644
index 00000000000..4529bd291f4
--- /dev/null
+++ b/fabric-rendering-v1/s... | 8 | 7 | 3 | [{"id": "G0", "claim": "The snippet extra-data map should store `Boolean` with a null-check instead of `Optional<Boolean>`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `@ModifyReturnValue` annotations on Snippet's toString/equals/hashCode... | null |
FabricMC__fabric-api__4834 | FabricMC/fabric-api | 4,834 | defect | 34185cb03907da71ca6b265713e8590ee09dabbf | 50eb2561b5673cae130f91ca2389022d48d5b170 | Disallow `assert` as it leads to inconsistent behaviour. | I have been meaning to make this change for a long while, its best to be done during a snapshot series. | diff --git a/checkstyle.xml b/checkstyle.xml
index 2ac51a7bcc4..c54996fd3a2 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -279,5 +279,10 @@
"/>
<message key="matchxpath.match" value="Inject local capture is not allowed, use @Local instead"/>
</module>
+
+ <module name="Ma... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new IllegalStateException message should read \"Biome is not an End biome\" instead of \"Biome is not a End biome\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FabricMC__fabric-api__4847 | FabricMC/fabric-api | 4,847 | defect | 5ba21712e064035f7036c1c01e97ae81d87cafbc | 228a07d0a572d2c55d1dc80dfc51fc7d7bd16302 | Add `FabricRenderState` | Adds the `FabricRenderState` interface which is implemented by `EntityRenderState`, `BlockEntityRenderState`, `ItemRenderState`, and `ItemRenderState$LayerRenderState` via interface injection.
Since the addition of `EntityRenderState`, in order to pass custom data from an entity to its renderer in a clean manner, user... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/FabricRenderState.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/FabricRenderState.java
new file mode 100644
index 00000000000..e8d6dbabccb
--- /dev/null
+++ b/fabric-rendering-v1/src/cli... | 3 | 3 | 1 | [{"id": "G0", "claim": "FabricRenderState should also be implemented on MapRenderState and its inner class Decoration, as PepperCode1 asked why it was not.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The value parameter of setData should be marked nul... | null |
FabricMC__fabric-api__4854 | FabricMC/fabric-api | 4,854 | defect | af4d7ec4c359555d7645dd3067e6c6afd963c13c | f5d0fe2d6d38ca8ae6ce8a5c4d7c5a6fe1d91941 | Add ParticleRendererRegistry | Adds a new `ParticleRendererRegistry` to register custom ParticleRenderer's:
```java
ParticleTextureSheet TEST_PARTICLE_TEXTURE_SHEET = new ParticleTextureSheet("mod:example");
ParticleRendererRegistry.register(TEST_PARTICLE_TEXTURE_SHEET, TestParticleRenderer::new);
ParticleRendererRegistry.registerOrdering(TEST... | diff --git a/fabric-particles-v1/src/client/java/net/fabricmc/fabric/api/client/particle/v1/ParticleRendererRegistry.java b/fabric-particles-v1/src/client/java/net/fabricmc/fabric/api/client/particle/v1/ParticleRendererRegistry.java
new file mode 100644
index 00000000000..32be87bd276
--- /dev/null
+++ b/fabric-particle... | 5 | 3 | 1 | [{"id": "G0", "claim": "Inserting before the second entry sorts the custom sheet to the start of the list, and it is unclear whether that is the expected topological-sort behavior.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new API lacks a w... | null |
FabricMC__fabric-api__4863 | FabricMC/fabric-api | 4,863 | defect | f000011872862772d0383af8149364bd5d2af3a7 | 24bef908ddf01ad56a3f88bedb206ca03224201b | Sort `KeyBinding.Category`s | Sort `KeyBinding.Category`s such that all vanilla categories are always displayed first and in the same order as in vanilla and such that modded categories are displayed last and are sorted by namespace and then path. Also fix some javadoc and tests. | diff --git a/fabric-key-binding-api-v1/src/client/java/net/fabricmc/fabric/api/client/keybinding/v1/KeyBindingHelper.java b/fabric-key-binding-api-v1/src/client/java/net/fabricmc/fabric/api/client/keybinding/v1/KeyBindingHelper.java
index e87b50ff110..171e1a0bc84 100644
--- a/fabric-key-binding-api-v1/src/client/java/n... | 1 | 1 | 0 | [{"id": "G0", "claim": "The vanilla check in CategoryComparator.compare should use the conditional AND operator (&&) instead of the single bitwise &, per the suggestion block.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
FabricMC__fabric-api__4871 | FabricMC/fabric-api | 4,871 | defect | 153471f32de46b79b11ded7c9f1a55e10d836ebb | daf7a01e103b8a0426c93bdaa322614fd07b5043 | Add support for Fabric gamerule types in MSMP. | Closes #4866
Encodes as a new type of `fabric:double` or `fabric:enum`
```json
{"key":"oneToTenDouble","value":"5.5","type":"fabric:double"}
```
```json
{"key":"cardinalDirection","value":"NORTH","type":"fabric:enum"}
``` | diff --git a/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/v1/rule/DoubleRule.java b/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/v1/rule/DoubleRule.java
index ce3f6b9b615..f6076fb3363 100644
--- a/fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/... | 9 | 4 | 3 | [{"id": "G0", "claim": "Reassigning the @Shadow @Final static CODEC field without @Mutable will fail to apply or throw at runtime; @org.spongepowered.asm.mixin.Mutable (and its import) should be added to the shadowed field.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"i... | null |
FabricMC__fabric-api__4872 | FabricMC/fabric-api | 4,872 | defect | 153471f32de46b79b11ded7c9f1a55e10d836ebb | b4a499990d2d5b643ad109f9a821d9270612415a | 1.21.9 porting fixes | - **Breaking**: `ServerEntityCombatEvents` now passes the damage source for consistency with vanilla (change happened in 25w31a)
- Transfer API now supports shelves.
- Javadoc fixes.
- Terminally deprecates `NbtTypes#NUMBER` because it is useless since 1.21.6; the whole class is duplicative of vanilla one, but not s... | diff --git a/fabric-api-base/src/main/java/net/fabricmc/fabric/api/util/NbtType.java b/fabric-api-base/src/main/java/net/fabricmc/fabric/api/util/NbtType.java
index 9673218fe8c..8275b33e6cb 100644
--- a/fabric-api-base/src/main/java/net/fabricmc/fabric/api/util/NbtType.java
+++ b/fabric-api-base/src/main/java/net/fabri... | 2 | 1 | 0 | [{"id": "G0", "claim": "The NbtType class is apparently unused and could be removed entirely (modmuss50 suggested possibly in 1.22).", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The NbtType#NUMBER constant should be removed rather than merel... | null |
FabricMC__fabric-api__4893 | FabricMC/fabric-api | 4,893 | defect | d3b5d0fb25f427683192a09fbafdc93e9b91877d | fbe16ecbaaddd6a8358304106c2a084fb021ddb2 | Add refreshCommandCompletions method to fcapi | On servers, when a change happens to a condition for a command (most commonly permission changes), the server will call `CommandManager.sendCommandTree` to inform the client. However, no such method exists for when clients want to do the same for client commands. In my case, I wanted to hide a command behind a feature ... | diff --git a/fabric-command-api-v2/src/client/java/net/fabricmc/fabric/api/client/command/v2/ClientCommandManager.java b/fabric-command-api-v2/src/client/java/net/fabricmc/fabric/api/client/command/v2/ClientCommandManager.java
index 2673f4f1a27..7837429dc3b 100644
--- a/fabric-command-api-v2/src/client/java/net/fabricm... | 4 | 4 | 4 | [{"id": "G0", "claim": "The new refreshCommandCompletions API has no coverage in the test mod; something should be added there so that it can be tested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "refreshCommandCompletions silently fails with no way ... | null |
FabricMC__fabric-api__4906 | FabricMC/fabric-api | 4,906 | defect | 9983246df433bf891dcff703fa9e303ca18cfbc1 | 20dd2b2125a74df58f0a9598fdc6bff76e846ba8 | New World Render Events | This is a functioning concept. Some events may be removed.
<img width="966" height="620" alt="World Render Events After Translucent Test" src="https://github.com/user-attachments/assets/7c6d9af6-8585-44b3-aa17-95a83ca3d4f8" />
<img width="966" height="620" alt="World Render Events Block Outline Test" src="https://g... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/WorldRenderEvents.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/WorldRenderEvents.java
new file mode 100644
index 00000000000..a76f10859d3
--- /dev/null
+++ b/fabric-rendering-v1/src/cli... | 2 | 1 | 1 | [{"id": "G0", "claim": "The test mod's block-outline handler can never fail because it always returns true and no screenshot or assertion verifies the rendering.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G17", "claim": "When porting the test mod to 1.21.11, repla... | null |
FabricMC__fabric-api__4916 | FabricMC/fabric-api | 4,916 | defect | 43cd8b76977b6d70013bfa8a8bba017dbdf34464 | c9f084bca60623ac30dd8ef5c9342d8f582d75f2 | Armor Renderer Upgrades | Vanilla's rendering overhaul with the `RenderCommandQueue` has made it nearly impossible to create a custom armor renderer that can render properly on any biped entity with the `ArmorRenderer` in its current implementation. In Vanilla, the `setAngles` method for models is now called when a `ModelCommand` is rendered, m... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/ArmorRenderer.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/ArmorRenderer.java
index 45301938cee..432246090f1 100644
--- a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/cli... | 7 | 6 | 3 | [{"id": "G0", "claim": "The FabricModel javadoc should say the interface is automatically implemented on all {@link Model} instances instead of 'all render pipelines'.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The try-catch block in ArmorRend... | null |
FabricMC__fabric-api__4938 | FabricMC/fabric-api | 4,938 | defect | f083603baf61c31ad4302c1548a5c3898d14c251 | 6d12dc7aa2ecc6d09ba5c972a345d5ddc1ebad83 | Migrate registry sync impl to use large packets from networking API | Note: this PR can't be backported because it's a breaking change to the protocol.
I've tried to keep code changes minimal (e.g. the packet encoding is pretty much copy pasted from the old code), but I did take the opportunity to remove the unnecessary abstraction in `RegistryPacketHandler` which allowed me to simpli... | diff --git a/fabric-registry-sync-v0/src/client/java/net/fabricmc/fabric/impl/client/registry/sync/ClientRegistrySyncHandler.java b/fabric-registry-sync-v0/src/client/java/net/fabricmc/fabric/impl/client/registry/sync/ClientRegistrySyncHandler.java
index d821a8dee52..cf7b8b78f1a 100644
--- a/fabric-registry-sync-v0/src... | 4 | 3 | 0 | [{"id": "G0", "claim": "The response-sender disconnect call inside context.client().execute() is doubly wrapped, since the enclosing block already runs on the client thread.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc describing the o... | null |
FabricMC__fabric-api__5012 | FabricMC/fabric-api | 5,012 | defect | 561244308ff1485fb526eef648952694f61978c4 | 6e4935bbaaa34b948ad063b7d08dc2bda169f0b5 | [Issue] - Fix HudElementRegistry.replaceElement() for subtitles during gameplay. | Fixes [issue #4933](https://github.com/FabricMC/fabric/issues/4933) where `HudElementRegistry.replaceElement(VanillaHudElements.SUBTITLES, ...)` did not work correctly during normal gameplay, only when the game was paused. This prevented mods from properly scaling, positioning, or otherwise modifying subtitle renderin... | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/mixin/client/rendering/GuiMixin.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/mixin/client/rendering/GuiMixin.java
index 7e1905e6ab6..b4774c5b455 100644
--- a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/mixin/client/render... | 1 | 1 | 1 | [{"id": "G0", "claim": "The GuiMixin WrapOperation on the Gui.render call site is the wrong place to hook subtitles; the wrapping should instead be done by mixing into the renderSubtitleOverlay method (and its lambda) to wrap SubtitleOverlay#render itself.", "category": "design", "verdict": "supported", "priority": "P1... | null |
FabricMC__fabric-api__5030 | FabricMC/fabric-api | 5,030 | defect | dafb9388c88ff0a4ab7a6a8d88f42e18d298959c | 778cffe4a6c0a38e58a2cbc51bc4239245fd5872 | Update sounds.json data generation to match vanilla | Updates the SoundTypeBuilderImpl to create a codec that is fully interpreted by the vanilla SoundEventRegistrationSerialization, as this is what the soundType tries to provide. The links between the implementation records and their vanilla classes are being made explicit with additional documentation.
For the public... | diff --git a/fabric-data-generation-api-v1/src/client/java/net/fabricmc/fabric/api/client/datagen/v1/builder/SoundTypeBuilder.java b/fabric-data-generation-api-v1/src/client/java/net/fabricmc/fabric/api/client/datagen/v1/builder/SoundTypeBuilder.java
index 982e15ff5cf..711d6c2a840 100644
--- a/fabric-data-generation-ap... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use @Deprecated(forRemoval = true) on the now-useless category() method since the category is totally broken.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
FabricMC__fabric-api__5061 | FabricMC/fabric-api | 5,061 | defect | 99ee2cba4573ccc1cd1b6dcbf3c52c144dd018fd | e32bf7521e07b28715a2515700fdaa5d83b9de00 | Block, Block View, Item, and Tag API renames | Renames the Block, Block View, Item, and Tag APIs to match Mojang's names. | diff --git a/fabric-block-api-v1/src/main/java/net/fabricmc/fabric/api/block/v1/FabricBlock.java b/fabric-block-api-v1/src/main/java/net/fabricmc/fabric/api/block/v1/FabricBlock.java
index cb58a6f85e5..cad61ce766a 100644
--- a/fabric-block-api-v1/src/main/java/net/fabricmc/fabric/api/block/v1/FabricBlock.java
+++ b/fab... | 1 | 1 | 1 | [{"id": "G0", "claim": "The if condition in the getAppearance javadoc example still references the old renderView parameter name and should be changed to match the renamed blockAndTintGetter parameter.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FabricMC__fabric-api__5098 | FabricMC/fabric-api | 5,098 | defect | 0469e9ce61183bd18205b273a6cdb5513ef774e3 | b1c2eeed5a0b5566ccf1ba8d3fdafa0c3ab5f8c1 | Add an event to modify dimension environment attributes | This pull request introduces a new API to facilitate the modification of dimension environment attributes, which are natively immutable.
## Rationale
Since the introduction of environment attributes, several use cases have emerged requiring modifications at the dimension level. Currently, applying an attribute a... | diff --git a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricLanguageProvider.java b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricLanguageProvider.java
index 5eaf88f7b9e..67e35cbc6b2 100644
--- a/fabric-data-generation-api-v1... | 10 | 9 | 1 | [{"id": "G0", "claim": "ModificationPhase seems unnecessary when only float attributes are modified (vanilla AttributeModifier already covers ordering), and its documentation still speaks of biome features, so it should be dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
FabricMC__fabric-api__5132 | FabricMC/fabric-api | 5,132 | defect | 3c1b63dccfda47b988134afb5300c28fabfdb24a | cda94e2bf1a4c18e0ec0de85b92e5da68c28bef7 | Add Advancement Renderers | This PR adds an API for registering custom renderers for advancement icons, frames, and backgrounds. Modders can use this to have extra fancy visuals for their advancement tabs.
There's some wacky mixins in here haha. I tried my best to make this as compatible as possible with any mod that may reformat the advanceme... | diff --git a/fabric-rendering-v1/build.gradle b/fabric-rendering-v1/build.gradle
index 39ce24e204b..655f48abdce 100644
--- a/fabric-rendering-v1/build.gradle
+++ b/fabric-rendering-v1/build.gradle
@@ -1,5 +1,9 @@
version = getSubprojectVersion(project)
+loom {
+ accessWidenerPath = file("src/client/resources/fabric-... | 13 | 10 | 2 | [{"id": "G0", "claim": "The base context interface should not be named with the verbose `Abstract` prefix.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The context interfaces should be inner classes of AdvancementRenderContext (e.g. Advancemen... | null |
FabricMC__fabric-api__5164 | FabricMC/fabric-api | 5,164 | defect | dd6ff61bde15cc0dc6b2ff28866419fd4732082d | ebf130de135606b8a130a3b19402b6784333df4d | Implement Packet Context API. | Packet Context is a simple way to store and access values between networking stages (login, configuration, play) and between handler/config sync/whatever and packet serialization (for example changing the vanilla packet format depending on client having XYZ).
PacketContext can be sourced from Connection and *PacketLi... | diff --git a/fabric-networking-api-v1/src/client/java/net/fabricmc/fabric/mixin/networking/client/ClientCommonPacketListenerImplMixin.java b/fabric-networking-api-v1/src/client/java/net/fabricmc/fabric/mixin/networking/client/ClientCommonPacketListenerImplMixin.java
index 7fb3ff56bf5..10dc1aede0d 100644
--- a/fabric-ne... | 10 | 8 | 1 | [{"id": "G0", "claim": "The reviewer asks what the use cases are for the runWithContext/supplyWithContext static methods, questioning whether they are needed.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The getValue/setValue methods (and the other met... | null |
FabricMC__fabric-api__5220 | FabricMC/fabric-api | 5,220 | defect | 796c7622f64a322dee91d98d60a4a61a906c55b1 | 3e355986821c1cba87fec2cb044894ea6912ac98 | Respect item MAX_STACK_SIZE in Storage.insert | This commit addresses the bug described in issue #5219 .
When an item has a stack size specified via DataComponents.MAX_STACK_SIZE, if the stack size differs from the item's default stack size, the updated `transfer` methods could accidentally cause items to be deleted after transfers. This would occur if the target... | diff --git a/fabric-api-lookup-api-v1/src/testmod/java/net/fabricmc/fabric/test/lookup/compat/WrappedInventory.java b/fabric-api-lookup-api-v1/src/testmod/java/net/fabricmc/fabric/test/lookup/compat/WrappedInventory.java
index 1aa103bf3e3..70f33e0c5e0 100644
--- a/fabric-api-lookup-api-v1/src/testmod/java/net/fabricmc/... | 1 | 1 | 1 | [{"id": "G0", "claim": "Reading the max stack size via itemVariant.toStack() creates a new ItemStack object on every check (in SingleStackStorage, InventorySlotWrapper and PlayerInventoryStorageImpl); the max count should instead be read from the variant's components (e.g. via a getMaxStackSize helper) so that no new s... | null |
FabricMC__fabric-api__5231 | FabricMC/fabric-api | 5,231 | defect | e2e4887133809e3aee6c3e98b21ec51e2327d77c | 192412a4acf4ddd2680af4a480332db2e385aac8 | Add global data attachments | This PR adds global (server-wide) data attachments that are not tied to any specific `Level`.
Global attachments are stored in `MinecraftServer` and `ClientPacketListener` on the server and client respectively. The `GlobalAttachments` target can be obtained via `Level.globalAttachments()` on either side and also `Mi... | diff --git a/fabric-data-attachment-api-v1/src/client/java/net/fabricmc/fabric/mixin/attachment/client/ClientLevelMixin.java b/fabric-data-attachment-api-v1/src/client/java/net/fabricmc/fabric/mixin/attachment/client/ClientLevelMixin.java
new file mode 100644
index 00000000000..7d49458a163
--- /dev/null
+++ b/fabric-da... | 3 | 1 | 1 | [{"id": "G0", "claim": "The process-wide static playerConnections set will likely cause issues when multiple servers are run from the same JVM; it would be best to use vanilla's existing per-server player list instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
FabricMC__fabric-api__5232 | FabricMC/fabric-api | 5,232 | defect | b04e7de2601c8e89e2b42731fc0f22d35e051879 | 0e530e3c79af657ec32efccbfb148fc891ff9729 | Fluid rendering API refactor + rendering test fixes | - FluidRenderHandler.reloadTextures now takes a SpriteGetter
- FluidRenderHandler.reloadTextures now returns a ChunkSectionLayer for the given textures
- Remove the constants in SimpleFluidRenderHandler as ModelBakery has these.
- SimpleFluidRenderHandler and related now takes SpriteId to accomodate the move to Spri... | diff --git a/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/api/client/render/fluid/v1/FluidRenderHandler.java b/fabric-rendering-fluids-v1/src/client/java/net/fabricmc/fabric/api/client/render/fluid/v1/FluidRenderHandler.java
index d6ab1c151a4..5f39387c38e 100644
--- a/fabric-rendering-fluids-v1/src/cl... | 5 | 5 | 5 | [{"id": "G0", "claim": "The added block-rendering code in the LevelRenderEventsTests outline hook isn't rendering anything.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The reloadTextures return value should not allow null; nullability should be r... | null |
FabricMC__fabric-api__5280 | FabricMC/fabric-api | 5,280 | defect | 92915727ad98e0b02ec4ce3505e5a0172d46a694 | f1638acdd37fdd48702bfe19494712cc888178a4 | Support modifying data attachments using the /data command | This PR add a seperate set of logic for handling data attachment updates when using the /data command. This ensures that the correct events are fired, and the changes are synced to the client if required. It does so by using the higher level API's for updating data attachments as opposed to overwriting the list of atta... | diff --git a/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/impl/attachment/DataAccessorHandler.java b/fabric-data-attachment-api-v1/src/main/java/net/fabricmc/fabric/impl/attachment/DataAccessorHandler.java
new file mode 100644
index 00000000000..4f5180421ce
--- /dev/null
+++ b/fabric-data-attachment-... | 7 | 5 | 1 | [{"id": "G0", "claim": "Make the mutable public static field APPLYING_DATA_CHANGE static final (or expose a helper) so that if it were ever reassigned, even accidentally, the isBound() guard in AttachmentTargetsMixin would not stop working.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
FabricMC__fabric-loader__1041 | FabricMC/fabric-loader | 1,041 | defect | 075dbfa476b1259f1d04a96c2b9afc6bd8f06c4e | a0711006a43b6a63e89d41d1d55f91b152613b5f | Fix and improve version normalization for old Minecraft versions | I noticed several issues with version normalization for old Minecraft versions, which I'll detail below. This PR fixes those problems, and also adds handling for Omniarchive version ids.
## Classic
The current handling of classic merely strips the `c` prefix and doing basic normalization of the remaining string (... | diff --git a/minecraft/build.gradle b/minecraft/build.gradle
index 5f75807b9..902b521af 100644
--- a/minecraft/build.gradle
+++ b/minecraft/build.gradle
@@ -18,6 +18,11 @@ dependencies {
transitive = false
}
//implementation 'net.sf.jopt-simple:jopt-simple:5.0.3'
+
+ // Unit testing for semver
+ implementation p... | 6 | 4 | 3 | [{"id": "G0", "claim": "The new in-/infdev conversions produce semver versions whose numeric ordering does not match the chronology of the underlying versions (e.g. 0.31.201002180016 sorts after 0.31.20100327 even though in-20100218-0016 precedes inf-20100327).", "category": "correctness", "verdict": "supported", "prio... | null |
FabricMC__fabric-loader__1072 | FabricMC/fabric-loader | 1,072 | defect | a5c26a4e3f66512a81776525987678aa99d71b2c | 86c354636b82bc0852d71f62ac931f4e8f60fb21 | Fix regressions in version normalization since #1041 | This PR fixes the some regressions introduced in #1041
- Versions like `a1.2.2a` and `b1.3b` from the Mojang launcher manifest have trailing alphabetic chars. Handling for these is now added again.
- Similarly, `c0.30_01c` from the Mojang launcher manifest has a trailing `c`. There is now handling for that.
There... | diff --git a/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/McVersionLookup.java b/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/McVersionLookup.java
index 68cc4ced7..7914e51e0 100644
--- a/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/McVersionLookup.java
+++ b/mine... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment '// ... as in 1.18_experimental-snapshot-1' disagrees with the code below it, which searches for '_experimental_snapshot-' with an underscore; please make them consistent.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FabricMC__fabric-loader__1094 | FabricMC/fabric-loader | 1,094 | defect | 9efe3fdef26f171125dc20e090fd9e5dd19fc615 | da6feb0f9fa3f906c04a4f209eed303488534278 | Migrate from AccessWidener to ClassTweaker. | Class Tweaker is a superset of Access Widener and is intended to offer more kinds of data driven bytecode manipulation.
The fabric mod json V1 definition accessWidener can now supply Class Tweakers as well. The old AW file format remains supported. | diff --git a/build.gradle b/build.gradle
index 67cae01f6..52015fb20 100644
--- a/build.gradle
+++ b/build.gradle
@@ -113,7 +113,7 @@ dependencies {
include 'org.ow2.sat4j:org.ow2.sat4j.core:2.3.6'
include 'org.ow2.sat4j:org.ow2.sat4j.pb:2.3.6'
include "net.fabricmc:tiny-remapper:0.11.2"
- include "net.fabricmc:ac... | 2 | 1 | 1 | [{"id": "G0", "claim": "The class-tweaker dependency in build.gradle pinned at 0.1.0 needs to be updated again to the newly released 0.1.1.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The modNs argument passed to ClassTweakerReader.create(mergedC... | null |
FabricMC__fabric-loader__14 | FabricMC/fabric-loader | 14 | defect | ce5722482713162653d0238efe51a0258b0f6989 | 651e455b3ad64ac46ece482d2f1b894c14a40311 | [WIP] Mod loading | **Do not merge, feedback wanted**
- Adds a language adapter interface allowing for mod developers to use other languages (Scala, Kotlin) that provide `object` singletons with main mod classes.
- Adds a ModContainer system that holds the mod info, the language adapter instance, and the mod instance.
- Adds a bare-bones ... | diff --git a/src/main/java/net/fabricmc/base/Fabric.java b/src/main/java/net/fabricmc/base/Fabric.java
new file mode 100644
index 000000000..ea9c332b4
--- /dev/null
+++ b/src/main/java/net/fabricmc/base/Fabric.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2016 FabricMC
+ *
+ * Licensed under the Apache License, Version 2.0 (... | 5 | 4 | 1 | [{"id": "G0", "claim": "The getter getGameDir should be named getGameDirectory for cleanliness.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A public static initialize() should set a flag so that a second call crashes instead of silently re-in... | null |
FabricMC__fabric-loader__772 | FabricMC/fabric-loader | 772 | defect | 9f4ba698707b8c87aa6dba5ec4bdd320c1b7fda3 | 0ede859cb2fffdd61924711b3c24ae7e42bf8ca3 | Add more localization support | Resolves #695 | diff --git a/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/MinecraftGameProvider.java b/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/MinecraftGameProvider.java
index f6a315436..b3b4659f3 100644
--- a/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/MinecraftGameProvid... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new test file LocalizationTests.java is missing the standard license header.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add real @Nullable annotations to these methods, not just this PR — not somethi... | null |
FabricMC__fabric-loader__812 | FabricMC/fabric-loader | 812 | defect | 67bf49ca39e313aeb3476bb6015352fd5284d49b | 6624a3e5e3baec70661ee48e7e66f0f4f3b1369d | Migrate to mapping io | This fully removes TMP from the classpath and the long deprecated/internal MappingConfiguration.getMappings() API. Does this break any mods? If so how many. Either way this should be a 0.15.x change.
The mapping tree is lazily loaded, in prod with no mods the mappings are never loaded after the first launch.
Map... | diff --git a/build.gradle b/build.gradle
index 86e33a773..bfda19195 100644
--- a/build.gradle
+++ b/build.gradle
@@ -74,12 +74,15 @@ dependencies {
exclude module: 'launchwrapper'
exclude module: 'guava'
}
- api 'net.fabricmc:tiny-mappings-parser:0.3.0+build.17'
api 'net.fabricmc:tiny-remapper:0.8.2'
api 'n... | 4 | 1 | 1 | [{"id": "G0", "claim": "Add a hook to help mods obtain the runtime mappings now that the deprecated API this PR removes is gone, which the requester says would be enough for his use case.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mappings should b... | null |
FabricMC__tiny-remapper__160 | FabricMC/tiny-remapper | 160 | defect | c9461d678ff899ec33612a5e9351169ba0008a92 | fef0a6e9e2e0680149cd7f4503bda38a8a9cb87d | Support method arg name remapping in `@ModifyVariable` | This PR adds method arg name remapping in `@ModifyVariable`. This also adds a `TrLocal` API for such support.
Currently runtime remapping of fabric-api `0.143.0+26.1` to modern-yarn passes mixin audit after removing [method arg filtering in loader](https://github.com/FabricMC/fabric-loader/blob/088e1fe3487f64ae3b36e... | diff --git a/src/main/java/net/fabricmc/tinyremapper/LocalInstance.java b/src/main/java/net/fabricmc/tinyremapper/LocalInstance.java
new file mode 100644
index 00000000..c36037e9
--- /dev/null
+++ b/src/main/java/net/fabricmc/tinyremapper/LocalInstance.java
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2016, 2018, Player, asi... | 1 | 1 | 1 | [{"id": "G0", "claim": "Dropping SKIP_DEBUG|SKIP_CODE so local variables are always tracked may hurt performance and increase memory usage, and having an option to enable or disable tracking locals would be nice to have.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FactoryBoy__factory_boy__1006 | FactoryBoy/factory_boy | 1,006 | defect | 7532e9645fa60e947349e5a729dbefd56fdc7610 | a8fb454480420725a5e0a046502d1e6687fc9daa | Handle declarations in Transformers | Transformers init changed from
```python
def __init__(self, transform, declaration):
```
to
```python
def __init__(self, declaration, *, transform):
```
That allows Password to specify `make_transform` as the default
transform, leaving an option to override the transform and facilitates
subclassing Transformer.
Havin... | diff --git a/docs/reference.rst b/docs/reference.rst
index a7e9be01..9efd1a22 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -907,21 +907,22 @@ return value of the method:
Transformer
"""""""""""
-.. class:: Transformer(transform, value)
+.. class:: Transformer(default_value, *, transform)
A :class:... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Transformer class should be integrated in a nicer way, without the amount of specific complex methods it has, and with comments explaining how those methods interact.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FactoryBoy__factory_boy__311 | FactoryBoy/factory_boy | 311 | defect | d2169d9530e42009e966e9c15fb795cd3f32b293 | 4b7b5fbaacb574cb96b8f89d5a3606b9aa2fa967 | Preserve postgeneration declarations order | Fixes #240
Basically it keeps track of creation counter of the postgeneration declarations. There's a new property to return them in the sorted order of items.
| diff --git a/factory/base.py b/factory/base.py
index cec38db2..f4d5abcf 100644
--- a/factory/base.py
+++ b/factory/base.py
@@ -157,6 +157,14 @@ def __init__(self):
self.parameters = {}
self.parameters_dependencies = {}
+ @property
+ def sorted_postgen_declarations(self):
+ """Get sorted... | 2 | 1 | 0 | [{"id": "G0", "claim": "The sort key lambda should name its arguments (e.g. key=lambda _name, declaration: declaration.creation_counter) instead of indexing item[1], for readability.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a line to the... | null |
FactoryBoy__factory_boy__356 | FactoryBoy/factory_boy | 356 | defect | 23dbafaf018494965afa512bfb84602913360bd9 | cac93a4a4b3390a091ec015d8720c13af14b4527 | Django examples | `django_demo` example project
* `generic_foreignkey` app for usage example for [GenericForeignKey](https://docs.djangoproject.com/en/1.10/ref/contrib/contenttypes/#django.contrib.contenttypes.fields.GenericForeignKey) | diff --git a/examples/Makefile b/examples/Makefile
index 0beb2c9f..c99a25a4 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,4 +1,4 @@
-EXAMPLES = flask_alchemy
+EXAMPLES = django_demo flask_alchemy
TEST_TARGETS = $(addprefix runtest-,$(EXAMPLES))
diff --git a/examples/django_demo/django_demo/__init__.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring typo should read \"Example\" instead of \"Ezample\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FactoryBoy__factory_boy__376 | FactoryBoy/factory_boy | 376 | defect | 4f0a44c501d3862b94cbe99e41bea564350d027d | ffeec55a25ac505bd0076227ff96a4ef3af74fa8 | [Faker] random state should be set only when calling reseed_random | For each Faker instanciation, the random state was set from factory.fuzzy.
Now the random state is set only when `factory.random.reseed_random` is called explicitly.
That allows us to have consistancy between fuzzy and faker and also avoid Faker to generate the same set of "randoms" in each instanciation.
This als... | diff --git a/factory/faker.py b/factory/faker.py
index 064863da..1d444809 100644
--- a/factory/faker.py
+++ b/factory/faker.py
@@ -22,7 +22,6 @@ class Meta:
import faker
import faker.config
-from .random import get_random_state
from . import declarations
@@ -77,7 +76,6 @@ def _get_faker(cls, locale=None):
... | 2 | 1 | 0 | [{"id": "G0", "claim": "In reseed_random, r.getstate() should be stored in a variable since the value is reused below.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loop reseeding the registered Faker instances could live as a function on F... | null |
FactoryBoy__factory_boy__4 | FactoryBoy/factory_boy | 4 | defect | 1d2ca8d02e190460f85d20be47bbb1e02f268bd2 | 86393d4d1117426bc2aafbfb9f11f96c463f05f1 | Allow public classmethods on factories. | Currently, a public (not beginning with _) classmethod declared on a factory is hoovered up into the DeclarationDict and is not actually available as a classmethod on the factory. This is quite surprising when you run into it, and although I can understand how the current implementation came to exist, I don't think it ... | diff --git a/factory/containers.py b/factory/containers.py
index e280162a..9fe8e463 100644
--- a/factory/containers.py
+++ b/factory/containers.py
@@ -107,13 +107,13 @@ def update_with_public(self, d):
"""Updates the DeclarationDict from a class definition dict.
Takes into account all public attribu... | 3 | 3 | 1 | [{"id": "G0", "claim": "The compound condition added to update_with_public should be parenthesized (isinstance(v, classmethod) or (k.startswith('_') and not isinstance(...))) so it reads unambiguously.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
FactoryBoy__factory_boy__536 | FactoryBoy/factory_boy | 536 | defect | 92cc94d50ec892a0bada258be661dd544b45219d | 8efa7e9c578d3bdf9c6fc3877c29dda487b82708 | Fix final List order for lists longer than 10 items. | When creating a factory with a `List` the list items are converted into a dict, to allow easily overwriting specific items when calling the factory. For keys of the dictionary the string-converted indexes are used. When finally converted back into a list the items of the dict are sorted by the keys. However, since thes... | diff --git a/factory/base.py b/factory/base.py
index ab89db38..2600900e 100644
--- a/factory/base.py
+++ b/factory/base.py
@@ -733,7 +733,7 @@ def _build(cls, model_class, *args, **kwargs):
raise ValueError(
"ListFactory %r does not support Meta.inline_args.", cls)
- values = [v f... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment noting the line can become `values = kwargs.values()` when Python < 3.6 support is dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FactoryBoy__factory_boy__608 | FactoryBoy/factory_boy | 608 | defect | 9e4fc846cd0c89e4256aca6f83323536ac2ddb66 | d3515eb4e16090e3f629022b7fce65b0c7cabee5 | Re-raise IntegrityError when django_get_or_create fails | When:
* several fields are specified in `django_get_or_create`, and
* user specifies a subset of kwargs, and
* other kwargs listed in `django_get_or_create` have values generated by the factory,
a `get_or_create` lookup may trigger an `IntegrityError`. Indeed, a generated value that was not part of the original l... | diff --git a/docs/changelog.rst b/docs/changelog.rst
index 9cd78746..6cdc92a8 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -9,6 +9,7 @@ ChangeLog
- Fix issue with SubFactory not preserving signal muting behaviour of the used factory, thanks `Patrick Stein <https://github.com/PFStein>`_.
- Fix i... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a small comment explaining that the code re-raises the original IntegrityError to align behavior with Django, since the bare `raise e` can be confusing to someone seeing the code for the first time.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
FactoryBoy__factory_boy__623 | FactoryBoy/factory_boy | 623 | defect | bc84ff8bfd1b0e745fb6401c06edc7478bbf90b9 | 981dde574a7963d7927f92b50b48cf9cd1953520 | Introduce factory.declaration.Transformer | Transforms a value using provided `transform` function. Values coming from the declaration and values overridden through keywords arguments are transformed before the generated object attribute is set.
Removes the need to save objects with a post generation hook twice to the database.
Facilitates overriding Djang... | diff --git a/docs/changelog.rst b/docs/changelog.rst
index 6cdc92a8..1bea2e36 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -1,6 +1,14 @@
ChangeLog
=========
+3.0.0 (unreleased)
+------------------
+
+*New:*
+
+ - :issue:`316`: :class:`~factory.django.DjangoModelFactory` no longer calls ``.save()``... | 5 | 4 | 1 | [{"id": "G0", "claim": "Instead of skipping the post-generation save entirely, DjangoModelFactory._after_postgeneration should save the instance when at least one post-generation hook returned a value (`if create and any(results.values()): instance.save()`), letting hooks signal whether the instance was modified.", "ca... | null |
FactoryBoy__factory_boy__658 | FactoryBoy/factory_boy | 658 | defect | 4997770cf4a5dc09d2d2428c1bd94a63bc0d71a4 | 0bd94a638dc167e5cd9c256abe2eaa36621be2fe | Add SQLAlchemy get_or_create support | This is a naive implementation purely translated from django `get_or_create` functionality as requested in [#99](https://github.com/FactoryBoy/factory_boy/issues/99). | diff --git a/factory/alchemy.py b/factory/alchemy.py
index e12c4cd4..8988bfa3 100644
--- a/factory/alchemy.py
+++ b/factory/alchemy.py
@@ -5,7 +5,10 @@
import warnings
-from . import base
+from sqlalchemy.exc import IntegrityError
+from sqlalchemy.orm.exc import NoResultFound
+
+from . import base, errors
SESSI... | 15 | 13 | 6 | [{"id": "G0", "claim": "The pull request needs tests before it can be merged.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider migrating the test models' unicode fields to string fields, or mocking with unicode data, to avoid the unicode bind-par... | null |
FactoryBoy__factory_boy__661 | FactoryBoy/factory_boy | 661 | defect | 4997770cf4a5dc09d2d2428c1bd94a63bc0d71a4 | 2f8f5c5ce4d204b288bba5a2a2f8219335f1309a | Improve docs on instance building functions | Add description with example about module level instance building functions.
Solves issue https://github.com/FactoryBoy/factory_boy/issues/572 | diff --git a/docs/reference.rst b/docs/reference.rst
index 1ebd2fcc..b6349a61 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -2018,13 +2018,42 @@ Instance building
"""""""""""""""""
The :mod:`factory` module provides a bunch of shortcuts for creating a factory and
-extracting instances from them:
+extr... | 3 | 2 | 0 | [{"id": "G0", "claim": "The added example of using module helpers with a custom base factory mostly repeats the existing example in docs/reference.rst; the reviewer asks to improve that existing example instead of duplicating it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
FactoryBoy__factory_boy__752 | FactoryBoy/factory_boy | 752 | defect | 4bb5017023046f377514bd1e068b3b830f85b646 | 8b657358330c15435634b9f781aea43b0bc10abf | Better error when feeding SubFactory a non-factory | Before this change, calling `factory.SubFactory(UserModel)` would raise
an unexpected error, `Options object has no attribute
'pre_declarations'`.
That message isn't very helpful; instead, a `AssociatedClassError` will
be raised, pointing at both the calling factory and called model.
This change also introduce... | diff --git a/docs/changelog.rst b/docs/changelog.rst
index 3a22d92e..a60f5064 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -20,6 +20,10 @@ ChangeLog
- :issue:`606`: Re-raise :class:`~django.db.IntegrityError` when `django_get_or_create` with multiple fields fails to lookup model using user provided ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The new BuildStep.__repr__ should drop the redundant surrounding tuple and format the builder directly: return \"<BuildStep for %r>\" % self.builder.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new tests should ass... | null |
FactoryBoy__factory_boy__806 | FactoryBoy/factory_boy | 806 | defect | b205a19787f2eb9927beae4def01acc5d8f9c45c | b630d6596d1b68559b736080bd38873f70d783d0 | Use f-strings for simple string formatting | Python f-strings were added in Python 3.6. factory_boy dropped support
for Python 3.5 in 64f10a18525572a5158b753d8f20195553fa5c5f.
Only simple expressions were changed. Normally f-strings are more
readable but with complex expressions they can sometimes get unwieldy. | diff --git a/examples/flask_alchemy/demoapp.py b/examples/flask_alchemy/demoapp.py
index db57167d..f8e762ff 100644
--- a/examples/flask_alchemy/demoapp.py
+++ b/examples/flask_alchemy/demoapp.py
@@ -33,4 +33,4 @@ def __init__(self, message, user):
self.user = user
def __repr__(self):
- return '<L... | 2 | 1 | 0 | [{"id": "G0", "claim": "For consistency with the rest of the change, the remaining %-formatting in _FactoryImport.__repr__'s else branch should also be converted to an f-string.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "F-strings may not ... | null |
FactoryBoy__factory_boy__9 | FactoryBoy/factory_boy | 9 | defect | e80cbdc3224297ee57667e4000f1a671af05f520 | af00973f82337a24aeececa2244ea3fc532db6d2 | Test running improvements | Tests can be run under python 2.6 (by using optional unittest2), tox config for testing under different pythons, explicit python version requirements (factory_boy works with python 2.6 and 2.7); ./setup.py test returns proper error code in case of test failure.
| diff --git a/.gitignore b/.gitignore
index 462d7ad4..46b64e3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ htmlcov/
docs/_build
docs/_static
docs/_templates
+.tox
diff --git a/setup.py b/setup.py
old mode 100644
new mode 100755
index b3ce56fe..e9da2e63
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,7 @@
#!/us... | 3 | 1 | 0 | [{"id": "G0", "claim": "Remove the redundant parentheses from the `if (not result.wasSuccessful()):` condition added in setup.py.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a short comment to tox.ini pointing users unfamiliar with tox to... | null |
FactoryBoy__factory_boy__927 | FactoryBoy/factory_boy | 927 | defect | d2447abbbf4da99d9e76909b8657524cf8e1c48a | b1c4b85727bf3c6bed8904fb5c51b4dae9ba5298 | Include session getter support | As our team tries to migrate our tests to use factory_boy, we found tricky to set the DB sessions during the tests runtime, mocking was tricky and nasty. I [found this issue](https://github.com/FactoryBoy/factory_boy/issues/304), which closely resemble the problem we are currently facing, and decided to give a shot.
... | diff --git a/factory/alchemy.py b/factory/alchemy.py
index ef7a591a..39cfa419 100644
--- a/factory/alchemy.py
+++ b/factory/alchemy.py
@@ -26,6 +26,7 @@ def _build_default_options(self):
return super()._build_default_options() + [
base.OptionDefault('sqlalchemy_get_or_create', (), inherit=True),
... | 5 | 5 | 2 | [{"id": "G0", "claim": "The callable guard in _generate is unnecessary because calling a non-callable already raises TypeError on its own.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The session-factory handling should live in _create (the build ... | null |
FactoryBoy__factory_boy__931 | FactoryBoy/factory_boy | 931 | defect | ed107a8b399d2a58b1bc67a924b16e5ecae258ef | e859d69705509701ea95d245c3d307ddb6596b12 | Adds postgres tests | * Adds postgres as a service to test
* Wires up django
* Wires up sqlalchemy | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b8a89fb2..8494f6b9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -6,48 +6,58 @@ on:
jobs:
build:
- name: Python ${{ matrix.python-version }} / ${{ matrix.tox-environment }}
+ name: Python ${{ matrix.pyth... | 10 | 9 | 3 | [{"id": "G0", "claim": "The workflow job name format is not settled and the author invited suggestions for it.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The TOXENV environment block in the workflow is not needed.", "category": "maintainabil... | null |
FactoryBoy__factory_boy__940 | FactoryBoy/factory_boy | 940 | defect | 869e1b0bb104a6881f50117c961031f8a34b91a4 | e640884f07a23723f20ac29703deb3bb6d559e24 | Test each dependency separately | * Tests `django` in isolation
* Tests `sqlalchemy` in isolation
* Tests `mongo` in isolation
* Tests factory boy without `django`, `sqlalchemy`, and `mongo`
| diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index db6fd269..69289ab5 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -4,8 +4,12 @@ on:
- push
- pull_request
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+... | 5 | 4 | 2 | [{"id": "G0", "claim": "In tests/test_using.py the try block sets SKIP_DJANGO = True when django imports successfully; it should be False, and ideally the same skip approach as other test cases (raising unittest.SkipTest) should be followed when django is not enabled.", "category": "correctness", "verdict": "supported"... | null |
Faire__mjml-react__41 | Faire/mjml-react | 41 | defect | 3514d457782e082f1b10d2a9b42231cec7e910b6 | f60ae9c545aa7784f2cf11b1b8fb50ff6e837aa9 | Clean up eslint-ignores | Addresses https://github.com/Faire/mjml-react/issues/37.
Removes need for eslint-ignore uses. | diff --git a/src/utils.tsx b/src/utils.tsx
index b2b288a..fecbccd 100644
--- a/src/utils.tsx
+++ b/src/utils.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/function-component-definition */
import kebabCase from "lodash.kebabcase";
import React from "react";
@@ -16,7 +15,7 @@ export const typeToUnit = { Pixel: "px", P... | 1 | 1 | 0 | [{"id": "G0", "claim": "The unused function mjmlReactComponentFactory should be deleted, though it need not happen in this PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
FairwindsOps__goldilocks__137 | FairwindsOps/goldilocks | 137 | defect | 35ef4fe883fc68a10f05aa49db2c341bf23c89d7 | 93dfe6d00454a1453f69cde293763718ef819dc2 | Hkatz/add vpa update mode | As I'm creating these PRs and pulling the commits over one at a time into new PRs on this new fork, I'm starting to wonder if it might be better to hand craft these PRs or re-implement some of them by hand and submit net-new changes as PRs rather than try to copy/paste commit by commit from our internal fork to this pu... | diff --git a/cmd/controller.go b/cmd/controller.go
index 3340bf92..79efe07e 100644
--- a/cmd/controller.go
+++ b/cmd/controller.go
@@ -29,10 +29,12 @@ import (
var onByDefault bool
var includeNamespaces []string
var excludeNamespaces []string
+var dryRun bool
func init() {
rootCmd.AddCommand(controllerCmd)
co... | 4 | 3 | 1 | [{"id": "G0", "claim": "Consider using strconv.ParseBool instead of the manual lowercase string comparisons for the enabled label values so that more boolean options will work.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Asks to confirm tha... | null |
FairwindsOps__goldilocks__140 | FairwindsOps/goldilocks | 140 | defect | 44920ae2fafed354fc0e5db79ecf0f4723a22ada | 563d78d027f15c9fe1c7ab80abea33eebb36d2c0 | Hkatz/vpa deployment exclusion and updates | This PR the follow-up to #137 and #128 which adds the following:
- VPA Reconciler Tests (covering all new features that have been added)
- `vpa-opt-out` annotation for Deployments that would prefer to not have a VPA attached
- This is particularly useful if the VPA update mode is "auto" for the Namespace.
- T... | diff --git a/README.md b/README.md
index bebd1f95..f36442df 100644
--- a/README.md
+++ b/README.md
@@ -141,6 +141,35 @@ You can set the default behavior for VPA creation using some flags. When specifi
* `--include-namespaces` - create VPAs in these namespaces, in addition to any that are labeled
* `--exclude-namespac... | 11 | 8 | 2 | [{"id": "G0", "claim": "The README example command sets the vpa-update-mode label to \"aut\" instead of \"auto\", so users copying it would set an unsupported value.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Using annotations on the deploymen... | null |
FairwindsOps__goldilocks__203 | FairwindsOps/goldilocks | 203 | defect | d885622e894fb3f1fdab73554072433065409d45 | b49ecf4548c11bef7608828cd372bc83c77ff6b4 | Update client go and vpa | * Support all auth methods
* Client-go v0.18.6
* VPA is now autoscaling v1 apiVersion
* Updated demo chart in e2e tests
Fixes #197 | diff --git a/e2e/results/.gitignore b/e2e/results/.gitignore
deleted file mode 100644
index d6b7ef32..00000000
--- a/e2e/results/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore
diff --git a/e2e/tests/00_setup.yaml b/e2e/tests/00_setup.yaml
index 5971ca77..8d7135de 100644
--- a/e2e/tests/00_setup.yaml
+++ b/e2e... | 1 | 1 | 0 | [{"id": "G0", "claim": "Testify should not be downgraded from v1.6.1 to v1.5.1.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FairwindsOps__goldilocks__373 | FairwindsOps/goldilocks | 373 | defect | b422adc6e718795ea7f1e6b26566e1a417091bf7 | b3edf5d2837f7afb4a4500657e8b838319e4db50 | [RD-9] Support multi controller (backend) | Support multi-controller types for workloads
NOTE: this is only updating the backend code (controller-related packages), the summary and dashboard will not currently support anything other than Deployments until a subsequent PR.
We now use the dynamic client almost everywhere for finding workloads that we should ... | diff --git a/e2e/tests/10_basic.yaml b/e2e/tests/10_basic.yaml
index 06dbebdc..e19fbf40 100644
--- a/e2e/tests/10_basic.yaml
+++ b/e2e/tests/10_basic.yaml
@@ -26,3 +26,23 @@ testcases:
assertions:
- result.code ShouldEqual 0
- result.systemout ShouldEqual "verticalpodautoscaler.autoscaling.k8s.io/basic-d... | 2 | 1 | 0 | [{"id": "G0", "claim": "The shortened name `ctrlr` in getVPAObject (and the matching rename throughout) should be `controller`, since shortening names is confusing to read and inconsistent with the `controllers` used elsewhere.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
FairwindsOps__goldilocks__375 | FairwindsOps/goldilocks | 375 | defect | 4b38b3d3414bc351d634fe5015e2304486d00993 | 11b1f07be31bae40fcb8439d2a2580de6f6424c0 | Vpa Resource Policy | If the annotation `goldilocks.fairwinds.com/vpa-resource-policy` exists on a namespace then `ResourcePolicy` section of the `VerticalPodAutoscalerSpec` will be defined. The value for this annotation is expected to be the `json` data that defines the `PodResourcePolicy` | diff --git a/docs/advanced.md b/docs/advanced.md
index 21f9554e..74b60412 100644
--- a/docs/advanced.md
+++ b/docs/advanced.md
@@ -74,6 +74,52 @@ The update mode can be changed for a namespace by labels as well, for example:
kubectl label ns goldilocks goldilocks.fairwinds.com/vpa-update-mode="auto"
```
+#### VPA R... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request should include an e2e test covering VPA resourcePolicy.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Resource policy should be supported the same way updateMode is, with a per-controller override and the policy... | null |
FairwindsOps__goldilocks__79 | FairwindsOps/goldilocks | 79 | defect | cbe948547e81badebf2b94a1f61c0d9fe5b593a9 | 817cc97a3ce591faded9a25418de0c025b14b717 | Mg/test run func | - Adds test for Run func
- Refactors Run func to pass in a `*kube.VPAClientInstance` instead of creating one inside the function
- Additional commented out test that will be in use after refactoring funcs in summary.go | diff --git a/cmd/summary.go b/cmd/summary.go
index bc696634..f97ac96e 100644
--- a/cmd/summary.go
+++ b/cmd/summary.go
@@ -21,6 +21,7 @@ import (
"github.com/spf13/cobra"
"k8s.io/klog"
+ "github.com/fairwindsops/goldilocks/pkg/kube"
"github.com/fairwindsops/goldilocks/pkg/summary"
"github.com/fairwindsops/gol... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new TestRun makes a List call whose result is only checked for no error and appears to test just an empty summary; the reviewer asks why the List call is there and whether its result should be checked with len() == 0.", "category": "testing", "verdict": "supported", "priority": "P2", "scope"... | null |
FairwindsOps__goldilocks__90 | FairwindsOps/goldilocks | 90 | defect | f318b5cb60de4ed6758a8cffecee08ff740b31e6 | 87af1b125aeac3735142ef2315e8c63232bc9e44 | Mg/refactor summary | - refactored summary package with Client struct
- run func
- constructSummary func
- refactored TestRunSummary
| diff --git a/cmd/summary.go b/cmd/summary.go
index c0d34ce5..0a4d035d 100644
--- a/cmd/summary.go
+++ b/cmd/summary.go
@@ -22,7 +22,6 @@ import (
"github.com/spf13/cobra"
"k8s.io/klog"
- "github.com/fairwindsops/goldilocks/pkg/kube"
"github.com/fairwindsops/goldilocks/pkg/summary"
"github.com/fairwindsops/gol... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new Client singleton in pkg/summary duplicates the client logic already in pkg/vpa, and the summary package should be refactored to reuse the vpa package's client (e.g. vpa.GetInstance().VPAClient) instead of declaring its own.", "category": "design", "verdict": "supported", "priority": "P1"... | null |
FairwindsOps__gonogo__117 | FairwindsOps/gonogo | 117 | defect | 48a01784852ac4bf9c30a4c55043d5f5cb899e6b | 88f7653887339782eb0e67edb123869c8d28fe78 | sc/process multiple bundles | - Add logic to process multiple bundle files; split default bundle into separate files
- More refactoring plus another bundle file for testing
- Fixed test after refactor; added new bundle
- remove bad bundle file
This PR fixes #
## Checklist
* [x] I have signed the CLA
* [x] I have updated/added any relev... | diff --git a/cmd/check.go b/cmd/check.go
index 3a93da55..3b11e2f7 100644
--- a/cmd/check.go
+++ b/cmd/check.go
@@ -26,11 +26,11 @@ import (
"github.com/fairwindsops/gonogo/pkg/validate"
)
-var bundleFile string
+var bundleFile []string
func init() {
rootCmd.AddCommand(checkCmd)
- checkCmd.PersistentFlags().St... | 10 | 9 | 2 | [{"id": "G0", "claim": "The import block in pkg/bundle/bundle.go needlessly contains blank lines between groups, and the imports should be tidied up.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out getDefaultBundles function (an... | null |
FairwindsOps__gonogo__26 | FairwindsOps/gonogo | 26 | defect | 6a6ff3403dc9b7d7589425d01b14e01f14a868f8 | 140e5d416fd0e800521532a9ecfce7beb80ea3f1 | Sc/add starter bundles | This PR fixes #
## Checklist
* [x] I have signed the CLA
* [x] I have updated/added any relevant documentation
## Description
### What's the goal of this PR?
### What changes did you make?
### What alternative solution should we consider, if any?
| diff --git a/bundles/bundle.yaml b/bundles/bundle.yaml
new file mode 100644
index 00000000..e79042e1
--- /dev/null
+++ b/bundles/bundle.yaml
@@ -0,0 +1,37 @@
+addons:
+- name: cert-manager
+ versions:
+ start: 1.5.0
+ end: 1.7.0
+ notes: A text field with general notes
+ source:
+ chart: cert-manager
+ r... | 8 | 7 | 0 | [{"id": "G0", "claim": "The notes field of the bundle should link to the cert-manager release notes instead of holding generic placeholder text.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The placeholder warnings entries (\"warning 1\", \"warn... | null |
FairwindsOps__nova__154 | FairwindsOps/nova | 154 | defect | 69c5d8d9b4d705dd45471e31322772c23b466f60 | 28deb1964317058ddd08575e89c274ec2dff5b1d | FWI-2772 - add `--helm` flag to `find` command | This PR fixes #
Adds a new flag to nova, so we can have both helm and containers results in a single run
## Checklist
* [X] I have signed the CLA
* [X] I have updated/added any relevant documentation
## Description
### What's the goal of this PR?
Adds a new flag to find command - `--helm` by itself it should... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index bfe47d5..0f95957 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog
+# 2.3.0
+* Add support for `--helm` flag on `find` command
+
# 2.2.0
* Add support for config files
* Add support for overriding desired-versions
diff --git a/cmd/root.go b/cmd... | 3 | 2 | 0 | [{"id": "G0", "claim": "The docs' --containers and --helm flag descriptions should be reworded to state that container output is always shown and that helm output appears only when --helm is also set.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
FairwindsOps__nova__252 | FairwindsOps/nova | 252 | defect | 978c316ee81603de3bbe739d20dd1164278fd519 | f331e74968559decd31d4758f0205f6d3f670955 | Added ignore_list_functionality | This PR fixes https://github.com/FairwindsOps/nova/issues/206
## Checklist
* [ x ] I have signed the CLA
* [ x ] I have updated/added any relevant documentation
## Description
### What's the goal of this PR?
This PR adds ignore-list functionality when finding helm charts in a cluster. If a user specifies ch... | diff --git a/cmd/root.go b/cmd/root.go
index f2a4fe7..274b4b8 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -143,6 +143,18 @@ func init() {
klog.Exitf("Failed to bind show-old flag: %v", err)
}
+ findCmd.Flags().StringSlice("release-ignore-list", []string{}, "List of Helm release names to ignore")
+ err = viper.... | 4 | 4 | 2 | [{"id": "G0", "claim": "filterIgnoredReleases calls release.Chart.Name() without checking for nil first, so it can panic with a nil pointer exception on a release that has no chart.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please add a test ca... | null |
FairwindsOps__nova__3 | FairwindsOps/nova | 3 | defect | ed2e90c165bd2ca73666c2f0b5e2c1ab87cfb8ad | 2add95d3d90fa19f0a41cb19a042b5c677892d99 | Change output format, use tabwriter | This cleans up the output a bit in anticipation of an OSS release | diff --git a/README.md b/README.md
index 528d832..e21cbfc 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,7 @@ nova find
## Options
* `--helm-version` - which version of Helm to use. Options are `2`, `3`, and `auto` (default is `3`)
+* `--wide` - show `Chart Name` and `Namespace`
* `--output-file` - output JSO... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test fixture could also include `AppVersion` in the VersionInfo values, just in case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A doc comment was forgotten on the new VersionInfo struct in pkg/output/output.go.", "catego... | null |
FairwindsOps__pluto__10 | FairwindsOps/pluto | 10 | defect | a4a13df2e915b47a99d8208febef76fd4aea311a | aa756e2e248d17c87805d339e2b69a4dbeea813b | Allow checking a single file or stdin. Test output function and move it to API. | ## Single file input
This fixes #7 by allowing you to `helm template foo | pluto detect - `
Removed usage text from the README. It was hard to update and it was annoying. I expanded the quickstart to have more examples of usage to cover that documentation instead.
## Output Function
This required me to move the... | diff --git a/README.md b/README.md
index 5d51702c..9c9e33ec 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ This is a very simple utility to help users find deprecated Kubernetes apiVersio
Install the binary from our [releases](https://github.com/FairwindsOps/pluto/releases) page.
-### File Detection
+###... | 1 | 1 | 0 | [{"id": "G0", "claim": "An explanatory message should accompany the error when api.IsVersioned fails, to match the other error logs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FairwindsOps__pluto__103 | FairwindsOps/pluto | 103 | defect | 8c8b057de5f7c637a20c4aae8298ea432934193c | db1e331b658bdabada9d86a1f61accab6c8b7f12 | Refactor output columns into interfaces. Add custom output option | This should make dealing with columns easier. You define the interface of the column once, and then add it to the
proper output column list. Right now no output changes are made, just the underlying code to print them.
In theory, this will make implementing different output types easier.
Fixes #95
Paves the w... | diff --git a/cmd/root.go b/cmd/root.go
index d643cfbf..93dd6e07 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -43,14 +43,36 @@ var (
namespace string
apiInstance *api.Instance
targetVersions map[string]string
+ customColumns []string
)
+var outputOptions = []string{
+ "... | 6 | 5 | 1 | [{"id": "G0", "claim": "rbren suggests the PR consider adopting an existing output-formatting library (text/tabwriter, columnize, or tablewriter) so formatting code can be standardized across projects.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The c... | null |
FairwindsOps__pluto__105 | FairwindsOps/pluto | 105 | defect | 92c5f1355cbd72170917e2e38b4b9fecd3006895 | 35200bcc28b62851f72f31e5e10ed4a4754bb305 | Adding a --components flag to filter components | Fixes #94
I also took some utility functions out of the root.go and moved them to a utils package. Makes them easier to test | diff --git a/README.md b/README.md
index 7cf03036..66e412d0 100644
--- a/README.md
+++ b/README.md
@@ -226,6 +226,10 @@ $ echo $?
Notice that there is no output, despite the fact that we might have recognized apiVersions present in the cluster that are not yet deprecated or removed in v1.15.0. This particular run ex... | 3 | 1 | 0 | [{"id": "G0", "claim": "The `if components != nil` layer in the component-list loop in cmd/root.go could be removed by defaulting the components flag to an empty list (`[]string{}`) instead of nil.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It... | null |
FairwindsOps__pluto__106 | FairwindsOps/pluto | 106 | defect | 2dd4823660f0ba44d2230f5c6867425a20cf09a8 | 0633d6643ec581780aa49afd2e42a1582c849570 | Add filepath as a possible custom column | This adds filepath to the output if it is known. It is not included by default in any of the tabular outputs, but adds it as a column option.
Filepath will be in the json and yaml output as well
Fixes #97
Additional non-related changes:
- I removed the error handling from the containsStub function. There ... | diff --git a/e2e/tests/00_static_files.yaml b/e2e/tests/00_static_files.yaml
index 8eed8290..f9aa2929 100644
--- a/e2e/tests/00_static_files.yaml
+++ b/e2e/tests/00_static_files.yaml
@@ -32,13 +32,6 @@ testcases:
- result.code ShouldEqual 0
- result.systemout ShouldContainSubstring "No output to display"
--... | 1 | 1 | 1 | [{"id": "G0", "claim": "containsStub should keep returning an error so that a failure from both the JSON and YAML parses surfaces, since the error bubbles up to each individual detect type.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FairwindsOps__pluto__128 | FairwindsOps/pluto | 128 | defect | f3cc99f90af3803b84a6d66f3d265fb40b4825eb | 2ca71c169fcc6531c5a9507f34b42355a294f539 | BREAKING: Deprecate Helm 2 entirely | I made the decision to leave the entrypoint of the Helm package as `FindVersions` even though that function is now just a passthrough. I feel like it's cleaner this way
Fixes #114
TODO:
- [x] Fix functional tests | diff --git a/README.md b/README.md
index 570814ed..428bd79a 100644
--- a/README.md
+++ b/README.md
@@ -87,26 +87,15 @@ This indicates that we have two files in our directory that have deprecated apiV
### Helm Detection (in-cluster)
```
-$ pluto detect-helm --helm-version 3 -owide
+$ pluto detect-helm -owide
NAME ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Drop the now-unused store parameter from NewHelm in pkg/helm/helm.go and update the cmd/root.go call site to helm.NewHelm(namespace, apiInstance).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the leftover helmStore variab... | null |
FairwindsOps__pluto__164 | FairwindsOps/pluto | 164 | defect | 5f0f724e4271e2a22af69442c15ee3b878b51dd3 | 8c6b168413d61b591208cd50eb544c49709f22c9 | feat: allow output to be formatted as a markdown table | Running with the flag `-omarkdown` will output a markdown formatted table for use in documentation. | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c4d2c558..ab22f33e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -27,7 +27,7 @@ repos:
- id: pretty-format-json
args: ['--autofix']
- repo: https://github.com/jumanjihouse/pre-commit-hooks
- rev: 1.11.2
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The hardcoded header list {\"Name\", \"Sign\", \"Rating\"} set in markdownOut seems incorrect (the reviewer does not know what `sign` and `rating` are) and should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FairwindsOps__pluto__2 | FairwindsOps/pluto | 2 | defect | c4701f2954d49ea24962bd5746bc4105bdc4c73b | c71f970ca583822cf1f8d255b6ffc73b347d99c7 | Adding helm 3 support and refactoring a bit | - put all common use into the api package
- added parseOutput function
- helm 3 support (no tests yet)
- helm 2 is not supported yet and will be a challenge | diff --git a/cmd/root.go b/cmd/root.go
index 9464d882..25ccd284 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -23,7 +23,10 @@ import (
"gopkg.in/yaml.v3"
+ "github.com/fairwindsops/api-version-finder/pkg/api"
"github.com/fairwindsops/api-version-finder/pkg/finder"
+ "github.com/fairwindsops/api-version-finder/p... | 6 | 4 | 2 | [{"id": "G0", "claim": "The new --helm-version flag should default to 3 instead of 2, since helm 2 is not supported (or the default should be left blank).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The error paths in cmd/root.go should report errors ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.