Skip to content

Commit

Permalink
Release Rojo 7.0.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy committed Oct 19, 2021
1 parent 07abfbd commit 75542da
Show file tree
Hide file tree
Showing 8 changed files with 2,742 additions and 503 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Unreleased Changes

## [7.0.0-rc.2] - October 19, 2021
## [7.0.0-rc.3] - October 19, 2021
This is the last release candidate for Rojo 7. In an effort to get Rojo 7 out the door, we'll be freezing features from here on out, something we should've done a couple months ago.

Expect to see Rojo 7 stable soon!
Expand All @@ -14,7 +14,10 @@ Expect to see Rojo 7 stable soon!
[#482]: https://github.com/rojo-rbx/rojo/pull/482
[#484]: https://github.com/rojo-rbx/rojo/pull/484
[#478]: https://github.com/rojo-rbx/rojo/pull/478
[7.0.0-rc.2]: https://github.com/rojo-rbx/rojo/releases/tag/v7.0.0-rc.2
[7.0.0-rc.3]: https://github.com/rojo-rbx/rojo/releases/tag/v7.0.0-rc.3

## 7.0.0-rc.2 - October 19, 2021
(Botched release due to Git mishap, oops!)

## [7.0.0-rc.1] - August 23, 2021
In Rojo 6 and previous Rojo 7 alphas, an explicit Vector3 property would be written like this:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rojo"
version = "7.0.0-rc.2"
version = "7.0.0-rc.3"
authors = ["Lucien Greathouse <me@lpghatguy.com>"]
description = "Enables professional-grade development tools for Roblox developers"
license = "MPL-2.0"
Expand Down
5 changes: 5 additions & 0 deletions plugin/rbx_dom_lua/EncodedValue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,11 @@ types = {
end,
},

Tags = {
fromPod = identity,
toPod = identity,
},

Vector2 = {
fromPod = unpackDecoder(Vector2.new),

Expand Down
10 changes: 10 additions & 0 deletions plugin/rbx_dom_lua/allValues.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,16 @@
},
"ty": "String"
},
"Tags": {
"value": {
"Tags": [
"foo",
"con'fusion?!",
"bar"
]
},
"ty": "Tags"
},
"UDim": {
"value": {
"UDim": [
Expand Down
13 changes: 5 additions & 8 deletions plugin/rbx_dom_lua/customProperties.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,18 @@ local CollectionService = game:GetService("CollectionService")
return {
Instance = {
Tags = {
read = function(instance, key)
local tagList = CollectionService:GetTags(instance)

return true, table.concat(tagList, "\0")
read = function(instance)
return true, CollectionService:GetTags(instance)
end,
write = function(instance, key, value)
write = function(instance, _, value)
local existingTags = CollectionService:GetTags(instance)

local unseenTags = {}
for _, tag in ipairs(existingTags) do
unseenTags[tag] = true
end

local tagList = string.split(value, "\0")
for _, tag in ipairs(tagList) do
for _, tag in ipairs(value) do
unseenTags[tag] = nil
CollectionService:AddTag(instance, tag)
end
Expand All @@ -44,4 +41,4 @@ return {
end,
},
},
}
}
Loading

0 comments on commit 75542da

Please sign in to comment.