brighterscript 0.41.3 → 0.42.0
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 +165 -267
- package/README.md +2 -2
- package/dist/Program.js +10 -1
- package/dist/Program.js.map +1 -1
- package/dist/Scope.d.ts +3 -3
- package/dist/Scope.js +20 -19
- package/dist/Scope.js.map +1 -1
- package/dist/astUtils/AstEditor.d.ts +27 -0
- package/dist/astUtils/AstEditor.js +97 -0
- package/dist/astUtils/AstEditor.js.map +1 -0
- package/dist/astUtils/AstEditor.spec.d.ts +1 -0
- package/dist/astUtils/AstEditor.spec.js +133 -0
- package/dist/astUtils/AstEditor.spec.js.map +1 -0
- package/dist/astUtils/xml.d.ts +1 -0
- package/dist/astUtils/xml.js +6 -1
- package/dist/astUtils/xml.js.map +1 -1
- package/dist/files/BrsFile.js +5 -10
- package/dist/files/BrsFile.js.map +1 -1
- package/dist/files/XmlFile.spec.js +35 -1
- package/dist/files/XmlFile.spec.js.map +1 -1
- package/dist/globalCallables.d.ts +3 -1
- package/dist/globalCallables.js +200 -100
- package/dist/globalCallables.js.map +1 -1
- package/dist/interfaces.d.ts +28 -3
- package/dist/parser/SGParser.js +1 -1
- package/dist/parser/SGParser.js.map +1 -1
- package/dist/parser/SGTypes.d.ts +1 -0
- package/dist/parser/SGTypes.js +6 -5
- package/dist/parser/SGTypes.js.map +1 -1
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js +14 -2
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js.map +1 -1
- package/dist/util.js +7 -4
- package/dist/util.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
## [0.42.0](https://github.com/rokucommunity/brighterscript/compare/v0.41.6...v0.42.0) - 2022-01-10
|
|
10
|
+
### Added
|
|
11
|
+
- AST editing utility for transformations during between the begin and end transpile lifecycle events. See [the documentation](https://github.com/rokucommunity/brighterscript/blob/master/docs/plugins.md#modifying-code) for more info. ([#478](https://github.com/rokucommunity/brighterscript/pull/478))
|
|
12
|
+
### Fixed
|
|
13
|
+
- bug in global function parameter checking that was not properly enforcing optional/required status for parameters. ([#479](https://github.com/rokucommunity/brighterscript/pull/479))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.41.6](https://github.com/rokucommunity/brighterscript/compare/v0.41.5...v0.41.6) - 2022-01-05
|
|
18
|
+
### Fixed
|
|
19
|
+
- issue in the transpiled output of the null coalescing operator where plain variable references are not properly passed into the function. ([#474](https://github.com/rokucommunity/brighterscript/pull/474))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## [0.41.5](https://github.com/rokucommunity/brighterscript/compare/v0.41.4...v0.41.5) - 2021-11-23
|
|
24
|
+
### Fixed
|
|
25
|
+
- critical crash whenever a local variable had the same name as a javascript object function on the prototype (stuch as `constructor`). ([#469](https://github.com/rokucommunity/brighterscript/pull/469))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [0.41.4](https://github.com/rokucommunity/brighterscript/compare/v0.41.3...v0.41.4) - 2021-10-28
|
|
30
|
+
### Fixed
|
|
31
|
+
- bug transpiling instant resume xml elements ([#465](https://github.com/rokucommunity/brighterscript/pull/465))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
9
35
|
## [0.41.3](https://github.com/rokucommunity/brighterscript/compare/v0.41.2...v0.41.3) - 2021-10-27
|
|
10
36
|
### Changed
|
|
11
37
|
- upgrade to [roku-deploy@3.5.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#350---2021-10-27) which adds the ability to use negated non-rootDir top-level patterns in the files array ([#78](https://github.com/rokucommunity/roku-deploy/pull/78))
|
|
@@ -37,8 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
37
63
|
|
|
38
64
|
|
|
39
65
|
|
|
40
|
-
## [0.40.0] - 2021-08-02
|
|
41
|
-
[0.40.0]: https://github.com/rokucommunity/brighterscript/compare/v0.39.4...v0.40.0
|
|
66
|
+
## [0.40.0](https://github.com/rokucommunity/brighterscript/compare/v0.39.4...v0.40.0) - 2021-08-02
|
|
42
67
|
### Added
|
|
43
68
|
- language support for Interface statements ([#426](https://github.com/rokucommunity/brighterscript/pull/426))
|
|
44
69
|
### Changed
|
|
@@ -46,8 +71,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
46
71
|
|
|
47
72
|
|
|
48
73
|
|
|
49
|
-
## [0.39.4] - 2021-06-27
|
|
50
|
-
[0.39.4]: https://github.com/rokucommunity/brighterscript/compare/v0.39.3...v0.39.4
|
|
74
|
+
## [0.39.4](https://github.com/rokucommunity/brighterscript/compare/v0.39.3...v0.39.4) - 2021-06-27
|
|
51
75
|
### Fixed
|
|
52
76
|
- incorrect block range for inline if/then branch ([#424](https://github.com/rokucommunity/brighterscript/pull/424))
|
|
53
77
|
- extract associative array comma when parsing ([#427](https://github.com/rokucommunity/brighterscript/pull/424))
|
|
@@ -55,22 +79,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
55
79
|
- add v30/bslCore library functions to global callables ([#433](https://github.com/rokucommunity/brighterscript/pull/433))
|
|
56
80
|
|
|
57
81
|
|
|
58
|
-
## [0.39.3] - 2021-06-01
|
|
59
|
-
[0.39.3]: https://github.com/rokucommunity/brighterscript/compare/v0.39.2...v0.39.3
|
|
82
|
+
## [0.39.3](https://github.com/rokucommunity/brighterscript/compare/v0.39.2...v0.39.3) - 2021-06-01
|
|
60
83
|
### Changed
|
|
61
84
|
- upgraded to [roku-deploy@3.4.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#341---2021-06-01) which fixes bugs introduced in roku-deploy@3.4.0
|
|
62
85
|
|
|
63
86
|
|
|
64
87
|
|
|
65
|
-
## [0.39.2] - 2021-05-28
|
|
66
|
-
[0.39.2]: https://github.com/rokucommunity/brighterscript/compare/v0.39.1...v0.39.2
|
|
88
|
+
## [0.39.2](https://github.com/rokucommunity/brighterscript/compare/v0.39.1...v0.39.2) - 2021-05-28
|
|
67
89
|
### Changed
|
|
68
90
|
- upgraded to [roku-deploy@3.4.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#340---2021-05-28) which brings significant zip speed improvements
|
|
69
91
|
|
|
70
92
|
|
|
71
93
|
|
|
72
|
-
## [0.39.1] - 2021-05-24
|
|
73
|
-
[0.39.1]: https://github.com/rokucommunity/brighterscript/compare/v0.39.0...v0.39.1
|
|
94
|
+
## [0.39.1](https://github.com/rokucommunity/brighterscript/compare/v0.39.0...v0.39.1) - 2021-05-24
|
|
74
95
|
### Changed
|
|
75
96
|
- re-export `CodeActionKind` so plugins don't need to import from vscode-brightscript-language directly.
|
|
76
97
|
### Fixed
|
|
@@ -79,23 +100,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
79
100
|
|
|
80
101
|
|
|
81
102
|
|
|
82
|
-
## [0.39.0] - 2021-05-18
|
|
83
|
-
[0.39.0]: https://github.com/rokucommunity/brighterscript/compare/v0.38.2...v0.39.0
|
|
103
|
+
## [0.39.0](https://github.com/rokucommunity/brighterscript/compare/v0.38.2...v0.39.0) - 2021-05-18
|
|
84
104
|
### Added
|
|
85
105
|
- semantic token support for plugins
|
|
86
106
|
- basic semantic tokens for `new` statements and namespace usage
|
|
87
107
|
|
|
88
108
|
|
|
89
109
|
|
|
90
|
-
## [0.38.2] - 2021-05-17
|
|
91
|
-
[0.38.2]: https://github.com/rokucommunity/brighterscript/compare/v0.38.1...v0.38.2
|
|
110
|
+
## [0.38.2](https://github.com/rokucommunity/brighterscript/compare/v0.38.1...v0.38.2) - 2021-05-17
|
|
92
111
|
### Fixed
|
|
93
112
|
- language server crash when namespaced function or class didn't have a name ([#419](https://github.com/rokucommunity/brighterscript/pull/419))
|
|
94
113
|
|
|
95
114
|
|
|
96
115
|
|
|
97
|
-
## [0.38.1] - 2021-05-14
|
|
98
|
-
[0.38.1]: https://github.com/rokucommunity/brighterscript/compare/v0.38.0...v0.38.1
|
|
116
|
+
## [0.38.1](https://github.com/rokucommunity/brighterscript/compare/v0.38.0...v0.38.1) - 2021-05-14
|
|
99
117
|
### Changed
|
|
100
118
|
- SOURCE_FILE_PATH and SOURCE_LOCATION source literals are now string concatenations in order to avoid triggering Roku's static analysis rule against `file:/` protocol strings ([#415](https://github.com/rokucommunity/brighterscript/pull/415))
|
|
101
119
|
### Fixed
|
|
@@ -106,46 +124,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
106
124
|
|
|
107
125
|
|
|
108
126
|
|
|
109
|
-
## [0.38.0] - 2021-05-04
|
|
127
|
+
## [0.38.0](https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v0.38.0) - 2021-05-04
|
|
110
128
|
### Added
|
|
111
129
|
- warning for mismatched class method accessibility ([#402](https://github.com/rokucommunity/brighterscript/pull/402))
|
|
112
130
|
- allow class field overrides in child classes as long as they are the same type ([#394](https://github.com/rokucommunity/brighterscript/pull/394))
|
|
113
131
|
|
|
114
132
|
|
|
115
133
|
|
|
116
|
-
## [0.37.4] - 2021-04-20
|
|
134
|
+
## [0.37.4](https://github.com/rokucommunity/brighterscript/compare/v0.37.3...v0.37.4) - 2021-04-20
|
|
117
135
|
### Fixed
|
|
118
136
|
- bug validating namespace function calls ([#390](https://github.com/rokucommunity/brighterscript/pull/390))
|
|
119
137
|
|
|
120
138
|
|
|
121
139
|
|
|
122
|
-
## [0.37.3] - 2021-04-12
|
|
140
|
+
## [0.37.3](https://github.com/rokucommunity/brighterscript/compare/v0.37.2...v0.37.3) - 2021-04-12
|
|
123
141
|
### Fixed
|
|
124
142
|
- bug where having multiple components with the same name would cause issues in the program, normally requiring a language server or watcher restart. ([#353](https://github.com/rokucommunity/brighterscript/pull/353))
|
|
125
143
|
- bug in xml file ignoring `needsTranspiled` flag when set by plugins ([#384](https://github.com/rokucommunity/brighterscript/pull/384))
|
|
126
144
|
|
|
127
145
|
|
|
128
146
|
|
|
129
|
-
## [0.37.2] - 2021-04-08
|
|
147
|
+
## [0.37.2](https://github.com/rokucommunity/brighterscript/compare/v0.37.1...v0.37.2) - 2021-04-08
|
|
130
148
|
### Fixed
|
|
131
149
|
- erraneous syntax issue when concatenating a template string and a regular string. ([#383](https://github.com/rokucommunity/brighterscript/pull/383))
|
|
132
150
|
- prevent circular import causing stack overflow crash. ([#381](https://github.com/rokucommunity/brighterscript/pull/381))
|
|
133
151
|
|
|
134
152
|
|
|
135
153
|
|
|
136
|
-
## [0.37.1] - 2021-03-30
|
|
154
|
+
## [0.37.1](https://github.com/rokucommunity/brighterscript/compare/v0.37.0...v0.37.1) - 2021-03-30
|
|
137
155
|
### Fixed
|
|
138
156
|
- bug when transpiling print statements that wouldn't retain the existing separators (semicolon, comma, no separator) which all have unique uses ([#373](https://github.com/rokucommunity/brighterscript/pull/373))
|
|
139
157
|
|
|
140
158
|
|
|
141
159
|
|
|
142
|
-
## [0.37.0] - 2021-03-18
|
|
160
|
+
## [0.37.0](https://github.com/rokucommunity/brighterscript/compare/v0.36.0...v0.37.0) - 2021-03-18
|
|
143
161
|
### Added
|
|
144
162
|
- support for `bs:disable` comments in xml files ([#363](https://github.com/rokucommunity/brighterscript/pull/363))
|
|
145
163
|
|
|
146
164
|
|
|
147
165
|
|
|
148
|
-
## [0.36.0] - 2021-03-15
|
|
166
|
+
## [0.36.0](https://github.com/rokucommunity/brighterscript/compare/v0.35.0...v0.36.0) - 2021-03-15
|
|
149
167
|
### Added
|
|
150
168
|
- class import code actions ([#365](https://github.com/rokucommunity/brighterscript/pull/365))
|
|
151
169
|
### Changed
|
|
@@ -158,7 +176,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
158
176
|
|
|
159
177
|
|
|
160
178
|
|
|
161
|
-
## [0.35.0] - 2021-03-09
|
|
179
|
+
## [0.35.0](https://github.com/rokucommunity/brighterscript/compare/v0.34.3...v0.35.0) - 2021-03-09
|
|
162
180
|
### Added
|
|
163
181
|
- code actions for suggesting import statements in brighterscript files ([#347](https://github.com/rokucommunity/brighterscript/pull/347))
|
|
164
182
|
### Fixed
|
|
@@ -166,13 +184,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
166
184
|
|
|
167
185
|
|
|
168
186
|
|
|
169
|
-
## [0.34.3] -2021-03-05
|
|
187
|
+
## [0.34.3](https://github.com/rokucommunity/brighterscript/compare/v0.34.2...v0.34.3) -2021-03-05
|
|
170
188
|
### Fixed
|
|
171
189
|
- bug when transpiling bsc with custom function and parameter return types
|
|
172
190
|
|
|
173
191
|
|
|
174
192
|
|
|
175
|
-
## [0.34.2] - 2021-03-04
|
|
193
|
+
## [0.34.2](https://github.com/rokucommunity/brighterscript/compare/v0.34.1...v0.34.2) - 2021-03-04
|
|
176
194
|
### Added
|
|
177
195
|
- support for loading bslib without alias (i.e. `@rokucommunity/bslib`).
|
|
178
196
|
### Fixed
|
|
@@ -182,19 +200,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
182
200
|
|
|
183
201
|
|
|
184
202
|
|
|
185
|
-
## [0.34.1] - 2021-03-02
|
|
203
|
+
## [0.34.1](https://github.com/rokucommunity/brighterscript/compare/v0.34.0...v0.34.1) - 2021-03-02
|
|
186
204
|
### Fixed
|
|
187
205
|
- syntax parsing bugs within single-line if statements
|
|
188
206
|
|
|
189
207
|
|
|
190
208
|
|
|
191
|
-
## [0.34.0] - 2021-02-28
|
|
209
|
+
## [0.34.0](https://github.com/rokucommunity/brighterscript/compare/v0.33.0...v0.34.0) - 2021-02-28
|
|
192
210
|
### Added
|
|
193
211
|
- language server file path completions inside strings that start with `pkg:` or `libpkg:`
|
|
194
212
|
|
|
195
213
|
|
|
196
214
|
|
|
197
|
-
## [0.33.0] - 2021-02-27
|
|
215
|
+
## [0.33.0](https://github.com/rokucommunity/brighterscript/compare/v0.32.3...v0.33.0) - 2021-02-27
|
|
198
216
|
### Added
|
|
199
217
|
- support for ropm version of bslib.([#334](https://github.com/rokucommunity/brighterscript/pull/334))
|
|
200
218
|
### Fixed
|
|
@@ -204,7 +222,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
204
222
|
|
|
205
223
|
|
|
206
224
|
|
|
207
|
-
## [0.32.3] - 2021-02-25
|
|
225
|
+
## [0.32.3](https://github.com/rokucommunity/brighterscript/compare/v0.32.2...v0.32.3) - 2021-02-25
|
|
208
226
|
### Fixed
|
|
209
227
|
- fix significant performance bug in diagnostic filtering
|
|
210
228
|
- tweaks to the logging system to make `logLevel=verbose` less chatty
|
|
@@ -213,25 +231,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
213
231
|
|
|
214
232
|
|
|
215
233
|
|
|
216
|
-
## [0.
|
|
234
|
+
## [0.31.2](https://github.com/rokucommunity/brighterscript/compare/v0.31.1...v0.31.2) - 2021-02-20
|
|
217
235
|
### Fixed
|
|
218
236
|
- transpile bug when a template string starts with an expression ([#327](https://github.com/rokucommunity/brighterscript/pull/327))
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
## [0.31.2] - 2021-02-18
|
|
223
237
|
### Changed
|
|
224
|
-
-
|
|
238
|
+
- when generating type definition files, include the namespace for every extends statement ([#324](https://github.com/rokucommunity/brighterscript/pull/324))
|
|
225
239
|
|
|
226
240
|
|
|
227
241
|
|
|
228
|
-
## [0.31.1] - 2021-02-18
|
|
242
|
+
## [0.31.1](https://github.com/rokucommunity/brighterscript/compare/v0.31.0...v0.31.1) - 2021-02-18
|
|
229
243
|
### Fixed
|
|
230
244
|
- prevent exception in codeAction functionality when file cannot be found in a `Program`
|
|
231
245
|
|
|
232
246
|
|
|
233
247
|
|
|
234
|
-
## [0.31.0] - 2021-02-17
|
|
248
|
+
## [0.31.0](https://github.com/rokucommunity/brighterscript/compare/v0.30.9...v0.31.0) - 2021-02-17
|
|
235
249
|
### Added
|
|
236
250
|
- plugin and language server support for [codeActions](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction)
|
|
237
251
|
- codeAction to add missing `extends` attribute in components
|
|
@@ -241,7 +255,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
241
255
|
|
|
242
256
|
|
|
243
257
|
|
|
244
|
-
## [0.30.9] - 2021-02-15
|
|
258
|
+
## [0.30.9](https://github.com/rokucommunity/brighterscript/compare/v0.30.8...v0.30.9) - 2021-02-15
|
|
245
259
|
### Fixed
|
|
246
260
|
- prevent excess validations when non-workspace files are changed ([#315](https://github.com/rokucommunity/brighterscript/pull/315))
|
|
247
261
|
- catch errors when getting signatures ([#285](https://github.com/rokucommunity/brighterscript/pull/285))
|
|
@@ -249,7 +263,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
249
263
|
|
|
250
264
|
|
|
251
265
|
|
|
252
|
-
## [0.30.8] - 2021-02-12
|
|
266
|
+
## [0.30.8](https://github.com/rokucommunity/brighterscript/compare/v0.30.7...v0.30.8) - 2021-02-12
|
|
253
267
|
### Changed
|
|
254
268
|
- add additional logging in `Program.removeFile`
|
|
255
269
|
### Fixed
|
|
@@ -258,20 +272,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
258
272
|
|
|
259
273
|
|
|
260
274
|
|
|
261
|
-
## [0.30.7] - 2021-02-11
|
|
275
|
+
## [0.30.7](https://github.com/rokucommunity/brighterscript/compare/v0.30.6...v0.30.7) - 2021-02-11
|
|
262
276
|
### Fixed
|
|
263
277
|
- bug in `getSignatureHelp` that wouldn't work for function calls with no leading whitespace. ([#307](https://github.com/rokucommunity/brighterscript/issues/307))
|
|
264
278
|
|
|
265
279
|
|
|
266
280
|
|
|
267
|
-
## [0.30.6] - 2021-02-07
|
|
281
|
+
## [0.30.6](https://github.com/rokucommunity/brighterscript/compare/v0.30.5...v0.30.6) - 2021-02-07
|
|
268
282
|
### Fixed
|
|
269
283
|
- bad transpile for nested class method super calls
|
|
270
284
|
- SceneGraph node attributes being wrongly removed when modifying attributes
|
|
271
285
|
|
|
272
286
|
|
|
273
287
|
|
|
274
|
-
## [0.30.5] - 2021-02-03
|
|
288
|
+
## [0.30.5](https://github.com/rokucommunity/brighterscript/compare/v0.30.4...v0.30.5) - 2021-02-03
|
|
275
289
|
### Added
|
|
276
290
|
- syntax support for dim statements
|
|
277
291
|
- completion and code navigation for labels
|
|
@@ -280,33 +294,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
280
294
|
|
|
281
295
|
|
|
282
296
|
|
|
283
|
-
## [0.30.4] - 2021-02-02
|
|
297
|
+
## [0.30.4](https://github.com/rokucommunity/brighterscript/compare/v0.30.3...v0.30.4) - 2021-02-02
|
|
284
298
|
### Fixed
|
|
285
299
|
- fixed crash during validation caused by a missing function body when parsing malformed code
|
|
286
300
|
|
|
287
301
|
|
|
288
302
|
|
|
289
|
-
## [0.30.3] - 2021-02-01
|
|
303
|
+
## [0.30.3](https://github.com/rokucommunity/brighterscript/compare/v0.30.2...v0.30.3) - 2021-02-01
|
|
290
304
|
### Fixed
|
|
291
305
|
- performance issue when transpiling larger projects, even when no brighterscript code was used
|
|
292
306
|
|
|
293
307
|
|
|
294
308
|
|
|
295
|
-
## [0.30.2] - 2021-01-31
|
|
309
|
+
## [0.30.2](https://github.com/rokucommunity/brighterscript/compare/v0.30.1...v0.30.2) - 2021-01-31
|
|
296
310
|
### Fixed
|
|
297
311
|
- xml parse error crashing validation ((#294)[https://github.com/rokucommunity/brighterscript/pull/294])
|
|
298
312
|
- better handling for `createStringLiteral` ((#292)[https://github.com/rokucommunity/brighterscript/pull/292])
|
|
299
313
|
|
|
300
314
|
|
|
301
315
|
|
|
302
|
-
## [0.30.1] - 2021-01-29
|
|
316
|
+
## [0.30.1](https://github.com/rokucommunity/brighterscript/compare/v0.30.0...v0.30.1) - 2021-01-29
|
|
303
317
|
### Fixed
|
|
304
318
|
- bug that would crash while transpiling if a script tag didn't have a `type` attribute
|
|
305
319
|
- XML transpile now honors the `sourceMap` option
|
|
306
320
|
|
|
307
321
|
|
|
308
322
|
|
|
309
|
-
## [0.30.0] - 2021-01-26
|
|
323
|
+
## [0.30.0](https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0) - 2021-01-26
|
|
310
324
|
### Added
|
|
311
325
|
- null coalescing operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/null-coalescing-operator.md) for more information)
|
|
312
326
|
### Fixed
|
|
@@ -314,13 +328,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
314
328
|
|
|
315
329
|
|
|
316
330
|
|
|
317
|
-
## [0.29.0] - 2021-01-25
|
|
331
|
+
## [0.29.0](https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0) - 2021-01-25
|
|
318
332
|
### Added
|
|
319
333
|
- ternary operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/ternary-operator.md) for more information)
|
|
320
334
|
|
|
321
335
|
|
|
322
336
|
|
|
323
|
-
## [0.28.2] - 2021-01-22
|
|
337
|
+
## [0.28.2](https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0) - 2021-01-22
|
|
324
338
|
### Changed
|
|
325
339
|
- config loading functions from `util.ts` are now run synchronously
|
|
326
340
|
### Fixed
|
|
@@ -329,7 +343,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
329
343
|
|
|
330
344
|
|
|
331
345
|
|
|
332
|
-
## [0.28.1] - 2021-01-19
|
|
346
|
+
## [0.28.1](https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0) - 2021-01-19
|
|
333
347
|
### Changed
|
|
334
348
|
- (For plugin authors) refactored many async methods into sync methods to simplify file creation/management. ([#278](https://github.com/rokucommunity/brighterscript/pull/278))
|
|
335
349
|
### Fixed
|
|
@@ -338,7 +352,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
338
352
|
|
|
339
353
|
|
|
340
354
|
|
|
341
|
-
## [0.28.0] - 2021-01-16
|
|
355
|
+
## [0.28.0](https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0) - 2021-01-16
|
|
342
356
|
### Added
|
|
343
357
|
- annotation support for classes and class methods ([#270](https://github.com/rokucommunity/brighterscript/pull/270))
|
|
344
358
|
### fixed
|
|
@@ -346,13 +360,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
346
360
|
|
|
347
361
|
|
|
348
362
|
|
|
349
|
-
## [0.27.0] - 2021-01-15
|
|
363
|
+
## [0.27.0](https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0) - 2021-01-15
|
|
350
364
|
### Changed
|
|
351
365
|
- plugin system changed to require a factory function instead of a singleton object ([#272](https://github.com/rokucommunity/brighterscript/pull/272))
|
|
352
366
|
|
|
353
367
|
|
|
354
368
|
|
|
355
|
-
## [0.26.0] - 2021-01-14
|
|
369
|
+
## [0.26.0](https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0) - 2021-01-14
|
|
356
370
|
### Added
|
|
357
371
|
- proper XML AST support
|
|
358
372
|
- component interface validation
|
|
@@ -360,25 +374,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
360
374
|
|
|
361
375
|
|
|
362
376
|
|
|
363
|
-
## [0.25.0] - 2021-01-12
|
|
377
|
+
## [0.25.0](https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0) - 2021-01-12
|
|
364
378
|
### Added
|
|
365
379
|
- support for passing custom types as function parameters and return types ([#262](https://github.com/rokucommunity/brighterscript/issues/262))
|
|
366
380
|
|
|
367
381
|
|
|
368
382
|
|
|
369
|
-
## [0.24.2] - 2021-01-11
|
|
383
|
+
## [0.24.2](https://github.com/rokucommunity/brighterscript/compare/v0.24.1...v0.24.2) - 2021-01-11
|
|
370
384
|
### Fixed
|
|
371
385
|
- bug with transpiled child classes causing on-device stack overflows ([#267](https://github.com/rokucommunity/brighterscript/issues/267))
|
|
372
386
|
|
|
373
387
|
|
|
374
388
|
|
|
375
|
-
## [0.24.1] - 2021-01-09
|
|
389
|
+
## [0.24.1](https://github.com/rokucommunity/brighterscript/compare/v0.24.0...v0.24.1) - 2021-01-09
|
|
376
390
|
### Changed
|
|
377
391
|
- upgraded to [roku-deploy@3.2.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#324---2021-01-08)
|
|
378
392
|
|
|
379
393
|
|
|
380
394
|
|
|
381
|
-
## [0.24.0] - 2021-01-08
|
|
395
|
+
## [0.24.0](https://github.com/rokucommunity/brighterscript/compare/v0.23.2...v0.24.0) - 2021-01-08
|
|
382
396
|
### Added
|
|
383
397
|
- `sourceMap` option to enable/disable generating sourcemaps
|
|
384
398
|
### Changed
|
|
@@ -386,14 +400,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
386
400
|
|
|
387
401
|
|
|
388
402
|
|
|
389
|
-
## [0.23.2] - 2020-01-06
|
|
403
|
+
## [0.23.2](https://github.com/rokucommunity/brighterscript/compare/v0.23.1...v0.23.2) - 2020-01-06
|
|
390
404
|
### Fixed
|
|
391
405
|
- `isLiteralInvalid` was causing infinite recursion.
|
|
392
406
|
- lock `vscode-languageserver-protocol` package version to prevent issues with vscode not following semantic versioning.
|
|
393
407
|
|
|
394
408
|
|
|
395
409
|
|
|
396
|
-
## [0.23.1] - 2020-12-22
|
|
410
|
+
## [0.23.1](https://github.com/rokucommunity/brighterscript/compare/v0.23.0...v0.23.1) - 2020-12-22
|
|
397
411
|
### Changed
|
|
398
412
|
- renamed `Scope.getFiles()` to `Scope.getAllFiles()` and added a new function called `Scope.getOwnFiles()`
|
|
399
413
|
### Fixed
|
|
@@ -401,7 +415,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
401
415
|
|
|
402
416
|
|
|
403
417
|
|
|
404
|
-
## [0.23.0] - 2020-12-18
|
|
418
|
+
## [0.23.0](https://github.com/rokucommunity/brighterscript/compare/v0.22.1...v0.23.0) - 2020-12-18
|
|
405
419
|
### Changed
|
|
406
420
|
- AST parser refactoring ([#244](https://github.com/rokucommunity/brighterscript/pull/244))
|
|
407
421
|
- Make `ElseIf` into an `ElseIfStatement`
|
|
@@ -416,19 +430,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
416
430
|
|
|
417
431
|
|
|
418
432
|
|
|
419
|
-
## [0.22.1] - 2020-12-14
|
|
433
|
+
## [0.22.1](https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1) - 2020-12-14
|
|
420
434
|
### Fixed
|
|
421
435
|
- small bug introduced by vscode-languageserver causing crashes anytime negative range values are provided.
|
|
422
436
|
|
|
423
437
|
|
|
424
438
|
|
|
425
|
-
## [0.22.0] - 2020-11-23
|
|
439
|
+
## [0.22.0](https://github.com/rokucommunity/brighterscript/compare/v0.21.0...v0.22.0) - 2020-11-23
|
|
426
440
|
### Added
|
|
427
441
|
- `try/catch` and `throw` syntax support [#218](https://github.com/rokucommunity/brighterscript/issues/218)
|
|
428
442
|
|
|
429
443
|
|
|
430
444
|
|
|
431
|
-
## [0.21.0] - 2020-11-19
|
|
445
|
+
## [0.21.0](https://github.com/rokucommunity/brighterscript/compare/v0.20.1...v0.21.0) - 2020-11-19
|
|
432
446
|
### Added
|
|
433
447
|
- Catch when local variables and scope functions have the same name as a class. ([#246](https://github.com/rokucommunity/brighterscript/pull/246))
|
|
434
448
|
- Catch when functions use keyword names ([#247](https://github.com/rokucommunity/brighterscript/pull/247))
|
|
@@ -444,20 +458,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
444
458
|
- remove eliminated `BrsType` items from `reflection.ts`.
|
|
445
459
|
|
|
446
460
|
|
|
447
|
-
## [0.20.1] - 2020-11-16
|
|
461
|
+
## [0.20.1](https://github.com/rokucommunity/brighterscript/compare/v0.20.0...v0.20.1) - 2020-11-16
|
|
448
462
|
### Changed
|
|
449
463
|
- load plugins relatively to the project ([#242](https://github.com/rokucommunity/brighterscript/pull/242))
|
|
450
464
|
- modified reflection utilities so they are compatible with TS strict null checks ([#243](https://github.com/rokucommunity/brighterscript/pull/243))
|
|
451
465
|
|
|
452
466
|
|
|
453
467
|
|
|
454
|
-
## [0.20.0] - 2020-11-13
|
|
468
|
+
## [0.20.0](https://github.com/rokucommunity/brighterscript/compare/v0.19.0...v0.20.0) - 2020-11-13
|
|
455
469
|
### Added
|
|
456
470
|
- more language server features: onWorkspaceSymbol, onSignatureHelp, onDocumentSymbol, onReferences, improve onDefinition ([#191](https://github.com/rokucommunity/brighterscript/pull/191))
|
|
457
471
|
|
|
458
472
|
|
|
459
473
|
|
|
460
|
-
## [0.19.0] - 2020-11-04
|
|
474
|
+
## [0.19.0](https://github.com/rokucommunity/brighterscript/compare/v0.18.2...v0.19.0) - 2020-11-04
|
|
461
475
|
### Changed
|
|
462
476
|
- `emitDefinitions` now defaults to `false` (it previously defaulted to `true`)
|
|
463
477
|
### Fixed
|
|
@@ -465,13 +479,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
465
479
|
|
|
466
480
|
|
|
467
481
|
|
|
468
|
-
## [0.18.2] - 2020-11-2
|
|
482
|
+
## [0.18.2](https://github.com/rokucommunity/brighterscript/compare/v0.18.1...v0.18.2) - 2020-11-2
|
|
469
483
|
### Fixed
|
|
470
484
|
- support on-demand parse for typedef-shadowed files ([#237](https://github.com/rokucommunity/brighterscript/pull/237))
|
|
471
485
|
|
|
472
486
|
|
|
473
487
|
|
|
474
|
-
## [0.18.1] - 2020-10-30
|
|
488
|
+
## [0.18.1](https://github.com/rokucommunity/brighterscript/compare/v0.18.0...v0.18.1) - 2020-10-30
|
|
475
489
|
### Fixed
|
|
476
490
|
- exclude bs1100 for typedef files (`Missing "super()" call in class constructor method.`)
|
|
477
491
|
- fix some invalid class field types in typedef files
|
|
@@ -479,25 +493,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
479
493
|
|
|
480
494
|
|
|
481
495
|
|
|
482
|
-
## [0.18.0] - 2020-10-30
|
|
496
|
+
## [0.18.0](https://github.com/rokucommunity/brighterscript/compare/v0.17.0...v0.18.0) - 2020-10-30
|
|
483
497
|
### Added
|
|
484
498
|
- support for consuming and producing type definitions. ([188](https://github.com/rokucommunity/brighterscript/pull/188))
|
|
485
499
|
|
|
486
500
|
|
|
487
501
|
|
|
488
|
-
## [0.17.0] - 2020-10-27
|
|
502
|
+
## [0.17.0](https://github.com/rokucommunity/brighterscript/compare/v0.16.12...v0.17.0) - 2020-10-27
|
|
489
503
|
### Added
|
|
490
504
|
- Annotation syntax and AST support ([#234](https://github.com/rokucommunity/brighterscript/pull/234))
|
|
491
505
|
|
|
492
506
|
|
|
493
507
|
|
|
494
|
-
## [0.16.12] - 2020-10-21
|
|
508
|
+
## [0.16.12](https://github.com/rokucommunity/brighterscript/compare/v0.16.11...v0.16.12) - 2020-10-21
|
|
495
509
|
### Fixed
|
|
496
510
|
- parser bug when there was a trailing colon after `for` or `while` loop statements ([#230](https://github.com/rokucommunity/brighterscript/pull/230))
|
|
497
511
|
|
|
498
512
|
|
|
499
513
|
|
|
500
|
-
## [0.16.11] - 2020-10-20
|
|
514
|
+
## [0.16.11](https://github.com/rokucommunity/brighterscript/compare/v0.16.10...v0.16.11 - 2020-10-20
|
|
501
515
|
### Fixed
|
|
502
516
|
- bug when using single quotes in an xml script tag
|
|
503
517
|
### Changed
|
|
@@ -505,14 +519,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
505
519
|
|
|
506
520
|
|
|
507
521
|
|
|
508
|
-
## [0.16.10] - 2020-10-20
|
|
522
|
+
## [0.16.10](https://github.com/rokucommunity/brighterscript/compare/v0.16.9...v0.16.10) - 2020-10-20
|
|
509
523
|
### Fixed
|
|
510
524
|
- prevent crash when a callable has the same name as a javascript reserved name ([#226](https://github.com/rokucommunity/brighterscript/pull/226))
|
|
511
525
|
- prevent crash when `import` statement is malformed ([#224](https://github.com/rokucommunity/brighterscript/pull/224))
|
|
512
526
|
|
|
513
527
|
|
|
514
528
|
|
|
515
|
-
## [0.16.9] - 2020-10-18
|
|
529
|
+
## [0.16.9](https://github.com/rokucommunity/brighterscript/compare/v0.16.8...v0.16.9) - 2020-10-18
|
|
516
530
|
### Fixed
|
|
517
531
|
- reduce language server throttle for validation and parsing now that those have improved performance.
|
|
518
532
|
- massively improve validation performance by refactoring `getFileByPkgPath`
|
|
@@ -521,33 +535,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
521
535
|
|
|
522
536
|
|
|
523
537
|
|
|
524
|
-
## [0.16.8] - 2020-10-15
|
|
538
|
+
## [0.16.8](https://github.com/rokucommunity/brighterscript/compare/v0.16.7...v0.16.8) - 2020-10-15
|
|
525
539
|
### Fixed
|
|
526
540
|
- bug when printing diagnostics that would crash if the contents were missing (like for in-memory-only files injected by plugins) ([#217](https://github.com/rokucommunity/brighterscript/pull/217))
|
|
527
541
|
- Drop expensive AST walking for collecting property names and instead collect them as part of parsing
|
|
528
542
|
|
|
529
543
|
|
|
530
544
|
|
|
531
|
-
## [0.16.7] - 2020-10-13
|
|
545
|
+
## [0.16.7](https://github.com/rokucommunity/brighterscript/compare/v0.16.6...v0.16.7) - 2020-10-13
|
|
532
546
|
### Fixed
|
|
533
547
|
- bug when finding `bsconfig.json` that would use the wrong cwd in multi-workspace language server situations.
|
|
534
548
|
- bug when transpiling in-memory-only files. ([#212](https://github.com/rokucommunity/brighterscript/pull/212))
|
|
535
549
|
|
|
536
550
|
|
|
537
551
|
|
|
538
|
-
## [0.16.6] - 2020-10-13
|
|
552
|
+
## [0.16.6](https://github.com/rokucommunity/brighterscript/compare/v0.16.5...v0.16.6) - 2020-10-13
|
|
539
553
|
### Fixed
|
|
540
554
|
- quirk in the GitHub actions workflow that didn't publish the correct code.
|
|
541
555
|
|
|
542
556
|
|
|
543
557
|
|
|
544
|
-
## [0.16.5] - 2020-10-13
|
|
558
|
+
## [0.16.5](https://github.com/rokucommunity/brighterscript/compare/v0.16.4...v0.16.5) - 2020-10-13
|
|
545
559
|
### Fixed
|
|
546
560
|
- performance issue during the parse phase. We now defer certain collections until needed. ([#210](https://github.com/rokucommunity/brighterscript/pull/210))
|
|
547
561
|
|
|
548
562
|
|
|
549
563
|
|
|
550
|
-
## [0.16.4] - 2020-10-12
|
|
564
|
+
## [0.16.4](https://github.com/rokucommunity/brighterscript/compare/v0.16.3...v0.16.4) - 2020-10-12
|
|
551
565
|
### Changed
|
|
552
566
|
- LanguageServer now sends a _diff_ of diagnostics for files, instead of the entire project's diagnostics every time. ([#204](https://github.com/rokucommunity/brighterscript/pull/204))
|
|
553
567
|
### Fixed
|
|
@@ -556,7 +570,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
556
570
|
|
|
557
571
|
|
|
558
572
|
|
|
559
|
-
## [0.16.3] - 2020-10-11
|
|
573
|
+
## [0.16.3](https://github.com/rokucommunity/brighterscript/compare/v0.16.2...v0.16.3) - 2020-10-11
|
|
560
574
|
### Changed
|
|
561
575
|
- Add generic type parameter for `Program` add functions.
|
|
562
576
|
- Export `BscType` type to simplify `BrsFile | XmlFile` usage everywhere.
|
|
@@ -565,13 +579,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
565
579
|
|
|
566
580
|
|
|
567
581
|
|
|
568
|
-
## [0.16.2] - 2020-10-09
|
|
582
|
+
## [0.16.2](https://github.com/rokucommunity/brighterscript/compare/v0.16.1...v0.16.2) - 2020-10-09
|
|
569
583
|
### Fixed
|
|
570
584
|
- critical bug in diagnostic printing that would crash the program if a diagnostic was missing a valid range.
|
|
571
585
|
|
|
572
586
|
|
|
573
587
|
|
|
574
|
-
## [0.16.1] - 2020-10-03
|
|
588
|
+
## [0.16.1](https://github.com/rokucommunity/brighterscript/compare/v0.16.0...v0.16.1) - 2020-10-03
|
|
575
589
|
### Changed
|
|
576
590
|
- rename `isEscapedCharCodeLiteral` to `isEscapedCharCodeLiteralExpression` to match other expression class names
|
|
577
591
|
- rename `FunctionParameter` to `FunctionParameterExpression` to match other expression class names
|
|
@@ -582,7 +596,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
582
596
|
|
|
583
597
|
|
|
584
598
|
|
|
585
|
-
## [0.16.0] - 2020-10-02
|
|
599
|
+
## [0.16.0](https://github.com/rokucommunity/brighterscript/compare/v0.15.2...v0.16.0) - 2020-10-02
|
|
586
600
|
### Added
|
|
587
601
|
- `Expression.walk` and `Statement.walk` functions which provide shallow or deep walking of the AST
|
|
588
602
|
- Many `ast` reflection methods to be used instead of `instanceof`.
|
|
@@ -595,38 +609,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
595
609
|
|
|
596
610
|
|
|
597
611
|
|
|
598
|
-
## [0.15.2] - 2020-10-01
|
|
612
|
+
## [0.15.2](https://github.com/rokucommunity/brighterscript/compare/v0.15.1...v0.15.2) - 2020-10-01
|
|
599
613
|
### Fixed
|
|
600
614
|
- Bug in component validation that would throw errors if component name was undefined (generally due to an XML parse error). ([#194](https://github.com/rokucommunity/brighterscript/pull/194))
|
|
601
615
|
|
|
602
616
|
|
|
603
617
|
|
|
604
|
-
## [0.15.1] - 2020-09-30
|
|
618
|
+
## [0.15.1](https://github.com/rokucommunity/brighterscript/compare/v0.15.0...v0.15.1) - 2020-09-30
|
|
605
619
|
### Fixed
|
|
606
620
|
- improved performance in the lexer and parser
|
|
607
621
|
- potential for accidentally changing `cwd` during bsconfig resolving
|
|
608
622
|
|
|
609
623
|
|
|
610
624
|
|
|
611
|
-
## [0.15.0] - 2020-09-18
|
|
625
|
+
## [0.15.0](https://github.com/rokucommunity/brighterscript/compare/v0.14.0...v0.15.0) - 2020-09-18
|
|
612
626
|
### Added
|
|
613
627
|
- plugin API to allow visibility into the various compiler phases. This is currently in alpha. ([#170](https://github.com/rokucommunity/brighterscript/pull/170))
|
|
614
628
|
|
|
615
629
|
|
|
616
630
|
|
|
617
|
-
## [0.14.0] - 2020-09-04
|
|
631
|
+
## [0.14.0](https://github.com/rokucommunity/brighterscript/compare/v0.13.2...v0.14.0) - 2020-09-04
|
|
618
632
|
### Changed
|
|
619
633
|
- Add error diagnostic BS1115 which flags duplicate component names [#186](https://github.com/rokucommunity/brighterscript/pull/186)
|
|
620
634
|
|
|
621
635
|
|
|
622
636
|
|
|
623
|
-
## [0.13.2] - 2020-08-31
|
|
637
|
+
## [0.13.2](https://github.com/rokucommunity/brighterscript/compare/v0.13.1...v0.13.2) - 2020-08-31
|
|
624
638
|
### Changed
|
|
625
639
|
- Upgraded BS1104 to error (previously a warning) and refined the messaging.
|
|
626
640
|
|
|
627
641
|
|
|
628
642
|
|
|
629
|
-
## [0.13.1] - 2020-08-14
|
|
643
|
+
## [0.13.1](https://github.com/rokucommunity/brighterscript/compare/v0.13.0...v0.13.1) - 2020-08-14
|
|
630
644
|
### Changed
|
|
631
645
|
- upgraded to [roku-deploy@3.2.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#323---2020-08-14)
|
|
632
646
|
- throw exception when copying to staging folder and `rootDir` does not exist in the file system
|
|
@@ -634,26 +648,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
634
648
|
|
|
635
649
|
|
|
636
650
|
|
|
637
|
-
## [0.13.0] - 2020-08-10
|
|
651
|
+
## [0.13.0](https://github.com/rokucommunity/brighterscript/compare/v0.12.4...v0.13.0) - 2020-08-10
|
|
638
652
|
### Added
|
|
639
653
|
- ability to mark the `extends` and `project` options in `bsconfig.json`, API and CLI as optional.
|
|
640
654
|
|
|
641
655
|
|
|
642
656
|
|
|
643
|
-
## [0.12.4] - 2020-08-06
|
|
657
|
+
## [0.12.4](https://github.com/rokucommunity/brighterscript/compare/v0.12.3...v0.12.4) - 2020-08-06
|
|
644
658
|
### Fixed
|
|
645
659
|
- bug in cli that wouldn't properly read bsconfig values. [#167](https://github.com/rokucommunity/brighterscript/issues/167)
|
|
646
660
|
- bug in cli that doesn't use `retain-staging-folder` argument properly. [#168](https://github.com/rokucommunity/brighterscript/issues/168)
|
|
647
661
|
|
|
648
662
|
|
|
649
663
|
|
|
650
|
-
## [0.12.3] - 2020-08-03
|
|
664
|
+
## [0.12.3](https://github.com/rokucommunity/brighterscript/compare/v0.12.2...v0.12.3) - 2020-08-03
|
|
651
665
|
### Fixed
|
|
652
666
|
- bug in the language server that would provide stale completions due to the file throttling introduced in v0.11.2. Now the language server will wait for the throttled parsing to complete before serving completion results.
|
|
653
667
|
|
|
654
668
|
|
|
655
669
|
|
|
656
|
-
## [0.12.2] - 2020-07-16
|
|
670
|
+
## [0.12.2](https://github.com/rokucommunity/brighterscript/compare/v0.12.1...v0.12.2) - 2020-07-16
|
|
657
671
|
### Added
|
|
658
672
|
- Expose `ProgramBuilder.transpile()` method to make it easier for tools to transpile programmatically. [#154](https://github.com/rokucommunity/brighterscript/issues/154)
|
|
659
673
|
### Fixed
|
|
@@ -661,7 +675,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
661
675
|
|
|
662
676
|
|
|
663
677
|
|
|
664
|
-
## [0.12.1] - 2020-07-15
|
|
678
|
+
## [0.12.1](https://github.com/rokucommunity/brighterscript/compare/v0.12.0...v0.12.1) - 2020-07-15
|
|
665
679
|
### Changed
|
|
666
680
|
- upgraded to [roku-deploy@3.2.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#322---2020-07-14)
|
|
667
681
|
### Fixed
|
|
@@ -669,7 +683,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
669
683
|
|
|
670
684
|
|
|
671
685
|
|
|
672
|
-
## [0.12.0] - 2020-07-09
|
|
686
|
+
## [0.12.0](https://github.com/rokucommunity/brighterscript/compare/v0.11.2...v0.12.0) - 2020-07-09
|
|
673
687
|
### Added
|
|
674
688
|
- `diagnosticLevel` option to limit/control the noise in the console diagnostics
|
|
675
689
|
### Changed
|
|
@@ -681,7 +695,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
681
695
|
|
|
682
696
|
|
|
683
697
|
|
|
684
|
-
## [0.11.2] - 2020-07-09
|
|
698
|
+
## [0.11.2](https://github.com/rokucommunity/brighterscript/compare/v0.11.1...v0.11.2) - 2020-07-09
|
|
685
699
|
### Changed
|
|
686
700
|
- add 350ms debounce in LanguageServer `onDidChangeWatchedFiles` to increase performance by reducing the number of times a file is parsed and validated.
|
|
687
701
|
### Fixed
|
|
@@ -691,7 +705,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
691
705
|
|
|
692
706
|
|
|
693
707
|
|
|
694
|
-
## [0.11.1] - 2020-07-07
|
|
708
|
+
## [0.11.1](https://github.com/rokucommunity/brighterscript/compare/v0.11.0...v0.11.1) - 2020-07-07
|
|
695
709
|
### Added
|
|
696
710
|
- diagnostic for unknown file reference in import statements ([#139](https://github.com/rokucommunity/brighterscript/pull/139))
|
|
697
711
|
### Changed
|
|
@@ -704,7 +718,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
704
718
|
|
|
705
719
|
|
|
706
720
|
|
|
707
|
-
## [0.11.0] - 2020-07-06
|
|
721
|
+
## [0.11.0](https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.11.0) - 2020-07-06
|
|
708
722
|
### Added
|
|
709
723
|
- [Source literals feature](https://github.com/rokucommunity/brighterscript/blob/master/docs/source-literals.md) which adds new literals such as `SOURCE_FILE_PATH`, `SOURCE_LINE_NUM`, `FUNCTION_NAME`, and more. ([#13](https://github.com/rokucommunity/brighterscript/issues/13))
|
|
710
724
|
- `sourceRoot` config option to fix sourcemap paths for projects that use a temporary staging folder before calling the BrighterScript compiler. ([#134](https://github.com/rokucommunity/brighterscript/commit/e5b73ca37016d5015a389257fb259573c4721e7a))
|
|
@@ -714,18 +728,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
714
728
|
|
|
715
729
|
|
|
716
730
|
|
|
717
|
-
## [0.10.11] - 2020-07-05
|
|
731
|
+
## [0.10.11](https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.10.11) - 2020-07-05
|
|
718
732
|
- Fix bug that would fail to copy files to staging without explicitly specifying `stagingFolderpath`. [#129](https://github.com/rokucommunity/brighterscript/issues/129)
|
|
719
733
|
|
|
720
734
|
|
|
721
735
|
|
|
722
|
-
## [0.10.10] - 2020-06-12
|
|
736
|
+
## [0.10.10](https://github.com/rokucommunity/brighterscript/compare/v0.10.9...v0.10.10) - 2020-06-12
|
|
723
737
|
### Fixed
|
|
724
738
|
- include the missing `bslib.brs` file in the npm package which was causing errors during transpile.
|
|
725
739
|
|
|
726
740
|
|
|
727
741
|
|
|
728
|
-
## [0.10.9] 2020-06-12
|
|
742
|
+
## [0.10.9](https://github.com/rokucommunity/brighterscript/compare/v0.10.8...v0.10.9) 2020-06-12
|
|
729
743
|
### Added
|
|
730
744
|
- bslib.brs gets copied to `pkg:/source` and added as an import to every component on transpile.
|
|
731
745
|
- several timing logs under the `"info"` log level.
|
|
@@ -737,32 +751,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
737
751
|
|
|
738
752
|
|
|
739
753
|
|
|
740
|
-
## [0.10.8] - 2020-06-09
|
|
754
|
+
## [0.10.8](https://github.com/rokucommunity/brighterscript/compare/v0.10.7...v0.10.8) - 2020-06-09
|
|
741
755
|
### Fixed
|
|
742
756
|
- Allow leading spcaes for `bs:disable-line` and `bs:disable-next-line` comments ([#108](https://github.com/rokucommunity/brighterscript/pull/108))
|
|
743
757
|
|
|
744
758
|
|
|
745
759
|
|
|
746
|
-
## [0.10.7] - 2020-06-08
|
|
760
|
+
## [0.10.7](https://github.com/rokucommunity/brighterscript/compare/v0.10.6...v0.10.7) - 2020-06-08
|
|
747
761
|
### Fixed
|
|
748
762
|
- bug in cli that was always returning a nonzero error code
|
|
749
763
|
|
|
750
764
|
|
|
751
765
|
|
|
752
|
-
## [0.10.6] - 2020-06-05
|
|
766
|
+
## [0.10.6](https://github.com/rokucommunity/brighterscript/compare/v0.10.5...v0.10.6) - 2020-06-05
|
|
753
767
|
### Fixed
|
|
754
768
|
- incorrect definition for global `Left()` function. ([#100](https://github.com/rokucommunity/brighterscript/issues/100))
|
|
755
769
|
- missing definition for global `Tab()` and `Pos()` functions ([#101](https://github.com/rokucommunity/brighterscript/issues/101))
|
|
756
770
|
|
|
757
771
|
|
|
758
772
|
|
|
759
|
-
## [0.10.5] - 2020-06-04
|
|
773
|
+
## [0.10.5](https://github.com/rokucommunity/brighterscript/compare/v0.10.4...v0.10.5) - 2020-06-04
|
|
760
774
|
### Changed
|
|
761
775
|
- added better logging for certain critical language server crashes
|
|
762
776
|
|
|
763
777
|
|
|
764
778
|
|
|
765
|
-
## [0.10.4] - 2020-05-28
|
|
779
|
+
## [0.10.4](https://github.com/rokucommunity/brighterscript/compare/v0.10.3...v0.10.4) - 2020-05-28
|
|
766
780
|
### Fixed
|
|
767
781
|
- bug where assigning a namespaced function to a variable wasn't properly transpiling the dots to underscores (fixes [#91](https://github.com/rokucommunity/brighterscript/issues/91))
|
|
768
782
|
- flag parameter with same name as namespace
|
|
@@ -771,14 +785,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
771
785
|
|
|
772
786
|
|
|
773
787
|
|
|
774
|
-
## [0.10.3] - 2020-05-27
|
|
788
|
+
## [0.10.3](https://github.com/rokucommunity/brighterscript/compare/v0.10.2...v0.10.3) - 2020-05-27
|
|
775
789
|
### Changed
|
|
776
790
|
- tokenizing a string with no closing quote will now include all of the text until the end of the line.
|
|
777
791
|
- language server `TranspileFile` command now waits until the program is finished building before trying to transpile.
|
|
778
792
|
|
|
779
793
|
|
|
780
794
|
|
|
781
|
-
## [0.10.2] - 2020-05-23
|
|
795
|
+
## [0.10.2](https://github.com/rokucommunity/brighterscript/compare/v0.10.1...v0.10.2) - 2020-05-23
|
|
782
796
|
### Added
|
|
783
797
|
- language server command `TranspileFile` which will return the transpiled contents of the requested file.
|
|
784
798
|
### Fixed
|
|
@@ -787,7 +801,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
787
801
|
|
|
788
802
|
|
|
789
803
|
|
|
790
|
-
## [0.10.1] - 2020-05-22
|
|
804
|
+
## [0.10.1](https://github.com/rokucommunity/brighterscript/compare/v0.10.0...v0.10.1) - 2020-05-22
|
|
791
805
|
### Fixed
|
|
792
806
|
- transpile bug for compound assignment statements (such as `+=`, `-=`) ([#87](https://github.com/rokucommunity/brighterscript/issues/87))
|
|
793
807
|
- transpile bug that was inserting function parameter types before default values ([#88](https://github.com/rokucommunity/brighterscript/issues/88))
|
|
@@ -795,13 +809,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
795
809
|
|
|
796
810
|
|
|
797
811
|
|
|
798
|
-
## [0.10.0] - 2020-05-19
|
|
812
|
+
## [0.10.0](https://github.com/rokucommunity/brighterscript/compare/v0.9.8...v0.10.0) - 2020-05-19
|
|
799
813
|
### Added
|
|
800
814
|
- new callfunc operator.
|
|
801
815
|
|
|
802
816
|
|
|
803
817
|
|
|
804
|
-
## [0.9.8] - 2020-05-16
|
|
818
|
+
## [0.9.8](https://github.com/rokucommunity/brighterscript/compare/v0.9.7...v0.9.8) - 2020-05-16
|
|
805
819
|
### Changed
|
|
806
820
|
- the inner event system handling file changes. This should fix several race conditions causing false negatives during CLI runs.
|
|
807
821
|
### Fixed
|
|
@@ -809,7 +823,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
809
823
|
|
|
810
824
|
|
|
811
825
|
|
|
812
|
-
## [0.9.7] - 2020-05-14
|
|
826
|
+
## [0.9.7](https://github.com/rokucommunity/brighterscript/compare/v0.9.6...v0.9.7) - 2020-05-14
|
|
813
827
|
### Changed
|
|
814
828
|
- TypeScript target to "ES2017" which provides a significant performance boost in lexer (~30%) and parser (~175%)
|
|
815
829
|
### Fixed
|
|
@@ -819,7 +833,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
819
833
|
|
|
820
834
|
|
|
821
835
|
|
|
822
|
-
## [0.9.6] - 2020-05-11
|
|
836
|
+
## [0.9.6](https://github.com/rokucommunity/brighterscript/compare/v0.9.5...v0.9.6) - 2020-05-11
|
|
823
837
|
### Added
|
|
824
838
|
- `logLevel` option from the bsconfig.json and command prompt that allows specifying how much detain the logging should contain.
|
|
825
839
|
- additional messages during cli run
|
|
@@ -831,7 +845,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
831
845
|
|
|
832
846
|
|
|
833
847
|
|
|
834
|
-
## [0.9.5] - 2020-05-06
|
|
848
|
+
## [0.9.5](https://github.com/rokucommunity/brighterscript/compare/v0.9.4...v0.9.5) - 2020-05-06
|
|
835
849
|
### Added
|
|
836
850
|
- new config option called `showDiagnosticsInConsole` which disables printing diagnostics to the console
|
|
837
851
|
### Fixed
|
|
@@ -841,7 +855,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
841
855
|
|
|
842
856
|
|
|
843
857
|
|
|
844
|
-
## [0.9.4] - 2020-05-05
|
|
858
|
+
## [0.9.4](https://github.com/rokucommunity/brighterscript/compare/v0.9.3...v0.9.4) - 2020-05-05
|
|
845
859
|
### Added
|
|
846
860
|
- diagnostic for detecting unnecessary script imports when `autoImportComponentScript` is enabled
|
|
847
861
|
### Changed
|
|
@@ -854,7 +868,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
854
868
|
|
|
855
869
|
|
|
856
870
|
|
|
857
|
-
## [0.9.3] - 2020-05-04
|
|
871
|
+
## [0.9.3](https://github.com/rokucommunity/brighterscript/compare/v0.9.2...v0.9.3) - 2020-05-04
|
|
858
872
|
### Changed
|
|
859
873
|
- do not show BRS1013 for standalone files ([#72](https://github.com/rokucommunity/brighterscript/issues/72))
|
|
860
874
|
- BS1011 (same name as global function) is no longer shown for local variables that are not of type `function` ([#70](https://github.com/rokucommunity/brighterscript/issues/70))
|
|
@@ -863,7 +877,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
863
877
|
|
|
864
878
|
|
|
865
879
|
|
|
866
|
-
## [0.9.2] - 2020-05-02
|
|
880
|
+
## [0.9.2](https://github.com/rokucommunity/brighterscript/compare/v0.9.1...v0.9.2) - 2020-05-02
|
|
867
881
|
### Changed
|
|
868
882
|
- intellisense anywhere other than next to a dot now includes keywords (#67)
|
|
869
883
|
|
|
@@ -874,19 +888,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
874
888
|
|
|
875
889
|
|
|
876
890
|
|
|
877
|
-
## [0.9.1] - 2020-05-01
|
|
891
|
+
## [0.9.1](https://github.com/rokucommunity/brighterscript/compare/v0.9.0...v0.9.1) - 2020-05-01
|
|
878
892
|
### Fixed
|
|
879
893
|
- bug with upper-case two-word conditional compile tokens (`#ELSE IF` and `#END IF`) (#63)
|
|
880
894
|
|
|
881
895
|
|
|
882
896
|
|
|
883
|
-
## [0.9.0] - 2020-05-01
|
|
897
|
+
## [0.9.0](https://github.com/rokucommunity/brighterscript/compare/v0.8.2...v0.9.0) - 2020-05-01
|
|
884
898
|
### Added
|
|
885
899
|
- new compile flag `autoImportComponentScript` which will automatically import a script for a component with the same name if it exists.
|
|
886
900
|
|
|
887
901
|
|
|
888
902
|
|
|
889
|
-
## [0.8.2] - 2020-04-29
|
|
903
|
+
## [0.8.2](https://github.com/rokucommunity/brighterscript/compare/v0.8.1...v0.8.2) - 2020-04-29
|
|
890
904
|
### Fixed
|
|
891
905
|
- bugs in namespace transpilation
|
|
892
906
|
- bugs in class transpilation
|
|
@@ -895,14 +909,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
895
909
|
|
|
896
910
|
|
|
897
911
|
|
|
898
|
-
## [0.8.1] - 2020-04-27
|
|
912
|
+
## [0.8.1](https://github.com/rokucommunity/brighterscript/compare/v0.8.0...v0.8.1) - 2020-04-27
|
|
899
913
|
### Fixed
|
|
900
914
|
- Bug where class property initializers would cause parse error
|
|
901
915
|
- better parse recovery for incomplete class members
|
|
902
916
|
|
|
903
917
|
|
|
904
918
|
|
|
905
|
-
## [0.8.0] - 2020-04-26
|
|
919
|
+
## [0.8.0](https://github.com/rokucommunity/brighterscript/compare/v0.7.2...v0.8.0) - 2020-04-26
|
|
906
920
|
### Added
|
|
907
921
|
- new `import` syntax for BrighterScript projects.
|
|
908
922
|
- experimental transpile support for xml files (converts `.bs` extensions to `.brs`, auto-appends the `import` statments to each xml component)
|
|
@@ -910,19 +924,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
910
924
|
- upgraded to vscode-languageserver@6.1.1
|
|
911
925
|
|
|
912
926
|
|
|
913
|
-
## [0.7.2] - 2020-04-24
|
|
927
|
+
## [0.7.2](https://github.com/rokucommunity/brighterscript/compare/v0.7.1...v0.7.2) - 2020-04-24
|
|
914
928
|
### Fixed
|
|
915
929
|
- runtime bug in the language server when validating incomplete class statements
|
|
916
930
|
|
|
917
931
|
|
|
918
932
|
|
|
919
|
-
## [0.7.1] - 2020-04-23
|
|
933
|
+
## [0.7.1](https://github.com/rokucommunity/brighterscript/compare/v0.7.0...v0.7.1) - 2020-04-23
|
|
920
934
|
### Fixed
|
|
921
935
|
- dependency issue: `glob` is required but was not listed as a dependency
|
|
922
936
|
|
|
923
937
|
|
|
924
938
|
|
|
925
|
-
## [0.7.0] - 2020-04-23
|
|
939
|
+
## [0.7.0](https://github.com/rokucommunity/brighterscript/compare/v0.6.0...v0.7.0) - 2020-04-23
|
|
926
940
|
### Added
|
|
927
941
|
- basic support for namespaces
|
|
928
942
|
- experimental parser support for import statements (no transpile yet)
|
|
@@ -931,7 +945,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
931
945
|
|
|
932
946
|
|
|
933
947
|
|
|
934
|
-
## [0.6.0] 2020-04-15
|
|
948
|
+
## [0.6.0](https://github.com/rokucommunity/brighterscript/compare/v0.5.4...v0.6.0) 2020-04-15
|
|
935
949
|
### Added
|
|
936
950
|
- ability to filter out diagnostics by using the `diagnosticFilters` option in bsconfig
|
|
937
951
|
### Changed
|
|
@@ -941,14 +955,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
941
955
|
|
|
942
956
|
|
|
943
957
|
|
|
944
|
-
## [0.5.4] 2020-04-13
|
|
958
|
+
## [0.5.4](https://github.com/rokucommunity/brighterscript/compare/v0.5.3...v0.5.4) 2020-04-13
|
|
945
959
|
### Fixed
|
|
946
960
|
- Syntax bug that wasn't allowing period before indexed get expression (example: `prop.["key"]`) (#58)
|
|
947
961
|
- Syntax bug preventing comments from being used in various locations within a class
|
|
948
962
|
|
|
949
963
|
|
|
950
964
|
|
|
951
|
-
## [0.5.3] - 2020-04-12
|
|
965
|
+
## [0.5.3](https://github.com/rokucommunity/brighterscript/compare/v0.5.2...v0.5.3) - 2020-04-12
|
|
952
966
|
### Added
|
|
953
967
|
- syntax support for the xml attribute operator (`node@someAttr`) (#34)
|
|
954
968
|
- syntax support for bitshift operators (`<<` and `>>`) (#50)
|
|
@@ -958,7 +972,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
958
972
|
|
|
959
973
|
|
|
960
974
|
|
|
961
|
-
## [0.5.2] - 2020-04-11
|
|
975
|
+
## [0.5.2](https://github.com/rokucommunity/brighterscript/compare/v0.5.1...v0.5.2) - 2020-04-11
|
|
962
976
|
### Changed
|
|
963
977
|
- downgrade diagnostic issue 1007 from an error to a warning, and updated the message to "Component is mising "extends" attribute and will automatically extend "Group" by default" (#53)
|
|
964
978
|
### Fixed
|
|
@@ -967,13 +981,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
967
981
|
|
|
968
982
|
|
|
969
983
|
|
|
970
|
-
## [0.5.1] - 2020-04-10
|
|
984
|
+
## [0.5.1](https://github.com/rokucommunity/brighterscript/compare/v0.5.0...v0.5.1) - 2020-04-10
|
|
971
985
|
### Changed
|
|
972
986
|
- upgraded to [roku-deploy@3.0.2](https://www.npmjs.com/package/roku-debug/v/0.3.4) which fixed a file copy bug in subdirectories of symlinked folders (fixes #41)
|
|
973
987
|
|
|
974
988
|
|
|
975
989
|
|
|
976
|
-
## [0.5.0] - 2020-04-10
|
|
990
|
+
## [0.5.0](https://github.com/rokucommunity/brighterscript/compare/v0.4.4...v0.5.0) - 2020-04-10
|
|
977
991
|
### Added
|
|
978
992
|
- several new diagnostics for conditional compiles. Some of them allow the parser to recover and continue.
|
|
979
993
|
- experimental class transpile support. There is still no intellisense for classes yet though.
|
|
@@ -986,31 +1000,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
986
1000
|
|
|
987
1001
|
|
|
988
1002
|
|
|
989
|
-
## [0.4.4] - 2020-04-04
|
|
1003
|
+
## [0.4.4](https://github.com/rokucommunity/brighterscript/compare/v0.4.3...v0.4.4) - 2020-04-04
|
|
990
1004
|
### Fixed
|
|
991
1005
|
- bug in the ProgramBuilder that would terminate the program on first run if an error diagnostic was found, even when in watch mode.
|
|
992
1006
|
|
|
993
1007
|
|
|
994
1008
|
|
|
995
|
-
## [0.4.3] - 2020-04-03
|
|
1009
|
+
## [0.4.3](https://github.com/rokucommunity/brighterscript/compare/v0.4.2...v0.4.3) - 2020-04-03
|
|
996
1010
|
### Changed
|
|
997
1011
|
- the `bsc` cli now emits a nonzero return code whenever parse errors are encountered, which allows tools to detect compile-time errors. (#43)
|
|
998
1012
|
|
|
999
1013
|
|
|
1000
1014
|
|
|
1001
|
-
## [0.4.2] - 2020-04-01
|
|
1015
|
+
## [0.4.2](https://github.com/rokucommunity/brighterscript/compare/v0.4.1...v0.4.2) - 2020-04-01
|
|
1002
1016
|
### Changed
|
|
1003
1017
|
- upgraded to [roku-deploy@3.0.0](https://www.npmjs.com/package/roku-deploy/v/3.0.0)
|
|
1004
1018
|
|
|
1005
1019
|
|
|
1006
1020
|
|
|
1007
|
-
## [0.4.1] - 2020-01-11
|
|
1021
|
+
## [0.4.1](https://github.com/rokucommunity/brighterscript/compare/v0.4.0...v0.4.1) - 2020-01-11
|
|
1008
1022
|
### Changed
|
|
1009
1023
|
- upgraded to [roku-deploy@3.0.0-beta.7](https://www.npmjs.com/package/roku-deploy/v/3.0.0-beta.7) which fixed a critical bug during pkg creation.
|
|
1010
1024
|
|
|
1011
1025
|
|
|
1012
1026
|
|
|
1013
|
-
## [0.4.0] - 2020-01-07
|
|
1027
|
+
## [0.4.0](https://github.com/rokucommunity/brighterscript/compare/v0.3.1...v0.4.0) - 2020-01-07
|
|
1014
1028
|
### Added
|
|
1015
1029
|
- ability to specify the pkgPath of a file when adding to the project.
|
|
1016
1030
|
### Changed
|
|
@@ -1023,14 +1037,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1023
1037
|
|
|
1024
1038
|
|
|
1025
1039
|
|
|
1026
|
-
## [0.3.1] - 2019-11-08
|
|
1040
|
+
## [0.3.1](https://github.com/rokucommunity/brighterscript/compare/v0.3.0...v0.3.1) - 2019-11-08
|
|
1027
1041
|
### Fixed
|
|
1028
1042
|
- language server bug that was showing error messages in certain startup race conditions.
|
|
1029
1043
|
- error during hover caused by race condition during file re-parse.
|
|
1030
1044
|
|
|
1031
1045
|
|
|
1032
1046
|
|
|
1033
|
-
## [0.3.0] - 2019-10-03
|
|
1047
|
+
## [0.3.0](https://github.com/rokucommunity/brighterscript/compare/v0.2.2...v0.3.0) - 2019-10-03
|
|
1034
1048
|
### Added
|
|
1035
1049
|
- support for parsing opened files not included in any project.
|
|
1036
1050
|
### Fixed
|
|
@@ -1038,13 +1052,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1038
1052
|
|
|
1039
1053
|
|
|
1040
1054
|
|
|
1041
|
-
## [0.2.2] - 2019-09-27
|
|
1055
|
+
## [0.2.2](https://github.com/rokucommunity/brighterscript/compare/v0.2.1...v0.2.2) - 2019-09-27
|
|
1042
1056
|
### Fixed
|
|
1043
1057
|
- bug in language server where the server would crash when sending a diagnostic too early. Now the server waits for the program to load before sending diagnostics.
|
|
1044
1058
|
|
|
1045
1059
|
|
|
1046
1060
|
|
|
1047
|
-
## [0.2.1] - 2019-09-24
|
|
1061
|
+
## [0.2.1](https://github.com/rokucommunity/brighterscript/compare/v0.2.0...v0.2.1) - 2019-09-24
|
|
1048
1062
|
### Changed
|
|
1049
1063
|
- the text for diagnostic 1010 to say "override" instead of "shadows"
|
|
1050
1064
|
### Fixed
|
|
@@ -1055,7 +1069,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1055
1069
|
|
|
1056
1070
|
|
|
1057
1071
|
|
|
1058
|
-
## [0.2.0] - 2019-09-20
|
|
1072
|
+
## [0.2.0](https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.2.0) - 2019-09-20
|
|
1059
1073
|
### Added
|
|
1060
1074
|
- bsconfig.json validation
|
|
1061
1075
|
- slightly smarter intellisense that knows when you're trying to complete an object property.
|
|
@@ -1070,132 +1084,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1070
1084
|
- Bug during file creation that wouldn't recognize the file
|
|
1071
1085
|
|
|
1072
1086
|
|
|
1073
|
-
## [0.1.0] - 2019-08-10
|
|
1087
|
+
## [0.1.0](https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.1.0) - 2019-08-10
|
|
1074
1088
|
### Changed
|
|
1075
1089
|
- Cloned from [brightscript-language](https://github.com/rokucommunity/brightscript-language)
|
|
1076
1090
|
|
|
1077
1091
|
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
[0.4.2]: https://github.com/rokucommunity/brighterscript/compare/v0.4.1...v0.4.2
|
|
1087
|
-
[0.4.3]: https://github.com/rokucommunity/brighterscript/compare/v0.4.2...v0.4.3
|
|
1088
|
-
[0.4.4]: https://github.com/rokucommunity/brighterscript/compare/v0.4.3...v0.4.4
|
|
1089
|
-
[0.5.0]: https://github.com/rokucommunity/brighterscript/compare/v0.4.4...v0.5.0
|
|
1090
|
-
[0.5.1]: https://github.com/rokucommunity/brighterscript/compare/v0.5.0...v0.5.1
|
|
1091
|
-
[0.5.2]: https://github.com/rokucommunity/brighterscript/compare/v0.5.1...v0.5.2
|
|
1092
|
-
[0.5.3]: https://github.com/rokucommunity/brighterscript/compare/v0.5.2...v0.5.3
|
|
1093
|
-
[0.5.4]: https://github.com/rokucommunity/brighterscript/compare/v0.5.3...v0.5.4
|
|
1094
|
-
[0.6.0]: https://github.com/rokucommunity/brighterscript/compare/v0.5.4...v0.6.0
|
|
1095
|
-
[0.7.0]: https://github.com/rokucommunity/brighterscript/compare/v0.6.0...v0.7.0
|
|
1096
|
-
[0.7.1]: https://github.com/rokucommunity/brighterscript/compare/v0.7.0...v0.7.1
|
|
1097
|
-
[0.7.2]: https://github.com/rokucommunity/brighterscript/compare/v0.7.1...v0.7.2
|
|
1098
|
-
[0.8.0]: https://github.com/rokucommunity/brighterscript/compare/v0.7.2...v0.8.0
|
|
1099
|
-
[0.8.1]: https://github.com/rokucommunity/brighterscript/compare/v0.8.0...v0.8.1
|
|
1100
|
-
[0.8.2]: https://github.com/rokucommunity/brighterscript/compare/v0.8.1...v0.8.2
|
|
1101
|
-
[0.9.0]: https://github.com/rokucommunity/brighterscript/compare/v0.8.2...v0.9.0
|
|
1102
|
-
[0.9.1]: https://github.com/rokucommunity/brighterscript/compare/v0.9.0...v0.9.1
|
|
1103
|
-
[0.9.2]: https://github.com/rokucommunity/brighterscript/compare/v0.9.1...v0.9.2
|
|
1104
|
-
[0.9.3]: https://github.com/rokucommunity/brighterscript/compare/v0.9.2...v0.9.3
|
|
1105
|
-
[0.9.4]: https://github.com/rokucommunity/brighterscript/compare/v0.9.3...v0.9.4
|
|
1106
|
-
[0.9.5]: https://github.com/rokucommunity/brighterscript/compare/v0.9.4...v0.9.5
|
|
1107
|
-
[0.9.6]: https://github.com/rokucommunity/brighterscript/compare/v0.9.5...v0.9.6
|
|
1108
|
-
[0.9.7]: https://github.com/rokucommunity/brighterscript/compare/v0.9.6...v0.9.7
|
|
1109
|
-
[0.9.8]: https://github.com/rokucommunity/brighterscript/compare/v0.9.7...v0.9.8
|
|
1110
|
-
[0.10.0]: https://github.com/rokucommunity/brighterscript/compare/v0.9.8...v0.10.0
|
|
1111
|
-
[0.10.1]: https://github.com/rokucommunity/brighterscript/compare/v0.10.0...v0.10.1
|
|
1112
|
-
[0.10.2]: https://github.com/rokucommunity/brighterscript/compare/v0.10.1...v0.10.2
|
|
1113
|
-
[0.10.3]: https://github.com/rokucommunity/brighterscript/compare/v0.10.2...v0.10.3
|
|
1114
|
-
[0.10.4]: https://github.com/rokucommunity/brighterscript/compare/v0.10.3...v0.10.4
|
|
1115
|
-
[0.10.5]: https://github.com/rokucommunity/brighterscript/compare/v0.10.4...v0.10.5
|
|
1116
|
-
[0.10.6]: https://github.com/rokucommunity/brighterscript/compare/v0.10.5...v0.10.6
|
|
1117
|
-
[0.10.7]: https://github.com/rokucommunity/brighterscript/compare/v0.10.6...v0.10.7
|
|
1118
|
-
[0.10.8]: https://github.com/rokucommunity/brighterscript/compare/v0.10.7...v0.10.8
|
|
1119
|
-
[0.10.9]: https://github.com/rokucommunity/brighterscript/compare/v0.10.8...v0.10.9
|
|
1120
|
-
[0.10.10]: https://github.com/rokucommunity/brighterscript/compare/v0.10.9...v0.10.10
|
|
1121
|
-
[0.11.0]: https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.11.0
|
|
1122
|
-
[0.11.1]: https://github.com/rokucommunity/brighterscript/compare/v0.11.0...v0.11.1
|
|
1123
|
-
[0.11.2]: https://github.com/rokucommunity/brighterscript/compare/v0.11.1...v0.11.2
|
|
1124
|
-
[0.11.3]: https://github.com/rokucommunity/brighterscript/compare/v0.11.2...v0.11.3
|
|
1125
|
-
[0.12.0]: https://github.com/rokucommunity/brighterscript/compare/v0.11.3...v0.12.0
|
|
1126
|
-
[0.12.1]: https://github.com/rokucommunity/brighterscript/compare/v0.12.0...v0.12.1
|
|
1127
|
-
[0.12.2]: https://github.com/rokucommunity/brighterscript/compare/v0.12.1...v0.12.2
|
|
1128
|
-
[0.12.3]: https://github.com/rokucommunity/brighterscript/compare/v0.12.2...v0.12.3
|
|
1129
|
-
[0.12.4]: https://github.com/rokucommunity/brighterscript/compare/v0.12.3...v0.12.4
|
|
1130
|
-
[0.13.0]: https://github.com/rokucommunity/brighterscript/compare/v0.12.4...v0.13.0
|
|
1131
|
-
[0.13.1]: https://github.com/rokucommunity/brighterscript/compare/v0.13.0...v0.13.1
|
|
1132
|
-
[0.13.2]: https://github.com/rokucommunity/brighterscript/compare/v0.13.1...v0.13.2
|
|
1133
|
-
[0.14.0]: https://github.com/rokucommunity/brighterscript/compare/v0.13.2...v0.14.0
|
|
1134
|
-
[0.15.0]: https://github.com/rokucommunity/brighterscript/compare/v0.14.0...v0.15.0
|
|
1135
|
-
[0.15.1]: https://github.com/rokucommunity/brighterscript/compare/v0.15.0...v0.15.1
|
|
1136
|
-
[0.15.2]: https://github.com/rokucommunity/brighterscript/compare/v0.15.1...v0.15.2
|
|
1137
|
-
[0.16.0]: https://github.com/rokucommunity/brighterscript/compare/v0.15.2...v0.16.0
|
|
1138
|
-
[0.16.1]: https://github.com/rokucommunity/brighterscript/compare/v0.16.0...v0.16.1
|
|
1139
|
-
[0.16.2]: https://github.com/rokucommunity/brighterscript/compare/v0.16.1...v0.16.2
|
|
1140
|
-
[0.16.3]: https://github.com/rokucommunity/brighterscript/compare/v0.16.2...v0.16.3
|
|
1141
|
-
[0.16.4]: https://github.com/rokucommunity/brighterscript/compare/v0.16.3...v0.16.4
|
|
1142
|
-
[0.16.5]: https://github.com/rokucommunity/brighterscript/compare/v0.16.4...v0.16.5
|
|
1143
|
-
[0.16.6]: https://github.com/rokucommunity/brighterscript/compare/v0.16.5...v0.16.6
|
|
1144
|
-
[0.16.7]: https://github.com/rokucommunity/brighterscript/compare/v0.16.6...v0.16.7
|
|
1145
|
-
[0.16.8]: https://github.com/rokucommunity/brighterscript/compare/v0.16.7...v0.16.8
|
|
1146
|
-
[0.16.9]: https://github.com/rokucommunity/brighterscript/compare/v0.16.8...v0.16.9
|
|
1147
|
-
[0.16.10]: https://github.com/rokucommunity/brighterscript/compare/v0.16.9...v0.16.10
|
|
1148
|
-
[0.16.11]: https://github.com/rokucommunity/brighterscript/compare/v0.16.10...v0.16.11
|
|
1149
|
-
[0.16.12]: https://github.com/rokucommunity/brighterscript/compare/v0.16.11...v0.16.12
|
|
1150
|
-
[0.17.0]: https://github.com/rokucommunity/brighterscript/compare/v0.16.12...v0.17.0
|
|
1151
|
-
[0.18.0]: https://github.com/rokucommunity/brighterscript/compare/v0.17.0...v0.18.0
|
|
1152
|
-
[0.18.1]: https://github.com/rokucommunity/brighterscript/compare/v0.18.0...v0.18.1
|
|
1153
|
-
[0.18.2]: https://github.com/rokucommunity/brighterscript/compare/v0.18.1...v0.18.2
|
|
1154
|
-
[0.19.0]: https://github.com/rokucommunity/brighterscript/compare/v0.18.2...v0.19.0
|
|
1155
|
-
[0.20.0]: https://github.com/rokucommunity/brighterscript/compare/v0.19.0...v0.20.0
|
|
1156
|
-
[0.20.1]: https://github.com/rokucommunity/brighterscript/compare/v0.20.0...v0.20.1
|
|
1157
|
-
[0.21.0]: https://github.com/rokucommunity/brighterscript/compare/v0.20.1...v0.21.0
|
|
1158
|
-
[0.22.0]: https://github.com/rokucommunity/brighterscript/compare/v0.21.0...v0.22.0
|
|
1159
|
-
[0.22.1]: https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1
|
|
1160
|
-
[0.22.1]: https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1
|
|
1161
|
-
[0.23.0]: https://github.com/rokucommunity/brighterscript/compare/v0.22.1...v0.23.0
|
|
1162
|
-
[0.23.1]: https://github.com/rokucommunity/brighterscript/compare/v0.23.0...v0.23.1
|
|
1163
|
-
[0.23.2]: https://github.com/rokucommunity/brighterscript/compare/v0.23.1...v0.23.2
|
|
1164
|
-
[0.24.0]: https://github.com/rokucommunity/brighterscript/compare/v0.23.2...v0.24.0
|
|
1165
|
-
[0.24.1]: https://github.com/rokucommunity/brighterscript/compare/v0.24.0...v0.24.1
|
|
1166
|
-
[0.24.2]: https://github.com/rokucommunity/brighterscript/compare/v0.24.1...v0.24.2
|
|
1167
|
-
[0.25.0]: https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0
|
|
1168
|
-
[0.26.0]: https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0
|
|
1169
|
-
[0.27.0]: https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0
|
|
1170
|
-
[0.28.0]: https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0
|
|
1171
|
-
[0.28.1]: https://github.com/rokucommunity/brighterscript/compare/v0.28.0...v0.28.1
|
|
1172
|
-
[0.28.2]: https://github.com/rokucommunity/brighterscript/compare/v0.28.1...v0.28.2
|
|
1173
|
-
[0.29.0]: https://github.com/rokucommunity/brighterscript/compare/v0.28.2...v0.29.0
|
|
1174
|
-
[0.30.0]: https://github.com/rokucommunity/brighterscript/compare/v0.29.0...v0.30.0
|
|
1175
|
-
[0.30.1]: https://github.com/rokucommunity/brighterscript/compare/v0.30.0...v0.30.1
|
|
1176
|
-
[0.30.2]: https://github.com/rokucommunity/brighterscript/compare/v0.30.1...v0.30.2
|
|
1177
|
-
[0.30.3]: https://github.com/rokucommunity/brighterscript/compare/v0.30.2...v0.30.3
|
|
1178
|
-
[0.30.4]: https://github.com/rokucommunity/brighterscript/compare/v0.30.3...v0.30.4
|
|
1179
|
-
[0.30.5]: https://github.com/rokucommunity/brighterscript/compare/v0.30.4...v0.30.5
|
|
1180
|
-
[0.30.6]: https://github.com/rokucommunity/brighterscript/compare/v0.30.5...v0.30.6
|
|
1181
|
-
[0.30.7]: https://github.com/rokucommunity/brighterscript/compare/v0.30.6...v0.30.7
|
|
1182
|
-
[0.30.8]: https://github.com/rokucommunity/brighterscript/compare/v0.30.7...v0.30.8
|
|
1183
|
-
[0.30.9]: https://github.com/rokucommunity/brighterscript/compare/v0.30.8...v0.30.9
|
|
1184
|
-
[0.31.0]: https://github.com/rokucommunity/brighterscript/compare/v0.30.9...v0.31.0
|
|
1185
|
-
[0.31.1]: https://github.com/rokucommunity/brighterscript/compare/v0.31.0...v0.31.1
|
|
1186
|
-
[0.31.2]: https://github.com/rokucommunity/brighterscript/compare/v0.31.1...v0.31.2
|
|
1187
|
-
[0.32.2]: https://github.com/rokucommunity/brighterscript/compare/v0.31.2...v0.32.2
|
|
1188
|
-
[0.32.3]: https://github.com/rokucommunity/brighterscript/compare/v0.32.2...v0.32.3
|
|
1189
|
-
[0.33.0]: https://github.com/rokucommunity/brighterscript/compare/v0.32.3...v0.33.0
|
|
1190
|
-
[0.34.0]: https://github.com/rokucommunity/brighterscript/compare/v0.33.0...v0.34.0
|
|
1191
|
-
[0.34.1]: https://github.com/rokucommunity/brighterscript/compare/v0.34.0...v0.34.1
|
|
1192
|
-
[0.34.2]: https://github.com/rokucommunity/brighterscript/compare/v0.34.1...v0.34.2
|
|
1193
|
-
[0.34.3]: https://github.com/rokucommunity/brighterscript/compare/v0.34.2...v0.34.3
|
|
1194
|
-
[0.35.0]: https://github.com/rokucommunity/brighterscript/compare/v0.34.3...v0.35.0
|
|
1195
|
-
[0.36.0]: https://github.com/rokucommunity/brighterscript/compare/v0.35.0...v0.36.0
|
|
1196
|
-
[0.37.0]: https://github.com/rokucommunity/brighterscript/compare/v0.36.0...v0.37.0
|
|
1197
|
-
[0.37.1]: https://github.com/rokucommunity/brighterscript/compare/v0.37.0...v0.37.1
|
|
1198
|
-
[0.37.2]: https://github.com/rokucommunity/brighterscript/compare/v0.37.1...v0.37.2
|
|
1199
|
-
[0.37.3]: https://github.com/rokucommunity/brighterscript/compare/v0.37.2...v0.37.3
|
|
1200
|
-
[0.37.4]: https://github.com/rokucommunity/brighterscript/compare/v0.37.3...v0.37.4
|
|
1201
|
-
[0.38.0]: https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v0.38.0
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|