firstly 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # firstly
2
2
 
3
+ ## 0.9.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#352](https://github.com/jycouet/firstly/pull/352) [`53ec5e1`](https://github.com/jycouet/firstly/commit/53ec5e12f744ed207b9fce6fa80f3bc9b4918a92) Thanks [@jycouet](https://github.com/jycouet)! - feedback: `getIssues` returned nothing when `milestones.labels_filters` was unset (GitHub treats `labels: []` as "match nothing"); the filter is now omitted in that case.
8
+
3
9
  ## 0.9.3
4
10
 
5
11
  ### Patch Changes
@@ -138,7 +138,10 @@ export class FeedbackController {
138
138
  owner: remult.context.feedbackOptions.repo.owner,
139
139
  milestoneNumber,
140
140
  filters: {
141
- labels: remult.context.feedbackOptions.milestones?.labels_filters ?? [],
141
+ // GitHub treats `labels: []` as "match nothing", so omit the key when unset.
142
+ labels: remult.context.feedbackOptions.milestones?.labels_filters?.length
143
+ ? remult.context.feedbackOptions.milestones.labels_filters
144
+ : undefined,
142
145
  states: [issueState],
143
146
  },
144
147
  issueOrder,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firstly",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "type": "module",
5
5
  "description": "Firstly, an opinionated Remult setup!",
6
6
  "funding": "https://github.com/sponsors/jycouet",