Releases: sifive/wit
Wit v0.14.0
Wit v0.14.0
Features
#256 Wit to read dependency information from git submodules.
If your repository does not have a wit-manifest.json, wit can now infer the dependencies by scanning the available git submodules.
If you have a repository that you are manually syncing wit-manifest.json and git submodule entries, and they are always a perfect 1:1 mapping, this enables consolidation by allowing a removal of the wit-manifest.json file from the repository.
Bugfixes
#258 Give readable error message when using relative paths with WIT_WORKSPACE_REFERENCE
#254 Give readable error message when an expected revision is missing from a repository
#253 Give readable error message when failing to clone a repository
#257 Submodule test cleanups
Infra
#250 New one-liner github action implementation for init
Wit v0.13.1
This is a release that mostly only fixes bugs in the GitHub Action. No functional change to the Wit program.
Bugfixes
Wit v0.13.0
Compatibility
- This version removes
wit fetch-scala
, which is now implemented by https://github.com/sifive/api-scala-sifive as of v0.2.0.
If you relied on that feature you'll need to update your api-scala-sifive or find another solution.
Features
wit foreach
lets you run a command in each repository- PR: #213
WIT_WORKSPACE_REFERENCE
can speed up yourwit init
by pointing at a cache- PR: #218
- Parallel clone speeds up
wit init
by batching clones from the same wit-manifest.json- PR: #222
wit restore
creates a fresh workspace by pointing at a previous wit-lock.json from another workspace- PR: #211
- Documentation for using
wit inspect
- PR: #207
Bugfixes
- Now errors out on duplicate dependency entries in wit-manifest.json
- PR: #221
Development
Wit v0.12.0
Compatibility
Comments in wit-manifest.json
Previous versions of Wit will remove comments added to dependencies in wit-manifest.json
If you intend to use comments (--message in add-dep and update-dep), be sure to use wit >= v0.12.0 only.
Features
- Use binary distribution of Coursier to save startup time on fetch-scala command
- add-dep and update-dep can now take a message argument (-m/--message) which will place a comment in the wit-manifest.json file that annotates a particular dependency.
The format is"//":"message contents",
- Better help text on some commands
Bugfixes
- If a package was added with an incorrect source path, an empty destination directory would be created which would have to be removed before retrying with the correct source path.
- Provide an error message if add-dep is run in the workspace root
Development
- Makefile targets for running tests
- Extra verbosity on spam level
- Provide a github actions definition so other projects can use Wit in their own github actions
Wit v0.11.1
Bugfixes
- Fix error reporting for ancestry errors
Performance Improvements
- Replace some deep copies with shallow copies
- Cache some git commands keyed by known commits
Commands without any cloning (eg. status
or inspect
) should be 25-40% faster.
Wit v0.11.0
Note: It is not guaranteed, but v0.11.0 should be compatible with workspaces from v0.6.0-v0.11.0
Special thanks to @aaronjanse for the vast majority of this work including refactoring the code base to make such features easier to implement
New Features
- No longer detached HEAD if the currently checked out commit is the same as the one to be checked out
- Support multiple remotes for the same package
status
now reports what packages will be checked out uponupdate
- More detailed error message for ancestry errors
- Warn when there are changes to
wit-manifest.json
s that are being ignored due to not being committed - Some errors are now non-fatal so
status
andinspect
can be used to help debug
Bugfixes
- Fixed typo in error message for missing
ivydependencies.json
- Fixed error message for things that are not a package in the workspace
Wit v0.10.1
Bugfixes
- Fix
--version
when using an installed version of wit (ie. not from the git repo)
Wit v0.10.0
Note: It is not guaranteed, but v0.10.0 should be compatible with workspaces from v0.6.0-v0.10.0
New Features
inspect
subcommand for viewing dependencies trees- try
wit inspect --tree
andwit inspect --dot
- try
- Scala plugin now fetches and compiles the Scala compiler bridge
- This fixes a race condition as well as ensures all Scala dependencies are fetched up front
Bugfixes
- Improved error message for illegal workspaces (NotAncestorError)
- Improved error message for updating a package with no actual change in commit
Wit v0.9.0
This project is now open-source under the Apache 2.0 License!
Note: It is not guaranteed, but v0.9.0 should be compatible with workspaces from v0.6.0-v0.9.0
New Features
- Apache 2.0 License
- Add tutorial
- Add bash autocompletion
- Replace
-d
/--debug
with-vv
(other levels from-v
to-vvvv
)
Performance Improvements
- Only fetch unique groups of Scala dependencies
Bugfixes
- Report that we couldn't find the workspace file, not the manifest file
Wit v0.8.1
Bugfixes
wit --version
will now strip the leadingv
from the version namewit --version
on a git repo will now work when runningwit
from outside the repo.