Releases: utility-library/leap
v1.0.5
v1.0.4
Hey everyone, we've made some recent updates and fixes. Here are the details of the latest commits:
-
fix: Now the command "leap restart " should work properly. Previously, when executed, it would preprocess the resource twice, resulting in only having the build version and losing the unbuilt code. This issue has been resolved.
-
feat: We've introduced a new feature called hooking.js. This feature includes the assignment of an ID to each feature, which will enable future implementation of function hooking. This will facilitate sharing instantiated server-to-client and client-to-server objects. The hooking.js feature simply adds text before the file if certain features match.
-
feat: We've also implemented instantiated object sharing between the client and server, enabling object sharing in both directions.
-
fix: We've resolved an issue related to an infinite stack call during the hooking process. This fix will prevent any potential disruptions caused by this problem.
We value your opinion, so please feel free to share your thoughts and suggestions in the discussion section. Let us know what you think about these updates and any additional features you'd like to see added.
v1.0.3
Hey everyone, we fixed some bugs and added a new feature, exclusion of all .lua files from the file watcher of vscode during the shadow writing.
let us know in the discussion section what you think and what you would like to see added.
v1.0.2
Hey everyone, we fixed some bugs and added a new feature, type checking in functions and added type to classes, i.e. every object instantiated by a class will have the type of the class name, read more here or look at the examples within the type checking section
- fix(buildTask): infinite loop of preprocessing + empty files exclusion
- fix(postProcess): fixed missing file encoding
- fix(defaultValue): changed anythingBut to word (this should fix some issue with type checking of functions captured as functions)
- fix(defaultValue): changed slice(0, -2) to a regex for linebreaks
- fix(linesManipulation): Added test cases also for check with match index
- fix(command): added dev checks for performances
- fix(buildLoop): infinite build loop
- feat(disableRenaming): Added the feature to disable to possibility to rename the resource.
- feat(classes): now each class has its own type
- feat(typeChecking): Added the ability to check the type of parameters in functions
v1.0.1
Hey everyone, we fixed some bugs and added with task builds the ability to have resources auto preprocess whenever you restart or start resources that use leap (look at the Usage section in the readme for more information)
- fix(defaultValue): the defaultValue module would search for the match index in the modified files, which had less characters. Leading to a misplacement of the default value processed code.
- fix(arrow functions): fixed a bug where arrow function detection would shift by some characters
- fix(self parameter injection): block openings recognition
- fix(classes): fixed bug that did not allow creating classes in files without other code besides the class
- feat(buildTask): now you can directly restart/start resources using leap.