Skip to content
This repository was archived by the owner on Dec 19, 2020. It is now read-only.

Releases: sifive/wit

Wit v0.14.0

17 Sep 00:08
Compare
Choose a tag to compare

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

12 Jul 17:56
71be8f5
Compare
Choose a tag to compare

This is a release that mostly only fixes bugs in the GitHub Action. No functional change to the Wit program.

Bugfixes

  • Add bash back to the GitHub Action, which was inadvertently removed when switching to an Alpine-based Docker image.
  • Add UTF-8 environment variables so that Git repos with UTF-8 branch names do not break the GitHub Action.

Wit v0.13.0

20 Apr 23:41
Compare
Choose a tag to compare

Compatibility

Features

  • wit foreach lets you run a command in each repository
  • WIT_WORKSPACE_REFERENCE can speed up your wit init by pointing at a cache
  • Parallel clone speeds up wit init by batching clones from the same wit-manifest.json
  • wit restore creates a fresh workspace by pointing at a previous wit-lock.json from another workspace
  • Documentation for using wit inspect

Bugfixes

  • Now errors out on duplicate dependency entries in wit-manifest.json

Development

  • Smaller wit docker image
  • Support for pip packages
  • Support for github access tokens

Wit v0.12.0

06 Jan 22:53
Compare
Choose a tag to compare

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

12 Nov 00:34
d8d2890
Compare
Choose a tag to compare

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

09 Oct 19:02
298410a
Compare
Choose a tag to compare

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 upon update
  • More detailed error message for ancestry errors
  • Warn when there are changes to wit-manifest.jsons that are being ignored due to not being committed
  • Some errors are now non-fatal so status and inspect 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

10 Jul 01:12
Compare
Choose a tag to compare

Bugfixes

  • Fix --version when using an installed version of wit (ie. not from the git repo)

Wit v0.10.0

01 Jul 21:42
Compare
Choose a tag to compare

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 and wit inspect --dot
  • 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

13 Jun 19:07
Compare
Choose a tag to compare

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

05 Jun 22:40
5f63226
Compare
Choose a tag to compare

Bugfixes

  • wit --version will now strip the leading v from the version name
  • wit --version on a git repo will now work when running wit from outside the repo.