Compare commits

...

4 Commits

Author SHA1 Message Date
Lucien Greathouse
4d0fdf0dfd 0.4.2 2018-04-04 23:06:57 -07:00
Lucien Greathouse
b448e8007e Fix duplication 0.4.x duplication bug for good 2018-04-04 23:05:01 -07:00
Lucien Greathouse
bad0e67266 Remove extra spawn in server code 2018-04-04 23:02:46 -07:00
Lucien Greathouse
3dee3dd627 Fix README whitespace inconsistency 2018-04-04 00:14:23 -07:00
6 changed files with 18 additions and 12 deletions

View File

@@ -3,6 +3,10 @@
## Current Master ## Current Master
*No changes* *No changes*
## 0.4.2 (April 4, 2018)
* Fixed final case of duplicated instance insertion, caused by reconciled instances not being inserted into `RouteMap`.
* The reconciler is still not a perfect solution, especially if script instances get moved around without being destroyed. I don't think this can be fixed before a big refactor.
## 0.4.1 (April 1, 2018) ## 0.4.1 (April 1, 2018)
* Merged plugin repository into main Rojo repository for easier tracking. * Merged plugin repository into main Rojo repository for easier tracking.
* Improved `RouteMap` object tracking; this should fix some cases of duplicated instances being synced into the tree. * Improved `RouteMap` object tracking; this should fix some cases of duplicated instances being synced into the tree.

View File

@@ -5,10 +5,10 @@
<div>&nbsp;</div> <div>&nbsp;</div>
<div align="center"> <div align="center">
<a href="https://travis-ci.org/LPGhatguy/rojo"> <a href="https://travis-ci.org/LPGhatguy/rojo">
<img src="https://api.travis-ci.org/LPGhatguy/rojo.svg?branch=master" alt="Travis-CI Build Status" /> <img src="https://api.travis-ci.org/LPGhatguy/rojo.svg?branch=master" alt="Travis-CI Build Status" />
</a> </a>
<img src="https://img.shields.io/badge/latest_version-0.4.1-brightgreen.svg" alt="Current server version" /> <img src="https://img.shields.io/badge/latest_version-0.4.2-brightgreen.svg" alt="Current server version" />
</div> </div>
<hr /> <hr />

View File

@@ -1,6 +1,6 @@
return { return {
pollingRate = 0.2, pollingRate = 0.2,
version = {0, 4, 1}, version = {0, 4, 2},
expectedServerVersionString = "0.4.x", expectedServerVersionString = "0.4.x",
protocolVersion = 1, protocolVersion = 1,
dev = false, dev = false,

View File

@@ -67,12 +67,10 @@ local function main()
.Click:Connect(function() .Click:Connect(function()
checkUpgrade() checkUpgrade()
spawn(function() pluginInstance:togglePolling()
pluginInstance:togglePolling() :catch(function(err)
:catch(function(err) warn(err)
warn(err) end)
end)
end)
end) end)
end end

View File

@@ -161,6 +161,10 @@ function Reconciler:reconcile(rbx, item)
-- Use a dumb algorithm for reconciling children -- Use a dumb algorithm for reconciling children
self:_reconcileChildren(rbx, item) self:_reconcileChildren(rbx, item)
if item.Route then
self._routeMap:insert(item.Route, rbx)
end
return rbx return rbx
end end

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rojo" name = "rojo"
version = "0.4.1" version = "0.4.2"
authors = ["Lucien Greathouse <me@lpghatguy.com>"] authors = ["Lucien Greathouse <me@lpghatguy.com>"]
description = "A tool to create robust Roblox projects" description = "A tool to create robust Roblox projects"
license = "MIT" license = "MIT"