You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+74-73Lines changed: 74 additions & 73 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,215 +16,216 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
- ColdBox 7 Auto Testing
17
17
- New `start:fakemail` command to start FakeSMTP for testing
18
18
- Addded fake smtp server for testing on the harness
19
+
- Skipping of parsing tokens if the mail type is template to avoid complex data in the send-grip protocol https://github.com/coldbox-modules/cbmailservices/pull/34
19
20
20
21
## [v2.7.1] => 2023-FEB-14
21
22
22
23
### Fixed
23
24
24
-
* Fix usage of invalid named member function #33 (https://github.com/coldbox-modules/cbmailservices/pull/33)
25
+
- Fix usage of invalid named member function #33 (https://github.com/coldbox-modules/cbmailservices/pull/33)
25
26
26
27
## [v2.7.0] => 2023-JAN-16
27
28
28
29
A big thanks to @richardherbert for all the updates in this release.
29
30
30
31
### Fixed
31
32
32
-
* FIXED var scoping of attachments variable
33
-
* Updated to handle a response that is not JSON
34
-
* 🐛 FIX: Update GHA to avoid deprecated syntax
33
+
- FIXED var scoping of attachments variable
34
+
- Updated to handle a response that is not JSON
35
+
- 🐛 FIX: Update GHA to avoid deprecated syntax
35
36
36
37
### Added
37
38
38
-
* Added test for MAILGUN_BASEURL property
39
-
* Updated to make MAILGUN_APIURL optional
40
-
* Added support for Mailgun EU region by making MAILGUN_APIURL an optional property with https://api.mailgun.net/v3/ as the default.
39
+
- Added test for MAILGUN_BASEURL property
40
+
- Updated to make MAILGUN_APIURL optional
41
+
- Added support for Mailgun EU region by making MAILGUN_APIURL an optional property with https://api.mailgun.net/v3/ as the default.
41
42
42
43
### Changed
43
44
44
-
* Updated all GHA actions to latest versions and moved to use `temurin` Java distributions from adopt due to deprecation of the service.
45
+
- Updated all GHA actions to latest versions and moved to use `temurin` Java distributions from adopt due to deprecation of the service.
45
46
46
47
## [v2.6.2] => 2022-DEC-20
47
48
48
49
### Fixed
49
50
50
-
* If the incoming `layout` arugment for the `setView()` method in the mail is empty, it should ignore it.
51
+
- If the incoming `layout` arugment for the `setView()` method in the mail is empty, it should ignore it.
51
52
52
53
## [v2.6.1] => 2022-NOV-21
53
54
54
55
### Changed
55
56
56
-
* Less verbosity for the mail queue log
57
+
- Less verbosity for the mail queue log
57
58
58
59
## [v2.6.0] => 2022-NOV-15
59
60
60
61
### Added
61
62
62
-
* New ColdBox 7 delegate `Mailable@cbmailservices` so you can easily add mailing capabilities to objects
63
+
- New ColdBox 7 delegate `Mailable@cbmailservices` so you can easily add mailing capabilities to objects
63
64
64
65
## [v2.5.1] => 2022-NOV-1
65
66
66
67
### Fixed
67
68
68
-
* Fixing asset version
69
+
- Fixing asset version
69
70
70
71
## [v2.5.0] => 2022-OCT-19
71
72
72
73
### Modified
73
74
74
-
* More updates of injections to generic `box` instead of `coldbox`.
75
+
- More updates of injections to generic `box` instead of `coldbox`.
75
76
76
77
## [v2.4.0] => 2022-AUG-20
77
78
78
79
### Modified
79
80
80
-
* Updated injections to generic `box` instead of `coldbox`.
81
+
- Updated injections to generic `box` instead of `coldbox`.
81
82
82
83
## [v2.3.1] => 2022-AUG-04
83
84
84
85
### Fixed
85
86
86
-
* Fix github action
87
+
- Fix github action
87
88
88
89
## [v2.3.0] => 2022-AUG-04
89
90
90
91
### Fixed
91
92
92
-
* Fixed build process so it doesn't include `box.bin` in the final artifact.
93
+
- Fixed build process so it doesn't include `box.bin` in the final artifact.
93
94
94
95
## [v2.2.0] => 2022-JUN-06
95
96
96
97
### Added
97
98
98
-
* Added mailgun protocol to available mail protocols @scottsteinbeck
99
+
- Added mailgun protocol to available mail protocols @scottsteinbeck
99
100
100
101
## [v2.1.0] => 2022-MAY-17
101
102
102
103
### Added
103
104
104
-
* Ability for the `preMailSend` event to influence the `mail` record thanks to @gpickin
105
-
* Getters only work if there is a `variables.config` key in existence. Add reasonable defaults for commonly accessed mail fields
106
-
* New module setting: `runQueueTask` which is defaulted to `true`. If `false` it will not run the mail queue task in the background
105
+
- Ability for the `preMailSend` event to influence the `mail` record thanks to @gpickin
106
+
- Getters only work if there is a `variables.config` key in existence. Add reasonable defaults for commonly accessed mail fields
107
+
- New module setting: `runQueueTask` which is defaulted to `true`. If `false` it will not run the mail queue task in the background
107
108
108
109
## [v2.0.4] => 2022-FEB-09
109
110
110
111
### Fixed
111
112
112
-
*`-snapshot` left on the box.json
113
+
-`-snapshot` left on the box.json
113
114
114
115
### Added
115
116
116
-
* Github actions standards via new module template
117
-
* Reusable Workflows
117
+
- Github actions standards via new module template
118
+
- Reusable Workflows
118
119
119
120
## [v2.0.3] => 2021-NOV-17
120
121
121
122
### Fixed
122
123
123
-
* Fix for Default-Settings overwrites Mail-Bean Payload
124
+
- Fix for Default-Settings overwrites Mail-Bean Payload
124
125
125
126
## [v2.0.2] => 2021-NOV-17
126
127
127
128
### Fixed
128
129
129
-
* Fixed `getFileMimeType()` so postmark attachments can work. Thanks to @garciadev
130
+
- Fixed `getFileMimeType()` so postmark attachments can work. Thanks to @garciadev
130
131
131
132
## [v2.0.1] => 2021-NOV-12
132
133
133
134
### Fixed
134
135
135
-
* BOX-119 CBMailService - Setting the defaultProtocol in moduleSettings to something other than default gets ignored
136
+
- BOX-119 CBMailService - Setting the defaultProtocol in moduleSettings to something other than default gets ignored
136
137
137
138
## [v2.0.0] => 2021-NOV-08
138
139
139
140
### Changed
140
141
141
-
*`COMPATIBILITY` : Settings are now using ColdBox 5 module approach of `moduleSettings.cbmailservices` instead of a root key element called `cbmailservices`. Make sure you update your settings and move them to `modulesettings.cbmailservices`
142
-
*`COMPATIBILITY` : Changed all arguments called `default` to `defaultValue` to avoid ACF issues with the parser
143
-
*`Mail` object `config()` renamed to `configure()`
144
-
* The return results structure from the protocols `errorArray` has been renamed to just `messages` as it can contain warnings, information messages as well as error messages
145
-
* PostmarkAPI result returns `MessageID` instead of `message_id` now.
142
+
-`COMPATIBILITY` : Settings are now using ColdBox 5 module approach of `moduleSettings.cbmailservices` instead of a root key element called `cbmailservices`. Make sure you update your settings and move them to `modulesettings.cbmailservices`
143
+
-`COMPATIBILITY` : Changed all arguments called `default` to `defaultValue` to avoid ACF issues with the parser
144
+
-`Mail` object `config()` renamed to `configure()`
145
+
- The return results structure from the protocols `errorArray` has been renamed to just `messages` as it can contain warnings, information messages as well as error messages
146
+
- PostmarkAPI result returns `MessageID` instead of `message_id` now.
146
147
147
148
### Added
148
149
149
-
* Ability for the mail payload to render the body from a view or a view/layout combination using the `setView()` method.
150
-
* New ability to queue mail for sending using the async scheduler for the module and the new `queue()` method
151
-
* New asynchronous mail sending via `sendAsync()` which returns a ColdBox Future
152
-
* New mixin helper: `newMail()` so you can get access to send mails easily in handlers and interceptors.
153
-
* In order to run and validate SMPT tests, we now use FakeSMTP as a container located in /test-harnes/tests/resources/docker-compose.yml. This will send mail to disk for us when testing smtp. If you want to run the tests on your machine, you will need to startup the container.
154
-
* Every protocol now has a `log` LogBox logger configured object thanks to the `AbstractProtocol`.
155
-
* Every protocol gets a `name` property now for a numan readable name thanks to the `AbstractProtocol`.
156
-
*`Mail` object now can send itself via the new `send()` method which delegates to the service, but provides a nice sending DSL.
157
-
*`Mail` object now has dynamic getters and setters for ALL configuration objects.
158
-
* You can now use aliases to build out any of the core protocols: `CFMail, File, InMemory, Null or Postmark` instead of the full path.
159
-
* You can now use a wirebox id or class path as the protocol class apart from the core protocols.
160
-
* Added ability for the `getProperty( property, defaultValue )` method on the abstract protocol to have a default value.
161
-
* Migration to script of all core items.
162
-
* Migration to github actions.
163
-
* Adobe 2021 Support.
164
-
* Modernization of all source code.
150
+
- Ability for the mail payload to render the body from a view or a view/layout combination using the `setView()` method.
151
+
- New ability to queue mail for sending using the async scheduler for the module and the new `queue()` method
152
+
- New asynchronous mail sending via `sendAsync()` which returns a ColdBox Future
153
+
- New mixin helper: `newMail()` so you can get access to send mails easily in handlers and interceptors.
154
+
- In order to run and validate SMPT tests, we now use FakeSMTP as a container located in /test-harnes/tests/resources/docker-compose.yml. This will send mail to disk for us when testing smtp. If you want to run the tests on your machine, you will need to startup the container.
155
+
- Every protocol now has a `log` LogBox logger configured object thanks to the `AbstractProtocol`.
156
+
- Every protocol gets a `name` property now for a numan readable name thanks to the `AbstractProtocol`.
157
+
-`Mail` object now can send itself via the new `send()` method which delegates to the service, but provides a nice sending DSL.
158
+
-`Mail` object now has dynamic getters and setters for ALL configuration objects.
159
+
- You can now use aliases to build out any of the core protocols: `CFMail, File, InMemory, Null or Postmark` instead of the full path.
160
+
- You can now use a wirebox id or class path as the protocol class apart from the core protocols.
161
+
- Added ability for the `getProperty( property, defaultValue )` method on the abstract protocol to have a default value.
162
+
- Migration to script of all core items.
163
+
- Migration to github actions.
164
+
- Adobe 2021 Support.
165
+
- Modernization of all source code.
165
166
166
167
### Removed
167
168
168
-
*`MailSettingsBean` removed in favor of a more cohesive `MailService`
169
-
*`protocol` setting removed in favor of multiple mailers approach and `defaultProtocol` usage. Please see docs.
170
-
* Adobe ColdFusion 2016 Support.
169
+
-`MailSettingsBean` removed in favor of a more cohesive `MailService`
170
+
-`protocol` setting removed in favor of multiple mailers approach and `defaultProtocol` usage. Please see docs.
171
+
- Adobe ColdFusion 2016 Support.
171
172
172
173
## [v1.6.0] => 2021-FEB-22
173
174
174
175
### Addded
175
176
176
-
* Two new protocols: `NullProtocol, InMemoryProtocol`
177
-
* The `NullProtocol` ignores all calls to it.
178
-
* The `InMemoryProtocol` stores mail mementos in an internal array. This can be useful for testing to check that mail was sent. It also includes a handle `hasMessage` method which takes a predicate callback and checks it against each sent mail. A `reset` method is included for use inside tests.
179
-
* New CI updates and code quality systems
180
-
* New updates for ColdBox 6
177
+
- Two new protocols: `NullProtocol, InMemoryProtocol`
178
+
- The `NullProtocol` ignores all calls to it.
179
+
- The `InMemoryProtocol` stores mail mementos in an internal array. This can be useful for testing to check that mail was sent. It also includes a handle `hasMessage` method which takes a predicate callback and checks it against each sent mail. A `reset` method is included for use inside tests.
180
+
- New CI updates and code quality systems
181
+
- New updates for ColdBox 6
181
182
182
183
## [v1.5.0] => 2019-NOV-12
183
184
184
185
### New Features
185
186
186
-
* Added a `fromName` to the Mail bean to track names due to some protocols allowing it
187
-
* The module will register two interception points. `PreMailSend` and `PostMailSend`
187
+
- Added a `fromName` to the Mail bean to track names due to some protocols allowing it
188
+
- The module will register two interception points. `PreMailSend` and `PostMailSend`
188
189
189
190
### Improvements
190
191
191
-
* New module layout
192
-
* Removed unecessary routing endpoint
192
+
- New module layout
193
+
- Removed unecessary routing endpoint
193
194
194
195
### Bugs
195
196
196
-
* Var scoping issue
197
+
- Var scoping issue
197
198
198
199
## [v1.4.2]
199
200
200
-
* Fixes incorrect argument collection nesting on protocol registration
201
+
- Fixes incorrect argument collection nesting on protocol registration
201
202
202
203
## [v1.4.1]
203
204
204
-
* Auto create folder paths in FileProtocol if they do not exist
205
+
- Auto create folder paths in FileProtocol if they do not exist
205
206
206
207
## [v1.4.0]
207
208
208
-
* Updated to use module templating
209
-
* Proposed additionalInfo data struct for provider specific implementations. Added a couple of helper methods : https://github.com/coldbox-modules/cbox-mailservices/pull/5
210
-
* Updated to leverage WireBox for object creations instead of internal new and createobjects
209
+
- Updated to use module templating
210
+
- Proposed additionalInfo data struct for provider specific implementations. Added a couple of helper methods : https://github.com/coldbox-modules/cbox-mailservices/pull/5
211
+
- Updated to leverage WireBox for object creations instead of internal new and createobjects
211
212
212
213
## [v1.3.0]
213
214
214
-
* Fix on date formatting on file protocol thanks to @elpete
215
-
* Fix for type inclusion on the file protocol thanks to @elpete
215
+
- Fix on date formatting on file protocol thanks to @elpete
216
+
- Fix for type inclusion on the file protocol thanks to @elpete
0 commit comments