diff --git a/src/pages/whats-new/2024-08-August.md b/src/pages/whats-new/2024-08-August.md new file mode 100644 index 0000000..d301c41 --- /dev/null +++ b/src/pages/whats-new/2024-08-August.md @@ -0,0 +1,326 @@ +--- +date: August 2024 +summary: Changes to brighterscript, bslint, ropm, promises +layout: ../../layouts/WhatsNewPost.astro +--- +# Overview +Welcome to the August 2024 edition of "What's New in RokuCommunity." Please consider subscribing to stay up to date with what's happening in RokuCommunity. + +## We need your help +The RokuCommunity projects are maintained by a relatively small group of developers (mostly volunteers), and we have a growing list of unresolved issues. We need your help! There are many different ways you can contribute. Whether it's addressing bugs, improving documentation, introducing new features, or simply helping us manage our expanding list of GitHub issues, your involvement would be greatly appreciated. We are more than happy to guide you in finding the most suitable contribution method that aligns with your interests. To learn more about how you can contribute, feel free to reach out to us on [Slack](https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA), or explore the existing GitHub issues: + +- [vscode-brightscript-language](https://github.com/rokucommunity/vscode-brightscript-language/issues) +- [brighterscript](https://github.com/rokucommunity/brighterscript/issues) +- [brighterscript-formatter](https://github.com/rokucommunity/brighterscript-formatter/issues) +- [roku-deploy](https://github.com/rokucommunity/roku-deploy/issues) +- [roku-debug](https://github.com/rokucommunity/roku-debug/issues) +- [bslint](https://github.com/rokucommunity/bslint/issues) +- [ropm](https://github.com/rokucommunity/ropm/issues) +- [brs](https://github.com/rokucommunity/brs/issues) +- [roku-report-analyzer](https://github.com/rokucommunity/roku-report-analyzer/issues) +- [@rokucommunity/promises](https://github.com/rokucommunity/promises/issues) +- [roku-http](https://github.com/rokucommunity/roku-http) + +## Issue of the month + +In this section, we highlight a specific issue where we could benefit from the community's assistance in finding a solution. These problems are generally straightforward to address, and serve as an excellent opportunity to become acquainted with the various RokuCommunity codebases. + +This month, we'd like to highlight [SOME_GH_ISSUE](SOME_URL). SOME_DESCRIPTION + + +If you're interested in working on this feature, please comment on the [github issue](SOME_LINK) or reach out to us on [Slack](https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA) +# Editor + +# Debugging + + +# BrighterScript + +## Link scopes during transpile, fixes namespace transpiling + + +Fixes a bug where certain namespaced function calls aren't transpiling properly. This was due to scope linking not being performed during the transpile process. + +![image](https://github.com/user-attachments/assets/ab2942a7-41ad-4f9a-9391-51a8f1699db1) + + + +## `m` should be typed as roAssociativeArray for all inline functions + + +Example: + +``` +class Test + sub method() + stub = function() + m.whatever = false ' m here is unknown - it is an AA + end function + end sub +end class +``` + + + + + + +# Community Tools + +## bslint +## Check if in TypeExpression before doing VariableExpression checks + + +Fixes #121 + +Also fixes #117 + + +## Adds Name Shadowing lint rule + + +Addresses #99 + +Checks for name shadowing - that is, when a name in a namespace overrides an existing type/function. + +![image](https://github.com/user-attachments/assets/c906b6db-c718-47cb-9040-6bc3a02e8ff4) + + + + + +## Updated to work with with Brighterscript v1.0.0-alpha.35 + + +Mostly changes around the new structure of `BsDiagnsotic` ... + + + +## Removing peer-dependency because it keeps causing issues + + +Removing the peerDependency section in the package.json because I keep forgetting to update it when I cut releases, which causes issues. We've already established that you need to keep the alpha version of bslint in sync with brighterscript, that should be enough. + + +## add rule for roRegex duplicates + + +![image](https://github.com/user-attachments/assets/d321d623-41a1-4e63-b57a-3188250e482d) + + + +## Uprgade to bsc@0.67.5 + + +Upgrade to bsc@0.67.5 + + +## brighterscript@1.0.0-alpha.36 + + + + + +## Fix LINT3024 and LINT3025 case sensitivity bug + + +Fix bug where LINT3024 and LINT3025 were doing a case-sensitive check when they should be checking case-insensitive. + + +## ropm +## Maintenance (lint fixes, bsc upgrades, npm audit fixes) + + + - Upgrade eslint + - add several lint new rules and exclusions + - fix some lint issues. + - fix some npm audit issues + - upgrade to latest bsc + + + +# Community Libraries + +## promises +## Commit for Promises BRS demo + + + + + +## Commit for Promises BRS demo + + + + + +## Commit for Promises BRS demo + + + + + +## Commit for Promises BRS demo - PR comment updates + + + + + +## Commit for Promises BRS demo - PR comment updates + + + + + +## adding unit tests + + + + + +## added command line scripts including a script from rokukor that runs roku-deploy and captures output from tests + + + + + +## Commit for Promises BRS demo - PR comment updates + + + + + +## Commit for Promises BRS demo - PR comment updates + + + + + +## Some naming tweaks + + + + + +## Merge pull request #12 from disc7/promises-demo-brightscript + + + + + +## lock to MasterworksIO/action-local-cache@v2.1 + + + + + +## back to @2 for now as 2.1 seems to be missing + + + + + +## Merge pull request #15 from rokucommunity/feature/add-unit-tests + + + + + +## Rename `.demos/` to `demos/` + + +The demos folder had the wrong name. It should have been `demos`, not `.demos` + + +## Update README.md + + + + + +## Ci create package + + +Support `create-package` tag + + +## Bugfix/resolve and reject can cause node creation + + + + + + +# Formatting + + +# Preview features + + +# Documentation + +# Misc + +# For Contributors + +*** + +# TODO +***Move these items to an appropriate section above, then delete this section*** + +*** + +# Thank you + +Last but certainly not least, a big **_Thank You_** to the following people who contributed this month: + +Contributions to [brighterscript](https://github.com/RokuCommunity/brighterscript): + +- [@markwpearce (Mark Pearce)](https://github.com/markwpearce) + - `m` should be typed as roAssociativeArray for all inline functions ([PR #1272](https://github.com/RokuCommunity/brighterscript/pull/1272)) +- [@TwitchBronBron (Bronley Plumb)](https://github.com/TwitchBronBron) + - Link scopes during transpile, fixes namespace transpiling ([PR #1271](https://github.com/RokuCommunity/brighterscript/pull/1271)) + +Contributions to [bslint](https://github.com/RokuCommunity/bslint): + +- [@markwpearce (Mark Pearce)](https://github.com/markwpearce) + - Check if in TypeExpression before doing VariableExpression checks ([PR #122](https://github.com/RokuCommunity/bslint/pull/122)) + - Adds Name Shadowing lint rule ([PR #124](https://github.com/RokuCommunity/bslint/pull/124)) + - Updated to work with with Brighterscript v1.0.0-alpha.35 ([PR #125](https://github.com/RokuCommunity/bslint/pull/125)) +- [@RokuAndrii (RokuAndrii)](https://github.com/RokuAndrii) + - add rule for roRegex duplicates ([PR #119](https://github.com/RokuCommunity/bslint/pull/119)) + - Fix LINT3024 and LINT3025 case sensitivity bug ([PR #129](https://github.com/RokuCommunity/bslint/pull/129)) +- [@TwitchBronBron (Bronley Plumb)](https://github.com/TwitchBronBron) + - Removing peer-dependency because it keeps causing issues ([PR #126](https://github.com/RokuCommunity/bslint/pull/126)) + - Uprgade to bsc@0.67.5 ([PR #108](https://github.com/RokuCommunity/bslint/pull/108)) + - brighterscript@1.0.0-alpha.36 ([1dea9d0](https://github.com/RokuCommunity/bslint/commit/1dea9d0)) + +Contributions to [ropm](https://github.com/RokuCommunity/ropm): + +- [@TwitchBronBron (Bronley Plumb)](https://github.com/TwitchBronBron) + - Maintenance (lint fixes, bsc upgrades, npm audit fixes) ([PR #75](https://github.com/RokuCommunity/ropm/pull/75)) + +Contributions to [promises](https://github.com/RokuCommunity/promises): + +- [@charlie-abbott-deltatre (Charlie Abbott)](https://github.com/charlie-abbott-deltatre) + - Commit for Promises BRS demo ([3143aa2](https://github.com/RokuCommunity/promises/commit/3143aa2)) + - Commit for Promises BRS demo ([c776a03](https://github.com/RokuCommunity/promises/commit/c776a03)) + - Commit for Promises BRS demo ([fb1af54](https://github.com/RokuCommunity/promises/commit/fb1af54)) + - Commit for Promises BRS demo - PR comment updates ([46be401](https://github.com/RokuCommunity/promises/commit/46be401)) + - Commit for Promises BRS demo - PR comment updates ([903144e](https://github.com/RokuCommunity/promises/commit/903144e)) + - Commit for Promises BRS demo - PR comment updates ([609cf13](https://github.com/RokuCommunity/promises/commit/609cf13)) + - Commit for Promises BRS demo - PR comment updates ([dc28448](https://github.com/RokuCommunity/promises/commit/dc28448)) +- [@chrisdp (Christopher Dwyer-Perkins)](https://github.com/chrisdp) + - Update README.md ([PR #17](https://github.com/RokuCommunity/promises/pull/17)) + - Bugfix/resolve and reject can cause node creation ([PR #21](https://github.com/RokuCommunity/promises/pull/21)) +- [@jtuckerfubo (justin tucker)](https://github.com/jtuckerfubo) + - adding unit tests ([609fa83](https://github.com/RokuCommunity/promises/commit/609fa83)) + - added command line scripts including a script from rokukor that runs roku-deploy and captures output from tests ([7827f7d](https://github.com/RokuCommunity/promises/commit/7827f7d)) +- [@TwitchBronBron (Bronley Plumb)](https://github.com/TwitchBronBron) + - Some naming tweaks ([c4d8287](https://github.com/RokuCommunity/promises/commit/c4d8287)) + - Merge pull request #12 from disc7/promises-demo-brightscript ([a1dfae8](https://github.com/RokuCommunity/promises/commit/a1dfae8)) + - lock to MasterworksIO/action-local-cache@v2.1 ([26a8996](https://github.com/RokuCommunity/promises/commit/26a8996)) + - back to @2 for now as 2.1 seems to be missing ([bdc50c2](https://github.com/RokuCommunity/promises/commit/bdc50c2)) + - Merge pull request #15 from rokucommunity/feature/add-unit-tests ([986f7a9](https://github.com/RokuCommunity/promises/commit/986f7a9)) + - Rename `.demos/` to `demos/` ([PR #16](https://github.com/RokuCommunity/promises/pull/16)) + - Ci create package ([PR #22](https://github.com/RokuCommunity/promises/pull/22)) \ No newline at end of file