Skip to content

Commit ccea7f1

Browse files
authored
Release v1.3.5 (#64)
- update package.json scripts - dep: eslint-plugin-haraka -> @haraka/eslint-config - update .eslintrc - prettier
1 parent bff2564 commit ccea7f1

29 files changed

+1016
-1019
lines changed

.codeclimate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
engines:
22
eslint:
33
enabled: true
4-
channel: "eslint-8"
4+
channel: 'eslint-8'
55
config:
6-
config: ".eslintrc.yaml"
6+
config: '.eslintrc.yaml'
77

88
ratings:
9-
paths:
10-
- "lib/*.js"
9+
paths:
10+
- 'lib/*.js'

.eslintrc.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@ env:
22
es6: true
33
node: true
44
mocha: true
5-
es2020: true
5+
es2022: true
66

7-
plugins:
8-
- haraka
9-
10-
root: true
7+
extends: ['@haraka']
118

129
rules:
13-
semi-style: [error, last]
14-
15-
extends: ["eslint:recommended", "plugin:haraka/recommended"]
10+
no-unused-vars: ['warn']

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
version: 2
44
updates:
5-
- package-ecosystem: "npm"
6-
directory: "/"
5+
- package-ecosystem: 'npm'
6+
directory: '/'
77
schedule:
8-
interval: "weekly"
8+
interval: 'weekly'
99
allow:
1010
- dependency-type: production

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: CI
22

3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44

55
env:
66
CI: true
77

88
jobs:
9-
109
lint:
1110
uses: haraka/.github/.github/workflows/lint.yml@master
1211

@@ -15,9 +14,9 @@ jobs:
1514
secrets: inherit
1615

1716
ubuntu:
18-
needs: [ lint ]
17+
needs: [lint]
1918
uses: haraka/.github/.github/workflows/ubuntu.yml@master
2019

2120
windows:
22-
needs: [ lint ]
21+
needs: [lint]
2322
uses: haraka/.github/.github/workflows/windows.yml@master

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88
schedule:
99
- cron: '18 7 * * 4'
1010

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ env:
1111
jobs:
1212
publish:
1313
uses: haraka/.github/.github/workflows/publish.yml@master
14-
secrets: inherit
14+
secrets: inherit

.prettierrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
singleQuote: true
2+
semi: false

CHANGELOG.md

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
44

55
### Unreleased
66

7+
### [1.3.5] - 2024-04-07
8+
9+
- update package.json scripts
10+
- dep: eslint-plugin-haraka -> @haraka/eslint-config
11+
- update .eslintrc
712

813
### [1.3.4] - 2024-04-05
914

@@ -13,74 +18,61 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
1318
- dep(address-rfc2821): bump from 2.1.1 to 2.1.2 (#61)
1419
- deps: bump to latest
1520

16-
1721
### [1.3.3] - 2023-12-12
1822

1923
- deps(\*): pin versions to latest
2024

21-
2225
### [1.3.2] - 2023-12-12
2326

2427
- dep(haraka-results): bump version to 2.2.3
2528

26-
2729
### [1.3.1] - 2023-12-03
2830

2931
- transaction: update Buffer syntax (sync with Haraka) (#56)
3032

31-
3233
### [1.3.0] - 2023-06-08
3334

3435
- dep(haraka-results): require at least 2.2 (due to redis dep)
3536

36-
3737
### [1.2.1] - 2022-07-07
3838

3939
- ci: use windows & ubuntu workflows in haraka/.github
4040

41-
4241
### [1.2.0] - 2022-06-27
4342

4443
- dep: replace message-stream with email-message
4544
- transaction: replace Header and Body stubs with email-message
4645
- lint: string concatenation
4746

48-
4947
### [1.1.0] - 2022-06-23
5048

5149
- dep: add haraka-message-stream
5250
- transaction: added Body
5351
- transaction: added MessageStream
5452

55-
5653
### [1.0.35] - 2022-06-05
5754

5855
- ci: update GHA workflow with shared
5956
- doc(changes): add Unreleased marker
6057
- ci: add submodule .release
6158

62-
63-
### 1.0.34 - 2022-05-23
59+
### [1.0.34] - 2022-05-23
6460

6561
- dep(eslint): 6 -> 8
6662
- ci(node): add v18 testing
6763

68-
6964
### 1.0.33 - 2020-12-17
7065

7166
- conn: pass config to new transactions
7267

73-
7468
### 1.0.32 - 2020-07-28
7569

7670
- transaction: add logging methods
7771

78-
7972
### 1.0.31 - 2020-07-28
8073

8174
- transaction: lowercase the keys in class Header
8275

83-
8476
### 1.0.30 - 2019-10-14
8577

8678
- codeclimate: update eslint to v6
@@ -91,61 +83,50 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
9183
- coverage: replace deprecated istanbul with nyc
9284
- test runner: replace deprecated nodeunit with mocha
9385

94-
9586
### 1.0.29 - 2019-04-11
9687

9788
- put results in transaction. This time for real.
9889

99-
10090
### 1.0.28 - 2019-04-01
10191

10292
- transaction: populate this.results
10393

104-
10594
### 1.0.27 - 2018-11-15
10695

10796
- transaction: have header.add() populate header_decoded too
10897

109-
11098
### 1.0.26 - 2018-11-15
11199

112100
- transaction: add header.get_decoded()
113101

114-
115102
### 1.0.25 - 2018-05-10
116103

117104
- transaction: make t.header a class (as it is in Haraka). Making transaction
118105
into an es6 class (in 1.0.24) changed how 'this' resolves.
119106

120-
121107
### 1.0.24 - 2018-05-10
122108

123109
- connection: add get() and improved set()
124110
- connection: add init_transaction()
125111
- connection: use es6 classes
126112
- transaction: use es6 classes
127113

128-
129114
### 1.0.23 - 2018-04-04
130115

131116
- added array values to transaction.header and header.get_all support
132117

133-
134118
### 1.0.22 - 2017-09-22
135119

136120
- plugins: provide haraka_require
137121

138-
139122
### 1.0.21 - 2017-09-14
140123

141124
- lint updates
142125

143-
144126
### 1.0.20 - 2017-09-04
145127

146128
- use [haraka-notes](https://github.com/haraka/haraka-notes)
147129

148-
149130
### 1.0.19 - 2017-06-16
150131

151132
- remove version from haraka-results, fixes #21
@@ -193,7 +174,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
193174
### 1.0.6 - Mar 26, 2016
194175

195176
- more reliable package.json detection
196-
* encapsulate package.json detection in _has_package_json
177+
- encapsulate package.json detection in \_has_package_json
197178
- don't reset plugin.name when a plugin inherits
198179

199180
### 1.0.5 - Mar 19, 2016
@@ -203,13 +184,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
203184
- updates for compat with Haraka/tests/plugins
204185
- better plugin path resolution
205186

206-
207-
[1.0.35]: https://github.com/haraka/haraka-test-fixtures/releases/tag/1.0.35
208-
[1.1.0]: https://github.com/haraka/haraka-test-fixtures/releases/tag/v1.1.0
187+
[1.0.34]: https://github.com/haraka/test-fixtures/releases/tag/1.0.34
188+
[1.0.35]: https://github.com/haraka/test-fixtures/releases/tag/1.0.35
189+
[1.1.0]: https://github.com/haraka/test-fixtures/releases/tag/v1.1.0
209190
[1.2.0]: https://github.com/haraka/test-fixtures/releases/tag/v1.2.0
210191
[1.2.1]: https://github.com/haraka/test-fixtures/releases/tag/v1.2.1
211192
[1.3.0]: https://github.com/haraka/test-fixtures/releases/tag/v1.3.0
212193
[1.3.1]: https://github.com/haraka/test-fixtures/releases/tag/v1.3.1
213194
[1.3.2]: https://github.com/haraka/test-fixtures/releases/tag/v1.3.2
214-
[1.3.3]: https://github.com/haraka/test-fixtures/releases/tag/1.3.3
195+
[1.3.3]: https://github.com/haraka/test-fixtures/releases/tag/v1.3.3
215196
[1.3.4]: https://github.com/haraka/test-fixtures/releases/tag/v1.3.4
197+
[1.3.5]: https://github.com/haraka/test-fixtures/releases/tag/v1.3.5

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@ Fixtures for testing Haraka and plugins
1414

1515
# Exports the following fixture types:
1616

17-
* connection
18-
* line_socket
19-
* logger
20-
* plugin
21-
* [results](https://github.com/haraka/haraka-results)
22-
* stub
23-
* transaction
24-
* util_hmailitem
17+
- connection
18+
- line_socket
19+
- logger
20+
- plugin
21+
- [results](https://github.com/haraka/haraka-results)
22+
- stub
23+
- transaction
24+
- util_hmailitem
2525

2626
These fixtures are analogs of their like-named siblings in Haraka with varying levels of completeness. If there are functions necessary to enhance your ability to test, please do add them.
2727

28-
2928
[ci-img]: https://github.com/haraka/test-fixtures/actions/workflows/ci.yml/badge.svg
3029
[ci-url]: https://github.com/haraka/test-fixtures/actions/workflows/ci.yml
3130
[cov-img]: https://codecov.io/github/haraka/test-fixtures/coverage.svg

0 commit comments

Comments
 (0)