Skip to content

Add warning for outdated versions#30

Merged
ryanlua merged 4 commits intomainfrom
update-warning
Mar 27, 2026
Merged

Add warning for outdated versions#30
ryanlua merged 4 commits intomainfrom
update-warning

Conversation

@ryanlua
Copy link
Copy Markdown
Owner

@ryanlua ryanlua commented Mar 27, 2026

Makes it so that if the version is outdated, it warns about it in the output.

Checks the below asset's name to match v*.*.*, which determines the latest version and compares it to the internal version.

https://create.roblox.com/store/asset/112061170330936

ryanlua added 3 commits March 26, 2026 22:04
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
@ryanlua ryanlua self-assigned this Mar 27, 2026
Copilot AI review requested due to automatic review settings March 27, 2026 01:19
@ryanlua ryanlua added the enhancement New feature or request label Mar 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a runtime warning when the installed Purse version differs from the latest version indicated by the Roblox asset name, alongside updating sandbox capability documentation/metadata to support that lookup.

Changes:

  • Fetches asset metadata and warns if a newer version is available.
  • Refactors attribution output to use a VERSION constant in the printed message.
  • Updates documented/declared script capabilities (and the capabilities bitmask) for asset version checking.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
src/Attribution.client.luau Adds MarketplaceService lookup + version parsing, prints versioned attribution, and warns on version mismatch.
models/Purse/init.meta.json Updates the sandbox SecurityCapabilities bitmask value.
docs/capabilities.md Updates the capabilities list/descriptions (adds AssetRead, revises AssetManagement description).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Attribution.client.luau Outdated
Comment thread src/Attribution.client.luau Outdated
Comment thread src/Attribution.client.luau
Comment thread docs/capabilities.md
Comment thread src/Attribution.client.luau
Signed-off-by: GitHub <noreply@github.com>
@ryanlua ryanlua merged commit 78072df into main Mar 27, 2026
4 checks passed
@ryanlua ryanlua deleted the update-warning branch March 27, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants