brighterscript 0.69.3 → 0.69.5

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 DELETED
@@ -1,1994 +0,0 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
-
4
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
-
7
-
8
-
9
- ## [0.69.3](https://github.com/rokucommunity/brighterscript/compare/v0.69.2...v0.69.3) - 2025-03-20
10
- ### Changed
11
- - Adds `Alias` statement syntax from v1 to v0 ([#1430](https://github.com/rokucommunity/brighterscript/pull/1430))
12
- - Remove temporary code that was accidentally committed ([#1432](https://github.com/rokucommunity/brighterscript/pull/1432))
13
- ### Fixed
14
- - Fixed `getClosestExpression` bug to return `undefined` when position not found ([#1433](https://github.com/rokucommunity/brighterscript/pull/1433))
15
-
16
-
17
-
18
- ## [0.69.2](https://github.com/rokucommunity/brighterscript/compare/v0.69.1...v0.69.2) - 2025-03-13
19
- ### Changed
20
- - Significantly improve the performance of standardizePath ([#1425](https://github.com/rokucommunity/brighterscript/pull/1425))
21
- - Backport v1 typecast syntax to v0 ([#1421](https://github.com/rokucommunity/brighterscript/pull/1421))
22
-
23
-
24
-
25
- ## [0.69.1](https://github.com/rokucommunity/brighterscript/compare/v0.69.0...v0.69.1) - 2025-03-10
26
- ### Changed
27
- - Prevent running the lsp project in a worker thread ([#1423](https://github.com/rokucommunity/brighterscript/pull/1423))
28
-
29
-
30
-
31
- ## [0.69.0](https://github.com/rokucommunity/brighterscript/compare/v0.68.5...v0.69.0) - 2025-02-10
32
- ### Changed
33
- - Language Server Rewrite ([#993](https://github.com/rokucommunity/brighterscript/pull/993))
34
-
35
-
36
-
37
- ## [0.68.5](https://github.com/rokucommunity/brighterscript/compare/v0.68.4...v0.68.5) - 2025-02-06
38
- ### Added
39
- - Add experimental `validate` flag to ProgramBuilder.run() ([#1409](https://github.com/rokucommunity/brighterscript/pull/1409))
40
-
41
-
42
-
43
- ## [0.68.4](https://github.com/rokucommunity/brighterscript/compare/v0.68.3...v0.68.4) - 2025-01-22
44
- ### Changed
45
- - upgrade to [roku-deploy@3.12.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3124---2025-01-22). Notable changes since 3.12.3:
46
- - fixed an issue with 577 error codes ([roku-deploy#182](https://github.com/rokucommunity/roku-deploy/pull/182))
47
-
48
-
49
-
50
- ## [0.68.3](https://github.com/rokucommunity/brighterscript/compare/v0.68.2...v0.68.3) - 2025-01-13
51
- ### Changed
52
- - Export more items ([#1394](https://github.com/rokucommunity/brighterscript/pull/1394))
53
- ### Fixed
54
- - Fix class transpile issue with child class constructor not inherriting parent params ([#1390](https://github.com/rokucommunity/brighterscript/pull/1390))
55
-
56
-
57
-
58
- ## [0.68.2](https://github.com/rokucommunity/brighterscript/compare/v0.68.1...v0.68.2) - 2024-12-06
59
- ### Changed
60
- - Add more convenience exports from vscode-languageserver ([#1359](https://github.com/rokucommunity/brighterscript/pull/1359))
61
- - upgrade to [roku-deploy@3.12.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3123---2024-12-06). Notable changes since 3.12.2:
62
- - Fix issues with detecting "check for updates required" ([roku-deploy#181](https://github.com/rokucommunity/roku-deploy/pull/181))
63
- - Identify when a 577 error is thrown, send a new developer friendly message ([roku-deploy#180](https://github.com/rokucommunity/roku-deploy/pull/180))
64
- - Bump dependencies to remove audit issues ([roku-deploy#178](https://github.com/rokucommunity/roku-deploy/pull/178))
65
-
66
-
67
-
68
- ## [0.68.1](https://github.com/rokucommunity/brighterscript/compare/v0.68.0...v0.68.1) - 2024-11-26
69
- ### Added
70
- - Add Namespace Source Literals ([#1354](https://github.com/rokucommunity/brighterscript/pull/1354))
71
- - Language server crash fix ([#1353](https://github.com/rokucommunity/brighterscript/pull/1353))
72
- ### Fixed
73
- - Fix bug with ternary transpile for indexed set ([#1357](https://github.com/rokucommunity/brighterscript/pull/1357))
74
- - Enhance lexer to support long numeric literals with type designators ([#1351](https://github.com/rokucommunity/brighterscript/pull/1351))
75
-
76
-
77
-
78
- ## [0.68.0](https://github.com/rokucommunity/brighterscript/compare/v0.67.8...v0.68.0) - 2024-11-21
79
- ### Changed
80
- - Fix issues with the ast walkArray function ([#1347](https://github.com/rokucommunity/brighterscript/pull/1347))
81
- - Optimize ternary transpilation for assignments ([#1341](https://github.com/rokucommunity/brighterscript/pull/1341))
82
-
83
-
84
-
85
- ## [0.67.8](https://github.com/rokucommunity/brighterscript/compare/v0.67.7...v0.67.8) - 2024-10-18
86
- ### Changed
87
- - upgrade to [roku-deploy@3.12.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3122---2024-10-18). Notable changes since 3.12.1:
88
- - fixes #175 - updated regex to find a signed package on `/plugin_package` page ([roku-deploy#176](https://github.com/rokucommunity/roku-deploy/pull/176))
89
- ### Fixed
90
- - namespace-relative transpile bug for standalone file ([#1324](https://github.com/rokucommunity/brighterscript/pull/1324))
91
- - Prevent crash when `ProgramBuilder.run` called with no options ([#1316](https://github.com/rokucommunity/brighterscript/pull/1316))
92
-
93
-
94
-
95
- ## [0.67.7](https://github.com/rokucommunity/brighterscript/compare/v0.67.6...v0.67.7) - 2024-09-25
96
- ### Changed
97
- - Ast node clone ([#1281](https://github.com/rokucommunity/brighterscript/pull/1281))
98
-
99
-
100
-
101
- ## [0.67.6](https://github.com/rokucommunity/brighterscript/compare/v0.67.5...v0.67.6) - 2024-09-05
102
- ### Added
103
- - support for `roIntrinsicDouble` ([#1291](https://github.com/rokucommunity/brighterscript/pull/1291))
104
- - support for resolving `sourceRoot` at time of config load ([#1290](https://github.com/rokucommunity/brighterscript/pull/1290))
105
- ### Changed
106
- - document plugin naming convention ([#1284](https://github.com/rokucommunity/brighterscript/pull/1284))
107
-
108
-
109
-
110
- ## [0.67.5](https://github.com/rokucommunity/brighterscript/compare/v0.67.4...v0.67.5) - 2024-07-31
111
- ### Fixed
112
- - templatestring support for `annotation.getArguments()` ([#1264](https://github.com/rokucommunity/brighterscript/pull/1264))
113
-
114
-
115
-
116
- ## [0.67.4](https://github.com/rokucommunity/brighterscript/compare/v0.67.3...v0.67.4) - 2024-07-24
117
- ### Changed
118
- - upgrade to [roku-deploy@3.12.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3121---2024-07-19). Notable changes since 3.12.0:
119
- - Fix bug with absolute paths and getDestPath ([roku-deploy#171](https://github.com/rokucommunity/roku-deploy/pull/171))
120
-
121
-
122
-
123
- ## [0.67.3](https://github.com/rokucommunity/brighterscript/compare/v0.67.2...v0.67.3) - 2024-06-14
124
- ### Changed
125
- - Flag using devDependency in production code ([#1222](https://github.com/rokucommunity/brighterscript/pull/1222))
126
- ### Fixed
127
- - Fix crash with missing scope ([#1234](https://github.com/rokucommunity/brighterscript/pull/1234))
128
- - fix: conform bsconfig.schema.json to strict types ([#1205](https://github.com/rokucommunity/brighterscript/pull/1205))
129
-
130
-
131
-
132
- ## [0.67.2](https://github.com/rokucommunity/brighterscript/compare/v0.67.1...v0.67.2) - 2024-06-03
133
- ### Changed
134
- - Fix crash with optional chaining in signature help ([#1207](https://github.com/rokucommunity/brighterscript/pull/1207))
135
-
136
-
137
-
138
- ## [0.67.1](https://github.com/rokucommunity/brighterscript/compare/v0.67.0...v0.67.1) - 2024-05-16
139
- ### Fixed
140
- - remove ascii color chars in language server logs ([#1189](https://github.com/rokucommunity/brighterscript/pull/1189))
141
- - crash when diagnostic is missing range ([#1174](https://github.com/rokucommunity/brighterscript/pull/1174))
142
-
143
-
144
-
145
- ## [0.67.0](https://github.com/rokucommunity/brighterscript/compare/v0.65.27...v0.67.0) - 2024-05-10
146
- ### Changed
147
- - Fix formatting with logger output ([#1171](https://github.com/rokucommunity/brighterscript/pull/1171))
148
- - Move function calls to separate diagnostic ([#1169](https://github.com/rokucommunity/brighterscript/pull/1169))
149
- - resolve the stagingDir option relative to the bsconfig.json file ([#1148](https://github.com/rokucommunity/brighterscript/pull/1148))
150
- - Upgrade to @rokucommunity/logger ([#1137](https://github.com/rokucommunity/brighterscript/pull/1137))
151
-
152
-
153
-
154
- ## 0.66.0
155
- This release was skipped because we decided to change from the v0.66 alphas to move those breaking changes into v1.
156
-
157
-
158
-
159
- ## [0.65.27](https://github.com/rokucommunity/brighterscript/compare/v0.65.26...v0.65.27) - 2024-03-27
160
- ### Added
161
- - Plugin hook provide workspace symbol ([#1118](https://github.com/rokucommunity/brighterscript/pull/1118))
162
- - Plugin hook for documentSymbol ([#1116](https://github.com/rokucommunity/brighterscript/pull/1116))
163
- ### Changed
164
- - Upgade LSP packages ([#1117](https://github.com/rokucommunity/brighterscript/pull/1117))
165
- ### Fixed
166
- - Improve workspace/document symbol handling ([#1120](https://github.com/rokucommunity/brighterscript/pull/1120))
167
- - Increase max param count diagnostic to 63 ([#1112](https://github.com/rokucommunity/brighterscript/pull/1112))
168
-
169
-
170
-
171
- ## [0.65.26](https://github.com/rokucommunity/brighterscript/compare/v0.65.25...v0.65.26) - 2024-03-13
172
- ### Fixed
173
- - Prevent unused variable warnings on transpiled ternary and null coalescence expressions ([#1101](https://github.com/rokucommunity/brighterscript/pull/1101))
174
-
175
-
176
-
177
- ## [0.65.25](https://github.com/rokucommunity/brighterscript/compare/v0.65.24...v0.65.25) - 2024-03-07
178
- ### Added
179
- - Allow negative patterns in diagnostic filters ([#1078](https://github.com/rokucommunity/brighterscript/pull/1078))
180
- - Support when tokens have null ranges ([#1072](https://github.com/rokucommunity/brighterscript/pull/1072))
181
- - Support whitespace in conditional compile keywords ([#1090](https://github.com/rokucommunity/brighterscript/pull/1090))
182
- ### Changed
183
- - Add `create-test-package` command for easier tgz testing ([#1088](https://github.com/rokucommunity/brighterscript/pull/1088))
184
- - Bump ip from 2.0.0 to 2.0.1 in /benchmarks ([#1079](https://github.com/rokucommunity/brighterscript/pull/1079))
185
- - Reduce null safety issues in Statement and Expression subclasses ([#1033](https://github.com/rokucommunity/brighterscript/pull/1033))
186
-
187
-
188
-
189
- ## [0.65.24](https://github.com/rokucommunity/brighterscript/compare/v0.65.23...v0.65.24) - 2024-03-01
190
- ### Changed
191
- - upgrade to [roku-deploy@3.12.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3120---2024-03-01). Notable changes since 3.11.3:
192
- - Support overriding various package upload form data ([roku-deploy#136](https://github.com/rokucommunity/roku-deploy/pull/136))
193
-
194
-
195
-
196
- ## [0.65.23](https://github.com/rokucommunity/brighterscript/compare/v0.65.22...v0.65.23) - 2024-02-29
197
- ### Changed
198
- - upgrade to [roku-deploy@3.11.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3113---2024-02-29). Notable changes since 3.11.2:
199
- - Retry the convertToSquahsfs request given the HPE_INVALID_CONSTANT error ([roku-deploy#145](https://github.com/rokucommunity/roku-deploy/pull/145))
200
- ### Fixed
201
- - empty interfaces break the parser ([#1082](https://github.com/rokucommunity/brighterscript/pull/1082))
202
-
203
-
204
- ## [0.65.22](https://github.com/rokucommunity/brighterscript/compare/v0.65.21...0.65.22) - 2024-02-09
205
- ### Added
206
- - support for `provideReferences` in plugins ([#1066](https://github.com/rokucommunity/brighterscript/pull/1066))
207
- - allow v1 syntax: built-in types for class member types and type declarations on lhs ([#1059](https://github.com/rokucommunity/brighterscript/pull/1059))
208
- ### Changed
209
- - fix sourcemap comment and add `file` prop to map ([#1064](https://github.com/rokucommunity/brighterscript/pull/1064))
210
- - move `coveralls-next` to a devDependency since it's not needed at runtime ([#1051](https://github.com/rokucommunity/brighterscript/pull/1051))
211
-
212
-
213
-
214
- ## [0.65.21](https://github.com/rokucommunity/brighterscript/compare/v0.65.20...v0.65.21) - 2024-01-31
215
- ### Fixed
216
- - parsing issues with multi-index IndexedSet and IndexedGet ([#1050](https://github.com/rokucommunity/brighterscript/pull/1050))
217
-
218
-
219
-
220
- ## [0.65.20](https://github.com/rokucommunity/brighterscript/compare/v0.65.19...v0.65.20) - 2024-01-30
221
- ### Added
222
- - plugin hooks for getDefinition ([#1045](https://github.com/rokucommunity/brighterscript/pull/1045))
223
-
224
-
225
-
226
- ## [0.65.19](https://github.com/rokucommunity/brighterscript/compare/v0.65.18...v0.65.19) - 2024-01-30
227
- ### Changed
228
- - Backport v1 syntax changes ([#1034](https://github.com/rokucommunity/brighterscript/pull/1034))
229
-
230
-
231
-
232
- ## [0.65.18](https://github.com/rokucommunity/brighterscript/compare/v0.65.17...v0.65.18) - 2024-01-25
233
- ### Changed
234
- - Refactor bsconfig documentation ([#1024](https://github.com/rokucommunity/brighterscript/pull/1024))
235
- - Prevent overwriting `Program._manifest` if already set on startup ([#1027](https://github.com/rokucommunity/brighterscript/pull/1027))
236
- - Improving null safety: Add FinalizedBsConfig and tweak plugin events ([#1000](https://github.com/rokucommunity/brighterscript/pull/1000))
237
-
238
-
239
-
240
- ## [0.65.17](https://github.com/rokucommunity/brighterscript/compare/v0.65.16...0.65.17) - 2024-01-16
241
- ### Changed
242
- - add documentation on pruneEmptyCodeFiles to the README ([#1012](https://github.com/rokucommunity/brighterscript/pull/1012))
243
- - assign .program to the builder BEFORE calling afterProgram ([#1011](https://github.com/rokucommunity/brighterscript/pull/1011))
244
- ### Fixed
245
- - properly handle `libpkg:/` prefix for script imports ([#1017](https://github.com/rokucommunity/brighterscript/pull/1017))
246
-
247
-
248
-
249
- ## [0.65.16](https://github.com/rokucommunity/brighterscript/compare/v0.65.15...v0.65.16) - 2024-01-08
250
- ### Added
251
- - Add `pruneEmptyCodeFiles` option to prevent publishing of empty files and exclude unnecessary script imports ([#997](https://github.com/rokucommunity/brighterscript/pull/997))
252
- ### Changed
253
- - chore: improve null safety ([#996](https://github.com/rokucommunity/brighterscript/pull/996))
254
-
255
-
256
-
257
- ## [0.65.15](https://github.com/rokucommunity/brighterscript/compare/v0.65.14...v0.65.15) - 2023-12-26
258
- ### Fixed
259
- - Prevent errors when using enums in a file that's not included in any scopes ([#995](https://github.com/rokucommunity/brighterscript/pull/995))
260
-
261
-
262
-
263
- ## [0.65.14](https://github.com/rokucommunity/brighterscript/compare/v0.65.13...v0.65.14) - 2023-12-20
264
- ### Fixed
265
- - multi-namespace class inheritance transpile bug ([#990](https://github.com/rokucommunity/brighterscript/pull/990))
266
- ### Changed
267
- - flag missing function references for `onChange` function ([#941](https://github.com/rokucommunity/brighterscript/pull/941))
268
- - upgrade to [roku-deploy@3.11.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3112---2023-12-20). Notable changes since 3.11.1:
269
- - Update wrong host password error message ([roku-deploy#134](https://github.com/rokucommunity/roku-deploy/pull/134))
270
-
271
-
272
-
273
- ## [0.65.13](https://github.com/rokucommunity/brighterscript/compare/v0.65.12...v0.65.13) - 2023-12-08
274
- ### Fixed
275
- - broken enum transpiling ([#985](https://github.com/rokucommunity/brighterscript/pull/985))
276
-
277
-
278
-
279
- ## [0.65.12](https://github.com/rokucommunity/brighterscript/compare/v0.65.11...v0.65.12) - 2023-12-07
280
- ### Added
281
- - `optional` modifier for interface and class members ([#955](https://github.com/rokucommunity/brighterscript/pull/955))
282
- - manifest loading from files ([#942](https://github.com/rokucommunity/brighterscript/pull/942))
283
- ### Changed
284
- - use regex for faster manifest/typedef detection ([#976](https://github.com/rokucommunity/brighterscript/pull/976))
285
- - out-of-date transpile blocks in docs ([#956](https://github.com/rokucommunity/brighterscript/pull/956))
286
- ### Fixed
287
- - Correct RANGE in template string when dealing with quotes in annotations ([#975](https://github.com/rokucommunity/brighterscript/pull/975))
288
-
289
-
290
-
291
- ## [0.65.11](https://github.com/rokucommunity/brighterscript/compare/v0.65.10...v0.65.11) - 2023-11-30
292
- ### Changed
293
- - upgrade to [roku-deploy@3.11.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3111---2023-11-30). Notable changes since 3.10.5:
294
- - Wait for file stream to close before resolving promise ([roku-deploy#133](https://github.com/rokucommunity/roku-deploy/pull/133))
295
- ### Fixed
296
- - enums as class initial values ([#950](https://github.com/rokucommunity/brighterscript/pull/950))
297
-
298
-
299
-
300
- ## [0.65.10](https://github.com/rokucommunity/brighterscript/compare/v0.65.9...v0.65.10) - 2023-11-14
301
- ### Changed
302
- - upgrade to [roku-deploy@3.10.5](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3105---2023-11-14). Notable changes since 3.10.4:
303
- - Add better device-info docs ([roku-deploy#128](https://github.com/rokucommunity/roku-deploy/pull/128))
304
- - Added some more message grabbing logic ([roku-deploy#127](https://github.com/rokucommunity/roku-deploy/pull/127))
305
-
306
-
307
-
308
- ## [0.65.9](https://github.com/rokucommunity/brighterscript/compare/v0.65.8...v0.65.9) - 2023-11-06
309
- ### Changed
310
- - upgrade to [roku-deploy@3.10.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3104---2023-11-03). Notable changes since 3.10.3:
311
- - Enhance getDeviceInfo() method ([roku-deploy#120](https://github.com/rokucommunity/roku-deploy/pull/120))
312
- ### Fixed
313
- - issue with unary expression parsing ([#938](https://github.com/rokucommunity/brighterscript/pull/938))
314
-
315
-
316
-
317
- ## [0.65.8](https://github.com/rokucommunity/brighterscript/compare/v0.65.7...v0.65.8) - 2023-10-06
318
- ### Added
319
- - interface parameter support ([#924](https://github.com/rokucommunity/brighterscript/pull/924))
320
- ### Changed
321
- - Bump postcss from 8.2.15 to 8.4.31 ([#928](https://github.com/rokucommunity/brighterscript/pull/928))
322
- ### Fixed
323
- - chore: fix typescript typing for `Deferred` ([#923](https://github.com/rokucommunity/brighterscript/pull/923))
324
-
325
-
326
-
327
- ## [0.65.7](https://github.com/rokucommunity/brighterscript/compare/v0.65.6...v0.65.7) - 2023-09-28
328
- ### Fixed
329
- - fix bug in --noproject flag logic ([#922](https://github.com/rokucommunity/brighterscript/pull/922))
330
-
331
-
332
-
333
- ## [0.65.6](https://github.com/rokucommunity/brighterscript/compare/v0.65.5...v0.65.6) - 2023-09-28
334
- ### Added
335
- - `noProject` flag to bsc so `bsconfig.json` loading can be skipped entirely even if present ([#868](https://github.com/rokucommunity/brighterscript/pull/868))
336
- ### Changed
337
- - docs: add some more details to the plugins ([#913](https://github.com/rokucommunity/brighterscript/pull/913))
338
- - docs: add missing emitDefinitions ([#893](https://github.com/rokucommunity/brighterscript/pull/893))
339
- ### Fixed
340
- - incorrect quasi location in template string ([#921](https://github.com/rokucommunity/brighterscript/pull/921))
341
- - `UnaryExpression` transpile for namespace and const ([#914](https://github.com/rokucommunity/brighterscript/pull/914))
342
-
343
-
344
-
345
- ## [0.65.5](https://github.com/rokucommunity/brighterscript/compare/v0.65.4...v0.65.5) - 2023-09-06
346
- ### Added
347
- - support overriding bs_const values in bsconfig ([#887](https://github.com/rokucommunity/brighterscript/pull/887))
348
- - allow optionally specifying bslib destination directory ([#871](https://github.com/rokucommunity/brighterscript/pull/871))
349
- - Print diagnostic related information ([#867](https://github.com/rokucommunity/brighterscript/pull/867))
350
- ### Fixed
351
- - ensure consistent insertion of bslib.brs ([#870](https://github.com/rokucommunity/brighterscript/pull/870))
352
- - Fix crashes in util for null ranges ([#869](https://github.com/rokucommunity/brighterscript/pull/869))
353
- - Fix tab issue when printing diagnostics ([#865](https://github.com/rokucommunity/brighterscript/pull/865))
354
-
355
-
356
-
357
- ## [0.65.4](https://github.com/rokucommunity/brighterscript/compare/v0.65.3...v0.65.4) - 2023-07-24
358
- ### Changed
359
- - Install `v8-profiler-next` on demand instead of being a dependency ([#854](https://github.com/rokucommunity/brighterscript/pull/854))
360
-
361
-
362
-
363
- ## [0.65.3](https://github.com/rokucommunity/brighterscript/compare/v0.65.2...v0.65.3) - 2023-07-22
364
- ### Changed
365
- - Show busy spinner for lsp builds. Remove `build-status` event in favor of new `busy-status` ([#852](https://github.com/rokucommunity/brighterscript/pull/852))
366
- - upgrade to [roku-deploy@3.10.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3103---2023-07-22). Notable changes since 3.10.2:
367
- - Bump word-wrap from 1.2.3 to 1.2.4 ([roku-deploy#117](https://github.com/rokucommunity/roku-deploy/pull/117))
368
- - Bump word-wrap from 1.2.3 to 1.2.4 ([#851](https://github.com/rokucommunity/brighterscript/pull/851))
369
-
370
-
371
-
372
- ## [0.65.2](https://github.com/rokucommunity/brighterscript/compare/v0.65.1...v0.65.2) - 2023-07-17
373
- ### Added
374
- - beforeProgramDispose event ([#844](https://github.com/rokucommunity/brighterscript/pull/844)), ([#845](https://github.com/rokucommunity/brighterscript/pull/845))
375
- - profiling support to the cli via the `--profile` flag ([#833](https://github.com/rokucommunity/brighterscript/pull/833))
376
- ### Changed
377
- - Make component ready on afterScopeCreate ([#843](https://github.com/rokucommunity/brighterscript/pull/843))
378
- - Add project index to language server log entries ([#836](https://github.com/rokucommunity/brighterscript/pull/836))
379
- - Prevent crashing when diagnostic is missing range. ([#832](https://github.com/rokucommunity/brighterscript/pull/832))
380
- - Prevent crash when diagnostic is missing range ([#831](https://github.com/rokucommunity/brighterscript/pull/831))
381
- - Add baseline interface docs ([#829](https://github.com/rokucommunity/brighterscript/pull/829))
382
-
383
-
384
-
385
- ## [0.65.1](https://github.com/rokucommunity/brighterscript/compare/v0.65.0...v0.65.1) - 2023-06-09
386
- ### Fixed
387
- - injection of duplicate super calls into classes ([#823](https://github.com/rokucommunity/brighterscript/pull/823))
388
-
389
-
390
-
391
- ## [0.65.0](https://github.com/rokucommunity/brighterscript/compare/v0.64.4...v0.65.0) - 2023-05-17
392
- ### Changed
393
- - npm audit fixes. upgrade to coveralls-next ([43756d8](https://github.com/rokucommunity/brighterscript/commit/43756d8))
394
- - Improve findChild and findAncestor AST methods ([#807](https://github.com/rokucommunity/brighterscript/pull/807))
395
-
396
-
397
-
398
- ## [0.64.4](https://github.com/rokucommunity/brighterscript/compare/v0.64.3...v0.64.4) - 2023-05-10
399
- ### Changed
400
- - upgrade to [roku-deploy@3.10.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3102---2023-05-10). Notable changes since 3.10.1:
401
- - Fix audit issues ([roku-deploy#116](https://github.com/rokucommunity/roku-deploy/pull/116))
402
- - fix nodejs 19 bug ([roku-deploy#115](https://github.com/rokucommunity/roku-deploy/pull/115))
403
-
404
-
405
-
406
- ## [0.64.3](https://github.com/rokucommunity/brighterscript/compare/v0.64.2...v0.64.3) - 2023-04-28
407
- ### Changed
408
- - Improves performance in symbol table fetching ([#797](https://github.com/rokucommunity/brighterscript/pull/797))
409
-
410
-
411
-
412
- ## [0.64.2](https://github.com/rokucommunity/brighterscript/compare/v0.64.1...v0.64.2) - 2023-04-18
413
- ### Fixed
414
- - namespace-relative enum value false positive diagnostic ([#793](https://github.com/rokucommunity/brighterscript/pull/793))
415
-
416
-
417
-
418
- ## [0.64.1](https://github.com/rokucommunity/brighterscript/compare/v0.64.0...v0.64.1) - 2023-04-14
419
- ### Changed
420
- - Bump xml2js from 0.4.23 to 0.5.0 ([#790](https://github.com/rokucommunity/brighterscript/pull/790))
421
- - upgrade to [roku-deploy@3.10.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3101---2023-04-14). Notable changes since 3.10.0:
422
- - Bump xml2js from 0.4.23 to 0.5.0 ([roku-deploy#112](https://github.com/rokucommunity/roku-deploy/pull/112))
423
-
424
-
425
-
426
- ## [0.64.0](https://github.com/rokucommunity/brighterscript/compare/v0.63.0...v0.64.0) - 2023-04-04
427
- ### Changed
428
- - Fix namespace-relative items ([#789](https://github.com/rokucommunity/brighterscript/pull/789))
429
-
430
-
431
-
432
- ## [0.63.0](https://github.com/rokucommunity/brighterscript/compare/v0.62.0...v0.63.0) - 2023-03-31
433
- ### Changed
434
- - Wrap transpiled template strings in parens ([#788](https://github.com/rokucommunity/brighterscript/pull/788))
435
- - Simplify the ast range logic ([#784](https://github.com/rokucommunity/brighterscript/pull/784))
436
-
437
-
438
-
439
- ## [0.62.0](https://github.com/rokucommunity/brighterscript/compare/v0.61.3...v0.62.0) - 2023-03-16
440
- ### Added
441
- - `severityOverride` option ([#725](https://github.com/rokucommunity/brighterscript/pull/725))
442
- - Optional chaining assignment validation ([#782](https://github.com/rokucommunity/brighterscript/pull/782))
443
- ### Changed
444
- - Fix transpile bug with optional chaning ([#781](https://github.com/rokucommunity/brighterscript/pull/781))
445
- - Fix crash when func has no block ([#774](https://github.com/rokucommunity/brighterscript/pull/774))
446
- - Move not-referenced check into ProgramValidator ([#773](https://github.com/rokucommunity/brighterscript/pull/773))
447
- - upgrade to [roku-deploy@3.10.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3100---2023-03-16). Notable changes since 3.9.3:
448
- - Use micromatch instead of picomatch ([roku-deploy#109](https://github.com/rokucommunity/roku-deploy/pull/109))
449
-
450
-
451
-
452
- ## [0.61.3](https://github.com/rokucommunity/brighterscript/compare/v0.61.2...0.61.3) - 2023-01-12
453
- ### Changed
454
- - Add diagnostic for passing more than 5 arguments to a callFunc ([#765](https://github.com/rokucommunity/brighterscript/pull/765))
455
- - upgrade to [roku-deploy@3.9.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#393---2023-01-12)
456
-
457
-
458
-
459
- ## [0.61.2](https://github.com/rokucommunity/brighterscript/compare/v0.61.1...0.61.2) - 2022-12-15
460
- ### Changed
461
- - Bump qs from 6.5.2 to 6.5.3 ([#758](https://github.com/rokucommunity/brighterscript/pull/758))
462
-
463
-
464
-
465
- ## [0.61.1](https://github.com/rokucommunity/brighterscript/compare/v0.61.0...0.61.1) - 2022-12-07
466
- ### Fixed
467
- - Ensure enums and interfaces persist in typedefs ([#757](https://github.com/rokucommunity/brighterscript/pull/757))
468
-
469
-
470
-
471
- ## [0.61.0](https://github.com/rokucommunity/brighterscript/compare/v0.60.6...0.61.0) - 2022-12-05
472
- ### Added
473
- - new `removeParameterTypes` option that removes type information from parameters when transpiling ([#744](https://github.com/rokucommunity/brighterscript/pull/744))
474
- ### Fixed
475
- - throttle transpiling to prevent crashes ([#755](https://github.com/rokucommunity/brighterscript/pull/755))
476
- - exception while validating continue statement ([#752](https://github.com/rokucommunity/brighterscript/pull/752))
477
- - add missing visitor params for DottedSetStatement ([#748](https://github.com/rokucommunity/brighterscript/pull/748))
478
- - flag incorrectly nested statements ([#747](https://github.com/rokucommunity/brighterscript/pull/747))
479
-
480
-
481
-
482
- ## [0.60.6](https://github.com/rokucommunity/brighterscript/compare/v0.60.5...0.60.6) - 2022-11-08
483
- ### Fixed
484
- - double `super` call transpile in subclasses ([#740](https://github.com/rokucommunity/brighterscript/pull/740))
485
- - issues with Roku doc scraper and adds missing components ([#736](https://github.com/rokucommunity/brighterscript/pull/736))
486
-
487
-
488
-
489
- ## [0.60.5](https://github.com/rokucommunity/brighterscript/compare/v0.60.4...0.60.5) - 2022-11-03
490
- ### Changed
491
- - Refactor SymbolTable and AST parent logic so that SymbolTables get their parent symbol table from its own (AstNode) ([#732](https://github.com/rokucommunity/brighterscript/pull/732))
492
- ### Fixed
493
- - Significant performance boost in `validate()` by caching `getCallableByName` ([#739](https://github.com/rokucommunity/brighterscript/pull/739))
494
- - Add diagnostic when using namespaces as variables ([#738](https://github.com/rokucommunity/brighterscript/pull/738))
495
- - Fix crash in `getDefinition` ([#734](https://github.com/rokucommunity/brighterscript/pull/734))
496
-
497
-
498
-
499
- ## [0.60.4](https://github.com/rokucommunity/brighterscript/compare/v0.60.3...0.60.4) - 2022-10-28
500
- ### Changed
501
- - Add `name` to symbol table ([#728](https://github.com/rokucommunity/brighterscript/pull/728))
502
- ### Fixed
503
- - Allow `continue` as local var ([#730](https://github.com/rokucommunity/brighterscript/pull/730))
504
- - language server semanticToken request now waits until validate finishes ([#727](https://github.com/rokucommunity/brighterscript/pull/727))
505
-
506
-
507
-
508
- ## [0.60.3](https://github.com/rokucommunity/brighterscript/compare/v0.60.2...0.60.3) - 2022-10-20
509
- ### Changed
510
- - better parse recovery for unknown function parameter types ([#722](https://github.com/rokucommunity/brighterscript/pull/722))
511
-
512
-
513
-
514
- ## [0.60.2](https://github.com/rokucommunity/brighterscript/compare/v0.60.1...0.60.2) - 2022-10-18
515
- ### Fixed
516
- - if statement block var bug ([#698](https://github.com/rokucommunity/brighterscript/pull/698))
517
-
518
-
519
-
520
- ## [0.60.1](https://github.com/rokucommunity/brighterscript/compare/v0.60.0...0.60.1) - 2022-10-18
521
- ### Fixed
522
- - Beter location for bs1042 ([#719](https://github.com/rokucommunity/brighterscript/pull/719))
523
-
524
-
525
-
526
- ## [0.60.0](https://github.com/rokucommunity/brighterscript/compare/v0.59.0...0.60.0) - 2022-10-10
527
- ### Added
528
- - goto definition for enum statements and enum members ([#715](https://github.com/rokucommunity/brighterscript/pull/715))
529
- - nested namespace support ([#708](https://github.com/rokucommunity/brighterscript/pull/708))
530
- ### Changed
531
- - upgrade to [roku-deploy@3.9.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#392---2022-10-03). Notable changes since 3.9.1:
532
- - Replace minimatch with picomatch ([roku-deploy#101](https://github.com/rokucommunity/roku-deploy/pull/101))
533
- ### Fixed
534
- - fixes signature help resolution for callexpressions ([#707](https://github.com/rokucommunity/brighterscript/pull/707))
535
- - Fix transpilation of simple else block with leading comment ([#712](https://github.com/rokucommunity/brighterscript/pull/712))
536
-
537
-
538
-
539
- ## [0.59.0](https://github.com/rokucommunity/brighterscript/compare/v0.58.0...0.59.0) - 2022-10-03
540
- ### Added
541
- - `isThrowStatement` reflection function ([#709](https://github.com/rokucommunity/brighterscript/pull/709))
542
- - Support `pkg:/` paths for `setFile` ([#701](https://github.com/rokucommunity/brighterscript/pull/701))
543
- - Syntax and transpile support for continue statement ([#697](https://github.com/rokucommunity/brighterscript/pull/697))
544
- ### Changed
545
- - Migrate to `stagingDir` away from `stagingFolder` ([#706](https://github.com/rokucommunity/brighterscript/pull/706))
546
- ### Fixed
547
- - Fix enum error for negative values ([#703](https://github.com/rokucommunity/brighterscript/pull/703))
548
-
549
-
550
-
551
- ## [0.58.0](https://github.com/rokucommunity/brighterscript/compare/v0.57.2...0.58.0) - 2022-09-23
552
- ### Added
553
- - AST child searching functionality. ([#695](https://github.com/rokucommunity/brighterscript/pull/695))
554
- - `stagingFolderPath` option to the docs ([f521066](https://github.com/rokucommunity/brighterscript/commit/f521066))
555
- - Create common ancestor for Expression and Statement ([#693](https://github.com/rokucommunity/brighterscript/pull/693))
556
- ### Fixed
557
- - Scope validation performance boost ([#656](https://github.com/rokucommunity/brighterscript/pull/656))
558
- - Finds and includes more deeply embedded expressions ([#696](https://github.com/rokucommunity/brighterscript/pull/696))
559
- ### Changed
560
- - Rename refs to `isClassFieldStatement` and `isClassMethodStatement` ([#694](https://github.com/rokucommunity/brighterscript/pull/694))
561
- - Centralize file path normalization for Program ([#692](https://github.com/rokucommunity/brighterscript/pull/692))
562
- - use outputPath instead of object reference during transpiling to prevent duplicate file collisions ([#691](https://github.com/rokucommunity/brighterscript/pull/691))
563
- - Move file validation into BscPlugin ([#688](https://github.com/rokucommunity/brighterscript/pull/688))
564
- - upgrade to [roku-deploy@3.9.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#391---2022-09-19). Notable changes since 3.8.1:
565
- - Sync retainStagingFolder, stagingFolderPath with options. ([roku-deploy#100](https://github.com/rokucommunity/roku-deploy/pull/100))
566
- - Add stagingDir and retainStagingDir. ([roku-deploy#99](https://github.com/rokucommunity/roku-deploy/pull/99))
567
-
568
-
569
-
570
- ## [0.57.2](https://github.com/rokucommunity/brighterscript/compare/v0.57.1...0.57.2) - 2022-09-08
571
- ### Fixed
572
- - Fix `brightscript.configFile` workspace config bug ([#686](https://github.com/rokucommunity/brighterscript/pull/686))
573
-
574
-
575
-
576
- ## [0.57.1](https://github.com/rokucommunity/brighterscript/compare/v0.57.0...0.57.1) - 2022-09-07
577
- ### Fixed
578
- - fix(parser): consider namespace function transpiled names ([#685](https://github.com/rokucommunity/brighterscript/pull/685))
579
-
580
-
581
-
582
- ## [0.57.0](https://github.com/rokucommunity/brighterscript/compare/v0.56.0...0.57.0) - 2022-09-02
583
- ### Added
584
- - validation for files that are nested too deep ([#680](https://github.com/rokucommunity/brighterscript/pull/680))
585
- ### Changed
586
- - upgrade to [roku-deploy@3.8.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#381---2022-09-02). Notable changes since 3.7.1:
587
- ### Fixed
588
- - Allow `mod` as an aa prop([#684](https://github.com/rokucommunity/brighterscript/pull/684))
589
- - coerce AA member identifier kinds to `TokenKind.Identifier` ([#684](https://github.com/rokucommunity/brighterscript/pull/684))
590
- - Doc Scraper issues ([#585](https://github.com/rokucommunity/brighterscript/pull/585))
591
- - Fix case sensitivity issue with `bs_const` values ([#677](https://github.com/rokucommunity/brighterscript/pull/677))
592
-
593
-
594
-
595
- ## [0.56.0](https://github.com/rokucommunity/brighterscript/compare/v0.55.2...0.56.0) - 2022-08-23
596
- ### Added
597
- - validation for dimmed variables ([#672](https://github.com/rokucommunity/brighterscript/pull/672))
598
- - "--lsp" flag to bsc to start an LSP server ([#668](https://github.com/rokucommunity/brighterscript/pull/668))
599
- ### Fixed
600
- - compile crash for scope-less files ([#674](https://github.com/rokucommunity/brighterscript/pull/674))
601
- - parse error for malformed dim statement ([#673](https://github.com/rokucommunity/brighterscript/pull/673))
602
- - allow const as variable name ([#670](https://github.com/rokucommunity/brighterscript/pull/670))
603
- - crashes for language clients that don't support "workspace/configuration" requests ([#667](https://github.com/rokucommunity/brighterscript/pull/667))
604
-
605
-
606
-
607
- ## [0.55.2](https://github.com/rokucommunity/brighterscript/compare/v0.55.1...0.55.2) - 2022-08-15
608
- ### Fixed
609
- - Dedupe code completions in components ([#664](https://github.com/rokucommunity/brighterscript/pull/664))
610
-
611
-
612
-
613
- ## [0.55.1](https://github.com/rokucommunity/brighterscript/compare/v0.55.0...0.55.1) - 2022-08-07
614
- ### Fixed
615
- - scope-specific diagnostic grouping issue ([#660](https://github.com/rokucommunity/brighterscript/pull/660))
616
- - typescript error for ast parent setting ([#659](https://github.com/rokucommunity/brighterscript/pull/659))
617
-
618
-
619
-
620
- ## [0.55.0](https://github.com/rokucommunity/brighterscript/compare/v0.54.1...0.55.0) - 2022-08-03
621
- ### Added
622
- - a `toJSON` function to SymbolTable ([#655](https://github.com/rokucommunity/brighterscript/pull/655))
623
- - link all brs AST nodes to parent onFileValidate ([#650](https://github.com/rokucommunity/brighterscript/pull/650))
624
- - semantic token color for consts ([#654](https://github.com/rokucommunity/brighterscript/pull/654))
625
- - go-to-definition support for const statements ([#653](https://github.com/rokucommunity/brighterscript/pull/653))
626
- ### Changed
627
- ### Fixed
628
- - bug that wasn't transpiling const expressions when used inside assignment expressions ([#658](https://github.com/rokucommunity/brighterscript/pull/658))
629
- - Performance boost: better function sorting during validation ([#651](https://github.com/rokucommunity/brighterscript/pull/651))
630
- - broken plugin imports with custom cwd ([#652](https://github.com/rokucommunity/brighterscript/pull/652))
631
-
632
-
633
-
634
- ## [0.54.1](https://github.com/rokucommunity/brighterscript/compare/v0.54.0...0.54.1) - 2022-07-22
635
- ### Changed
636
- - Fix bug in languageserver hover provider ([#649](https://github.com/rokucommunity/brighterscript/pull/649))
637
-
638
-
639
-
640
- ## [0.54.0](https://github.com/rokucommunity/brighterscript/compare/v0.53.1...0.54.0) - 2022-07-22
641
- ### Added
642
- - hover for CONST references. ([#648](https://github.com/rokucommunity/brighterscript/pull/648))
643
- - plugins can contribute completions ([#647](https://github.com/rokucommunity/brighterscript/pull/647))
644
- - plugins can contribute hovers ([#393](https://github.com/rokucommunity/brighterscript/pull/393))
645
- ### Changed
646
- - Export some vscode interfaces ([#644](https://github.com/rokucommunity/brighterscript/pull/644))
647
- - Better plugin docs ([#643](https://github.com/rokucommunity/brighterscript/pull/643))
648
-
649
-
650
-
651
- ## [0.53.1](https://github.com/rokucommunity/brighterscript/compare/v0.53.0...0.53.1) - 2022-07-15
652
- ### Fixed
653
- - bug with codeactions at the edges of tokens. ([#642](https://github.com/rokucommunity/brighterscript/pull/642))
654
- - nested namespace import codeActions bug. ([#641](https://github.com/rokucommunity/brighterscript/pull/641))
655
-
656
-
657
-
658
- ## [0.53.0](https://github.com/rokucommunity/brighterscript/compare/v0.52.3...0.53.0) - 2022-07-14
659
- ### Added
660
- - New Language Feature: Constants ([#632](https://github.com/rokucommunity/brighterscript/pull/632))
661
- ### Changed
662
- - Flag top level statements ([#638](https://github.com/rokucommunity/brighterscript/pull/638))
663
- - Flag usage of undefined variables ([#631](https://github.com/rokucommunity/brighterscript/pull/631))
664
- - Use `util.createLocation`, not `Location.create()` ([#637](https://github.com/rokucommunity/brighterscript/pull/637))
665
- - Better project detection by language server ([#633](https://github.com/rokucommunity/brighterscript/pull/633))
666
-
667
-
668
-
669
- ## [0.52.3](https://github.com/rokucommunity/brighterscript/compare/v0.52.2...v0.52.3) - 2022-06-14
670
- ### Fixed
671
- - fix bug with class transpile in watch mode ([#630](https://github.com/rokucommunity/brighterscript/pull/630))
672
- - Send program-triggered `validate()` diagnostics to language client ([#629](https://github.com/rokucommunity/brighterscript/pull/629))
673
- - Emit before/after programTranspile during file transpile preview ([#628](https://github.com/rokucommunity/brighterscript/pull/628))
674
-
675
-
676
-
677
- ## [0.52.2](https://github.com/rokucommunity/brighterscript/compare/v0.52.1...v0.52.2) - 2022-06-13
678
- ### Fixed
679
- - transpile crash when file was changed by a plugin in beforeTranspile events ([#627](https://github.com/rokucommunity/brighterscript/pull/627))
680
- - bug in transpile preview custom command that wasn't returning the result ([#626](https://github.com/rokucommunity/brighterscript/pull/626))
681
- - add missing range on interface statement, causing transpile crashes ([#623](https://github.com/rokucommunity/brighterscript/pull/623))
682
- - transpile enum values in binary expressions ([#622](https://github.com/rokucommunity/brighterscript/pull/622))
683
-
684
-
685
-
686
- ## [0.52.1](https://github.com/rokucommunity/brighterscript/compare/v0.52.0...v0.52.1) - 2022-06-10
687
- ### Fixed
688
- - detect class circular extends ([#619](https://github.com/rokucommunity/brighterscript/pull/619))
689
- - improve namespace/enum/class semantic token detection (better syntax highlighting) ([##621](https://github.com/rokucommunity/brighterscript/pull/#621))
690
-
691
-
692
-
693
- ## [0.52.0](https://github.com/rokucommunity/brighterscript/compare/v0.51.4...v0.52.0) - 2022-06-08
694
- ### Added
695
- - LanguageServer: Load projects based on bsconfig.json presence ([#613](https://github.com/rokucommunity/brighterscript/pull/613))
696
- ### Changed
697
- - upgrade to [roku-deploy@3.7.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#371---2022-06-08)
698
-
699
-
700
-
701
- ## [0.51.4](https://github.com/rokucommunity/brighterscript/compare/v0.51.3...v0.51.4) - 2022-05-31
702
- ### Fixed
703
- - Add allowBrighterScriptInBrightScript to bsconfig.schema.json ([#610](https://github.com/rokucommunity/brighterscript/pull/610))
704
-
705
-
706
-
707
- ## [0.51.3](https://github.com/rokucommunity/brighterscript/compare/v0.51.2...v0.51.3) - 2022-05-31
708
- ### Fixed
709
- - hover for namespace functions ([#606](https://github.com/rokucommunity/brighterscript/pull/606))
710
- ### Changed
711
- - add `owner` and `key` to the visitor callbacks ([#600](https://github.com/rokucommunity/brighterscript/pull/600))
712
-
713
-
714
-
715
- ## [0.51.2](https://github.com/rokucommunity/brighterscript/compare/v0.51.1...v0.51.2) - 2022-05-26
716
- ### Fixed
717
- - allow enums and interfaces as class field types ([#602](https://github.com/rokucommunity/brighterscript/pull/602))
718
-
719
-
720
-
721
- ## [0.51.1](https://github.com/rokucommunity/brighterscript/compare/v0.51.0...v0.51.1) - 2022-05-26
722
- ### Fixed
723
- - allow enums and interfaces as function return types ([#601](https://github.com/rokucommunity/brighterscript/pull/601))
724
- - support AstEditor in visitor editing pattern ([#599](https://github.com/rokucommunity/brighterscript/pull/599))
725
-
726
-
727
-
728
- ## [0.51.0](https://github.com/rokucommunity/brighterscript/compare/v0.50.2...v0.51.0) - 2022-05-24
729
- ### Added
730
- - Add function-based` AstEditor.edit` method ([#598](https://github.com/rokucommunity/brighterscript/pull/598))
731
- - Allow multiple keys for `DependencyGraph.getAllDependencies()` ([#596](https://github.com/rokucommunity/brighterscript/pull/596))
732
-
733
-
734
-
735
- ## [0.50.2](https://github.com/rokucommunity/brighterscript/compare/v0.50.1...v0.50.2) - 2022-05-23
736
- ### Added
737
- - `allowBrighterScriptInBrightScript` config option to allow brighterscript features to be included in BrightScript files, and force those files to be transpiled ([#573](https://github.com/rokucommunity/brighterscript/pull/573))
738
- ### Changed
739
- - upgrade to [roku-deploy@3.7.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#370---2022-05-23)
740
-
741
-
742
-
743
- ## [0.50.1](https://github.com/rokucommunity/brighterscript/compare/v0.50.0...v0.50.1) - 2022-05-18
744
- ### Fixed
745
- - Expose all the AstEditor methods to plugin events ([#593](https://github.com/rokucommunity/brighterscript/pull/593))
746
- - Fix language server cwd issue with multi-root workspaces ([#592](https://github.com/rokucommunity/brighterscript/pull/592))
747
-
748
-
749
-
750
- ## [0.50.0](https://github.com/rokucommunity/brighterscript/compare/v0.49.0...v0.50.0) - 2022-05-17
751
- ### Added
752
- - `srcPath` property on `XmlFile` and `BrsFile` to line up with the v1 branch ([#581](https://github.com/rokucommunity/brighterscript/pull/581))
753
- - more `AstEditor` functions ([#589](https://github.com/rokucommunity/brighterscript/pull/589))
754
- ### Changed
755
- - rename `ClassFieldStatement` and `ClassMethodStatement` to `FieldStatement` and `MethodStatement` respectively to allow their use in non-class-related things ([#582](https://github.com/rokucommunity/brighterscript/pull/582))
756
- ### Fixed
757
- - Fix semantic tokens for enums in if statements ([#584](https://github.com/rokucommunity/brighterscript/pull/584))
758
- - Don't push synthetic constructor into each class ([#586](https://github.com/rokucommunity/brighterscript/pull/586))
759
- - transpile bugs related to class `super` handling ([#590](https://github.com/rokucommunity/brighterscript/pull/590))
760
-
761
-
762
-
763
- ## [0.49.0](https://github.com/rokucommunity/brighterscript/compare/v0.48.1...v0.49.0) - 2022-05-02
764
- ### Added
765
- - allow interfaces and enums as function param types ([#580](https://github.com/rokucommunity/brighterscript/pull/580))
766
- - Transpile files added by plugins after start of transpile cycle ([#578](https://github.com/rokucommunity/brighterscript/pull/578))
767
- - add AstEditor to `beforeProgramTranspile` and `afterProgramTranspile` plugin events ([#576](https://github.com/rokucommunity/brighterscript/pull/576))
768
-
769
-
770
-
771
- ## [0.48.1](https://github.com/rokucommunity/brighterscript/compare/v0.48.0...v0.48.1) - 2022-04-14
772
- ### Fixed
773
- - prevent duplicate `CreateObject` validations showing one for each affected scope ([#568](https://github.com/rokucommunity/brighterscript/pull/568))
774
- - prevent `CreateObject` diagnostics for component library components ([#568](https://github.com/rokucommunity/brighterscript/pull/568))
775
-
776
-
777
-
778
- ## [0.48.0](https://github.com/rokucommunity/brighterscript/compare/v0.47.3...v0.48.0) - 2022-04-13
779
- ### Added
780
- - language support for native BrightScript optional chaining ([#546](https://github.com/rokucommunity/brighterscript/pull/546))
781
- - validation for all known `createObject` values and parameters. ([#435](https://github.com/rokucommunity/brighterscript/pull/435))
782
- ### Fixed
783
- - add missing statements and expressions to `createVisitor` ([#567](https://github.com/rokucommunity/brighterscript/pull/567))
784
-
785
-
786
-
787
- ## [0.47.3](https://github.com/rokucommunity/brighterscript/compare/v0.47.2...v0.47.3) - 2022-04-08
788
- ### Fixed
789
- - accuracy issues when parsing the manifest ([#565](https://github.com/rokucommunity/brighterscript/pull/565))
790
-
791
-
792
-
793
- ## [0.47.2](https://github.com/rokucommunity/brighterscript/compare/v0.47.1...v0.47.2) - 2022-04-07
794
- ### Fixed
795
- - enum transpile bug for binary expressions ([#559](https://github.com/rokucommunity/brighterscript/pull/559))
796
- - add missing `require` entry to `bsconfig.schema.json` ([#560](https://github.com/rokucommunity/brighterscript/pull/560))
797
-
798
-
799
-
800
- ## [0.47.1](https://github.com/rokucommunity/brighterscript/compare/v0.47.0...v0.47.1) - 2022-04-05
801
- ### Changed
802
- - disable strict cli args to empower plugins ([#557](https://github.com/rokucommunity/brighterscript/pull/557))
803
- - don't add trailing commas in transpiled output for array and aa literals ([#556](https://github.com/rokucommunity/brighterscript/pull/556))
804
- - retain quote char when transpiling xml attributes ([#552](https://github.com/rokucommunity/brighterscript/pull/552))
805
-
806
-
807
-
808
- ## [0.47.0](https://github.com/rokucommunity/brighterscript/compare/v0.46.0...v0.47.0) - 2022-03-30
809
- ### Added
810
- - `require` flag to allow loading external node modules as part of the build process (useful for things like `ts-node/register`). ([#550](https://github.com/rokucommunity/brighterscript/pull/550), [#551](https://github.com/rokucommunity/brighterscript/pull/551))
811
-
812
-
813
-
814
- ## [0.46.0](https://github.com/rokucommunity/brighterscript/compare/v0.45.6...v0.46.0) - 2022-03-24
815
- ### Changed
816
- - refactored try-catch statement to make the expressions and bodies easier to access via plugins. [#514](https://github.com/rokucommunity/brighterscript/pull/514)
817
-
818
-
819
-
820
- ## [0.45.6](https://github.com/rokucommunity/brighterscript/compare/v0.45.5...v0.45.6) - 2022-03-17
821
- ### Changed
822
- - upgrade to [roku-deploy@3.5.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#354---2022-03-17) which fixed significant performance issues during globbing. ([roku-deploy#86](https://github.com/rokucommunity/roku-deploy/pull/86))
823
- ### Fixed
824
- - crash when checking for enums to transpile [#539](https://github.com/rokucommunity/brighterscript/pull/539)
825
- - Transpile if statements as written [#537](https://github.com/rokucommunity/brighterscript/pull/537)
826
- - Keep the original type case when transpiling. [#536](https://github.com/rokucommunity/brighterscript/pull/536)
827
- - Show cli usage in plugins documentation
828
-
829
-
830
-
831
- ## [0.45.5](https://github.com/rokucommunity/brighterscript/compare/v0.45.4...v0.45.5) - 2022-03-10
832
- ### Fixed
833
- - bug with typedefs and auto-generated class constructor functions [#535](https://github.com/rokucommunity/brighterscript/pull/535)
834
-
835
-
836
-
837
- ## [0.45.4](https://github.com/rokucommunity/brighterscript/compare/v0.45.3...v0.45.4) - 2022-03-08
838
- ### Fixed
839
- - bug that wasn't computing ownScriptImports after calling `invalidateReferences()` [#529](https://github.com/rokucommunity/brighterscript/pull/529)
840
- - bug with logger.time() not having accurate timings when run asynchronously [#532](https://github.com/rokucommunity/brighterscript/pull/532)
841
-
842
-
843
-
844
- ## [0.45.3](https://github.com/rokucommunity/brighterscript/compare/v0.45.2...v0.45.3) - 2022-02-25
845
- ### Fixed
846
- - source map bug with plugins that used the AST node creation functions depending on `interpolatedRange`. [#528](https://github.com/rokucommunity/brighterscript/pull/528)
847
-
848
-
849
-
850
- ## [0.45.2](https://github.com/rokucommunity/brighterscript/compare/v0.45.1...v0.45.2) - 2022-02-24
851
- ### Changed
852
- - add default token values in creators. [#520](https://github.com/rokucommunity/brighterscript/pull/520)
853
- ### Fixed
854
- - significant memory leak [#527](https://github.com/rokucommunity/brighterscript/pull/527)
855
- - bug with transpiling empty for loop [#519](https://github.com/rokucommunity/brighterscript/pull/519)
856
-
857
-
858
-
859
- ## [0.45.1](https://github.com/rokucommunity/brighterscript/compare/v0.45.0...v0.45.1) - 2022-02-16
860
- ### Changed
861
- - upgrade to [roku-deploy@3.5.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#353---2022-02-16) which fixed a missing typescript definition issue.
862
-
863
-
864
-
865
- ## [0.45.0](https://github.com/rokucommunity/brighterscript/compare/v0.44.0...v0.45.0) - 2022-02-11
866
- ### Added
867
- - `enum` language feature ([#484](https://github.com/rokucommunity/brighterscript/pull/484))
868
- - transpile override for plugins when providing AST edits. ([#511](https://github.com/rokucommunity/brighterscript/pull/511))
869
- - `setFile` method to align with v1. ([#510](https://github.com/rokucommunity/brighterscript/pull/510))
870
- ### Changed
871
- - deprecated `addOrReplaceFile` method to align with v1. ([#510](https://github.com/rokucommunity/brighterscript/pull/510))
872
- - internal `Cache` method now extends `Map` instead of keeping an internal map. ([#509](https://github.com/rokucommunity/brighterscript/pull/509))
873
-
874
-
875
-
876
- ## [0.44.0](https://github.com/rokucommunity/brighterscript/compare/v0.43.1...v0.44.0) - 2022-02-08
877
- ### Added
878
- - `onScopeValidate` plugin event useful when plugins want to contribute scope validations ([#505](https://github.com/rokucommunity/brighterscript/pull/505))
879
- ### Changed
880
- - show plugin transpile modifications in the `getTranspiledFile` callback (used for "show preview" functionality in vscode) ([#502](https://github.com/rokucommunity/brighterscript/pull/502))
881
- - make `Program.getFile` more flexible, and deprecate `Program.getFileByPkgPath`, `Program.getFileByPathAbsolute` ([#506](https://github.com/rokucommunity/brighterscript/pull/506))
882
- - add `Program.getFiles` and deprecate `Program.getFilesByPkgPath` ([#506](https://github.com/rokucommunity/brighterscript/pull/506))
883
- - move file validation plugin event emitting into `Program.validate()` which means you can't trigger those events by calling `File.validate()` anymore. ([#504](https://github.com/rokucommunity/brighterscript/pull/504))
884
- - support generics for `Cache` class ([#503](https://github.com/rokucommunity/brighterscript/pull/503))
885
- ### Fixed
886
- - bug in hover showing required params as optional and optional params as required ([#501](https://github.com/rokucommunity/brighterscript/pull/501))
887
-
888
-
889
-
890
- ## [0.43.1](https://github.com/rokucommunity/brighterscript/compare/v0.43.0...v0.43.1) - 2022-01-28
891
- ### Fixed
892
- - crash when hovering over global functions ([#497](https://github.com/rokucommunity/brighterscript/pull/497))
893
-
894
-
895
-
896
- ## [0.43.0](https://github.com/rokucommunity/brighterscript/compare/v0.42.0...v0.43.0) - 2022-01-28
897
- ### Added
898
- - show function documentation when hovering over functions. ([#495](https://github.com/rokucommunity/brighterscript/pull/495))
899
- - for plugin authors:
900
- - added `beforeFileValidate` and `onFileValidate` plugin hooks ([#490](https://github.com/rokucommunity/brighterscript/pull/490))
901
- - added `expressions` collection to `BrsFile.parser.references` which includes all the full expressions, which can be used instead of AST walking in many cases. ([#487](https://github.com/rokucommunity/brighterscript/pull/487))
902
- ### Changed
903
- - For plugin authors:
904
- - move parse and validate events to `Program` class and out of `XmlFile` and `BrsFile`. This only impacts plugins that depend on the `afterFileParse`, `onFileValidate` and `afterFileValidate` events while also constructing those files with their constructors directly. ([#494](https://github.com/rokucommunity/brighterscript/pull/494))
905
- - removed internal [barrels](https://github.com/basarat/typescript-book/blob/master/docs/tips/barrel.md). This means plugins can no longer do things like: `import { something} from 'brighterscript/some-path'`. All necessary exports can be done from the top-level brighterscript package directly. ([#492](https://github.com/rokucommunity/brighterscript/pull/492))
906
- - use `Map` for `ClassValidator` class lookup instead of an object. ([#481](https://github.com/rokucommunity/brighterscript/pull/481))
907
-
908
-
909
-
910
- ### Fixed
911
- - bug preventing code to come after an interface statement. ([#493](https://github.com/rokucommunity/brighterscript/pull/493))
912
- - don't crash on null options in `printDiagnostics`. ([3147202](https://github.com/rokucommunity/brighterscript/commit/3147202b948d08be198255c068f082857c9de1f0))
913
-
914
- ## [0.42.0](https://github.com/rokucommunity/brighterscript/compare/v0.41.6...v0.42.0) - 2022-01-10
915
- ### Added
916
- - 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))
917
- ### Fixed
918
- - bug in global function parameter checking that was not properly enforcing optional/required status for parameters. ([#479](https://github.com/rokucommunity/brighterscript/pull/479))
919
-
920
-
921
-
922
- ## [0.41.6](https://github.com/rokucommunity/brighterscript/compare/v0.41.5...v0.41.6) - 2022-01-05
923
- ### Fixed
924
- - 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))
925
-
926
-
927
-
928
- ## [0.41.5](https://github.com/rokucommunity/brighterscript/compare/v0.41.4...v0.41.5) - 2021-11-23
929
- ### Fixed
930
- - 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))
931
-
932
-
933
-
934
- ## [0.41.4](https://github.com/rokucommunity/brighterscript/compare/v0.41.3...v0.41.4) - 2021-10-28
935
- ### Fixed
936
- - bug transpiling instant resume xml elements ([#465](https://github.com/rokucommunity/brighterscript/pull/465))
937
-
938
-
939
-
940
- ## [0.41.3](https://github.com/rokucommunity/brighterscript/compare/v0.41.2...v0.41.3) - 2021-10-27
941
- ### Changed
942
- - 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))
943
- ### Fixed
944
- - Allow diagnostic non-numeric disable code comments ([#463](https://github.com/rokucommunity/brighterscript/pull/463)).
945
-
946
-
947
- ## [0.41.2](https://github.com/rokucommunity/brighterscript/compare/v0.41.1...v0.41.2) - 2021-10-17
948
- ### Fixed
949
- - crash when subclass field has same name as ancestor method ([#460](https://github.com/rokucommunity/brighterscript/pull/460)).
950
-
951
-
952
-
953
- ## [0.41.1](https://github.com/rokucommunity/brighterscript/compare/v0.41.0...v0.41.1) - 2021-10-07
954
- ### Fixed
955
- - parse issue with regex literals ([#458](https://github.com/rokucommunity/brighterscript/pull/458)).
956
-
957
-
958
-
959
- ## [0.41.0](https://github.com/rokucommunity/brighterscript/compare/v0.40.1...v0.41.0) - 2021-09-27
960
- ### Added
961
- - Regex literal support in brighterscript ([#452](https://github.com/rokucommunity/brighterscript/pull/452)).
962
-
963
-
964
-
965
- ## [0.40.1](https://github.com/rokucommunity/brighterscript/compare/v0.40.0...v0.40.1) - 2021-09-17
966
- ### Changed
967
- - install roku-deploy@3.4.2 which prevents deploy crashes when target Roku doesn't have an installed channel ([roku-deploy#65](https://github.com/rokucommunity/brighterscript/compare/v0.39.4...v0.40.0))
968
-
969
-
970
-
971
- ## [0.40.0](https://github.com/rokucommunity/brighterscript/compare/v0.39.4...v0.40.0) - 2021-08-02
972
- ### Added
973
- - language support for Interface statements ([#426](https://github.com/rokucommunity/brighterscript/pull/426))
974
- ### Changed
975
- - cli prints the path of any loaded bsconfig.json on startup ([#434](https://github.com/rokucommunity/brighterscript/pull/434))
976
-
977
-
978
-
979
- ## [0.39.4](https://github.com/rokucommunity/brighterscript/compare/v0.39.3...v0.39.4) - 2021-06-27
980
- ### Fixed
981
- - incorrect block range for inline if/then branch ([#424](https://github.com/rokucommunity/brighterscript/pull/424))
982
- - extract associative array comma when parsing ([#427](https://github.com/rokucommunity/brighterscript/pull/424))
983
- - allow up to 6 arguments in `CreateObject` function signature ([#430](https://github.com/rokucommunity/brighterscript/pull/430))
984
- - add v30/bslCore library functions to global callables ([#433](https://github.com/rokucommunity/brighterscript/pull/433))
985
-
986
-
987
- ## [0.39.3](https://github.com/rokucommunity/brighterscript/compare/v0.39.2...v0.39.3) - 2021-06-01
988
- ### Changed
989
- - 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
990
-
991
-
992
-
993
- ## [0.39.2](https://github.com/rokucommunity/brighterscript/compare/v0.39.1...v0.39.2) - 2021-05-28
994
- ### Changed
995
- - 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
996
-
997
-
998
-
999
- ## [0.39.1](https://github.com/rokucommunity/brighterscript/compare/v0.39.0...v0.39.1) - 2021-05-24
1000
- ### Changed
1001
- - re-export `CodeActionKind` so plugins don't need to import from vscode-brightscript-language directly.
1002
- ### Fixed
1003
- - code action for "replace" tasks bug
1004
- - include missing information in the CodeAction construction
1005
-
1006
-
1007
-
1008
- ## [0.39.0](https://github.com/rokucommunity/brighterscript/compare/v0.38.2...v0.39.0) - 2021-05-18
1009
- ### Added
1010
- - semantic token support for plugins
1011
- - basic semantic tokens for `new` statements and namespace usage
1012
-
1013
-
1014
-
1015
- ## [0.38.2](https://github.com/rokucommunity/brighterscript/compare/v0.38.1...v0.38.2) - 2021-05-17
1016
- ### Fixed
1017
- - language server crash when namespaced function or class didn't have a name ([#419](https://github.com/rokucommunity/brighterscript/pull/419))
1018
-
1019
-
1020
-
1021
- ## [0.38.1](https://github.com/rokucommunity/brighterscript/compare/v0.38.0...v0.38.1) - 2021-05-14
1022
- ### Changed
1023
- - 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))
1024
- ### Fixed
1025
- - ParseJson function signature to include second parameter ([#418](https://github.com/rokucommunity/brighterscript/pull/418))
1026
- - bsconfig.schema.json support for string diagnostic codes ([#416](https://github.com/rokucommunity/brighterscript/pull/416))
1027
- - upgrade chokidar to add `--watch` cli support for M1 mac computers ([#386](https://github.com/rokucommunity/brighterscript/pull/386))
1028
- - several dependency vulnerability fixes ([#413](https://github.com/rokucommunity/brighterscript/pull/413), [#410](https://github.com/rokucommunity/brighterscript/pull/410), [#411](https://github.com/rokucommunity/brighterscript/pull/411))
1029
-
1030
-
1031
-
1032
- ## [0.38.0](https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v0.38.0) - 2021-05-04
1033
- ### Added
1034
- - warning for mismatched class method accessibility ([#402](https://github.com/rokucommunity/brighterscript/pull/402))
1035
- - allow class field overrides in child classes as long as they are the same type ([#394](https://github.com/rokucommunity/brighterscript/pull/394))
1036
-
1037
-
1038
-
1039
- ## [0.37.4](https://github.com/rokucommunity/brighterscript/compare/v0.37.3...v0.37.4) - 2021-04-20
1040
- ### Fixed
1041
- - bug validating namespace function calls ([#390](https://github.com/rokucommunity/brighterscript/pull/390))
1042
-
1043
-
1044
-
1045
- ## [0.37.3](https://github.com/rokucommunity/brighterscript/compare/v0.37.2...v0.37.3) - 2021-04-12
1046
- ### Fixed
1047
- - 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))
1048
- - bug in xml file ignoring `needsTranspiled` flag when set by plugins ([#384](https://github.com/rokucommunity/brighterscript/pull/384))
1049
-
1050
-
1051
-
1052
- ## [0.37.2](https://github.com/rokucommunity/brighterscript/compare/v0.37.1...v0.37.2) - 2021-04-08
1053
- ### Fixed
1054
- - erraneous syntax issue when concatenating a template string and a regular string. ([#383](https://github.com/rokucommunity/brighterscript/pull/383))
1055
- - prevent circular import causing stack overflow crash. ([#381](https://github.com/rokucommunity/brighterscript/pull/381))
1056
-
1057
-
1058
-
1059
- ## [0.37.1](https://github.com/rokucommunity/brighterscript/compare/v0.37.0...v0.37.1) - 2021-03-30
1060
- ### Fixed
1061
- - 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))
1062
-
1063
-
1064
-
1065
- ## [0.37.0](https://github.com/rokucommunity/brighterscript/compare/v0.36.0...v0.37.0) - 2021-03-18
1066
- ### Added
1067
- - support for `bs:disable` comments in xml files ([#363](https://github.com/rokucommunity/brighterscript/pull/363))
1068
-
1069
-
1070
-
1071
- ## [0.36.0](https://github.com/rokucommunity/brighterscript/compare/v0.35.0...v0.36.0) - 2021-03-15
1072
- ### Added
1073
- - class import code actions ([#365](https://github.com/rokucommunity/brighterscript/pull/365))
1074
- ### Changed
1075
- - append stack trace to every language server error ([#354)](https://github.com/rokucommunity/brighterscript/pull/354))
1076
- ### Fixed
1077
- - restrict function and class imports to .bs files only ([#365)](https://github.com/rokucommunity/brighterscript/pull/365))
1078
- - language server crashes due to unsafe property access in callfunc expressions ([#360)](https://github.com/rokucommunity/brighterscript/pull/360))
1079
- - crashes in signature help ([#358)](https://github.com/rokucommunity/brighterscript/pull/358))
1080
- - template string transpile bug when two expressions were next to each other ([#361)](https://github.com/rokucommunity/brighterscript/pull/361))
1081
-
1082
-
1083
-
1084
- ## [0.35.0](https://github.com/rokucommunity/brighterscript/compare/v0.34.3...v0.35.0) - 2021-03-09
1085
- ### Added
1086
- - code actions for suggesting import statements in brighterscript files ([#347](https://github.com/rokucommunity/brighterscript/pull/347))
1087
- ### Fixed
1088
- - safer access to nullable callables and values during certain language server operations ([#328](https://github.com/rokucommunity/brighterscript/pull/328))
1089
-
1090
-
1091
-
1092
- ## [0.34.3](https://github.com/rokucommunity/brighterscript/compare/v0.34.2...v0.34.3) -2021-03-05
1093
- ### Fixed
1094
- - bug when transpiling bsc with custom function and parameter return types
1095
-
1096
-
1097
-
1098
- ## [0.34.2](https://github.com/rokucommunity/brighterscript/compare/v0.34.1...v0.34.2) - 2021-03-04
1099
- ### Added
1100
- - support for loading bslib without alias (i.e. `@rokucommunity/bslib`).
1101
- ### Fixed
1102
- - bslib npm alias bug crashing npm install on nodeJS < 12
1103
- - infinite loop during transpile when copying bslib
1104
- - bug where bslib.brs functions were not properly prefixed during transpile
1105
-
1106
-
1107
-
1108
- ## [0.34.1](https://github.com/rokucommunity/brighterscript/compare/v0.34.0...v0.34.1) - 2021-03-02
1109
- ### Fixed
1110
- - syntax parsing bugs within single-line if statements
1111
-
1112
-
1113
-
1114
- ## [0.34.0](https://github.com/rokucommunity/brighterscript/compare/v0.33.0...v0.34.0) - 2021-02-28
1115
- ### Added
1116
- - language server file path completions inside strings that start with `pkg:` or `libpkg:`
1117
-
1118
-
1119
-
1120
- ## [0.33.0](https://github.com/rokucommunity/brighterscript/compare/v0.32.3...v0.33.0) - 2021-02-27
1121
- ### Added
1122
- - support for ropm version of bslib.([#334](https://github.com/rokucommunity/brighterscript/pull/334))
1123
- ### Fixed
1124
- - parse crash when encountering immediately-invoked function expressions (IIFEs) ([#343](https://github.com/rokucommunity/brighterscript/pull/343))
1125
- - error during language server completions when activated on the first token in the file ([#342](https://github.com/rokucommunity/brighterscript/pull/342))
1126
- - refactored BrsFile.parseMode to be a property instead of a getter since there was no reason it needed to be a getter ([#341](https://github.com/rokucommunity/brighterscript/pull/341))
1127
-
1128
-
1129
-
1130
- ## [0.32.3](https://github.com/rokucommunity/brighterscript/compare/v0.32.2...v0.32.3) - 2021-02-25
1131
- ### Fixed
1132
- - fix significant performance bug in diagnostic filtering
1133
- - tweaks to the logging system to make `logLevel=verbose` less chatty
1134
- - null reference error in `Scope.getFileByRelativePath()`
1135
- - fix class fields that were missing in getSymbol requests
1136
-
1137
-
1138
-
1139
- ## [0.31.2](https://github.com/rokucommunity/brighterscript/compare/v0.31.1...v0.31.2) - 2021-02-20
1140
- ### Fixed
1141
- - transpile bug when a template string starts with an expression ([#327](https://github.com/rokucommunity/brighterscript/pull/327))
1142
- ### Changed
1143
- - when generating type definition files, include the namespace for every extends statement ([#324](https://github.com/rokucommunity/brighterscript/pull/324))
1144
-
1145
-
1146
-
1147
- ## [0.31.1](https://github.com/rokucommunity/brighterscript/compare/v0.31.0...v0.31.1) - 2021-02-18
1148
- ### Fixed
1149
- - prevent exception in codeAction functionality when file cannot be found in a `Program`
1150
-
1151
-
1152
-
1153
- ## [0.31.0](https://github.com/rokucommunity/brighterscript/compare/v0.30.9...v0.31.0) - 2021-02-17
1154
- ### Added
1155
- - plugin and language server support for [codeActions](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction)
1156
- - codeAction to add missing `extends` attribute in components
1157
- ### Fixed
1158
- - wrong line numbers in certain sourcemaps generated during transpile
1159
- - include annotations in emitted type definitions
1160
-
1161
-
1162
-
1163
- ## [0.30.9](https://github.com/rokucommunity/brighterscript/compare/v0.30.8...v0.30.9) - 2021-02-15
1164
- ### Fixed
1165
- - prevent excess validations when non-workspace files are changed ([#315](https://github.com/rokucommunity/brighterscript/pull/315))
1166
- - catch errors when getting signatures ([#285](https://github.com/rokucommunity/brighterscript/pull/285))
1167
- - missing `Roku_Ads` function in global functions list. ([#312](https://github.com/rokucommunity/brighterscript/pull/312))
1168
-
1169
-
1170
-
1171
- ## [0.30.8](https://github.com/rokucommunity/brighterscript/compare/v0.30.7...v0.30.8) - 2021-02-12
1172
- ### Changed
1173
- - add additional logging in `Program.removeFile`
1174
- ### Fixed
1175
- - Fix watcher bug on windows devices
1176
- - Don't mangle xml scripts during transpile
1177
-
1178
-
1179
-
1180
- ## [0.30.7](https://github.com/rokucommunity/brighterscript/compare/v0.30.6...v0.30.7) - 2021-02-11
1181
- ### Fixed
1182
- - bug in `getSignatureHelp` that wouldn't work for function calls with no leading whitespace. ([#307](https://github.com/rokucommunity/brighterscript/issues/307))
1183
-
1184
-
1185
-
1186
- ## [0.30.6](https://github.com/rokucommunity/brighterscript/compare/v0.30.5...v0.30.6) - 2021-02-07
1187
- ### Fixed
1188
- - bad transpile for nested class method super calls
1189
- - SceneGraph node attributes being wrongly removed when modifying attributes
1190
-
1191
-
1192
-
1193
- ## [0.30.5](https://github.com/rokucommunity/brighterscript/compare/v0.30.4...v0.30.5) - 2021-02-03
1194
- ### Added
1195
- - syntax support for dim statements
1196
- - completion and code navigation for labels
1197
- ### Fixed
1198
- - exception related to signature help when writing comments
1199
-
1200
-
1201
-
1202
- ## [0.30.4](https://github.com/rokucommunity/brighterscript/compare/v0.30.3...v0.30.4) - 2021-02-02
1203
- ### Fixed
1204
- - fixed crash during validation caused by a missing function body when parsing malformed code
1205
-
1206
-
1207
-
1208
- ## [0.30.3](https://github.com/rokucommunity/brighterscript/compare/v0.30.2...v0.30.3) - 2021-02-01
1209
- ### Fixed
1210
- - performance issue when transpiling larger projects, even when no brighterscript code was used
1211
-
1212
-
1213
-
1214
- ## [0.30.2](https://github.com/rokucommunity/brighterscript/compare/v0.30.1...v0.30.2) - 2021-01-31
1215
- ### Fixed
1216
- - xml parse error crashing validation ((#294)[https://github.com/rokucommunity/brighterscript/pull/294])
1217
- - better handling for `createStringLiteral` ((#292)[https://github.com/rokucommunity/brighterscript/pull/292])
1218
-
1219
-
1220
-
1221
- ## [0.30.1](https://github.com/rokucommunity/brighterscript/compare/v0.30.0...v0.30.1) - 2021-01-29
1222
- ### Fixed
1223
- - bug that would crash while transpiling if a script tag didn't have a `type` attribute
1224
- - XML transpile now honors the `sourceMap` option
1225
-
1226
-
1227
-
1228
- ## [0.30.0](https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0) - 2021-01-26
1229
- ### Added
1230
- - null coalescing operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/null-coalescing-operator.md) for more information)
1231
- ### Fixed
1232
- - infinite loop when encountering annotations without an identifier above a class method ([#291](https://github.com/rokucommunity/brighterscript/pull/291))
1233
-
1234
-
1235
-
1236
- ## [0.29.0](https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0) - 2021-01-25
1237
- ### Added
1238
- - ternary operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/ternary-operator.md) for more information)
1239
-
1240
-
1241
-
1242
- ## [0.28.2](https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0) - 2021-01-22
1243
- ### Changed
1244
- - config loading functions from `util.ts` are now run synchronously
1245
- ### Fixed
1246
- - missing variable from `for each` statement in completions for language server
1247
- - bug when running the CLI that wouldn't properly read the `sourceMap` property from bsconfig.json
1248
-
1249
-
1250
-
1251
- ## [0.28.1](https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0) - 2021-01-19
1252
- ### Changed
1253
- - (For plugin authors) refactored many async methods into sync methods to simplify file creation/management. ([#278](https://github.com/rokucommunity/brighterscript/pull/278))
1254
- ### Fixed
1255
- - bug with transpiling classes that would not always get the correct superclass index. ([#279](https://github.com/rokucommunity/brighterscript/pull/279))
1256
- - annotations are now block-restricted ([#274](https://github.com/rokucommunity/brighterscript/pull/274))
1257
-
1258
-
1259
-
1260
- ## [0.28.0](https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0) - 2021-01-16
1261
- ### Added
1262
- - annotation support for classes and class methods ([#270](https://github.com/rokucommunity/brighterscript/pull/270))
1263
- ### fixed
1264
- - bugs with go-to-definition and signature help for namespace functions, classes, and callfunc calls
1265
-
1266
-
1267
-
1268
- ## [0.27.0](https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0) - 2021-01-15
1269
- ### Changed
1270
- - plugin system changed to require a factory function instead of a singleton object ([#272](https://github.com/rokucommunity/brighterscript/pull/272))
1271
-
1272
-
1273
-
1274
- ## [0.26.0](https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0) - 2021-01-14
1275
- ### Added
1276
- - proper XML AST support
1277
- - component interface validation
1278
- - basic support for string-based diagnostic codes (from plugins)
1279
-
1280
-
1281
-
1282
- ## [0.25.0](https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0) - 2021-01-12
1283
- ### Added
1284
- - support for passing custom types as function parameters and return types ([#262](https://github.com/rokucommunity/brighterscript/issues/262))
1285
-
1286
-
1287
-
1288
- ## [0.24.2](https://github.com/rokucommunity/brighterscript/compare/v0.24.1...v0.24.2) - 2021-01-11
1289
- ### Fixed
1290
- - bug with transpiled child classes causing on-device stack overflows ([#267](https://github.com/rokucommunity/brighterscript/issues/267))
1291
-
1292
-
1293
-
1294
- ## [0.24.1](https://github.com/rokucommunity/brighterscript/compare/v0.24.0...v0.24.1) - 2021-01-09
1295
- ### Changed
1296
- - upgraded to [roku-deploy@3.2.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#324---2021-01-08)
1297
-
1298
-
1299
-
1300
- ## [0.24.0](https://github.com/rokucommunity/brighterscript/compare/v0.23.2...v0.24.0) - 2021-01-08
1301
- ### Added
1302
- - `sourceMap` option to enable/disable generating sourcemaps
1303
- ### Changed
1304
- - sourcemaps are disabled by default (previously they were enabled by default)
1305
-
1306
-
1307
-
1308
- ## [0.23.2](https://github.com/rokucommunity/brighterscript/compare/v0.23.1...v0.23.2) - 2020-01-06
1309
- ### Fixed
1310
- - `isLiteralInvalid` was causing infinite recursion.
1311
- - lock `vscode-languageserver-protocol` package version to prevent issues with vscode not following semantic versioning.
1312
-
1313
-
1314
-
1315
- ## [0.23.1](https://github.com/rokucommunity/brighterscript/compare/v0.23.0...v0.23.1) - 2020-12-22
1316
- ### Changed
1317
- - renamed `Scope.getFiles()` to `Scope.getAllFiles()` and added a new function called `Scope.getOwnFiles()`
1318
- ### Fixed
1319
- - bug preventing `d.bs` loaded in parent files from showing up in child files. ([#252](https://github.com/rokucommunity/brighterscript/pull/252))
1320
-
1321
-
1322
-
1323
- ## [0.23.0](https://github.com/rokucommunity/brighterscript/compare/v0.22.1...v0.23.0) - 2020-12-18
1324
- ### Changed
1325
- - AST parser refactoring ([#244](https://github.com/rokucommunity/brighterscript/pull/244))
1326
- - Make `ElseIf` into an `ElseIfStatement`
1327
- - Removed `ElseIf` token in favor of separate `else` and `if` tokens
1328
- - Refactored statement separators processing and cleaned error messages
1329
- - Improved try-catch parsing
1330
- - Improved label error handling
1331
- ### Fixed
1332
- - bug causing invalid diagnostics to be thrown on files with multiple dots in their names ([#257](https://github.com/rokucommunity/brighterscript/pull/257))
1333
- - syntax error for [integer type declaration character](https://developer.roku.com/docs/references/brightscript/language/expressions-variables-types.md#type-declaration-characters) ([#254](https://github.com/rokucommunity/brighterscript/pull/254))
1334
- - syntax error for floats with more than 5 decimal places that also have a trailing exponent ([#255](https://github.com/rokucommunity/brighterscript/pull/255))
1335
-
1336
-
1337
-
1338
- ## [0.22.1](https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1) - 2020-12-14
1339
- ### Fixed
1340
- - small bug introduced by vscode-languageserver causing crashes anytime negative range values are provided.
1341
-
1342
-
1343
-
1344
- ## [0.22.0](https://github.com/rokucommunity/brighterscript/compare/v0.21.0...v0.22.0) - 2020-11-23
1345
- ### Added
1346
- - `try/catch` and `throw` syntax support [#218](https://github.com/rokucommunity/brighterscript/issues/218)
1347
-
1348
-
1349
-
1350
- ## [0.21.0](https://github.com/rokucommunity/brighterscript/compare/v0.20.1...v0.21.0) - 2020-11-19
1351
- ### Added
1352
- - Catch when local variables and scope functions have the same name as a class. ([#246](https://github.com/rokucommunity/brighterscript/pull/246))
1353
- - Catch when functions use keyword names ([#247](https://github.com/rokucommunity/brighterscript/pull/247))
1354
- ### Changed
1355
- - many internal changes:
1356
- - remove all the `BrsType` objects leftover from the upstream `brs` project. Things like `ValueKind`, `BrsType`, the `Token.literal` property.
1357
- - rename the brighterscript `BrsType` class to `BscType` for more distinction from the now deleted from-upstream `BrsType`.
1358
- - Modify the `createToken` function in `astUtils/creators.ts` to accept a range, or use a default negative range.
1359
- - Use the `BscType` objects for basic parser type tracking (this replaces `ValueKind` and `BrsType` from upstream `brs` project).
1360
- - minor AST property changes for `ForStatement` and `FunctionStatement`,
1361
- - any `ValueKind` references in code have been replaced with an instance of a `BscType` (which will be the backbone of future type tracking)
1362
- - Updated `ForStatement` to no longer include synthetic `step 1` tokens when those were not included in the source file.
1363
- - remove eliminated `BrsType` items from `reflection.ts`.
1364
-
1365
-
1366
- ## [0.20.1](https://github.com/rokucommunity/brighterscript/compare/v0.20.0...v0.20.1) - 2020-11-16
1367
- ### Changed
1368
- - load plugins relatively to the project ([#242](https://github.com/rokucommunity/brighterscript/pull/242))
1369
- - modified reflection utilities so they are compatible with TS strict null checks ([#243](https://github.com/rokucommunity/brighterscript/pull/243))
1370
-
1371
-
1372
-
1373
- ## [0.20.0](https://github.com/rokucommunity/brighterscript/compare/v0.19.0...v0.20.0) - 2020-11-13
1374
- ### Added
1375
- - more language server features: onWorkspaceSymbol, onSignatureHelp, onDocumentSymbol, onReferences, improve onDefinition ([#191](https://github.com/rokucommunity/brighterscript/pull/191))
1376
-
1377
-
1378
-
1379
- ## [0.19.0](https://github.com/rokucommunity/brighterscript/compare/v0.18.2...v0.19.0) - 2020-11-04
1380
- ### Changed
1381
- - `emitDefinitions` now defaults to `false` (it previously defaulted to `true`)
1382
- ### Fixed
1383
- - don't transpile `d.bs` files (which would produce `d.brs` files with duplicate information in them)
1384
-
1385
-
1386
-
1387
- ## [0.18.2](https://github.com/rokucommunity/brighterscript/compare/v0.18.1...v0.18.2) - 2020-11-2
1388
- ### Fixed
1389
- - support on-demand parse for typedef-shadowed files ([#237](https://github.com/rokucommunity/brighterscript/pull/237))
1390
-
1391
-
1392
-
1393
- ## [0.18.1](https://github.com/rokucommunity/brighterscript/compare/v0.18.0...v0.18.1) - 2020-10-30
1394
- ### Fixed
1395
- - exclude bs1100 for typedef files (`Missing "super()" call in class constructor method.`)
1396
- - fix some invalid class field types in typedef files
1397
- - include `override` keyword in class methods in typedef files
1398
-
1399
-
1400
-
1401
- ## [0.18.0](https://github.com/rokucommunity/brighterscript/compare/v0.17.0...v0.18.0) - 2020-10-30
1402
- ### Added
1403
- - support for consuming and producing type definitions. ([188](https://github.com/rokucommunity/brighterscript/pull/188))
1404
-
1405
-
1406
-
1407
- ## [0.17.0](https://github.com/rokucommunity/brighterscript/compare/v0.16.12...v0.17.0) - 2020-10-27
1408
- ### Added
1409
- - Annotation syntax and AST support ([#234](https://github.com/rokucommunity/brighterscript/pull/234))
1410
-
1411
-
1412
-
1413
- ## [0.16.12](https://github.com/rokucommunity/brighterscript/compare/v0.16.11...v0.16.12) - 2020-10-21
1414
- ### Fixed
1415
- - parser bug when there was a trailing colon after `for` or `while` loop statements ([#230](https://github.com/rokucommunity/brighterscript/pull/230))
1416
-
1417
-
1418
-
1419
- ## [0.16.11](https://github.com/rokucommunity/brighterscript/compare/v0.16.10...v0.16.11 - 2020-10-20
1420
- ### Fixed
1421
- - bug when using single quotes in an xml script tag
1422
- ### Changed
1423
- - removed bs1106 (.bs file script tags must use the `type="brighterscript"`) diagnostic because it's unnecessary.
1424
-
1425
-
1426
-
1427
- ## [0.16.10](https://github.com/rokucommunity/brighterscript/compare/v0.16.9...v0.16.10) - 2020-10-20
1428
- ### Fixed
1429
- - prevent crash when a callable has the same name as a javascript reserved name ([#226](https://github.com/rokucommunity/brighterscript/pull/226))
1430
- - prevent crash when `import` statement is malformed ([#224](https://github.com/rokucommunity/brighterscript/pull/224))
1431
-
1432
-
1433
-
1434
- ## [0.16.9](https://github.com/rokucommunity/brighterscript/compare/v0.16.8...v0.16.9) - 2020-10-18
1435
- ### Fixed
1436
- - reduce language server throttle for validation and parsing now that those have improved performance.
1437
- - massively improve validation performance by refactoring `getFileByPkgPath`
1438
- - micro-optimization of hot parser functions
1439
- - change codebase to use `import type` many places, which reduces the number of files imported at runtime
1440
-
1441
-
1442
-
1443
- ## [0.16.8](https://github.com/rokucommunity/brighterscript/compare/v0.16.7...v0.16.8) - 2020-10-15
1444
- ### Fixed
1445
- - 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))
1446
- - Drop expensive AST walking for collecting property names and instead collect them as part of parsing
1447
-
1448
-
1449
-
1450
- ## [0.16.7](https://github.com/rokucommunity/brighterscript/compare/v0.16.6...v0.16.7) - 2020-10-13
1451
- ### Fixed
1452
- - bug when finding `bsconfig.json` that would use the wrong cwd in multi-workspace language server situations.
1453
- - bug when transpiling in-memory-only files. ([#212](https://github.com/rokucommunity/brighterscript/pull/212))
1454
-
1455
-
1456
-
1457
- ## [0.16.6](https://github.com/rokucommunity/brighterscript/compare/v0.16.5...v0.16.6) - 2020-10-13
1458
- ### Fixed
1459
- - quirk in the GitHub actions workflow that didn't publish the correct code.
1460
-
1461
-
1462
-
1463
- ## [0.16.5](https://github.com/rokucommunity/brighterscript/compare/v0.16.4...v0.16.5) - 2020-10-13
1464
- ### Fixed
1465
- - performance issue during the parse phase. We now defer certain collections until needed. ([#210](https://github.com/rokucommunity/brighterscript/pull/210))
1466
-
1467
-
1468
-
1469
- ## [0.16.4](https://github.com/rokucommunity/brighterscript/compare/v0.16.3...v0.16.4) - 2020-10-12
1470
- ### Changed
1471
- - 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))
1472
- ### Fixed
1473
- - transpile bug for namespaced class constructors that wouldn't properly prepend the namespace in some situations. ([#208](https://github.com/rokucommunity/brighterscript/pull/208))
1474
- - bug in class validation that was causing bogus diagnostics during class construction in namespaces.([#203](https://github.com/rokucommunity/brighterscript/issues/203))
1475
-
1476
-
1477
-
1478
- ## [0.16.3](https://github.com/rokucommunity/brighterscript/compare/v0.16.2...v0.16.3) - 2020-10-11
1479
- ### Changed
1480
- - Add generic type parameter for `Program` add functions.
1481
- - Export `BscType` type to simplify `BrsFile | XmlFile` usage everywhere.
1482
- ### Fixed
1483
- - Prevent bogus diagnostic on all callfunc operations ([#205](https://github.com/rokucommunity/brighterscript/issues/205))
1484
-
1485
-
1486
-
1487
- ## [0.16.2](https://github.com/rokucommunity/brighterscript/compare/v0.16.1...v0.16.2) - 2020-10-09
1488
- ### Fixed
1489
- - critical bug in diagnostic printing that would crash the program if a diagnostic was missing a valid range.
1490
-
1491
-
1492
-
1493
- ## [0.16.1](https://github.com/rokucommunity/brighterscript/compare/v0.16.0...v0.16.1) - 2020-10-03
1494
- ### Changed
1495
- - rename `isEscapedCharCodeLiteral` to `isEscapedCharCodeLiteralExpression` to match other expression class names
1496
- - rename `FunctionParameter` to `FunctionParameterExpression` to match other expression class names
1497
- - convert `AAMemberExpression` interface into an expression class.
1498
- - convert `isBrsFile` and `isXmlFile` to check for constructor file name rather than file extension.
1499
- ### Fixed
1500
- - bugs with plugin interoperability with BrighterScript when using `instanceof`. All internal BrighterScript logic now uses the `is` functions from `astutils/reflection`, and plugin authors should do the same.
1501
-
1502
-
1503
-
1504
- ## [0.16.0](https://github.com/rokucommunity/brighterscript/compare/v0.15.2...v0.16.0) - 2020-10-02
1505
- ### Added
1506
- - `Expression.walk` and `Statement.walk` functions which provide shallow or deep walking of the AST
1507
- - Many `ast` reflection methods to be used instead of `instanceof`.
1508
- - plugin system (still in alpha) support for re-scanning the AST after modifing the AST by calling `invalidateReferences()`
1509
- - every token has a `leadingWhitespace` property now that contains leading whitespace. Retrieving whitespace tokens from the `Lexer` will be removed in a future update in favor of this appraoch
1510
- ### Changed
1511
- - all AST nodes now extend either `Statement` or `Expression` instead of simply implementing their interfaces.
1512
- ### Removed
1513
- - several AST walking functions from `astUtils/` in favor of direct node walking
1514
-
1515
-
1516
-
1517
- ## [0.15.2](https://github.com/rokucommunity/brighterscript/compare/v0.15.1...v0.15.2) - 2020-10-01
1518
- ### Fixed
1519
- - 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))
1520
-
1521
-
1522
-
1523
- ## [0.15.1](https://github.com/rokucommunity/brighterscript/compare/v0.15.0...v0.15.1) - 2020-09-30
1524
- ### Fixed
1525
- - improved performance in the lexer and parser
1526
- - potential for accidentally changing `cwd` during bsconfig resolving
1527
-
1528
-
1529
-
1530
- ## [0.15.0](https://github.com/rokucommunity/brighterscript/compare/v0.14.0...v0.15.0) - 2020-09-18
1531
- ### Added
1532
- - plugin API to allow visibility into the various compiler phases. This is currently in alpha. ([#170](https://github.com/rokucommunity/brighterscript/pull/170))
1533
-
1534
-
1535
-
1536
- ## [0.14.0](https://github.com/rokucommunity/brighterscript/compare/v0.13.2...v0.14.0) - 2020-09-04
1537
- ### Changed
1538
- - Add error diagnostic BS1115 which flags duplicate component names [#186](https://github.com/rokucommunity/brighterscript/pull/186)
1539
-
1540
-
1541
-
1542
- ## [0.13.2](https://github.com/rokucommunity/brighterscript/compare/v0.13.1...v0.13.2) - 2020-08-31
1543
- ### Changed
1544
- - Upgraded BS1104 to error (previously a warning) and refined the messaging.
1545
-
1546
-
1547
-
1548
- ## [0.13.1](https://github.com/rokucommunity/brighterscript/compare/v0.13.0...v0.13.1) - 2020-08-14
1549
- ### Changed
1550
- - upgraded to [roku-deploy@3.2.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#323---2020-08-14)
1551
- - throw exception when copying to staging folder and `rootDir` does not exist in the file system
1552
- - throw exception when zipping package and `${stagingFolder}/manifest` does not exist in the file system
1553
-
1554
-
1555
-
1556
- ## [0.13.0](https://github.com/rokucommunity/brighterscript/compare/v0.12.4...v0.13.0) - 2020-08-10
1557
- ### Added
1558
- - ability to mark the `extends` and `project` options in `bsconfig.json`, API and CLI as optional.
1559
-
1560
-
1561
-
1562
- ## [0.12.4](https://github.com/rokucommunity/brighterscript/compare/v0.12.3...v0.12.4) - 2020-08-06
1563
- ### Fixed
1564
- - bug in cli that wouldn't properly read bsconfig values. [#167](https://github.com/rokucommunity/brighterscript/issues/167)
1565
- - bug in cli that doesn't use `retain-staging-folder` argument properly. [#168](https://github.com/rokucommunity/brighterscript/issues/168)
1566
-
1567
-
1568
-
1569
- ## [0.12.3](https://github.com/rokucommunity/brighterscript/compare/v0.12.2...v0.12.3) - 2020-08-03
1570
- ### Fixed
1571
- - 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.
1572
-
1573
-
1574
-
1575
- ## [0.12.2](https://github.com/rokucommunity/brighterscript/compare/v0.12.1...v0.12.2) - 2020-07-16
1576
- ### Added
1577
- - Expose `ProgramBuilder.transpile()` method to make it easier for tools to transpile programmatically. [#154](https://github.com/rokucommunity/brighterscript/issues/154)
1578
- ### Fixed
1579
- - bug on Windows when transpiling BrighterScript import statements into xml script tags that would use the wrong path separator sometimes.
1580
-
1581
-
1582
-
1583
- ## [0.12.1](https://github.com/rokucommunity/brighterscript/compare/v0.12.0...v0.12.1) - 2020-07-15
1584
- ### Changed
1585
- - upgraded to [roku-deploy@3.2.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#322---2020-07-14)
1586
- ### Fixed
1587
- - bug in roku-deploy when when loading `stagingFolderPath` from `rokudeploy.json` or `bsconfig.json` that would crash the language server
1588
-
1589
-
1590
-
1591
- ## [0.12.0](https://github.com/rokucommunity/brighterscript/compare/v0.11.2...v0.12.0) - 2020-07-09
1592
- ### Added
1593
- - `diagnosticLevel` option to limit/control the noise in the console diagnostics
1594
- ### Changed
1595
- - Move away from `command-line-args` in favor of `yargs` for CLI support
1596
- ### Fixed
1597
- - Throttle LanguageServer validation to prevent running too many validations in a row.
1598
- - Bug in CLI preventing ability to provide false values to certain flags
1599
- - Do not print `info` and `hint` diagnostics from the CLI by default.
1600
-
1601
-
1602
-
1603
- ## [0.11.2](https://github.com/rokucommunity/brighterscript/compare/v0.11.1...v0.11.2) - 2020-07-09
1604
- ### Changed
1605
- - add 350ms debounce in LanguageServer `onDidChangeWatchedFiles` to increase performance by reducing the number of times a file is parsed and validated.
1606
- ### Fixed
1607
- - bug in the log output that wasn't casting string log levels into their numeric enum versions, causing messages to be lost at certain log levels.
1608
- - load manifest file exactly one time per program rather than every time a file gets parsed.
1609
- - bug in `info` logging that wasn't showing the proper parse times for files on first run.
1610
-
1611
-
1612
-
1613
- ## [0.11.1](https://github.com/rokucommunity/brighterscript/compare/v0.11.0...v0.11.1) - 2020-07-07
1614
- ### Added
1615
- - diagnostic for unknown file reference in import statements ([#139](https://github.com/rokucommunity/brighterscript/pull/139))
1616
- ### Changed
1617
- - upgraded to [roku-deploy@3.2.1](https://www.npmjs.com/package/roku-deploy/v/3.2.1)
1618
- - upgraded to jsonc-parser@2.3.0
1619
- - add begin and end template string literal tokens so we can better format and understand the code downstream. ([#138](https://github.com/rokucommunity/brighterscript/pull/138))
1620
- ### Fixed
1621
- - roku-deploy bug that would fail to load `bsconfig.json` files with comments in them.
1622
- - bug in parser that would fail to find function calls in certain situations, killing the rest of the parse.
1623
-
1624
-
1625
-
1626
- ## [0.11.0](https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.11.0) - 2020-07-06
1627
- ### Added
1628
- - [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))
1629
- - `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))
1630
- - [Template string feature](https://github.com/rokucommunity/brighterscript/blob/master/docs/template-strings.md) which brings template string support to BrighterScript. ([#98](https://github.com/rokucommunity/brighterscript/issues/98))
1631
- ### Fixed
1632
- - Do not show BS1010 diagnostic `hint`s for the same script imported for parent and child. ([#113](https://github.com/rokucommunity/brighterscript/issues/113))
1633
-
1634
-
1635
-
1636
- ## [0.10.11](https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.10.11) - 2020-07-05
1637
- - Fix bug that would fail to copy files to staging without explicitly specifying `stagingFolderpath`. [#129](https://github.com/rokucommunity/brighterscript/issues/129)
1638
-
1639
-
1640
-
1641
- ## [0.10.10](https://github.com/rokucommunity/brighterscript/compare/v0.10.9...v0.10.10) - 2020-06-12
1642
- ### Fixed
1643
- - include the missing `bslib.brs` file in the npm package which was causing errors during transpile.
1644
-
1645
-
1646
-
1647
- ## [0.10.9](https://github.com/rokucommunity/brighterscript/compare/v0.10.8...v0.10.9) 2020-06-12
1648
- ### Added
1649
- - bslib.brs gets copied to `pkg:/source` and added as an import to every component on transpile.
1650
- - several timing logs under the `"info"` log level.
1651
- ### Changed
1652
- - pipe the language server output to the extension's log window
1653
- ### Fixed
1654
- - bug with global `val` function signature that did not support the second parameter ([#110](https://github.com/rokucommunity/vscode-brightscript-language/issues/110))
1655
- - bug with global 'StrI' function signature that did not support the second parameter.
1656
-
1657
-
1658
-
1659
- ## [0.10.8](https://github.com/rokucommunity/brighterscript/compare/v0.10.7...v0.10.8) - 2020-06-09
1660
- ### Fixed
1661
- - Allow leading spcaes for `bs:disable-line` and `bs:disable-next-line` comments ([#108](https://github.com/rokucommunity/brighterscript/pull/108))
1662
-
1663
-
1664
-
1665
- ## [0.10.7](https://github.com/rokucommunity/brighterscript/compare/v0.10.6...v0.10.7) - 2020-06-08
1666
- ### Fixed
1667
- - bug in cli that was always returning a nonzero error code
1668
-
1669
-
1670
-
1671
- ## [0.10.6](https://github.com/rokucommunity/brighterscript/compare/v0.10.5...v0.10.6) - 2020-06-05
1672
- ### Fixed
1673
- - incorrect definition for global `Left()` function. ([#100](https://github.com/rokucommunity/brighterscript/issues/100))
1674
- - missing definition for global `Tab()` and `Pos()` functions ([#101](https://github.com/rokucommunity/brighterscript/issues/101))
1675
-
1676
-
1677
-
1678
- ## [0.10.5](https://github.com/rokucommunity/brighterscript/compare/v0.10.4...v0.10.5) - 2020-06-04
1679
- ### Changed
1680
- - added better logging for certain critical language server crashes
1681
-
1682
-
1683
-
1684
- ## [0.10.4](https://github.com/rokucommunity/brighterscript/compare/v0.10.3...v0.10.4) - 2020-05-28
1685
- ### Fixed
1686
- - 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))
1687
- - flag parameter with same name as namespace
1688
- - flag variable with same name as namespace
1689
- - `CreateObject("roRegex")` with third parameter caused compile error ([#95](https://github.com/rokucommunity/brighterscript/issues/95))
1690
-
1691
-
1692
-
1693
- ## [0.10.3](https://github.com/rokucommunity/brighterscript/compare/v0.10.2...v0.10.3) - 2020-05-27
1694
- ### Changed
1695
- - tokenizing a string with no closing quote will now include all of the text until the end of the line.
1696
- - language server `TranspileFile` command now waits until the program is finished building before trying to transpile.
1697
-
1698
-
1699
-
1700
- ## [0.10.2](https://github.com/rokucommunity/brighterscript/compare/v0.10.1...v0.10.2) - 2020-05-23
1701
- ### Added
1702
- - language server command `TranspileFile` which will return the transpiled contents of the requested file.
1703
- ### Fixed
1704
- - quotemarks in string literals were not being properly escaped during transpile ([#89](https://github.com/rokucommunity/brighterscript/issues/89))
1705
- - Bug that was only validating calls at top level. Now calls found anywhere in a function are validated
1706
-
1707
-
1708
-
1709
- ## [0.10.1](https://github.com/rokucommunity/brighterscript/compare/v0.10.0...v0.10.1) - 2020-05-22
1710
- ### Fixed
1711
- - transpile bug for compound assignment statements (such as `+=`, `-=`) ([#87](https://github.com/rokucommunity/brighterscript/issues/87))
1712
- - transpile bug that was inserting function parameter types before default values ([#88](https://github.com/rokucommunity/brighterscript/issues/88))
1713
- - export BsConfig interface from index.ts to make it easier for NodeJS importing.
1714
-
1715
-
1716
-
1717
- ## [0.10.0](https://github.com/rokucommunity/brighterscript/compare/v0.9.8...v0.10.0) - 2020-05-19
1718
- ### Added
1719
- - new callfunc operator.
1720
-
1721
-
1722
-
1723
- ## [0.9.8](https://github.com/rokucommunity/brighterscript/compare/v0.9.7...v0.9.8) - 2020-05-16
1724
- ### Changed
1725
- - the inner event system handling file changes. This should fix several race conditions causing false negatives during CLI runs.
1726
- ### Fixed
1727
- - some bugs related to import statements not being properly traced.
1728
-
1729
-
1730
-
1731
- ## [0.9.7](https://github.com/rokucommunity/brighterscript/compare/v0.9.6...v0.9.7) - 2020-05-14
1732
- ### Changed
1733
- - TypeScript target to "ES2017" which provides a significant performance boost in lexer (~30%) and parser (~175%)
1734
- ### Fixed
1735
- - the binary name got accidentally renamed to `bsc2` in release 0.9.6. This release fixes that issue.
1736
- - removed some debug logs that were showing up when not using logLevel=debug
1737
- - false negative diagnostic when using the `new` keyword as a local variable [#79](https://github.com/rokucommunity/brighterscript/issues/79)
1738
-
1739
-
1740
-
1741
- ## [0.9.6](https://github.com/rokucommunity/brighterscript/compare/v0.9.5...v0.9.6) - 2020-05-11
1742
- ### Added
1743
- - `logLevel` option from the bsconfig.json and command prompt that allows specifying how much detain the logging should contain.
1744
- - additional messages during cli run
1745
- ### Changed
1746
- - don't terminate bsc on warning diagnostics
1747
- - removed extraneous log statements from the util module
1748
- ### Fixed
1749
- - fixed bugs when printing diagnostics to the console that wouldn't show the proper squiggly line location.
1750
-
1751
-
1752
-
1753
- ## [0.9.5](https://github.com/rokucommunity/brighterscript/compare/v0.9.4...v0.9.5) - 2020-05-06
1754
- ### Added
1755
- - new config option called `showDiagnosticsInConsole` which disables printing diagnostics to the console
1756
- ### Fixed
1757
- - bug in lexer that was capturing the carriage return character (`\n`) at the end of comment statements
1758
- - bug in transpiler that wouldn't include a newline after the final comment statement
1759
- - bug in LanguageServer that was printing diagnostics to the console when it shouldn't be.
1760
-
1761
-
1762
-
1763
- ## [0.9.4](https://github.com/rokucommunity/brighterscript/compare/v0.9.3...v0.9.4) - 2020-05-05
1764
- ### Added
1765
- - diagnostic for detecting unnecessary script imports when `autoImportComponentScript` is enabled
1766
- ### Changed
1767
- - filter duplicate dignostics from multiple projects. ([#75](https://github.com/rokucommunity/brighterscript/issues/75))
1768
- ### Fixed
1769
- - bug that was flagging namespaced functions with the same name as a stdlib function.
1770
- - bug that was not properly transpiling brighterscript script tags in xml components.
1771
- - several performance issues introduced in v0.8.2.
1772
- - Replace `type="text/brighterscript"` with `type="text/brightscript"` in xml script imports during transpile. ([#73](https://github.com/rokucommunity/brighterscript/issues/73))
1773
-
1774
-
1775
-
1776
- ## [0.9.3](https://github.com/rokucommunity/brighterscript/compare/v0.9.2...v0.9.3) - 2020-05-04
1777
- ### Changed
1778
- - do not show BRS1013 for standalone files ([#72](https://github.com/rokucommunity/brighterscript/issues/72))
1779
- - 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))
1780
- ### Fixed
1781
- - issue that prevented certain keywords from being used as function parameter names ([#69](https://github.com/rokucommunity/brighterscript/issues/69))
1782
-
1783
-
1784
-
1785
- ## [0.9.2](https://github.com/rokucommunity/brighterscript/compare/v0.9.1...v0.9.2) - 2020-05-02
1786
- ### Changed
1787
- - intellisense anywhere other than next to a dot now includes keywords (#67)
1788
-
1789
- ### Fixed
1790
- - bug in the lexer that was not treating `constructor` as an identifier (#66)
1791
- - bug when printing diagnostics that would sometimes fail to find the line in question (#68)
1792
- - bug in scopes that were setting isValidated=false at the end of the `validate()` call instead of true
1793
-
1794
-
1795
-
1796
- ## [0.9.1](https://github.com/rokucommunity/brighterscript/compare/v0.9.0...v0.9.1) - 2020-05-01
1797
- ### Fixed
1798
- - bug with upper-case two-word conditional compile tokens (`#ELSE IF` and `#END IF`) (#63)
1799
-
1800
-
1801
-
1802
- ## [0.9.0](https://github.com/rokucommunity/brighterscript/compare/v0.8.2...v0.9.0) - 2020-05-01
1803
- ### Added
1804
- - new compile flag `autoImportComponentScript` which will automatically import a script for a component with the same name if it exists.
1805
-
1806
-
1807
-
1808
- ## [0.8.2](https://github.com/rokucommunity/brighterscript/compare/v0.8.1...v0.8.2) - 2020-04-29
1809
- ### Fixed
1810
- - bugs in namespace transpilation
1811
- - bugs in class transpilation
1812
- - transpiled examples for namespace and class docs
1813
- - bugs in class property initialization
1814
-
1815
-
1816
-
1817
- ## [0.8.1](https://github.com/rokucommunity/brighterscript/compare/v0.8.0...v0.8.1) - 2020-04-27
1818
- ### Fixed
1819
- - Bug where class property initializers would cause parse error
1820
- - better parse recovery for incomplete class members
1821
-
1822
-
1823
-
1824
- ## [0.8.0](https://github.com/rokucommunity/brighterscript/compare/v0.7.2...v0.8.0) - 2020-04-26
1825
- ### Added
1826
- - new `import` syntax for BrighterScript projects.
1827
- - experimental transpile support for xml files (converts `.bs` extensions to `.brs`, auto-appends the `import` statments to each xml component)
1828
- ### Changed
1829
- - upgraded to vscode-languageserver@6.1.1
1830
-
1831
-
1832
- ## [0.7.2](https://github.com/rokucommunity/brighterscript/compare/v0.7.1...v0.7.2) - 2020-04-24
1833
- ### Fixed
1834
- - runtime bug in the language server when validating incomplete class statements
1835
-
1836
-
1837
-
1838
- ## [0.7.1](https://github.com/rokucommunity/brighterscript/compare/v0.7.0...v0.7.1) - 2020-04-23
1839
- ### Fixed
1840
- - dependency issue: `glob` is required but was not listed as a dependency
1841
-
1842
-
1843
-
1844
- ## [0.7.0](https://github.com/rokucommunity/brighterscript/compare/v0.6.0...v0.7.0) - 2020-04-23
1845
- ### Added
1846
- - basic support for namespaces
1847
- - experimental parser support for import statements (no transpile yet)
1848
- ### Changed
1849
- - parser produces TokenKind.Library now instead of an identifier token for library.
1850
-
1851
-
1852
-
1853
- ## [0.6.0](https://github.com/rokucommunity/brighterscript/compare/v0.5.4...v0.6.0) 2020-04-15
1854
- ### Added
1855
- - ability to filter out diagnostics by using the `diagnosticFilters` option in bsconfig
1856
- ### Changed
1857
- - deprecated the `ignoreErrorCodes` in favor of `diagnosticFilters`
1858
- ### Fixed
1859
- - Bug in the language server that wasn't reloading the project when changing the `bsconfig.json`
1860
-
1861
-
1862
-
1863
- ## [0.5.4](https://github.com/rokucommunity/brighterscript/compare/v0.5.3...v0.5.4) 2020-04-13
1864
- ### Fixed
1865
- - Syntax bug that wasn't allowing period before indexed get expression (example: `prop.["key"]`) (#58)
1866
- - Syntax bug preventing comments from being used in various locations within a class
1867
-
1868
-
1869
-
1870
- ## [0.5.3](https://github.com/rokucommunity/brighterscript/compare/v0.5.2...v0.5.3) - 2020-04-12
1871
- ### Added
1872
- - syntax support for the xml attribute operator (`node@someAttr`) (#34)
1873
- - syntax support for bitshift operators (`<<` and `>>`) (#50)
1874
- - several extra validation checks for class statements
1875
- ### Fixed
1876
- - syntax bug that was showing parse errors for known global method names (such as `string()`) (#49)
1877
-
1878
-
1879
-
1880
- ## [0.5.2](https://github.com/rokucommunity/brighterscript/compare/v0.5.1...v0.5.2) - 2020-04-11
1881
- ### Changed
1882
- - 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)
1883
- ### Fixed
1884
- - Prevent xml files found outside of the `pkg:/components` folder from being parsed and validated. (#51)
1885
- - allow empty `elseif` and `else` blocks. (#48)
1886
-
1887
-
1888
-
1889
- ## [0.5.1](https://github.com/rokucommunity/brighterscript/compare/v0.5.0...v0.5.1) - 2020-04-10
1890
- ### Changed
1891
- - 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)
1892
-
1893
-
1894
-
1895
- ## [0.5.0](https://github.com/rokucommunity/brighterscript/compare/v0.4.4...v0.5.0) - 2020-04-10
1896
- ### Added
1897
- - several new diagnostics for conditional compiles. Some of them allow the parser to recover and continue.
1898
- - experimental class transpile support. There is still no intellisense for classes yet though.
1899
- ### Changed
1900
- - All errors are now stored as vscode-languageserver `Diagnostic` objects instead of a custom error structure.
1901
- - Token, AST node, and diagnostic locations are now stored as `Range` objects, which use zero-based lines instead of the previous one-based line numbers.
1902
- - All parser diagnostics have been broken out into their own error codes, removing the use of error code 1000 for a generic catch-all. That code still exists and will hold runtime errors from the parser.
1903
- ### Fixed
1904
- - bug in parser that was flagging the new class keywords (`new`, `class`, `public`, `protected`, `private`, `override`) as parse errors. These are now allowed as both local variables and property names.
1905
-
1906
-
1907
-
1908
- ## [0.4.4](https://github.com/rokucommunity/brighterscript/compare/v0.4.3...v0.4.4) - 2020-04-04
1909
- ### Fixed
1910
- - bug in the ProgramBuilder that would terminate the program on first run if an error diagnostic was found, even when in watch mode.
1911
-
1912
-
1913
-
1914
- ## [0.4.3](https://github.com/rokucommunity/brighterscript/compare/v0.4.2...v0.4.3) - 2020-04-03
1915
- ### Changed
1916
- - the `bsc` cli now emits a nonzero return code whenever parse errors are encountered, which allows tools to detect compile-time errors. (#43)
1917
-
1918
-
1919
-
1920
- ## [0.4.2](https://github.com/rokucommunity/brighterscript/compare/v0.4.1...v0.4.2) - 2020-04-01
1921
- ### Changed
1922
- - upgraded to [roku-deploy@3.0.0](https://www.npmjs.com/package/roku-deploy/v/3.0.0)
1923
-
1924
-
1925
-
1926
- ## [0.4.1](https://github.com/rokucommunity/brighterscript/compare/v0.4.0...v0.4.1) - 2020-01-11
1927
- ### Changed
1928
- - 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.
1929
-
1930
-
1931
-
1932
- ## [0.4.0](https://github.com/rokucommunity/brighterscript/compare/v0.3.1...v0.4.0) - 2020-01-07
1933
- ### Added
1934
- - ability to specify the pkgPath of a file when adding to the project.
1935
- ### Changed
1936
- - upgraded to [roku-deploy@3.0.0-beta.6](https://www.npmjs.com/package/roku-deploy/v/3.0.0-beta.6)
1937
- ### Fixed
1938
- - bug that was showing duplicate function warnings when multiple files target the same `pkgPath`. Now roku-deploy will only keep the last referenced file for each `pkgPath`
1939
- - reduced memory consumtion and FS calls during file watcher events
1940
- - issue in getFileByPkgPath related to path separator mismatches
1941
- - bugs related to standalone workspaces causing issues for other workspaces.
1942
-
1943
-
1944
-
1945
- ## [0.3.1](https://github.com/rokucommunity/brighterscript/compare/v0.3.0...v0.3.1) - 2019-11-08
1946
- ### Fixed
1947
- - language server bug that was showing error messages in certain startup race conditions.
1948
- - error during hover caused by race condition during file re-parse.
1949
-
1950
-
1951
-
1952
- ## [0.3.0](https://github.com/rokucommunity/brighterscript/compare/v0.2.2...v0.3.0) - 2019-10-03
1953
- ### Added
1954
- - support for parsing opened files not included in any project.
1955
- ### Fixed
1956
- - parser bug that was preventing comments as their own lines inside associative array literals. ([#29](https://github.com/rokucommunity/brighterscript/issues/28))
1957
-
1958
-
1959
-
1960
- ## [0.2.2](https://github.com/rokucommunity/brighterscript/compare/v0.2.1...v0.2.2) - 2019-09-27
1961
- ### Fixed
1962
- - 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.
1963
-
1964
-
1965
-
1966
- ## [0.2.1](https://github.com/rokucommunity/brighterscript/compare/v0.2.0...v0.2.1) - 2019-09-24
1967
- ### Changed
1968
- - the text for diagnostic 1010 to say "override" instead of "shadows"
1969
- ### Fixed
1970
- - crash when parsing the workspace path to read the config on startup.
1971
- - auto complete options not always returning results when it should.
1972
- - windows bug relating to the drive letter being different, and so then not matching the file list.
1973
- - many bugs related to mismatched file path comparisons.
1974
-
1975
-
1976
-
1977
- ## [0.2.0](https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.2.0) - 2019-09-20
1978
- ### Added
1979
- - bsconfig.json validation
1980
- - slightly smarter intellisense that knows when you're trying to complete an object property.
1981
- - diagnostic for deprecated brsconfig.json
1982
- - basic transpile support including sourcemaps. Most lines also support transpiling including comments, but there may still be bugs
1983
- - parser now includes all comments as tokens in the AST.
1984
-
1985
- ### Fixed
1986
- - bugs in the languageserver intellisense
1987
- - parser bug that would fail when a line ended with a period
1988
- - prevent intellisense when typing inside a comment
1989
- - Bug during file creation that wouldn't recognize the file
1990
-
1991
-
1992
- ## [0.1.0](https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.1.0) - 2019-08-10
1993
- ### Changed
1994
- - Cloned from [brightscript-language](https://github.com/rokucommunity/brightscript-language)