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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TwiN__gatus__37 | TwiN/gatus | 37 | defect | d184786fd14e4e78aac519fc697357fdf8b180ca | 02ee2cb1981f656a68d46f3236cbf7618b2e796e | Add certificate expiration support | Fixes #28 | diff --git a/README.md b/README.md
index 4f4b2cad01..063a852d24 100644
--- a/README.md
+++ b/README.md
@@ -161,13 +161,14 @@ Here are some examples of conditions you can use:
#### Placeholders
-| Placeholder | Description | Example of resolved value |
-|:----... | 3 | 2 | 0 | [{"id": "G0", "claim": "The comment on the CertificateExpiration field should read '// CertificateExpiration is the duration before the certificate expires' instead of '// Duration before certificate expiration'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
TwiN__gatus__389 | TwiN/gatus | 389 | defect | 19e90cdf31e29759361491c4f43000dade9be072 | eeee12db8128c2e990a9736e6424503fab733e45 | feat: Support multiple configuration files | <!-- Thank you for contributing! -->
## Summary
This PR allows configuration to split across multiple files using the common `config.d/`-path style. The approach reads all `*.yml` and `*.yaml` files and merges them in memory into a single file before parsing. This seemed easier und required fewer changes than pars... | diff --git a/README.md b/README.md
index 61145c4e78..b1c3bd2fe9 100644
--- a/README.md
+++ b/README.md
@@ -133,6 +133,8 @@ By default, the configuration file is expected to be at `config/config.yaml`.
You can specify a custom path by setting the `GATUS_CONFIG_FILE` environment variable.
+Configuration can be split... | 11 | 9 | 1 | [{"id": "G0", "claim": "The PR should not define both GATUS_CONFIG_FILE and a default GATUS_CONFIG_DIR-style mechanism for picking up additional configuration files; it should use a single environment variable (GATUS_CONFIG_DIR, falling back to GATUS_CONFIG_FILE) and the default directory path should be dropped.", "cat... | null |
TwiN__gatus__511 | TwiN/gatus | 511 | defect | 0cf76211628713535a40218568f6174a07e58825 | 2c8af67f33f17a6ba13d23bb73e6dace36082145 | feat: support monitoring WebSocket endpoints (wss) | <!-- Thank you for contributing! -->
## Summary
Solves #492
## Checklist
<!-- Replace [ ] by [X] if you have completed the item -->
- [x] Tested and/or added tests to validate that the changes work as intended, if applicable.
- [X] Updated documentation in `README.md`, if applicable.
| diff --git a/README.md b/README.md
index 555316e696..fbfd7d7982 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,7 @@ Have any feedback or questions? [Create a discussion](https://github.com/TwiN/ga
- [Monitoring a TCP endpoint](#monitoring-a-tcp-endpoint)
- [Monitoring a UDP endpoint](#monitoring-a-udp-endpoi... | 10 | 9 | 3 | [{"id": "G0", "claim": "The README WebSocket example presents jsonrpc as if it were expected for WebSocket endpoints, and TwiN asks whether all WebSocket endpoints would be expected to have jsonrpc set to true.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
TwiN__gatus__512 | TwiN/gatus | 512 | defect | 60b0f3fa296928cacfc4bd6deaf9d50f541f29a3 | 782a378ae30e96ece3e55656d57fa09087abb805 | feat(alerting): Add token authorization for ntfy | <!-- Thank you for contributing! -->
Hi, I hope I got everything right. Let me know if I need to fix something before this can be merged.
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
I've added the ability to use [access tokens](https://docs.ntfy.sh/publis... | diff --git a/README.md b/README.md
index e44bce3750..7335d44d2c 100644
--- a/README.md
+++ b/README.md
@@ -733,6 +733,7 @@ endpoints:
| `alerting.ntfy` | Configuration for alerts of type `ntfy` | `{}` |
| `alerting.ntfy.topic` | Top... | 2 | 2 | 0 | [{"id": "G0", "claim": "The local variable `tokenValid` should be renamed to something like `isTokenValid`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Authorization header should be set with a single `request.Header.Set(\"Authorization\"... | null |
TwiN__gatus__653 | TwiN/gatus | 653 | defect | dd6c4142fb8bed0aa17e8e5a3e9fdf163ba5f9a6 | 4c1d4688ae99286d72bbe6ada6e96bcc484141e9 | feat(alerting): add timezone for maintenance | ## Summary
Add a "Timezone" field to the configuration in the maintenance zone to specify the timezone for the maintenance window. Also, include tests for various timezones and cases.
Fixes #327
## Checklist
- [X] Tested and/or added tests to validate that the changes work as intended, if applicable.
- [X] Up... | diff --git a/README.md b/README.md
index 14d235f397..1449c6c663 100644
--- a/README.md
+++ b/README.md
@@ -1307,10 +1307,9 @@ To do that, you'll have to use the maintenance configuration:
| `maintenance.enabled` | Whether the maintenance period is enabled ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The README should be updated to document the timezone format to use for maintenance.timezone.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TwiN__gatus__665 | TwiN/gatus | 665 | defect | bdad56e2055e75d44c90a1f35b9ed1a7cb309ff0 | 3966d903809b43469b108c1fbf91daaba2dada24 | feat(client): add mTLS config | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
closes #189
Adds mTLS configuration to the client
## Checklist
<!-- Replace [ ] by [X] if you have completed the item -->
- [x] Tested and/or added tests to validat... | diff --git a/README.md b/README.md
index 14d235f397..d363229417 100644
--- a/README.md
+++ b/README.md
@@ -352,6 +352,8 @@ the client used to send the request.
| `client.insecure` | Whether to skip verifying the server's certificate chain and host name. | `false` |
| `client.ignore-re... | 3 | 3 | 1 | [{"id": "G0", "claim": "Rename the new mTLS options from `client.client-certificate-file`/`client.client-private-key-file` to `client.tls.certificate-file`/`client.tls.private-key-file`, nesting them under `tls` to match the existing `web.tls.certificate-file` and `web.tls.private-key-file` configuration.", "category":... | null |
TwiN__gatus__668 | TwiN/gatus | 668 | defect | bdad56e2055e75d44c90a1f35b9ed1a7cb309ff0 | 4f96aa861963dee7d79308d76457cabb44052945 | feat(http): enhance HTTP client configuration with proxy support |
## Summary
- Add `ProxyURL` field to `Config` struct with YAML tag
- Implement proxy URL parsing and setting in `getHTTPClient` method
- Add test case for `getHTTPClient` method with custom proxy URL setting
- Include `net/url` package in both `config.go` and `config_test.go` files
## Checklist
- [x] Test... | diff --git a/client/config.go b/client/config.go
index 4f0ad7811e..46ce637e76 100644
--- a/client/config.go
+++ b/client/config.go
@@ -7,6 +7,7 @@ import (
"log"
"net"
"net/http"
+ "net/url"
"regexp"
"strconv"
"time"
@@ -41,6 +42,9 @@ func GetDefaultConfig() *Config {
// Config is the configuration for c... | 5 | 5 | 0 | [{"id": "G0", "claim": "Add some documentation in the README for the pull request's new proxy client configuration.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The proxy usage example should be added in the FAQ section rather than where it was ... | null |
TwiN__gatus__844 | TwiN/gatus | 844 | defect | 7de5a1fe48655d5ba732118029354ea522f5d79f | 610628e16741a4d62dd69b2dd482f56343155fda | feat(alerting): custom alert support endpoint errors | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
Fixes #840
- Updated `buildHTTPRequest` method in `AlertProvider` to accept a `result` parameter.
- Added support for including `[ENDPOINT_ERRORS]` in both the request body... | diff --git a/README.md b/README.md
index 9b3d591060..6c60b7b256 100644
--- a/README.md
+++ b/README.md
@@ -306,12 +306,13 @@ external-endpoints:
To push the status of an external endpoint, the request would have to look like this:
```
-POST /api/v1/endpoints/{key}/external?success={success}
+POST /api/v1/endpoints/... | 7 | 7 | 3 | [{"id": "G0", "claim": "The `[ENDPOINT_ERRORS]` placeholder name doesn't make sense and its documented source isn't true — unlike the other placeholders it is resolved from the endpoint's health check output, not from the configuration — so it should be named `[RESULT_ERRORS]`.", "category": "documentation", "verdict":... | null |
TwiN__gatus__845 | TwiN/gatus | 845 | defect | 7de5a1fe48655d5ba732118029354ea522f5d79f | d50d74f13e80af9ec76fb115d334f91c019dbb7b | feat(alerting): Implement Zulip's alerts | <!-- Thank you for contributing! -->
## Summary
Fixes #802
## Checklist
- [x] Tested and/or added tests to validate that the changes work as intended, if applicable.
- [X] Updated documentation in `README.md`, if applicable.
| diff --git a/README.md b/README.md
index 9b3d591060..4d547f2f1d 100644
--- a/README.md
+++ b/README.md
@@ -72,6 +72,7 @@ Have any feedback or questions? [Create a discussion](https://github.com/TwiN/ga
- [Configuring Twilio alerts](#configuring-twilio-alerts)
- [Configuring AWS SES alerts](#configuring-aws-se... | 4 | 4 | 0 | [{"id": "G0", "claim": "Move the newly added zulip import in alerting/config.go into the second import group with the other non-standard imports, and regroup zulip.go's imports into standard-library and external sections.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"},... | null |
TwiN__gatus__879 | TwiN/gatus | 879 | defect | ff4b09dff8fcb21c9fc4b2671111094f392634aa | 14d08b223db62ec2f04a996cd84f507672d00063 | feat(alerting): pushover priority on resolved | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
The logic can be handle a number of different ways, please advise if this solution is not ideal. Thanks!
https://github.com/TwiN/gatus/issues/767
## Checklist
<!-- Re... | diff --git a/README.md b/README.md
index 3fb3d62fb6..46d8b35058 100644
--- a/README.md
+++ b/README.md
@@ -73,8 +73,8 @@ Have any feedback or questions? [Create a discussion](https://github.com/TwiN/ga
- [Configuring Twilio alerts](#configuring-twilio-alerts)
- [Configuring AWS SES alerts](#configuring-aws-se... | 4 | 4 | 1 | [{"id": "G0", "claim": "The pull request added a spurious duplicate 'Proxy client configuration' entry to the README table of contents that should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request needlessly moved the 'Co... | null |
TwiN__gatus__956 | TwiN/gatus | 956 | defect | c259364edf0f2edb2ac93db1256b1ad5a1a8992e | 6807b8273c850843cc5cc4dc7abe0f661b0af84e | feat(ssh): Support authless SSH health check | <!-- Thank you for contributing! -->
## Summary
- added support for no-auth SSH health check.
- added tests.
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
fixes #723
@TwiN mind checking this pr?
## Checklist
<!-- Replace [ ] by [X] if you have completed the it... | diff --git a/README.md b/README.md
index 416c0c1876..90859f38ef 100644
--- a/README.md
+++ b/README.md
@@ -2056,6 +2056,23 @@ endpoints:
- "[STATUS] == 0"
```
+you can also use no authentication to monitor the endpoint by not specifying the username
+and password fields.
+
+```yaml
+endpoints:
+ - name: ssh-... | 4 | 4 | 0 | [{"id": "G0", "claim": "Remove the stray blank lines the change adds in client/client.go, config/endpoint/endpoint.go, config/endpoint/ssh/ssh.go and config/endpoint/ssh/ssh_test.go (asked via empty suggestion blocks on the added blank lines and a suggestion block rewriting CheckSSHBanner without them).", "category": "... | null |
Twingate__terraform-provider-twingate__125 | Twingate/terraform-provider-twingate | 125 | defect | fa90da356248ad0aa4383aded1d8721e8de3a0ad | cb5018650a5105dcd037b19e55bb7343df93433d | Datasource: resources (plural) | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/101
## Changes
- added datasource for twingate resources (plural)
| diff --git a/docs/data-sources/resources.md b/docs/data-sources/resources.md
new file mode 100644
index 000000000..bca24f654
--- /dev/null
+++ b/docs/data-sources/resources.md
@@ -0,0 +1,70 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "twingate_resources Data Source - terrafor... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add the clarification paragraph \"Resource names are not constrained to be unique within Twingate, so it is possible that this data source will return multiple list items.\" to the docs/data-sources/resources.md documentation.", "category": "documentation", "verdict": "supported", "priority": "P... | null |
Twingate__terraform-provider-twingate__127 | Twingate/terraform-provider-twingate | 127 | defect | 719b6b7d5352e3ac38bac60a3ffc2f4fa13386f5 | 58781473e8a675f8b9ba30a1944fd0b0067aadac | Datasource: users (plural) | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/102
## Changes
- added users datasource
| diff --git a/docs/data-sources/users.md b/docs/data-sources/users.md
new file mode 100644
index 000000000..b0920f0df
--- /dev/null
+++ b/docs/data-sources/users.md
@@ -0,0 +1,39 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "twingate_users Data Source - terraform-provider-twing... | 2 | 1 | 0 | [{"id": "G0", "claim": "The generated docs may need to be regenerated because is_admin appears to have been replaced by role but still shows up in the docs.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The is_admin description should read 'Indicat... | null |
Twingate__terraform-provider-twingate__128 | Twingate/terraform-provider-twingate | 128 | defect | fa90da356248ad0aa4383aded1d8721e8de3a0ad | 373d3a42becdd18033d5dc8661293d28e384d8bb | Datasource: connector | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/105
## Changes
- added datasource for twingate connector
| diff --git a/docs/data-sources/connector.md b/docs/data-sources/connector.md
new file mode 100644
index 000000000..1c7f37607
--- /dev/null
+++ b/docs/data-sources/connector.md
@@ -0,0 +1,33 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "twingate_connector Data Source - terrafor... | 5 | 5 | 0 | [{"id": "G0", "claim": "The datasource docs page's front-matter and intro descriptions reuse the resource's description; alexmensch asks to replace them with the short version \"Connectors provide connectivity to Remote Networks. For more information, see Twingate's [documentation](https://docs.twingate.com/docs/unders... | null |
Twingate__terraform-provider-twingate__135 | Twingate/terraform-provider-twingate | 135 | defect | 719b6b7d5352e3ac38bac60a3ffc2f4fa13386f5 | 09dc4dbd397490aea61d6450a9255d6c987cb831 | Fix resource re-creation after deletion | Resolves (github issue): https://github.com/Twingate/terraform-provider-twingate/issues/130 (second part)
## Changes
- fix resource re-creation after deletion
| diff --git a/twingate/client_resource.go b/twingate/client_resource.go
index 598274c18..b5d94f904 100644
--- a/twingate/client_resource.go
+++ b/twingate/client_resource.go
@@ -214,7 +214,7 @@ func (client *Client) readResource(ctx context.Context, resourceID string) (*Res
}
if response.Resource == nil {
- retur... | 1 | 1 | 1 | [{"id": "G0", "claim": "The same deletion-drift fix applied to the resource should be extended to all the other resources too (group, remote network, connector, ...), since they share the same use case of manual deletion creating drift that TF needs to fix.", "category": "correctness", "verdict": "supported", "priority... | null |
Twingate__terraform-provider-twingate__157 | Twingate/terraform-provider-twingate | 157 | defect | b0801904afc192ba21a39db40b22d1100f7fc472 | 379178745a8e33199e8a9d1b4bfa5d7978b2ab08 | Fix docs for nested schema objects in datasources | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/148
## Changes
- Fix docs for nested schema objects for connectors datasource
- Fix docs for nested schema objects groups datasource
- Fix docs for nested schema objects resource datasource
- Fix docs for nested schema objects resources data... | diff --git a/docs/data-sources/connectors.md b/docs/data-sources/connectors.md
index 7e05b12bb..eca65055a 100644
--- a/docs/data-sources/connectors.md
+++ b/docs/data-sources/connectors.md
@@ -21,16 +21,16 @@ data "twingate_connectors" "all" {}
### Read-Only
-- `connectors` (List of Object) List of Connectors (see... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request description needs more details on its purpose and the linked issue, since the title describes fixing only the connectors datasource docs while the code edits more than connectors.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__207 | Twingate/terraform-provider-twingate | 207 | defect | ef2104a4f59553cf33f73162fc8920bf7ba2e7c4 | be43a4aeffd2dc6fc77874cc6092dab522acd27e | Fetch all Resource's groups | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/203
## Changes
- loading all groups for the resource
| diff --git a/twingate/client_resource.go b/twingate/client_resource.go
index 5a1e32827..3841b03eb 100644
--- a/twingate/client_resource.go
+++ b/twingate/client_resource.go
@@ -16,13 +16,14 @@ type Resource struct {
RemoteNetworkID graphql.ID
Address graphql.String
Name graphql.String
- GroupsI... | 3 | 3 | 2 | [{"id": "G0", "claim": "The indentation of the createResource13 test helper should be made consistent.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "readAllResourceGroups should not be called on create since the caller already knows the group i... | null |
Twingate__terraform-provider-twingate__210 | Twingate/terraform-provider-twingate | 210 | defect | 27ed7e8bf2e9d248c78e7708b810f9afd6bc290e | 6ccb6702fff6a8709a936327cd836d87215a97ad | Fix acc tests | Fixes acceptance test random failures
## Changes
Add a delay between the test's `config` phase and `check` phase. As check usually query replica DBs there's a chance of a small replication delay
| diff --git a/twingate/resource_resource_test.go b/twingate/resource_resource_test.go
index 162672a70..0db832057 100644
--- a/twingate/resource_resource_test.go
+++ b/twingate/resource_resource_test.go
@@ -3,8 +3,10 @@ package twingate
import (
"context"
"fmt"
+ "math/rand"
"regexp"
"testing"
+ "time"
"gith... | 1 | 1 | 1 | [{"id": "G0", "claim": "The wait helper should also be added to the latest tests that were failing, not only the one test it was added to.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__215 | Twingate/terraform-provider-twingate | 215 | defect | d093b1c832d97315892d81219b3edfb1d87b7daf | 1b5f6a85bbab9900e5fce1071315a3d992243f9f | Feature/datasource load all pages | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/212
## Changes
- fetching all pages for datasources
| diff --git a/twingate/client_connector.go b/twingate/client_connector.go
index c29cec508..a6ee6ff11 100644
--- a/twingate/client_connector.go
+++ b/twingate/client_connector.go
@@ -12,10 +12,21 @@ type Connector struct {
Name graphql.String
}
+type ConnectorNode struct {
+ Node *Connector
+}
+
type Conne... | 1 | 1 | 0 | [{"id": "G0", "claim": "Is there a reason to separate this into its own function instead of keeping it part of readResources, given that receiving the previous response (resource *readResourcesQuery) makes it not really an independent function?", "category": "design", "verdict": "supported", "priority": "P3", "scope": ... | null |
Twingate__terraform-provider-twingate__253 | Twingate/terraform-provider-twingate | 253 | defect | 4dd49f0c472815a6efe7d251d58cf7fb60d9de94 | e661f018522dd4ded2e7ed3b09f9a41103dd6119 | New resource properties | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/251
## Changes
- added optional resource properties: is_visible and is_browser_shortcut_enabled
| diff --git a/docs/resources/resource.md b/docs/resources/resource.md
index 059912e82..72d5e6466 100644
--- a/docs/resources/resource.md
+++ b/docs/resources/resource.md
@@ -56,6 +56,8 @@ resource "twingate_resource" "resource" {
### Optional
- `group_ids` (Set of String, Deprecated) List of Group IDs that have perm... | 3 | 3 | 3 | [{"id": "G0", "claim": "The description of is_visible (\"Indicates if the Resource is active.\") is wrong and should be corrected, pending a fix from alexmensch, before merging.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The is_browser_shortcu... | null |
Twingate__terraform-provider-twingate__293 | Twingate/terraform-provider-twingate | 293 | defect | 9db68849224338d82ebd1ed673adc7786e0675c3 | 6b13433c22a95d6f14acf23060bcc29bdaf590e3 | Added status_updates_enabled attribute to twingate_connector | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/291
## Changes
- added new optional attribute `status_updates_enabled`
| diff --git a/docs/data-sources/connector.md b/docs/data-sources/connector.md
index 32093b6af..b48056bf6 100644
--- a/docs/data-sources/connector.md
+++ b/docs/data-sources/connector.md
@@ -29,5 +29,6 @@ data "twingate_connector" "foo" {
- `name` (String) The name of the Connector
- `remote_network_id` (String) The ... | 2 | 1 | 1 | [{"id": "G0", "claim": "Adding a separate query struct and function for every permutation of optional variables (as done for StatusUpdatesEnabled) does not scale and is not the right solution.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Using go-graph... | null |
Twingate__terraform-provider-twingate__3 | Twingate/terraform-provider-twingate | 3 | defect | 1deb4a797eafa264fdad8a8e9f3a60dac0199fe3 | 1352fa903a399fed6bec8ec6bf2971c3b1f1f742 | [tg 2737] | Improve test coverage | <!-- Please fill out as much as you can. Feel free to remove all irrelevant bits -->
> JIRA Ticket URL: https://twingate.atlassian.net/browse/TG-2737
> Notion spec URL:
## Changes
Increasing Coveralls.io coverage to > 85%
| diff --git a/Makefile b/Makefile
index 91b2ff726..a630b7c50 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ test: fmtcheck
./scripts/test.sh
testacc: fmtcheck
- TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test $(TEST) -v $(TESTARGS) -timeout 10m
+ TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 ./scripts/test.sh
fmt:
@... | 3 | 3 | 0 | [{"id": "G0", "claim": "The ping-failure test should assert an error message like \"Failed to communicate with Twingate with error .....\" instead of just containing \"500\".", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The JSON-parsing-failure test sh... | null |
Twingate__terraform-provider-twingate__372 | Twingate/terraform-provider-twingate | 372 | defect | 0d0932234fa55e972f6f7596a1bf114accc1a594 | 77d9a87cfcc8b6d6b0c13d7c21eac37406184b10 | Fix protocols block | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/351
Test results: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/5619071325
## Changes
- fix policy conversion logic
| diff --git a/twingate/internal/model/resource.go b/twingate/internal/model/resource.go
index cef527640..89b2be271 100644
--- a/twingate/internal/model/resource.go
+++ b/twingate/internal/model/resource.go
@@ -153,14 +153,7 @@ func (p *Protocol) PortsToString() []string {
}
func NewProtocol(policy string, ports []*P... | 1 | 1 | 0 | [{"id": "G0", "claim": "The three error variable names and messages should be changed to ErrPortsWithPolicyAllowAll, ErrPortsWithPolicyDenyAll and ErrPolicyRestrictedWithoutPorts with policy-prefixed message texts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__415 | Twingate/terraform-provider-twingate | 415 | defect | 6cd11733812ee10acefb14983c5fe0cf1161c353 | 6831f160e1c0dde3a1546e9ad8ecb0cf883be7c8 | Fix: service account and service key | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/407
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/6569760290/job/17846156883
## Changes
- fix by revoking service_key before deleting service_account
| diff --git a/twingate/internal/client/service-account.go b/twingate/internal/client/service-account.go
index f8ef61e70..7d5908384 100644
--- a/twingate/internal/client/service-account.go
+++ b/twingate/internal/client/service-account.go
@@ -72,6 +72,19 @@ func (client *Client) UpdateServiceAccount(ctx context.Context, ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The ReadServiceAccount/revoke-keys block added to DeleteServiceAccount does not fix the #407 scenario where the service account was deleted outside Terraform (serviceAccount is nil so the block never runs and Terraform drops the SA from state without deleting its keys), and the PR lacks a reprod... | null |
Twingate__terraform-provider-twingate__418 | Twingate/terraform-provider-twingate | 418 | defect | 14c6effae8d94ba74a132f350a0a39133e8edbac | cffc017940340170425486d2813763693c8c16c9 | Fix: added Resource validation for wildcard address and enabled browser shortcut | Resolves issue with wildcard address
## Changes
- added validation on Resource create and update
| diff --git a/twingate/internal/provider/resource/resource.go b/twingate/internal/provider/resource/resource.go
index d851ef39e..471ecb3b5 100644
--- a/twingate/internal/provider/resource/resource.go
+++ b/twingate/internal/provider/resource/resource.go
@@ -17,9 +17,10 @@ import (
)
var (
- ErrPortsWithPolicyAllowAl... | 2 | 2 | 1 | [{"id": "G0", "claim": "The wildcard check added in convertResource is too narrow: treating only addresses prefixed with `*.` as wildcard misses wildcards appearing elsewhere (`*`, `?`, e.g. redis-?-blah.internal) and CIDR ranges (e.g. 10.0.0.0/16).", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
Twingate__terraform-provider-twingate__438 | Twingate/terraform-provider-twingate | 438 | defect | 6c2e491543acbd9119f9cf3b52df07f4a2b4e81b | e40c0c791f5c0993d3a15f79da1109498de9a782 | Added optional attribute is_active to twingate_resource | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/430
Test passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7172949273
## Changes
- added optional attribute `is_active` to twingate_resource
| diff --git a/docs/resources/resource.md b/docs/resources/resource.md
index 9e9fbdf04..fa065d76d 100644
--- a/docs/resources/resource.md
+++ b/docs/resources/resource.md
@@ -56,6 +56,8 @@ resource "twingate_resource" "resource" {
group_ids = [twingate_group.aws.id]
service_account_ids = [twingate_service_accou... | 2 | 2 | 1 | [{"id": "G0", "claim": "The provider could create the resource first and then immediately set it to inactive instead of rejecting inactive resources on creation, reducing friction for the end user.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If the pr... | null |
Twingate__terraform-provider-twingate__443 | Twingate/terraform-provider-twingate | 443 | defect | 3fcbb68cfb2798fc8ec393aa540cef06c062ce18 | d0fb2bafe8c742b38904e35c9bc64212e838786f | Feature: add filtering support for twingate resources datasource | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/434 https://github.com/Twingate/terraform-provider-twingate/issues/356
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7306475547
## Changes
- added optional attributes to resources datasource
| diff --git a/docs/data-sources/resources.md b/docs/data-sources/resources.md
index 9db92f729..36428391e 100644
--- a/docs/data-sources/resources.md
+++ b/docs/data-sources/resources.md
@@ -15,6 +15,11 @@ Resources in Twingate represent servers on the private network that clients can
```terraform
data "twingate_resour... | 2 | 2 | 1 | [{"id": "G0", "claim": "The commented filter example lines added to docs/data-sources/resources.md and examples/data-sources/twingate_resources/data-source.tf should be updated to describe each option accurately (e.g. name_regexp = \"<regular expression of resource name>\") instead of reusing \"<your resource's name>\"... | null |
Twingate__terraform-provider-twingate__445 | Twingate/terraform-provider-twingate | 445 | defect | 3fcbb68cfb2798fc8ec393aa540cef06c062ce18 | c0be7020710a59ab4592dff2cc9e04594d130e34 | [After #443] Feature: add filtering for service accounts datasource | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/436
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7312834045
## Changes
- added optional name filters
| diff --git a/docs/data-sources/resources.md b/docs/data-sources/resources.md
index 9db92f729..36428391e 100644
--- a/docs/data-sources/resources.md
+++ b/docs/data-sources/resources.md
@@ -15,6 +15,11 @@ Resources in Twingate represent servers on the private network that clients can
```terraform
data "twingate_resour... | 3 | 3 | 0 | [{"id": "G0", "claim": "The docs/data-sources/resources.md file should probably be removed and the one from PR #443 used instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The service_accounts datasource docs should state that if no options a... | null |
Twingate__terraform-provider-twingate__453 | Twingate/terraform-provider-twingate | 453 | defect | d022d52499d1ca1219f08f80345d5aca59fbc52a | 491c89d02d4ef9e462ff92a6f95db12c73a95f6a | Fix: create twingate-connector with disabled status | Resolves issue with creating new connector with disabled status
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7547395908
## Changes
- passing optional parameter `status_updates_enabled` on creation
- added acc test
| diff --git a/docs/resources/connector.md b/docs/resources/connector.md
index 8754a1456..e7be668bf 100644
--- a/docs/resources/connector.md
+++ b/docs/resources/connector.md
@@ -24,6 +24,7 @@ resource "twingate_remote_network" "aws_network" {
resource "twingate_connector" "aws_connector" {
remote_network_id = twin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The documentation for `status_updates_enabled` should be updated to show what the attribute's default value is.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
Twingate__terraform-provider-twingate__457 | Twingate/terraform-provider-twingate | 457 | defect | 831c1400b93260f47a9279a221cba521da396664 | 7eb7d16a13700097e5fc1e73a364e7f2bbad8ff9 | [After #443] Feature: add support for filtering twingate security-policies data source | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/435
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7592673862/job/20682302662
## Changes
- added optional filters for security-policy datasource
| diff --git a/docs/data-sources/resources.md b/docs/data-sources/resources.md
index 9db92f729..85c064ab6 100644
--- a/docs/data-sources/resources.md
+++ b/docs/data-sources/resources.md
@@ -15,6 +15,11 @@ Resources in Twingate represent servers on the private network that clients can
```terraform
data "twingate_resour... | 1 | 1 | 0 | [{"id": "G0", "claim": "The security_policies attribute of the twingate_security_policies data source is not an input, so its docs entry should be moved from the Optional section to the Read-Only section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__458 | Twingate/terraform-provider-twingate | 458 | defect | 831c1400b93260f47a9279a221cba521da396664 | 6099925431a1bbf6271fed38ad44f6979abf3880 | [After #443] Feature: add filtering for twingate remote networks datasource | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/433
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7607118051/job/20713942883
## Changes
- added filter options for remote-networks datasource
| diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f69312989..404873f68 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -17,6 +17,7 @@ on:
branches:
- main
+
# Ensures only 1 action runs per PR and previous is canceled on new trigger
concurrency:
group: ${{... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Example Usage section of docs/data-sources/remote_networks.md should include commented examples of the filter options, similar to the other resources data sources.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__462 | Twingate/terraform-provider-twingate | 462 | defect | 831c1400b93260f47a9279a221cba521da396664 | 3413dacb4fe4bad9480015c95de5e4906eee2b0c | [After #443] Feature: add support for filtering twingate groups datasource | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/432
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7676594341
## Changes
- added optional filters for groups datasource
| diff --git a/docs/data-sources/groups.md b/docs/data-sources/groups.md
index b5496be0d..ea9e5e4f1 100644
--- a/docs/data-sources/groups.md
+++ b/docs/data-sources/groups.md
@@ -15,6 +15,11 @@ Groups are how users are authorized to access Resources. For more information, s
```terraform
data "twingate_groups" "foo" {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docs/data-sources/groups.md schema type incorrectly lists the `groups` attribute under Optional although it is read-only; it should be moved to the Read-Only section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__463 | Twingate/terraform-provider-twingate | 463 | defect | d11fc26e7df7c479fc44291aaf444cfc8203586e | fbdc7701915aff1a21d494b916758d256fac8f77 | [After #443] Feature: add support filtering twingate_connectors datasource | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/431
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7677158805/job/20925569374
## Changes
- added optional filters to twingate_connectors datasource
| diff --git a/docs/data-sources/connectors.md b/docs/data-sources/connectors.md
index 758877156..36e104a39 100644
--- a/docs/data-sources/connectors.md
+++ b/docs/data-sources/connectors.md
@@ -13,7 +13,14 @@ Connectors provide connectivity to Remote Networks. For more information, see Tw
## Example Usage
```terrafo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `connectors` attribute is not an input; the schema type needs to be updated so the attribute becomes read-only and the generated docs move it from the Optional section to the Read-Only section.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
Twingate__terraform-provider-twingate__672 | Twingate/terraform-provider-twingate | 672 | defect | 23114489fd19801f29700672e776130ffabebac6 | 268384969983e1feb37f6b0a53a178c554df93ba | Feature: search groups by name | Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/14346067365
## Changes
- added search by name for cached resources
| diff --git a/golangci.yml b/golangci.yml
index 75f16cab7..c45723ea5 100644
--- a/golangci.yml
+++ b/golangci.yml
@@ -47,7 +47,7 @@ linters:
- github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier.Int64
- github.com/hashicorp/terraform-plugin-testing/plancheck.PlanCheck
gocy... | 1 | 1 | 0 | [{"id": "G0", "claim": "Assign the filter name to a variable (`if name := filter.GetName(); name != \"\"`) and use that variable instead of repeating filter.GetName() throughout the name-matching switch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__682 | Twingate/terraform-provider-twingate | 682 | defect | 6ad61328054f7b8ab3ebbaeddef3f249cb53116e | c7eaf281a7c529b14003ae3741dd5050657383a9 | Feature: search resource in cache by name | Datasource - read resources improvements
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/14624352908
## Changes
- read resources from cache on datasource usage
| diff --git a/twingate/internal/client/cache_test.go b/twingate/internal/client/cache_test.go
index 3c628b940..5ad55c63f 100644
--- a/twingate/internal/client/cache_test.go
+++ b/twingate/internal/client/cache_test.go
@@ -381,3 +381,230 @@ func TestHandler_MatchGroupsByTypeNameInvalidRegexp(t *testing.T) {
assert.Le... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Match function in twingate/internal/model/resource.go has become too large, and the linter reports \"calculated cyclomatic complexity for function Match is 19, max is 10\".", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__686 | Twingate/terraform-provider-twingate | 686 | defect | 7924f5c50389566bb6a09cc027cd0a6206fac95b | c917f0370ffaf1defea8bc702c99fef233e08c58 | Fix: fetch all users for group | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/684
Tests passes[UPD]: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/14671048480
## Changes
- fix fetching all users for groups on cache init
| diff --git a/twingate/internal/client/group.go b/twingate/internal/client/group.go
index f5d2e80c8..dbb1384fb 100644
--- a/twingate/internal/client/group.go
+++ b/twingate/internal/client/group.go
@@ -48,9 +48,13 @@ func (client *Client) ReadGroup(ctx context.Context, groupID string) (*model.Gro
}
if res, ok := g... | 1 | 1 | 0 | [{"id": "G0", "claim": "In ReadGroups and ReadFullGroups the new FetchPages error returns should drop the //nolint suppression and instead wrap the error with context, e.g. fmt.Errorf(\"failed to read groups %s: %w\", group.Node.ID, err).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
Twingate__terraform-provider-twingate__704 | Twingate/terraform-provider-twingate | 704 | defect | 1ed9b2c9c12fb50b6ea1e1171a6f0bb424d72163 | 50c35201773bbe8769713784abf737200d73afcf | Feature: added default tags | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/667
Tests passes[UPD]: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/15003073014
## Changes
- added default resource tags
| diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dec7699d..2d49f7d0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,6 +16,7 @@ on:
- 'README.md'
branches:
- main
+ - feature/add-support-for-default-tags
# Ensures only 1 action runs per PR and ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The default_tags description should read \"A default set of tags applied globally to all resources created by the provider.\", matching the confirmed behavior that default tags apply to every created resource.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "int... | null |
Twingate__terraform-provider-twingate__746 | Twingate/terraform-provider-twingate | 746 | defect | 7878f1b6da644976d7c3ac4ea8a4e5125dc4c513 | 8fcdbfc80b1eaa4ffc280d4a200d7361bee5a034 | Fix: removed attribute send_invite | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/743
Tests passes[UPD-1]: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/16481917900/job/46598200283
## Changes
- removed attribute `send_invite`
| diff --git a/docs/resources/user.md b/docs/resources/user.md
index 50e0dc68..856b2b7d 100644
--- a/docs/resources/user.md
+++ b/docs/resources/user.md
@@ -23,7 +23,6 @@ resource "twingate_user" "user" {
first_name = "Twin"
last_name = "Gate"
role = "DEVOPS"
- send_invite = true
}
```
@@ -40,7 +39,7 @@ res... | 2 | 1 | 0 | [{"id": "G0", "claim": "After removing the send_invite attribute, there are still a few send_invite references left in /docs/resources/user.md and /resources/twingate_user/resource.tf that should be cleaned up.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1... | null |
Twingate__terraform-provider-twingate__762 | Twingate/terraform-provider-twingate | 762 | defect | 4422f1bf7589408efedb4617380320f3e404ef1f | e7d007ed28e25f11449d524e41958c0c78aec138 | Fix security_policy_id on resource update | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/753
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/17333203845
## Changes
- fix securilty_policy update
| diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 820e49ef..3358aa9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,6 +16,7 @@ on:
- 'README.md'
branches:
- main
+ - fix-security_policy-on-resource-update
# Ensures only 1 action runs per PR an... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the test branch fix-security_policy-on-resource-update from the CI trigger branches list in .github/workflows/ci.yml.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__763 | Twingate/terraform-provider-twingate | 763 | defect | 30b7502885601de681fa9af21bf1a6aaafa6a665 | 46f6319a8866412c0592d2aee3625af6b8a7c8a3 | Cache filter config | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/757
Tests pases: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/17665003063
## Changes
- added cache config
| diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 820e49ef..f2fe19bf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,6 +16,7 @@ on:
- 'README.md'
branches:
- main
+ - cache-filter-config
# Ensures only 1 action runs per PR and previous is cance... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `cache-filter-config` branch entry this PR adds to the CI workflow's push trigger can be removed now.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When a cache filter is set, datasources must not be served from the ... | null |
Twingate__terraform-provider-twingate__777 | Twingate/terraform-provider-twingate | 777 | defect | c743130275654edc6ecc8a8364fb59151bd2481c | 3db8597827c6925eba7348c8a7090f087bb486db | Added ephemeral resouce for connector_tokens | Resolves https://github.com/Twingate/terraform-provider-twingate/issues/766
Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/18756826627
## Changes
- added ephemeral resource for connector_tokens
| diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ef80817c..f792d5d3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,6 +16,7 @@ on:
- 'README.md'
branches:
- main
+ - ephemeral-resource
# Ensures only 1 action runs per PR and previous is cancel... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the local's access_token key to ephemeral_access_token and also add a non-ephemeral access token without ephemeral support to the example.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Twingate__terraform-provider-twingate__791 | Twingate/terraform-provider-twingate | 791 | defect | c301c64b8421e161ec19ea66643a545bac532a7c | dba30bac37c7a9c4ebb9ed553e91721a7161bee9 | Upgrade go-graphql-client lib | Resolves go-graphql-client library upgrade
Tests passes [UPD]: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/19611623445
## Changes
- fix tests and Principal structure
| diff --git a/go.mod b/go.mod
index 8104fbe7..0f109ba3 100644
--- a/go.mod
+++ b/go.mod
@@ -10,7 +10,7 @@ require (
github.com/hashicorp/terraform-plugin-framework-validators v0.19.0
github.com/hashicorp/terraform-plugin-go v0.29.0
github.com/hashicorp/terraform-plugin-testing v1.13.3
- github.com/hasura/go-graphq... | 1 | 1 | 1 | [{"id": "G0", "claim": "When `access.Node.Type` is 'Group' the `access.Node.Group.ID` may be zero-valued if only the ServiceAccount fragment is populated (and vice versa for 'ServiceAccount'), which could store empty IDs; consider adding validation that the correct field is populated based on the Type or handling the z... | null |
Twingate__terraform-provider-twingate__96 | Twingate/terraform-provider-twingate | 96 | defect | e372e89d2a57016ca7bcaa4982001c33a1850acb | 8fd8fa299f554a426ee5b2cc408ff279e1789056 | Fix importing a connector | Github Issue: https://github.com/Twingate/terraform-provider-twingate/issues/94
## Changes
- Fixed connector import - set network_id
| diff --git a/docs/resources/connector.md b/docs/resources/connector.md
index eb0e455af..5bd74325d 100644
--- a/docs/resources/connector.md
+++ b/docs/resources/connector.md
@@ -47,5 +47,6 @@ resource "twingate_connector" "aws_connector" {
Import is supported using the following syntax:
```shell
+terraform import tw... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the remote-network import examples this PR added to the connector documentation and import.sh example, since they are unnecessary.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TykTechnologies__tyk__7869 | TykTechnologies/tyk | 7,869 | defect | df44fcb45f33d81b96eb46c2fa4a011cbf6bdb04 | f6a5404230536dfbe1f108403cd37c378a4361c1 | [TT-14337] Dashboard filter doesn't return all certificates linked to an API | <!-- Provide a general summary of your changes in the Title above -->
## Description
<!-- Describe your changes in detail -->
## Related Issue
<!-- This project only accepts pull requests related to open issues. -->
<!-- If suggesting a new feature or change, please discuss it in an issue first. -->
<!-- ... | diff --git a/certs/manager.go b/certs/manager.go
index ed62034b6f5..5bdc6403771 100644
--- a/certs/manager.go
+++ b/certs/manager.go
@@ -401,6 +401,20 @@ type CertificateMeta struct {
IsCA bool `json:"is_ca"`
}
+// ToCertificateBasics converts a CertificateMeta to a CertificateBasics struct.
+func (c... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pull request is incomplete: the new ToCertificateBasics method and its test are added, but the certHandler in gateway/cert.go is never updated to use it, so this change by itself does not resolve the dashboard certificate-filter bug and will require a follow-up.", "category": "correctness", ... | null |
TykTechnologies__tyk__7903 | TykTechnologies/tyk | 7,903 | defect | 6585d1fd50670f630096fdd079a35509a08a7507 | 1dfe32daccbc9a29b1eba352d70e6436374d1089 | [TT-16812] add MCPStats to handler_success and error handler response records | Add recordMCPDetails() which reads JSONRPCRoutingState from request context and populates MCPStats (method, primitive type/name) on the AnalyticsRecord.
Call it from both handler_success.go (RecordHit) and handler_error.go (HandleError), mirroring the existing recordGraphDetails pattern.
Tag MCP records with tyk-mcp-... | diff --git a/gateway/handler_error.go b/gateway/handler_error.go
index c2d8f6594c5..6d88cacdb73 100644
--- a/gateway/handler_error.go
+++ b/gateway/handler_error.go
@@ -201,6 +201,9 @@ func (e *ErrorHandler) HandleError(w http.ResponseWriter, r *http.Request, errMs
ExpireAt: t,
}
recordGraphDetails(&reco... | 2 | 2 | 2 | [{"id": "G0", "claim": "The tyk-pump dependency must be updated so the analytics record structure changes the PR's code relies on (the new MCPStats field) are picked up.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Add \"super pseudo kinda\" e2e-s... | null |
TykTechnologies__tyk__7915 | TykTechnologies/tyk | 7,915 | defect | 5cb4b4bcfae5438c30f737b363b229d98e94f658 | 31e347d954eb9bad77ac6b8dc7f46cf2e56f5e11 | [TT-16389] [Regression] OAS APIs no longer generate Analytics on Mock endpoint | <!-- Provide a general summary of your changes in the Title above -->
## Description
<!-- Describe your changes in detail -->
## Related Issue
<!-- This project only accepts pull requests related to open issues. -->
<!-- If suggesting a new feature or change, please discuss it in an issue first. -->
<!-- ... | diff --git a/gateway/mw_mock_response.go b/gateway/mw_mock_response.go
index 645e7d6e3cf..aa25278cf15 100644
--- a/gateway/mw_mock_response.go
+++ b/gateway/mw_mock_response.go
@@ -9,7 +9,9 @@ import (
"net/http"
"sort"
"strconv"
+ "time"
+ "github.com/TykTechnologies/tyk-pump/analytics"
"github.com/TykTechno... | 1 | 1 | 0 | [{"id": "G0", "claim": "The mockHitRecorder test helper should live in the test code rather than in the production file gateway/mw_mock_response.go.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TykTechnologies__tyk__7935 | TykTechnologies/tyk | 7,935 | defect | 05eb46b422b8b8f34fd580a6dc7ff4656d551141 | e8848710c9ac1cd71ff7eecaf07a5a1a689f0c11 | [TT-16770] Support Template Data & RFC 7807 Context for Validation Errors | PR for https://tyktech.atlassian.net/browse/TT-16770 | diff --git a/gateway/handler_error.go b/gateway/handler_error.go
index ff9eac627cb..d302b791a42 100644
--- a/gateway/handler_error.go
+++ b/gateway/handler_error.go
@@ -17,6 +17,7 @@ import (
"github.com/TykTechnologies/tyk-pump/analytics"
"github.com/TykTechnologies/tyk/config"
+ tykctx "github.com/TykTechnologi... | 3 | 2 | 0 | [{"id": "G0", "claim": "The TemplateData should not be logged as a separate access-log field, since its purpose is to inject invalid params into the override error template and its value as a log field is unclear (asked as WDYT).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
TykTechnologies__tyk__7937 | TykTechnologies/tyk | 7,937 | defect | 7e2a10d251b228fe4bd83bf729f94b09cd110871 | 82172cdf0818d600f2226af00daf8e47ff5cbb5c | [TT-16761] Compress Policies in Data Plane Redis Cache | ## Description
Added `compress_policies` configuration option to compress policies in Data Plane's Redis.
## Related Issue
https://tyktech.atlassian.net/browse/TT-16761
## Motivation and Context
Similarly to API definitions, policies are loaded into memory by the Gateway, so the Redis access does not occu... | diff --git a/config/config.go b/config/config.go
index e1c891146e2..08e73d31f5c 100644
--- a/config/config.go
+++ b/config/config.go
@@ -208,6 +208,18 @@ type StorageOptionsConf struct {
// Defaults to `false`.
CompressAPIDefinitions bool `json:"compress_api_definitions"`
+ // When set to `true`, enables Zstd com... | 4 | 3 | 1 | [{"id": "G0", "claim": "The decompression limit used by decompressBackup is a global, mutable variable (maxDecompressedSize in internal/compression/zstd.go), which is not thread-safe and should be immutable after startup or passed explicitly rather than modified at runtime in tests.", "category": "security", "verdict":... | null |
TypeCellOS__BlockNote__1103 | TypeCellOS/BlockNote | 1,103 | defect | d0003b1e865f89cbacc05617235dac9132c76efe | ee95c193f9fd875bb13b5ed63655cdc14f8b4f50 | fix: Block update removing children when setting content | Closes #1101 | diff --git a/packages/core/src/pm-nodes/BlockContainer.ts b/packages/core/src/pm-nodes/BlockContainer.ts
index aa476f2ea5..6ead8b3ded 100644
--- a/packages/core/src/pm-nodes/BlockContainer.ts
+++ b/packages/core/src/pm-nodes/BlockContainer.ts
@@ -286,7 +286,7 @@ export const BlockContainer = Node.create<{
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Because this changes core functionality, more unit tests covering all the different scenarios should be added before merging the pull request.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TypeCellOS__BlockNote__1129 | TypeCellOS/BlockNote | 1,129 | defect | 657e7e09c34c66d3d9bac781aef7884ff9dcf337 | f99904a0e0068a8792d96f9a3698db68a85e56ce | refactor: cleaned serialization code | This PR refactors the serialization logic and removes our trick of "hacking" the prosemirror serializer.
Instead, we create our own serialization logic. This will result in a cleaner codebase and also make it easier to make changes to the underlying prosemirror schema and add other serializers | diff --git a/packages/core/src/api/clipboard/__snapshots__/tableAllCells.html b/packages/core/src/api/clipboard/__snapshots__/tableAllCells.html
index 1de956c176..a7d0f18df5 100644
--- a/packages/core/src/api/clipboard/__snapshots__/tableAllCells.html
+++ b/packages/core/src/api/clipboard/__snapshots__/tableAllCells.ht... | 3 | 3 | 1 | [{"id": "G0", "claim": "The tableAllCells clipboard snapshot still only contains the first table row instead of the whole table element, so the expected output for copying all cells of a table is not quite right.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
TypeCellOS__BlockNote__1436 | TypeCellOS/BlockNote | 1,436 | defect | b829a47255c247cc36cc0cb67041ae0203df4671 | 184cac499acb3743583728d5c6839ea1106a65bf | fix: insertblocks when no type is provided | This addresses a regression after multi-column where `insertBlocks` (and `blockToNode`) would throw an error if no block type was provided in the partialblock. Also added unit test
closes #1408 | diff --git a/packages/core/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap b/packages/core/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap
index 144e780f5d..ae1f061ad3 100644
--- a/packages/core/src/api/blockManipulation/commands/insertBloc... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new handling of an undefined block.type in blockToNode could be clearer: the reviewer suggests not indexing schema.nodes with a possibly-undefined block.type and using a fallback instead (e.g. `schema.nodes[block.type ?? 'blockContent']`), which would also make the `!nodeTypeCorrespondingToB... | null |
TypeCellOS__BlockNote__2103 | TypeCellOS/BlockNote | 2,103 | defect | fe8fb9fd92cacc078553441f1f22c83c90069f56 | bb8f3369f9eed8a2cd1dde95dbc71a4cfa2b576c | test: unit tests for block type guards | # Summary
<!-- Briefly describe the feature being introduced. -->
This PR adds unit tests for `editorHasBlockWithType`.
The code for `editorHasBlockWithType` has also been changed slightly - when checking for a block with a given `propSchema` and `values`, the `values` can be an unordered subset of the ones in the s... | diff --git a/packages/core/src/blocks/defaultBlockTypeGuards.ts b/packages/core/src/blocks/defaultBlockTypeGuards.ts
index 00bb122098..ddd57b5ecb 100644
--- a/packages/core/src/blocks/defaultBlockTypeGuards.ts
+++ b/packages/core/src/blocks/defaultBlockTypeGuards.ts
@@ -97,23 +97,11 @@ export function editorHasBlockWit... | 1 | 1 | 0 | [{"id": "G0", "claim": "A test using a custom block should be added to the type-guard test suite to make sure the guards work for custom blocks too, even just as a smoke test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TypeCellOS__BlockNote__2182 | TypeCellOS/BlockNote | 2,182 | defect | 01924f6aab251deaadd0f80ad7eb45b89732dc63 | ea3ef9b1e210c38f158b7524d599c95b5f7620a0 | fix: allow configuring the email body's styles | # Summary
This allows customize the React email exporter's body element (which we add some default styles to)
<!-- Briefly describe the feature being introduced. -->
## Rationale
This allows customizing things like the email's fontSize
<!-- Explain the reasoning behind this feature and its benefits to the project. -->... | diff --git a/docs/content/docs/features/export/email.mdx b/docs/content/docs/features/export/email.mdx
index 7422c7ac80..ec48caa4bc 100644
--- a/docs/content/docs/features/export/email.mdx
+++ b/docs/content/docs/features/export/email.mdx
@@ -56,6 +56,7 @@ See the [full example](/examples/interoperability/converting-bl... | 1 | 1 | 1 | [{"id": "G0", "claim": "The default body styles documented in docs/content/docs/features/export/email.mdx should be aligned with the actual defaults in reactEmailExporter.tsx, since the exported values were previously undocumented.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
TypeCellOS__BlockNote__2234 | TypeCellOS/BlockNote | 2,234 | defect | 1defbc6d4f3b32402af1431046efb248f90f8dff | cdcbc35b287633cc320308124fa5492c85f48529 | fix: Improper accessing of editor DOM element | # Summary
<!-- Briefly describe the feature being introduced. -->
This PR fixes the editor DOM element being read from `editor.prosemirrorView.domElement` to `editor.domElement` in some places. Especially in the `CreateLinkButton` component, this is an important distinction as the DOM element doesn't exist when t... | diff --git a/packages/core/src/api/clipboard/fromClipboard/handleFileInsertion.ts b/packages/core/src/api/clipboard/fromClipboard/handleFileInsertion.ts
index 76a52d6ac6..ced8f59b14 100644
--- a/packages/core/src/api/clipboard/fromClipboard/handleFileInsertion.ts
+++ b/packages/core/src/api/clipboard/fromClipboard/hand... | 1 | 1 | 0 | [{"id": "G0", "claim": "Clean up the remaining instances of unsafe `editor.prosemirrorView.dom` access, since they point to a larger problem of improper DOM element access.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
TypeCellOS__BlockNote__2451 | TypeCellOS/BlockNote | 2,451 | defect | a3fa416018e82ca1b5adfcd76025b23d8dfb9a49 | c37bb5ebbb6f8838c0ce642121b169a06723cf05 | fix: Backspace/enter behaviour in empty block with children | # Summary
<!-- Briefly describe the feature being introduced. -->
There are currently 2 issues with backspace/enter handling in empty blocks with children:
- When pressing enter, a new block is created and the selection is moved to it, but the child blocks are not moved to it.
- When pressing backspace, if the previ... | diff --git a/packages/core/src/extensions/tiptap-extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts b/packages/core/src/extensions/tiptap-extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts
index 07d51f42ea..a31726f4c0 100644
--- a/packages/core/src/extensions/tiptap-extensions/KeyboardShortcuts/Keyboard... | 2 | 1 | 0 | [{"id": "G0", "claim": "Removing an empty parent block line should preserve the children's indentation instead of collapsing them, rather than matching Notion's collapsing behaviour.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new keyboard-shortcut ... | null |
TypeCellOS__BlockNote__2551 | TypeCellOS/BlockNote | 2,551 | defect | a69bba9d811b03bf87d13ab273eba8e7e66d725a | 7014fd017d4a90cc174d4d9f5db6c26d5829b6c3 | fix(core): preserve whitespace edge cases but collapse html formatting newlines (BLO-1065) | # Summary
Fixes the issue where copying and pasting from MS Word (or other sources with HTML source formatting) introduced extra, unintended line breaks. (closes https://github.com/TypeCellOS/BlockNote/issues/2548, closes https://github.com/TypeCellOS/BlockNote/issues/2356)
## Rationale
When HTML is pasted... | diff --git a/packages/core/src/api/parsers/html/parseHTML.ts b/packages/core/src/api/parsers/html/parseHTML.ts
index 43f3dc4559..16e03f883a 100644
--- a/packages/core/src/api/parsers/html/parseHTML.ts
+++ b/packages/core/src/api/parsers/html/parseHTML.ts
@@ -8,6 +8,7 @@ import {
import { Block } from "../../../blocks/... | 2 | 1 | 0 | [{"id": "G0", "claim": "The wordcopy.txt test fixture contains local filesystem paths (file:////Users/yousef/Library/...) that are not functionally relevant and could be removed or anonymized for cleaner test data.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
TypeCellOS__BlockNote__2555 | TypeCellOS/BlockNote | 2,555 | defect | bff14ff42e7106fd38a798bdb7a6565f42fde014 | 7e4d771a511f9d5ba928b939d7c9605e3556cafa | test: add Next.js integration test for server-util (#942) | # Summary
Adds an integration test that verifies `@blocknote/server-util` works correctly in Next.js App Router server contexts (API routes), addressing #942.
## Rationale
`@blocknote/server-util` must work in Next.js API routes for users who do server-side block conversion (HTML, Markdown, Yjs). This was previously... | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2ac4acbf88..8dce020349 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -55,6 +55,9 @@ jobs:
- name: Run unit tests
run: pnpm run test
+ - name: Run Next.js integration test (production build... | 6 | 3 | 2 | [{"id": "G0", "claim": "Ignoring package-lock.json while tests/nextjs-test-app/package.json uses floating caret ranges makes the fixture non-reproducible, so the lockfile should be committed or the dependencies pinned exactly.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id... | null |
TypeCellOS__BlockNote__2642 | TypeCellOS/BlockNote | 2,642 | defect | 052498c0c3afc5b1aa66fd0e13856205d86430c6 | 80a75e9ef3d501556370841776ca099d2844c252 | build: remove canvas native dependency from CI | # Summary
Remove the `canvas` native dependency from CI pipelines, eliminating the need to install system-level C libraries (cairo, pango, libjpeg, etc.) on every CI run.
## Rationale
`canvas` is only an optional peer dependency of `jsdom` (pulled in by `vitest`). None of our tests use canvas APIs, so building the n... | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8dce020349..d84674e284 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,6 +7,7 @@ on:
types: [opened, synchronize, reopened, edited]
env:
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
NX_SELF_HOSTED_REM... | 1 | 1 | 0 | [{"id": "G0", "claim": "The afterAll cleanup should wait for the Next.js process to actually exit (with a timeout fallback) after sending SIGTERM instead of returning immediately, since not waiting can cause EADDRINUSE errors if subsequent test runs start before the port is released.", "category": "testing", "verdict":... | null |
TypeCellOS__BlockNote__2660 | TypeCellOS/BlockNote | 2,660 | defect | 40ddec425e7af0a85aaabc580be2a8dbb7ba1301 | 4c5e4988401315273917b6857e89c01f747350ba | ci(fresh-install): bump examples & playground in lockstep with packages | ## Summary
- **Problem**: The **Fresh Install Tests** workflow has been failing at the *Build packages* step. Root cause is a TS2322 in `@blocknote/example-editor`: `Extension<any, any>` not assignable to `AnyExtension`. The workflow's `pnpm update --prod --filter <publishable @blocknote/* only>` upgraded `@tiptap/rea... | diff --git a/.github/workflows/fresh-install-tests.yml b/.github/workflows/fresh-install-tests.yml
index 6596724f76..faa66c8302 100644
--- a/.github/workflows/fresh-install-tests.yml
+++ b/.github/workflows/fresh-install-tests.yml
@@ -14,6 +14,7 @@ on:
push:
branches:
- package-upgrades
+ - feat/fre... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new static `--filter \"./packages/*\"` matches private workspace packages (e.g. @blocknote/dev-scripts, @blocknote/xl-ai-server) that the previous non-private-only discovery excluded, widening the prod-dep update beyond the intended publishable packages; non-private package discovery should ... | null |
TypeCellOS__BlockNote__2664 | TypeCellOS/BlockNote | 2,664 | defect | 40ddec425e7af0a85aaabc580be2a8dbb7ba1301 | 611c900ec050b1afd0fcbc372ca60882a4d608f0 | fix: prevent FloatingFocusManager from resetting editor selection (#2525) | # Summary
Fixes a regression where AI operations apply to the whole page instead of the user's selection, caused by FloatingFocusManager resetting the ProseMirror editor selection when the AI menu opens.
## Rationale
After PR #2591 (portaling all floating UI elements to `document.body`), floating-ui's `Floatin... | diff --git a/packages/react/src/components/Popovers/GenericPopover.tsx b/packages/react/src/components/Popovers/GenericPopover.tsx
index 88defa0607..3c4021f301 100644
--- a/packages/react/src/components/Popovers/GenericPopover.tsx
+++ b/packages/react/src/components/Popovers/GenericPopover.tsx
@@ -155,7 +155,18 @@ expo... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new guard still calls refs.setReference when focusManagerProps.disabled is undefined even though FloatingFocusManager renders whenever disabled is not true, leaving the selection-reset regression in place for callers relying on the default active focus manager, so disabled: undefined should ... | null |
TypeCellOS__BlockNote__2683 | TypeCellOS/BlockNote | 2,683 | defect | 210b499c19f47f5ec0071308cc9f12d9b8524ca8 | 030a50dba196cb28bb0cfa14a1a49335a972fde0 | feat: Drag hendle menu delete button removes all other blocks in selection (BLO-1007) | # Summary
<!-- Briefly describe the feature being introduced. -->
This PR changes the drag handle menu's delete button to delete not just the block it's attached to, but all blocks spanned by the selection, if the attached block is also spanned by the selection. Otherwise, the same behaviour as before applies.
... | diff --git a/packages/react/src/components/SideMenu/DragHandleMenu/DefaultItems/RemoveBlockItem.tsx b/packages/react/src/components/SideMenu/DragHandleMenu/DefaultItems/RemoveBlockItem.tsx
index ddcf027534..12ade8b4ae 100644
--- a/packages/react/src/components/SideMenu/DragHandleMenu/DefaultItems/RemoveBlockItem.tsx
++... | 2 | 1 | 1 | [{"id": "G0", "claim": "The block-creation plus multi-selection sequence duplicated across the two new draghandle e2e tests should be extracted into a shared helper to reduce maintenance cost.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `... | null |
TypeCellOS__BlockNote__2696 | TypeCellOS/BlockNote | 2,696 | defect | d48a92a2fa56bfb637d574212f04ea6e3c1f2f9c | ed4aa149df4270aea908ed598be13099a694609d | fix: Clicking comment overlapping link opens link (BLO-1091) | # Summary
<!-- Briefly describe the feature being introduced. -->
This PR makes it so that when clicking a comment overlapping a link, the first click only shows the comment. The second click then opens the link.
Closes #2572
## Rationale
<!-- Explain the reasoning behind this feature and its benefits to the proje... | diff --git a/packages/core/src/comments/extension.ts b/packages/core/src/comments/extension.ts
index 515a740c34..1ed258b5b6 100644
--- a/packages/core/src/comments/extension.ts
+++ b/packages/core/src/comments/extension.ts
@@ -1,3 +1,4 @@
+import { Extension } from "@tiptap/core";
import { Node } from "prosemirror-mod... | 4 | 3 | 3 | [{"id": "G0", "claim": "The fixed 500 ms waits (waitForTimeout(500)) in the new e2e test should be replaced with condition-based waits, since Playwright assertions already auto-wait.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comments click hand... | null |
TypeCellOS__BlockNote__456 | TypeCellOS/BlockNote | 456 | defect | 1416417d265180a9bf995776013216fcc231e067 | 8dcec74a43e657f043ffbb9393831bac5e5da017 | fix: Image block DOM clutter, keyboard handling, and copy/paste | This PR makes unused DOM elements from the image block get unmounted when not visible instead of setting `display: none`. Additionally, it fixes keyboard inputs all getting blocked when an image is selected (now only those which insert a character get blocked), and fixes copying for when only an image is selected. The ... | diff --git a/packages/core/src/api/exporters/copyExtension.ts b/packages/core/src/api/exporters/copyExtension.ts
index 0326e24b5c..63c383d1cb 100644
--- a/packages/core/src/api/exporters/copyExtension.ts
+++ b/packages/core/src/api/exporters/copyExtension.ts
@@ -1,11 +1,46 @@
import { Extension } from "@tiptap/core";
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a code comment explaining why the copy handler expands the selection to the parent blockContainer, since no test covers it and the scenario it protects is unclear.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a co... | null |
TypeCellOS__BlockNote__798 | TypeCellOS/BlockNote | 798 | defect | c9a53bb9bd79c3b1990f74d2c87956c3cf5949b0 | bd8f82e6a805ba8a84655637b680a5fd213d1e84 | fix: Parsing paragraphs without text content | Paragraph HTML elements sometimes act as wrappers for other elements. This PR makes it so that BlockNote only parses `p` elements into paragraph blocks if they have text content to not run into issues with this.
Closes #547 | diff --git a/packages/core/src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts b/packages/core/src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts
index d9186f8e1c..ccc8bb33c3 100644
--- a/packages/core/src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts
+++ b/packages/core/src/blocks/ParagraphBlockCo... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test (not a Playwright test) covering this paragraph-parsing fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TypeStrong__ts-loader__1101 | TypeStrong/ts-loader | 1,101 | defect | bbc6d8161b758893f6825ccc6bb088272ba210d2 | 4eb03b2a40b3b5e22f33712cc1dfe6e816aebed2 | Ensure that JSON files are included in build module resolution (#905) | Ensure that json files are resolved if resolveJsonModule flag is set in tsconfig
Fixes #905 | diff --git a/src/instances.ts b/src/instances.ts
index c8b99c1e5..195f733d0 100644
--- a/src/instances.ts
+++ b/src/instances.ts
@@ -351,6 +351,13 @@ export function initializeInstance(
}
function getScriptRegexp(instance: TSInstance) {
+ // If resolveJsonModules is set, we should accept json files
+ if (instance... | 4 | 3 | 2 | [{"id": "G0", "claim": "The pull request should add a comparison test covering the new behaviour of including JSON files in build module resolution.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A comparison test should also be added for the case when ... | null |
TypeStrong__ts-loader__1104 | TypeStrong/ts-loader | 1,104 | defect | 227d99a2e65e235285da5966ee5a820b1bb37149 | 62ae3c2d92255bfa6a5ae8e679022e582e79a639 | Ensure a separate webpack instance is created for different loader options | This patch automatically creates a new webpack instance if ts-loader is invoked with different loader options.
This behaviour could be created manually by including the 'instance' option on each loader, but it is easy to miss that this is necessary. My application failed with update 7.0.0 because I used 2 different... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b13316dd..666e66c2b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog
+## v7.0.4
+* [Ensure a separate webpack instance is created for different loader options](https://github.com/TypeStrong/ts-loader/pull/1104) - @appzuka
+
## v7.0.3
* [Ensure... | 3 | 3 | 1 | [{"id": "G0", "claim": "Looks like the pull request has introduced a lint error (imports out of order in src/index.ts).", "category": "style", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Update the version number in package.json and add an entry to CHANGELOG.md for this chan... | null |
TypeStrong__ts-loader__1483 | TypeStrong/ts-loader | 1,483 | defect | 914cdae407ae6f3fbf649d4cf978ee3aab2dea57 | 5735645ba936102fb886fbb9aceb872dd91d40f1 | Generate declaration files for js files if allowJs is set to true | Fixes https://github.com/TypeStrong/ts-loader/issues/1260. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c85b8c3da..74dc30ca0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## v9.3.1
+
+* [Bug fix: Generate declaration files for js files if allowJs is set to true](https://github.com/TypeStrong/ts-loader/pull/1483) [#1260] - thanks @hediet
+
## v... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changelog credit should also thank @mvilliger, not only @hediet.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TypeStrong__ts-loader__701 | TypeStrong/ts-loader | 701 | defect | c6333810c3c0f06e3e5e6412b211c0e234f0d6d4 | 2dae88251ea0513a363e34c1a6f36df83211a4cb | Report diagnostics only on certain files [WIP] | Fixes #700
This is a first implementation heavily borrowed from at-loader.
I had to add an explicit `micromatch` dependency (even though we have it indirectly, I felt it was cleaner to have a dependency on it if we rely on it). Is that ok ?
Also currently the pattern is applied against the fully qualified pat... | diff --git a/package.json b/package.json
index 4ab4d410b..3f9df1597 100644
--- a/package.json
+++ b/package.json
@@ -39,9 +39,11 @@
"chalk": "^2.3.0",
"enhanced-resolve": "^3.0.0",
"loader-utils": "^1.0.2",
+ "micromatch": "^3.1.4",
"semver": "^5.0.1"
},
"devDependencies": {
+ "@types/mi... | 4 | 2 | 2 | [{"id": "G0", "claim": "The two filter statements in formatErrors in src/utils.ts should be merged into one so the diagnostics collection is iterated a single time.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reportFiles option could be renam... | null |
TypeStrong__ts-loader__75 | TypeStrong/ts-loader | 75 | defect | c1e47cef774df6a5f9dc1f42f07590f29c404b2d | eaf96cdca51e3eab725414aacf436f89fd3cc939 | Fix issue with `getScriptFileNames` | This addresses #71 using the suggested fix to filter the results of `getScriptFileNames`.
I considered not using `getScriptSnapshot` for `moduleResolutionHost` but the caching is useful so leaving as-is.
| diff --git a/index.ts b/index.ts
index 97e6ff551..5d6384ea0 100644
--- a/index.ts
+++ b/index.ts
@@ -271,7 +271,7 @@ function ensureTypeScriptInstance(options: Options, loader: any): { instance?: T
// Create the TypeScript language service
var servicesHost = {
- getScriptFileNames: () => Object.keys(... | 2 | 2 | 0 | [{"id": "G0", "claim": "The redundant `(\\.d)?` group could be removed from the getScriptFileNames filter regex, since a `.d.ts` path still ends with `.ts`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use Regexp.prototype.test instead of Stri... | null |
TypeStrong__ts-loader__821 | TypeStrong/ts-loader | 821 | defect | 2c661e0bd72aa927ef7529e997a51ae509f4ff3f | f915e9d05095b9f6e993620dc17b96216bb83572 | Added support for TypeScript declaration map | @johnnyreilly: Please check this out and let me know if you want any changes or if I did something wrong creating the tests.
Fix for https://github.com/TypeStrong/ts-loader/issues/820 | diff --git a/src/after-compile.ts b/src/after-compile.ts
index d6f721677..7575f468a 100644
--- a/src/after-compile.ts
+++ b/src/after-compile.ts
@@ -1,5 +1,5 @@
import * as path from 'path';
-
+import * as typescript from 'typescript'
import { collectAllDependants, formatErrors } from './utils';
import * as constant... | 5 | 5 | 0 | [{"id": "G0", "claim": "The explicit `(fileName: string)` and `(filePath: string)` type annotations added to the callbacks in src/instances.ts are unnecessary because the types can be inferred.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
TypeStrong__ts-loader__942 | TypeStrong/ts-loader | 942 | defect | 18151d55e63c8b6d3bdde7f38ab535013b12e8e1 | b365478fa3194d73bd272e23e6f2abc44fc130a2 | Fix Issue 939 | Hopefully this fixes #939 (sorry, dyslexic branch name).
Note that to repro you'll need to make sure that the root level typescript version is set to 3.5.0-rc, otherwise the new set of tests happily pass.
Please do let me know if there's anything else to clean up. | diff --git a/src/config.ts b/src/config.ts
index 0fb4a556a..a89c25662 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -125,13 +125,18 @@ function findConfigFile(
export function getConfigParseResult(
compiler: typeof typescript,
configFile: ConfigFile,
- basePath: string
+ basePath: string,
+ configFilePath... | 3 | 2 | 1 | [{"id": "G0", "claim": "Update the execution test to require TypeScript version 3.5.1, add TypeScript 3.5.1 to the .travis.yml and appveyor.yml test matrices, bump the package.json version, and update changelog.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "... | null |
TypeStrong__ts-node__1009 | TypeStrong/ts-node | 1,009 | defect | 2a0f1f3b8f979dbc61726017f5de45a8b03f3c95 | 5f28488282db12b1537682e0d54fffe54fe1ebd2 | Fix #1004: resolve config relative to realpath of entrypoint | Fixes #1004. | diff --git a/src/bin.ts b/src/bin.ts
index c303129a3..a01594532 100644
--- a/src/bin.ts
+++ b/src/bin.ts
@@ -7,7 +7,7 @@ import Module = require('module')
import arg = require('arg')
import { diffLines } from 'diff'
import { Script } from 'vm'
-import { readFileSync, statSync } from 'fs'
+import { readFileSync, stat... | 1 | 1 | 1 | [{"id": "G0", "claim": "The scriptMode entrypoint resolver that temporarily patches require.extensions diverges from node's real resolution (TSX/JSX support extensions may not be considered, so the wrong file may be followed and the wrong config discovered); the reviewer would prefer documenting that only symlinked dir... | null |
TypeStrong__ts-node__1031 | TypeStrong/ts-node | 1,031 | defect | 5f305ea61438e454708b47319bae24c69507348c | 5e8090af9bf0a046ed746c6f39acc33f89df8b35 | Implement ERR_REQUIRE_ESM when a file is `require()`d which should be loaded as ESM | Node's built-in `require.extensions['.js']` will detect if a file should be loaded as ESM instead of CommonJS, according to the file's associated `package.json`. If it should be loaded as ESM, node throws an error. This change makes our `require.extensions` throw the same error.
Mocha, for example, is relying on t... | diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml
index 542bf7fcf..7df1c5c33 100644
--- a/.github/workflows/continuous-integration.yml
+++ b/.github/workflows/continuous-integration.yml
@@ -39,27 +39,33 @@ jobs:
fail-fast: false
matrix:
os: [... | 4 | 3 | 1 | [{"id": "G0", "claim": "Making require() of a package.json \"type\": \"module\" script throw ERR_REQUIRE_ESM is technically a breaking change (such .ts files previously executed as CJS), so it should be implemented conditionally, only turned on when the ESM loader is used.", "category": "design", "verdict": "supported"... | null |
TypeStrong__ts-node__1103 | TypeStrong/ts-node | 1,103 | defect | ce7c323557c15bf878bbc4dd5b2c0aac219fca4b | ce5f6631b6c6b7a475c5494ea9ee51df4cfa337b | Fix #1098: `ignored()` bug: ESM loader will try to compile .cjs, .mjs… | Fixes #1098 | diff --git a/src/index.ts b/src/index.ts
index 5aa2ea23b..ac55811b2 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -834,14 +834,15 @@ export function create (rawOptions: CreateOptions = {}): Register {
let active = true
const enabled = (enabled?: boolean) => enabled === undefined ? active : (active = !!enabled... | 3 | 2 | 1 | [{"id": "G0", "claim": "Add a regression test for the reworked ignored() behavior, one that will fail if ts-node attempts to compile a .cjs or .mjs file.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ESM loader's getFormat hook should be amended to... | null |
TypeStrong__ts-node__1439 | TypeStrong/ts-node | 1,439 | defect | d93623605a646f242f9bf3f18bd110a49fff0c03 | 896f62203ac219b879968983e3688720bdeb6ae0 | Feature: Expose esm hooks factory to public API | Hope you're doing well!
## PR Scope
- Create public facing `createEsmHooks` method
## Background
The transformer library [typescript-transform-paths](https://github.com/LeDDGroup/typescript-transform-paths) now supports `ts-node` without a `Program` instance via `typescript-transform-paths/register` script.... | diff --git a/esm.mjs b/esm.mjs
index 2a11ac36e..0aa482897 100644
--- a/esm.mjs
+++ b/esm.mjs
@@ -3,9 +3,16 @@ import { createRequire } from 'module';
const require = createRequire(fileURLToPath(import.meta.url));
/** @type {import('./dist/esm')} */
-const esm = require('./dist/esm');
-export const {
- resolve,
- ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new public API should be exposed in a way that fits the existing naming conventions (suggesting createEsmLoader/createEsmHooks), while keeping the changes minimal.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since createEsm... | null |
TypeStrong__ts-node__1706 | TypeStrong/ts-node | 1,706 | defect | 511e0e748417ec2dad3e01724c39e5f49da19fae | 7fb714aa2d066f3d49f578584b6a4c63e9a28a7b | Add full diagnostics to tserror | - This PR addresses https://github.com/TypeStrong/ts-node/issues/1705
- I've been through a few iterations and I _think_ the nicest API is to have a mapping of the error locations for each diagnostic code.
- This allows clients to look up the location of each error code and also iterate through the object values de... | diff --git a/src/index.ts b/src/index.ts
index 70dfe109b..735f10293 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -470,14 +470,24 @@ export const DEFAULTS: RegisterOptions = {
export class TSError extends BaseError {
name = 'TSError';
diagnosticText!: string;
+ diagnostics!: ReadonlyArray<_ts.Diagnostic>;
-... | 2 | 2 | 1 | [{"id": "G0", "claim": "Expose the TypeScript diagnostics on TSError directly, in exactly the form TypeScript provides, instead of the PR's reduced errorLocations shape, so consumers have everything they need.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
TypeStrong__ts-node__837 | TypeStrong/ts-node | 837 | defect | b8fd52381986dd76cc93eb0c86fec7142cd727ce | d2e9d280baace0104cf92ab03306fed90e857160 | Support `--prefer-ts-ext` flag | Lets land this bird!
fixes #529 ,#648
superseeds #649 | diff --git a/README.md b/README.md
index 690a2f1c3..5c1cd44b3 100644
--- a/README.md
+++ b/README.md
@@ -136,6 +136,7 @@ _Environment variable denoted in parentheses._
* `--skip-project` Skip project config resolution and loading (`TS_NODE_SKIP_PROJECT`, default: `false`)
* `--skip-ignore` Skip ignore checks (`TS_NOD... | 7 | 5 | 1 | [{"id": "G0", "claim": "The hardcoded concat of `['.ts', '.tsx']` with `Object.keys(require.extensions)` and `extensions` is unnecessary; `extensions` already holds the extensions to care about in the right order, so the handler could just loop directly over it.", "category": "design", "verdict": "supported", "priority... | null |
TypeStrong__ts-node__925 | TypeStrong/ts-node | 925 | defect | 866bce6a175ec124fe62f269b22e91c92b40f875 | 544d1bf4cfd857bdf2c4233a53df6b8a970a028b | Allow specifying "require" option via tsconfig | A follow-up to #921, moved into a separate PR per review comments. The diff for this will look much better after #921 is merged.
Allows specifying `--require` options via tsconfig.
### Questions
* [x] `create()` and `register()` will parse the option from tsconfig. Should they also do the `require()`s? Righ... | diff --git a/dist-raw/node-createrequire.js b/dist-raw/node-createrequire.js
new file mode 100644
index 000000000..649deb10d
--- /dev/null
+++ b/dist-raw/node-createrequire.js
@@ -0,0 +1,29 @@
+// Extracted from https://github.com/nodejs/node/blob/ec2ffd6b9d255e19818b6949d2f7dc7ac70faee9/lib/internal/modules/cjs/loader... | 2 | 2 | 1 | [{"id": "G0", "claim": "The CLI --require list should be merged with the requires specified in the tsconfig instead of the CLI entirely overwriting the options when specified.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The require for the tsconfig op... | null |
TypeStrong__ts-node__939 | TypeStrong/ts-node | 939 | defect | b90754eda8687c75395a1b837c5e695f88eab28c | 6d5d0191352a893068026e2b5b562506e3fbee64 | Create `ts-transpile` bin script | Fixes #703 | diff --git a/package.json b/package.json
index df977e0b3..4466494f1 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,8 @@
"types": "dist/index.d.ts",
"bin": {
"ts-node": "dist/bin.js",
- "ts-script": "dist/script.js"
+ "ts-script": "dist/script.js",
+ "ts-node-transpile-only": "dist/transpile... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new `ts-transpile` binary should be renamed to a `ts-node`-prefixed, more descriptive name (cspotcode's stated preference being `ts-node-to` and/or `ts-node-transpile-only`) instead of implying it merely transpiles.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "... | null |
TypeStrong__typedoc__1025 | TypeStrong/typedoc | 1,025 | defect | cde478a9ecd88ee949aac585d5230f630b79309b | 1bb8de2e3fb574b273ab17a4a5daf5980461ac45 | fix: the bug with the negated/commented exclude patterns | As from the [Minimatch documentation](https://github.com/isaacs/minimatch#comparisons-to-other-fnmatchglob-implementations), it should be possible to use `!` at the beginning of the pattern to negate that. Same works for `#` which can deactivate the whole pattern.
The fix adds the following possibilities for the exc... | diff --git a/src/lib/utils/paths.ts b/src/lib/utils/paths.ts
index 89228d35b..2d9b2bf6d 100644
--- a/src/lib/utils/paths.ts
+++ b/src/lib/utils/paths.ts
@@ -3,26 +3,30 @@ import { Minimatch, IMinimatch } from 'minimatch';
const unix = Path.sep === '/';
+function normalize(pattern: string) {
+ if (pattern.starts... | 2 | 2 | 0 | [{"id": "G0", "claim": "The failure message of the negated-expression assertion should read 'Matched a negated expression', since the assertion fires only when the negated path unexpectedly matched.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fai... | null |
TypeStrong__typedoc__1250 | TypeStrong/typedoc | 1,250 | defect | 2e63096dd34be61bfbd2062a0ac75796e55a037d | 58fb056bd4252e88d4586f5f8dafcaf753875c2f | No need to convert defaultValue for options of type map | Fixes: https://github.com/TypeStrong/typedoc/issues/1249
The convert function was used to "validate" the default value for all options. This is not necessary for options of type map, since the type of the default value is provided via the template class MapDeclarationOption and must be of the right type. Moreover th... | diff --git a/src/lib/utils/options/options.ts b/src/lib/utils/options/options.ts
index 5b679fa13..ef7fbd3e7 100644
--- a/src/lib/utils/options/options.ts
+++ b/src/lib/utils/options/options.ts
@@ -1,7 +1,7 @@
import * as _ from 'lodash';
import * as ts from 'typescript';
-import { DeclarationOption, ParameterScope,... | 1 | 1 | 1 | [{"id": "G0", "claim": "The author should add a test for the specific map-declaration usage that illustrates why not converting the default value is important.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TypeStrong__typedoc__1296 | TypeStrong/typedoc | 1,296 | defect | bc20444c6b92f6d5946875a066f277346a7e437b | 1b0a71ef4bc12070ae548f5cb261b908edb958fb | Allow every possible number as a defaultValue for a number option | Fixes: https://github.com/TypeStrong/typedoc/issues/1291
PS: Removed some of the tests which are no longer needed. | diff --git a/src/lib/utils/options/options.ts b/src/lib/utils/options/options.ts
index 981358d54..afb7270e3 100644
--- a/src/lib/utils/options/options.ts
+++ b/src/lib/utils/options/options.ts
@@ -303,6 +303,9 @@ export class Options {
// No need to convert the defaultValue for a map type as it has to be o... | 2 | 1 | 1 | [{"id": "G0", "claim": "Disallow NaN as a default value for number options instead of letting the new branch's `defaultValue || 0` silently turn NaN into 0, since 'every possible number' does not really cover NaN.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
TypeStrong__typedoc__1398 | TypeStrong/typedoc | 1,398 | defect | 3f6395671f07d70c2e508d2b1b34d626d86bfea1 | e1207b22a6c100b51ba9611039f44ea0c47abef4 | Add validation function to declaration options | Fixes #1316
Overview:
* New `validate` property for declaration options
* New tests for the new properties
Please pay attention to line **279** in `src/lib/utils/options/declaration.ts`. I removed one of the signatures. This enables TS's type refinement and thence no more type assertion is required when acce... | diff --git a/src/lib/utils/options/declaration.ts b/src/lib/utils/options/declaration.ts
index af27addea..8cde6d443 100644
--- a/src/lib/utils/options/declaration.ts
+++ b/src/lib/utils/options/declaration.ts
@@ -171,6 +171,12 @@ export interface StringDeclarationOption extends DeclarationOptionBase {
* An option... | 4 | 4 | 4 | [{"id": "G0", "claim": "A validate function should not exist on BooleanDeclarationOption because it makes no sense to validate a true/false value.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A validate function should not exist on MapDeclarationOption... | null |
TypeStrong__typedoc__1467 | TypeStrong/typedoc | 1,467 | defect | 84c649619b43dc8092a24c6c39f34e57d9de60fd | ce1f29a268584a688e06c81699c69bcc19a1bbf9 | feat(category): add option to read more categories from doc | Closes #1158
Added a possibility to put more `@category` in the doc.
It is extracting the categories but the output is wrong. I added `AnotherTest` category to `TestClass` `publicMethod`, `protectedMethod` and `privateMethod` and changed the `spec.json` and `specs-with-lump-categories.json` according to my under... | diff --git a/src/lib/converter/plugins/CategoryPlugin.ts b/src/lib/converter/plugins/CategoryPlugin.ts
index fa1f33129..cee6b1ae4 100644
--- a/src/lib/converter/plugins/CategoryPlugin.ts
+++ b/src/lib/converter/plugins/CategoryPlugin.ts
@@ -2,6 +2,7 @@ import {
Reflection,
ContainerReflection,
Declaratio... | 1 | 1 | 1 | [{"id": "G0", "claim": "Inside the new loop over childCategories, the code should `continue` to the next child category instead of `return`ing from the whole function when a matching category is found.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TypeStrong__typedoc__1596 | TypeStrong/typedoc | 1,596 | defect | f95e456e8fd6cc15815045640d08f48f43ea3c65 | 851450a28df0c59a4c683abae9bc9677f8d7c5fe | Add support for TS entry points in monorepo configuration | Firstly, thank you @efokschaner and @Gerrit0 for implementing packages entry points 😃
I've added it as we talked about it in #1567, for now TS files must have extension set explicitly, otherwise they won't be "fetched".
If it's fine as-is, it would be nice to get it released in beta channel ASAP.
| diff --git a/README.md b/README.md
index 27fbe728f..44bc867eb 100644
--- a/README.md
+++ b/README.md
@@ -37,14 +37,16 @@ typedoc package1/index.ts package2/index.ts
### Monorepos / Workspaces
If your codebase is comprised of one or more npm packages, you can pass the paths to these
-packages and TypeDoc will attemp... | 1 | 1 | 1 | [{"id": "G0", "claim": "The types field should only be checked after the main property (or the default index.js) has been tried, because with this change a package that has index.ts, index.js and index.d.ts but no package.main would be documented from index.d.ts instead of the preferable index.ts.", "category": "correc... | null |
TypeStrong__typedoc__1695 | TypeStrong/typedoc | 1,695 | defect | 8bb03320ca4829a3fdf79bacfd4b7117e163c64f | 175dc5f2cf8b9309c6baa79dbe24b835145be219 | Add support for Bitbucket repositories | Fixes #1615.
Next I need to update the documentation site to say GitHub/Bitbucket. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index da8f7678e..6dbc0ed73 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
### Features
- Flag option types like `validation` can now be set to true/false to enable/disable all flags within them.
+- Source code links now work with Bitbucket repositories.
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new test's describe block should be renamed from getGitHubURL to getURL, matching the method's new name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer's single requested change — the one raised inline as... | null |
TypeStrong__typedoc__1819 | TypeStrong/typedoc | 1,819 | defect | 3f0dbeab09ec61b5351f6766a0b13f37ea26c8c7 | f6b6d9e3f2bb11ec732de8989aeb299abdd60c1e | Add option to warn on undocumented items | Resolves #1817 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 481171619..3469eaaf4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Unreleased
+### Features
+
+- Added `--validation.ensureDocumented` option to warn on items that are not documented
+
### Bug Fixes
- Fixed line height of `h1` and `h2` elements be... | 5 | 4 | 4 | [{"id": "G0", "claim": "The reported line number is off by one because getLineAndCharacterOfPosition returns a 0-based line but a 1-based line should be displayed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The node_modules skip check will break... | null |
TypeStrong__typedoc__1920 | TypeStrong/typedoc | 1,920 | defect | abed9a64d674c6c3b20284847c024abd5334547b | 8b34045d383894cd1a9499a2930680b9f9499a7d | Support enum-like objects with numeric literal values | TypeDoc already supports enum-like objects with string literal values
via #1675 and #1740. Enum-like objects with numeric literal values
should also be supported, as they are a popular choice for developers
wishing to avoid use of TypeScript enums.
This PR adds support for such objects. Tests and a new example ha... | diff --git a/example/src/enums.ts b/example/src/enums.ts
index 9b24dc77c..65451c0c1 100644
--- a/example/src/enums.ts
+++ b/example/src/enums.ts
@@ -51,3 +51,27 @@ export const EnumLikeObject = {
Completed: "completed",
} as const;
+
+/**
+ * Since TypeScript's `enum` can be inconvenient to work with, some pack... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR adds numeric enum-like fixtures to src/test/converter2/behavior/asConstEnum.ts but no corresponding assertions in the `asConstEnum` function of src/test/behaviorTests.ts, so the new test file is never actually tested and should be wired into the behavior test.", "category": "testing", "ve... | null |
TypeStrong__typedoc__1930 | TypeStrong/typedoc | 1,930 | defect | 96f240098822b172a0f3b6cf58e71be1f998a67d | 8d2a6e5c9053e3def9c4ec2cf7052e0d567b8355 | Search boosts | Fix for #1929
Add some config options to enhance search behavior (mainly for large projects that produce a large result set when searching):
* add `search` config to `typedoc.json` (todo: I don't know where to edit the schema definition)
* add boost logic to `Search.ts`, so that user can increase relevance base... | diff --git a/example/typedoc.json b/example/typedoc.json
index d9dd2ca10..1ddb61f19 100644
--- a/example/typedoc.json
+++ b/example/typedoc.json
@@ -2,5 +2,17 @@
"$schema": "https://typedoc.org/schema.json",
"entryPoints": ["./src"],
"sort": ["source-order"],
- "media": "media"
+ "media": "media",
... | 8 | 8 | 5 | [{"id": "G0", "claim": "The \"dom\" lib entry this PR adds to tsconfig.json should be removed: DOM types are not available in Node, where TypeDoc generally runs, so having them for type checking is a bad idea.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c... | null |
TypeStrong__typedoc__1956 | TypeStrong/typedoc | 1,956 | defect | ba586967c1131d657843e3eea773ea95bb1f2c6c | 18a92286e3418bfae0a622f02daf90de7f10eebe | feat: enum expressions | This PR fixes the bug where TypeDoc will interpret the following code as a variable instead of an enum:
```ts
/** @enum */
export const Foo = {
SOME_VALUE: 1 << 0,
};
```
The tests fail because one of the spec files changed. | diff --git a/src/lib/converter/symbols.ts b/src/lib/converter/symbols.ts
index b326cc104..8806083ca 100644
--- a/src/lib/converter/symbols.ts
+++ b/src/lib/converter/symbols.ts
@@ -868,10 +868,25 @@ function isEnumLike(checker: ts.TypeChecker, type: ts.Type, location: ts.Node) {
return type.getProperties().every... | 5 | 4 | 0 | [{"id": "G0", "claim": "The unknown-type branch is unreachable since the function can only be entered with a string or number, so the dead code should be dropped (an error would be acceptable, but not having it is probably even better).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":... | null |
TypeStrong__typedoc__1977 | TypeStrong/typedoc | 1,977 | defect | 9750e2e34778c1a1d3415363eb6d595d9ffa0083 | c4fd4b489a4cb0653e5319b4a06d96bac3f3007d | Improve support for `--entryPointStrategy Packages` | This PR provides some improvements for users of `--entryPointStrategy Packages`. These includes:
- [x] Improved support for `--entryPointStrategy Packages`. TypeDoc will now load package-specific configurations from `package.json` `typedoc` field. This configuration allows configuring a custom display name (`typedoc... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 683c073be..22db22da6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Unreleased
+### Features
+
+- Improved support for `--entryPointStrategy Packages`. TypeDoc will now load package-specific configurations from `package.json` `typedoc` field. This con... | 11 | 9 | 6 | [{"id": "G0", "claim": "The same check that makes the missing-version warning optional under --entryPointStrategy Packages should also be added to the includeVersion warning in the block below.", "category": "consistency", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ... | null |
TypeStrong__typedoc__2129 | TypeStrong/typedoc | 2,129 | defect | 56813c0cb201f0c248a0cc43ef6e7578d680191c | 02117b964b9780385be5e2936a1175433e5b5238 | Introduce an options reader for `package.json` files | This PR introduces the capability to read TypeDoc options from `package.json` files. By default, the `PackageJsonReader` runs after the `TypeDocReader` but before the `TSConfigReader` so that users may specify a path to a `tsconfig.json` file.
Resolves #2112 | diff --git a/bin/typedoc b/bin/typedoc
index 81745b55c..7dad6942f 100755
--- a/bin/typedoc
+++ b/bin/typedoc
@@ -20,6 +20,7 @@ const app = new td.Application();
app.options.addReader(new td.ArgumentsReader(0));
app.options.addReader(new td.TypeDocReader());
+app.options.addReader(new td.PackageJsonReader());
app.o... | 2 | 2 | 2 | [{"id": "G0", "claim": "The reader should not log an error when no package.json file can be found at the provided path (e.g. test projects with several typedoc.json files); it should just silently do nothing.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
TypeStrong__typedoc__2164 | TypeStrong/typedoc | 2,164 | defect | 1db399f5f125e6fa82deefa3eb3b416148bfddaa | 0e2aa616201a5a860576785685ad5494987db350 | fix(fs): glob will traverse node_modules if asked to | If the `pattern` passed to `glob()` contains `node_modules`, then `node_modules` will be traversed.
This is _naive_ in that it does not care about the _context_ of `node_modules` in the pattern; it could be a negation, or whatever (e.g., some passes `!**/node_modules/**`). However, `minimatch` should still do its t... | diff --git a/src/lib/utils/fs.ts b/src/lib/utils/fs.ts
index c5ded7fe7..b7c0acba3 100644
--- a/src/lib/utils/fs.ts
+++ b/src/lib/utils/fs.ts
@@ -149,7 +149,11 @@ export function glob(
// cache of fs.realpathSync results to avoid extra I/O
const realpathCache: Map<string, string> = new Map();
const { incl... | 1 | 1 | 0 | [{"id": "G0", "claim": "Dayday10 requested changes and asked the author to take another look at the pull request's change as a whole.", "category": "review", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
TypeStrong__typedoc__2574 | TypeStrong/typedoc | 2,574 | defect | cf3dcd103a302f9e14cef00cf80a191b9c7b3219 | 3204c931653f2a173432023e9096c3a27c4a0649 | fix: Resolve the name of parameters referring to default exports | Hello! My team recently discovered some strange behavior with TypeDoc resolving the type name of a class as `default` instead of the name of the class. I discovered that this happens when the following constraints are met:
1. A file that's not included in the documentation exports a default function/class.
3. Anoth... | diff --git a/src/lib/models/types.ts b/src/lib/models/types.ts
index be49d3a91..be93044d5 100644
--- a/src/lib/models/types.ts
+++ b/src/lib/models/types.ts
@@ -907,11 +907,39 @@ export class ReferenceType extends Type {
return new ReferenceType(name, target, project, name);
}
+ /**
+ * In certai... | 5 | 4 | 1 | [{"id": "G0", "claim": "The test should assert that the parameter's reference name is `Default`, the exported name a user sees, not `DefaultExport`, which is internal to the module where the symbol is declared.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
TypeStrong__typedoc__448 | TypeStrong/typedoc | 448 | defect | ff74d2bb4c29acd196b5b366f50ee94e83727d66 | 7443e7eb768fc885d76cbfcee1007cd36d8f6a84 | Update to TypeScript 2.2.1 | * updated node engine to 4.2.0+ to match TypeScript's
* optionDeclarations.type can now be a `Map` added support to `declaration`
* tsconfig to include es2015 collections lib
Will resolve #432, #414, and #417; maybe #344 | diff --git a/package.json b/package.json
index 88c80a6d2..ebcde08fd 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
}
],
"engines": {
- "node": ">= 4"
+ "node": ">= 4.2.0"
},
"dependencies": {
"@types/fs-extra": "0.0.33",
@@ -46,7 +46,7 @@
"progress": "^1.1.8",
"shel... | 5 | 3 | 1 | [{"id": "G0", "claim": "ScriptHost should not be included in the tsconfig lib list since the project does not use it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DOM should not be included in the tsconfig lib list since the project is not in the DOM a... | null |
TypeStrong__typedoc__954 | TypeStrong/typedoc | 954 | defect | 6e7752261e93a3f85b5c889477fc78b6992d6486 | 866ca44a7f4e3508c18a7346393233deb60aab51 | Replace array `indexOf` checks with `includes` | Closes #898
Changes:
Replaced `indexOf` calls to check presence or absence with `includes` (with negation operator when checking absence).
Decisions:
1. There are some indexOf calls which use the index value to both check presence and use it to remove some elements at that position. They can be potentially ... | diff --git a/src/lib/converter/context.ts b/src/lib/converter/context.ts
index b2da96fb1..ccbc15cd6 100644
--- a/src/lib/converter/context.ts
+++ b/src/lib/converter/context.ts
@@ -218,7 +218,7 @@ export class Context {
* @param callback The callback that should be executed.
*/
withSourceFile(node: ts... | 4 | 3 | 0 | [{"id": "G0", "claim": "Drop the `.ok` wrapper on the new assertions in src/test/typedoc.ts and call `Assert(condition)` directly.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The remaining indexOf usages at ComentPlugin.ts:66, DynamicModulePl... | null |
UCL__STIR__1466 | UCL/STIR | 1,466 | defect | a3b3d4bbb4575d9e5aa3300ff3cc071894e2e27a | 27a429dd1599fd8236c4abb67cff39ebe3b2f5e9 | Axial symmetry fixes for BlocksOnCylindrical |
## Changes in this pull request
Fix axial scanner downsampling and correct handling of gaps to make BlocksOnCylindrical axially symmetric.
## Testing performed
See before and after in associated issue: https://github.com/UCL/STIR/issues/1465
## Related issues
Fixes https://github.com/UCL/STIR/issues/1465
Re... | diff --git a/src/buildblock/GeometryBlocksOnCylindrical.cxx b/src/buildblock/GeometryBlocksOnCylindrical.cxx
index a57776c293..3ddf725e27 100644
--- a/src/buildblock/GeometryBlocksOnCylindrical.cxx
+++ b/src/buildblock/GeometryBlocksOnCylindrical.cxx
@@ -83,14 +83,12 @@ GeometryBlocksOnCylindrical::build_crystal_maps(c... | 6 | 6 | 1 | [{"id": "G0", "claim": "Add a Scanner::get_axial_length() member (documented as the total axial length covered by the detectors including gaps, with a todo about different block/bucket spacing) so downsample_scanner becomes clearer and the changes needed for #1400 are isolated.", "category": "design", "verdict": "suppo... | null |
UCL__STIR__224 | UCL/STIR | 224 | defect | 9e62872c74cbcea1886d107cb22ab28a5a33083e | b5a5a787f6e2ae2a62d749eb513d2b72d74a3638 | Read multicomponent nifti images with ITK | This is useful for reading deformation/displacement field images.
To implement this, the ITK reader was extended to include VoxelsOnCartesianGrid<CartesianCoordinate3D<float> > as well as DiscretisedDensity<3,float>.
Testing is impossible without test data. Since STIR cannot not write multicomponent niftis we ca... | diff --git a/src/IO/IO_registries.cxx b/src/IO/IO_registries.cxx
index 088bacd9c8..ec97ee6941 100644
--- a/src/IO/IO_registries.cxx
+++ b/src/IO/IO_registries.cxx
@@ -125,7 +125,8 @@ static RegisterInputFileFormat<ecat::ecat7::ECAT7DynamicDiscretisedDensityInputF
#ifdef HAVE_ITK
// we'll put it at low priority such t... | 21 | 15 | 2 | [{"id": "G0", "claim": "The test file's using-std declarations should be dropped and std:: used explicitly throughout.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test file's \\brief still describes the OutputFileFormat test and needs ada... | null |
UCL__TLOmodel__1024 | UCL/TLOmodel | 1,024 | defect | 0f139b2b3d32f5342c7d5ac1793b9c7fce9f9db2 | c9a76cbd08c7493a5c255c0af50fb90952d8191c | All Vaccinations in the EPI programme go through HealthSystem and respond to availability of resources and consumables | Fixes #1020
These updates to the EPI module include:
- all vaccines now given through HSI events from 2010. Previously individual events were used to give vaccines from 2010-2018, this was chosen to match known vaccine coverage and pre-consumables
- vaccine coverage is now directly dependent on consumables availa... | diff --git a/docs/write-ups/EPI.docx b/docs/write-ups/EPI.docx
index a962b01df1..b9bff01813 100644
--- a/docs/write-ups/EPI.docx
+++ b/docs/write-ups/EPI.docx
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a4566599b9ce1300a8e47c6aedae722779e098c6297209a9faa07d72b9fcfd11
-size 121042
+oid sha256... | 5 | 4 | 1 | [{"id": "G0", "claim": "The reviewer asks whether the year/district-based gating logic below (around line 886) is a leftover from before tetanus vaccination went through the HealthSystem, and suggests the vaccine_hsi event could simply be scheduled irrespective of year and district.", "category": "correctness", "verdic... | null |
UCL__TLOmodel__1227 | UCL/TLOmodel | 1,227 | defect | c7b9f26aa7d04923115858ba26597debf2a5695d | 19a2603e4a7beadda52ebe739295337435594602 | Add support for saving and loading simulation state to / from files | Potentially resolves #86 though currently this doesn't deal with exposing this functionality with scenarios.
Adds new methods `save_to_pickle` and `load_from_pickle` that respectively save the current simulation state to a pickle file and load the simulation state from a pickle file (with the latter being a class m... | diff --git a/docs/conf.py b/docs/conf.py
index 2b1c453203..52eb0ff76b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -106,6 +106,9 @@
'exclude-members': '__dict__, name, rng, sim' # , read_parameters',
}
+# Include both class level and __init__ docstring content in class documentation
+autoclass_content = 'bo... | 5 | 5 | 0 | [{"id": "G0", "claim": "merge_log_files should handle the case where the log files are so large that they cannot be read entirely into memory.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pinned dill dependency should be bumped from 0.3.7 to 0... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.