bee-1.0.0
Note
bee 1.0.0 is a complete rewrite from scratch
using bats for
test-driven development (TDD). As a result bee 1.0.0 is more flexible,
more efficient, more secure and scales better with an increasing number
of plugins. See https://github.com/sschmid/bee/projects/1
The new bee bash completion is faster and let's you add custom completions for
your plugins to make working with plugins even more convenient.
While most of the api stays the same, there are breaking changes.
Most importantly, plugin functions are now completed and invoked
without ::
, e.g.
bee github me # instead of bee github::me
It's also recommended to backup and delete your existing ~/.beerc
and let bee generate a new one by simply running any bee command.
Please merge the newly generated ~/.beerc
with your previous one if you want
to be backwards compatible and support bee versions < 1.0.0.
bee still supports older versions by specifying a version in your Beefile
BEE_VERSION=0.41.0
Registries
are now referred to as hubs
.
The new bee bash completion can be activated by adding this to your ~/.bashrc
or ~/.zshrc
echo "complete -C bee bee" >> ~/.bashrc
Consider removing the old one by deleting bee-completion.bash
and removing it from your ~/.bashrc
or ~/.zshrc
rm /usr/local/etc/bash_completion.d/bee-completion.bash
Added
- Add bats and unit tests
- Add
os
directory to support various platforms like macOS, alpine, Windows WSL, etc. bee install
generatesBeefile.lock
to share exact plugin versions across the team
Changed
- Plugin functions are now completed and invoked without
::
,- e.g.
bee github me
instead ofbee github::me
- e.g.
- Plugin dependencies now must be stored in
plugin.json
instead ofmyplugin::deps
- Hubs now must use
plugin.json
instead ofplugin.sh
- Prefix all bee functions, e.g
bee::log_info
instead oflog_info
,bee::job
instead ofjob
- bee api changes, see
bee --help
- Use
complete -C bee bee
instead ofsource /usr/local/etc/bash_completion.d/bee-completion.bash
Removed
- Remove short options like
-v
in favour of long options like--verbose
- Remove
bee changelog
- Remove
bee commands
- Remove
bee depstree
- Remove
bee donate
- Remove
bee reinstall
- Remove
bee switch
- Remove
bee uninstall