Releases: Bedrock-OSS/regolith
Releases · Bedrock-OSS/regolith
1.0.2
What's Changed
- Fixed a problem that sometimes caused Regolith to fail exporting files when the export path was on different drive than the Regolith working directory. @Nusiq in #239
- On Windows, Regolith looks for
python.exe
first and than forpython3.exe
when trying to run Python. @Nusiq in #241 - Regolith doesn't use deprecated
ioutil
module anymore. @Juneezee in #236 - Updated go-burrito dependency. @stirante
- Updated docs. @arexon in #235
New Contributors
Full Changelog: 1.0.1...1.0.2
1.0.1
This update is just a hotfix that changes a few spelling mistakes and error messages.
What's Changed
- Fixed an error message displayed when trying to run
regolith run
command with a wrong version of the filter installed on the project. by @ThijsHankelMC in #237 - Fixed help message of the
regolith install
command. by @Nusiq in #238 - Fixed community filter links in the documentation. by @arexon
New Contributors
- @ThijsHankelMC made their first contribution in #237
Full Changelog: 1.0.0...1.0.1
1.0.0
Regolith 1.0.0
After this release, we will try to make compatibility-breaking changes less often. We will also
follow proper semantic versioning. This update simplifies the user experience, adds new features, and
it comes with new beautiful documentation.
New features and improvements
- Added
regolith apply-filter
command. The command runs a selected filter to destructively modify the source files of RP and BP. This is useful when you want to apply some changes to the files of your project permanently. Implemented by @Nusiq in #220, #234 - Added
regolith config
command. It lets you adjust various user settings. E.g: You can define your own filter resolver URL or you can set up Regolith to save the filters cache in Regolith's app data folder. More user config features will be added in the future. Implemented by @Nusiq in #225 - Added conditionally executed filters. A New
when
property can now be used in thefilters
list (in config.json and filter.json) to run a filter based on a condition. Implemented by @stirante and @Nusiq in #215, #230 - Python, NodeJS, and Nim filters can now point at the path to the file/folder that defines the dependencies of the filter. This gives the filter developers more freedom in structuring their projects. Fixed #222 by @Nusiq in #227
- The filters now have to explicitly state that they modify their data. In the previous version of Regolith, the data folder was fully copied during every
regolith run
from the temporary directory back to the data directory. Most of the filters don't use that feature because they don't save anything in their data betweenregolith run
s. This change should speed up Regolith on the projects that store a lot of files in their data folder (by avoiding the creation of unnecessary copies of the files). Implemented by @Nusiq in #232 - Improved the CLI. We're now using a new command-line arguments parser. It slightly changes how the flags are used in the Regolith commands. The old command-line parser required placing them before the arguments. The new one requires placing them after the arguments. The quality of messages from the
help
command was improved. Implemented by @Nusiq in #224, #219 - Nim filters: Better memory manager and improved nimble CLI by @evilguy50 in #223
- Added allow-all permission flag to Deno filters. Deno filters now will be able to read and write any files they need to. Implemented by @evilguy50 in #226
- Added a system that uses a "lockfile" to prevent running multiple instances of Regolith at the same time in the same project. Implementd by @stirante and @Nusiq
Removed features
- Removed
regolith unlock
command. We decided that this safety feature is unnecessary. After all, Regolith is a program that runs scripts from the internet. It wouldn't protect people who use it carelessly. Implemented by @Nusiq in #218 - Removed
recycled
copy. This function didn't work as intended and there was no reason to keep it. Implemented by @Nusiq in #216 - Removed
regolith update
andregolith update-all
commands. In this version, you can useregolith install-all
to update the filters to match the definitions from theconfig.json
file (instead ofupdate-all
). Theregolith update
command doesn't have a direct replacement, but you can always forcefullyregolith install
a filter to a specific version if you need to reinstall the filter. Implemented by @Nusiq
Documentation and CI
- Ported docs to Vitepress. The documentation is way nicer than before. Implemented by @arexon in #233
- Added automatic pull request checks. Implemented by @DaanV2 in #205 and #207, #217
- Documented
exe
filters. Closed #187 by @Luminoso-256 in #204
Other
- Our error-handling library is now a separate project called go-burrito. Implemented by @stirante in #229
New Contributors
- @Luminoso-256 made their first contribution in #204
- @DaanV2 made their first contribution in #205
- @arexon made their first contribution in #233
Full Changelog: 0.0.18...1.0.0
0.0.18
What's Changed
- Change module name to
github.com/Bedrock-OSS/regolith
by @Unkn0wnCat in #198 - now regolith can be installed withgo install github.com/Bedrock-OSS/regolith
command (if you have Go installed). - Modify Permissions for Directory creation by @Echelon101 in #199 - fixes problems with running Regolith on Linux.
- Schemas update by @Nusiq in #200 -
regolith init
adds$schema
property to generated config files.
New Contributors
- @Unkn0wnCat made their first contribution in #198
- @Echelon101 made their first contribution in #199
Full Changelog: 0.0.17...0.0.18
0.0.17
Fixed .NET filters.
Full Changelog: 0.0.16...0.0.17
0.0.16
0.0.15
What's Changed
- Added feature that lets you store the cache of the project inside the app data folder of regolith (
%LocalAppData%/regolith/project-cache/<MD5 hash based on project path>
on Windows). Update by @Nusiq in #179 - Documentation update by @MedicalJewel105 in #178
Full Changelog: 0.0.14...0.0.15
0.0.14
What's changed
- Fixed
regolith watch
command (without --recycled flag) not watching the data path. - Fixed the watcher reports being send to the main Goroutine with a delay.
Full Changelog: 0.0.13...0.0.14
0.0.13
What's Changed
- Restored 0.0.11 copy function. The function used for copying files in 0.0.12 is still available with the
--recycled
forregolith run
andregolith watch
commands. In most cases the default function is better but not always. It's good to try both functions and see which one works better for specific project. (#168) - Added filter resolver. The
regolith install
command can now download filters based on their short names. The repository that maps the short names to URLs is available here: https://github.com/Bedrock-OSS/regolith-filter-resolver/blob/main/resolver.json. It works exactly the same as it used to for the standard filters on previous Regolith versions. - Regolith returns exit code 1 when it fails. This is useful for automation.
- The
exe
andshell
filters don't add quotation marks around their arguments anymore (#175 ). - Python filter updates
pip
after creating virtual environment and before the installation of the filter dependencies. - The copy function from 0.0.12 was slightly updated so it also tracks directories which might improve its stability in some cases (point 1 in #174).
Full Changelog: 0.0.12...0.0.13
0.0.12
Changelog
- Added
regolith watch
command - Added profile filter type for nesting profiles
- Added Deno filter type
- Performance improvements. Regolith should now copy files from source to tmp and to destination faster than before thanks to caching the contents of these directories and copying files only if necessary
- Renamed the default profile name from
dev
todefault
- The files are now build with Go 1.18
Full Changelog: 0.0.11...0.0.12