Skip to content

Conversation

@TwitchBronBron
Copy link
Member

This is the official branch for the v1.0.0 release, tracking milesone v1.0.0.

markwpearce and others added 26 commits March 14, 2024 11:49
…ned yet (#1111)

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* reduced the walk for assignment name checking

* More wip

* Shadowed local var check on as-needed basis

* Extended var/function shadow checking to function params

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* reduced the walk for assignment name checking

* More wip

* Shadowed local var check on as-needed basis

* Extended var/function shadow checking to function params

* Console.logs scope validation metrics

* Trying to reduce what is validated

* Symbol Table link time refactor

* Eleminate revalidation if not neccessary

* Try to reuse file level maps

* Use full scope lookup maps on initial validation, otherwise use file caches

* Use perf_hooks

* Change `filesToSkip` to be `Set<string>`

* Fix stack overflow due to file path case mismatch

* remove v8-profiler-next dependency

* Removed commented out code

* Reworked validation metrics to provide more info.

* reset stopwatch when using getDureationtextFor

* Fixed doc comment lint issue

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* bs-disable doesn't work for 5-level nested function call #1104

* Fix broken tests

* Add jsbench comment

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* bs-disable doesn't work for 5-level nested function call #1104

* Fix broken tests

* Add jsbench comment

* Brighterscript: bs-disable doesn't work for 5-level nested function call

* switched to nested maps for range caching

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Added TypeCastMStatement and parser

* m can be typecast

* Changed all occurences of 'TypeCast' to 'Typecast'

* Updated to allow use in Namespaces and addresses other comments from PR review

* Added more tests:

* Updated docs

* reverted diagnostic message change
* Typecast M is not merged to other namespaces

* updated docs
* Fixes CompletionItemKinds for typed variables

* removed comment

* No replaceAll() on github test runner
* Moved all scope based diagnostics to diagnosticsManager

* All tests pass

* Removed commented out code

* updated documentation about plugins adding diagnostics

* removed diagnostics array on program

* Removed commented out tests

* Fix some issues with the latest merge

* Moved all diagnostics filtering/adjusting to diagnostics manager

* more fixes based on PR review

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Works for built in types... not custom components yet

* Adds Type Inference for createObject function call

* Added tests for default case

* Reverts callback on TypedFunctionType in favor of special case handling for Cretaeobject calls

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* I think parser works now for alias statements

* Alias statements are parsed

* file validation on alias statement

* fixed test

* fixed build

* Aliases transpile correctly

* made sure namespaces work, and add docs

* Update docs/variable-shadowing.md

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* fix doc typo

* Added support for aliasing classes

* fixed diagnostic param typo

* reuse code 1024 for `statementMustBeDeclaredAtTopOfFile`

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Modified Ast Walk to allow operations on Comments

* fixed lint error

* Updated some documentation that included outdated code

* Undo comment visitor logic

* Add new `AstNode` visitor.

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Made the doc scrapper more robust for finding descriptions

* Solves a bunch of problems with scraped Roku Docs data

* removed unused function"

* remove need for scripts/create-roku-types-data-json.ts by not deleting data.json

* Removed crate-roku-types-data-json prelunch task
* Hovers on LHS of assignments do symbol type lookups

* Fixes when a member that only exsits on one type of union is accessed

* Makes 'CannotFindName' diagnostic nicer by tellying you what it can not find the name in

* Update src/interfaces.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update src/interfaces.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* fixed #1167

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Fixed a few param names in built in types

* Manually added overloaded roSgNode.update method

* Re-fetched docs

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Add plugin hook for documentSymbol (#1116)

* Add plugin hook for documentSymbol

* Better handling of null/missing name tokens

* fix lint issues

* Upgade LSP packages (#1117)

* Plugin hook provide workspace symbol (#1118)

* Move symbol creation to symbolUtils

* Fix workspaceSymbol handling

* Fix tests

* Fix lint issues

* Improve workspace/document symbol handling (#1120)

* Move symbol creation to symbolUtils

* Fix workspaceSymbol handling

* Fix tests

* Fix lint issues

* Mostly fixed tests

* Fix workspace symbols missing containerName

* Update changelog for v0.65.27

* 0.65.27

* Upgrade to @rokucommunity/logger (#1137)

* Upgrade to @rokucommunity/logger

* Add original logger class back

* @rokucommunity/logger v0.3.4

* Fix node14 issues (#1153)

* Bump tar from 6.1.13 to 6.2.1 in /benchmarks (#1131)

Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.13 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.13...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bronley Plumb <bronley@gmail.com>

* fix: resolve the stagingDir option relative to the bsconfig.json file (#1148)

* fix: resolve the stagingDir option relative to the bsconfig.json file

* chore: add unit test

* Fix windows paths

---------

Co-authored-by: Bart van den Ende <bart.van.den.ende@wbd.com>
Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Move function calls to separate diagnostic (#1169)

* Fix formatting with logger output (#1171)

* Update changelog for v0.67.0

* 0.67.0

* Fix crash when diagnostic is missing range (#1174)

* Fix crash when diagnostic is missing range

* improve unit test

* Fix issues with cannotFindFunction

* Removed TypeChainEntry.kind (#1178)

* fixed some tests as well

* remove commented out code

* Fixed last tests

* fix lint errors

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bart van den Ende <65355342+bartvandenende-wm@users.noreply.github.com>
Co-authored-by: Bart van den Ende <bart.van.den.ende@wbd.com>
Co-authored-by: Mark Pearce <markwpearce@gmail.com>
Co-authored-by: Mark Pearce <mark.pearce@redspace.com>
@TwitchBronBron TwitchBronBron added the create-package create a temporary npm package on every commit label Apr 17, 2025
@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on cb3036c. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.0.0-packages/brighterscript-1.0.0-alpha.45-release-1-0-0.20250417183314.tgz

@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on f6c5463. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.0.0-packages/brighterscript-1.0.0-alpha.45-release-1-0-0.20250421112435.tgz

@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on 28a22bf. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.0.0-packages/brighterscript-1.0.0-alpha.45-release-1-0-0.20250424145229.tgz

@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on 441cc6c. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.0.0-packages/brighterscript-1.0.0-alpha.45-release-1-0-0.20250424160043.tgz

@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on 382146c. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.0.0-packages/brighterscript-1.0.0-alpha.45-release-1-0-0.20250424161444.tgz

@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on 9f25468. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.0.0-packages/brighterscript-1.0.0-alpha.46-release-1-0-0.20250424181303.tgz

@TwitchBronBron TwitchBronBron changed the title v1.0.0 v1.0.0 (old version 2, abandoned) May 1, 2025
@TwitchBronBron
Copy link
Member Author

Closing this in favor of a new branch, named v1 to align with standards from other projects (bslint, etc). Also helps us fetch .patch files since this does not work:

https://github.com/rokucommunity/brighterscript/commit/release-1.0.0.patch

but this does:

https://github.com/rokucommunity/brighterscript/commit/v1.patch

@TwitchBronBron TwitchBronBron deleted the release-1.0.0 branch May 1, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-package create a temporary npm package on every commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants