Skip to content

Commit

Permalink
Build release v2.0.0 (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
desyncr committed Apr 8, 2017
1 parent 836fda5 commit 5a70b51
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ script:
# will run this on both OS X and Linux, the two platforms must also produce
# the same build, else one of them will fail.
- SHASUM=$(shasum -a 256 ./bin/antigen.zsh)
- make USE_CONTAINER=$USE_CONTAINER
- VERSION=$(cat ./VERSION) make USE_CONTAINER=$USE_CONTAINER
- SHACHECK=$(shasum -a 256 ./bin/antigen.zsh)

- echo -e "$SHASUM\n$SHACHECK"
Expand Down
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,71 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.0] - 2017-04-08

There are functions and configurations being either removed or renamed, please
review this document before updating your Antigen installation.

Removed functions:

- `-antigen-lib` - Deprecated since v1
- `-antigen-prezto-lib` - Deprecated since v1

Deprecated configuration:

- `_ANTIGEN_FORCE_RESET_COMPDUMP`
- `_ANTIGEN_RESET_THEME_HOOKS`
- `_ANTIGEN_AUTODETECT_CONFIG_CHANGES`
- `_ANTIGEN_CACHE_ENABLED`
- `_ANTIGEN_COMP_ENABLED`

Renamed configuration:

- `_ANTIGEN_LOG_PATH` ~> `ANTIGEN_LOG`
- `_ANTIGEN_CACHE_PATH` ~> `ANTIGEN_CACHE`
- `_ANTIGEN_COMPDUMPFILE` ~> `ANTIGEN_COMPDUMP`

Added configurations:

- `ANTIGEN_CHECK_FILES` - Use to configure which files to check for changes
- `ANTIGEN_SUBMODULE_OPTS` - Use to pass arguments to `git submodule` command
- `ANTIGEN_CLONE_OPTS` - Use to pass arguments to `git clone` command
- `ANTIGEN_BUNDLES` - Use to configure bundle path location
- `ANTIGEN_PREZTO_REPO_URL` - Use to configure Prezto default url

### Removed
- [#197, #298] Removed `-antigen-lib`, `-antigen-prezto-lib`

### Added
- [#309] Use `git` shallow cloning to speed up bundle install
- [#299, #261] Handles `$PATH`
- [#415] Added link to multiple OS install methods
- [#423, #262] Support semver-like bundling
- [#461] Use Docker container for tests and stats generation
- [#462, #466] Add extended help text for `antigen-help` command
- [#467, #465] Show version hash on `antgen-version` command
- [#469] Function to migrate old bundle paths to new format
- [#464] Update wiki pages for new version

### Changed
- [#326, #259] Support updating a single bundle
- [#352] Support `antigen-update` tab completion
- [#351, #379] Update `Makefile` release tasks
- [#411, #371, #445] `antigen-list` show version information (tag, branch, git hash)
- [#420] Support reference cache (vs bundle cache)
- [#450] Refactor `_ANTIGEN_BUNDLE_RECORD`
- [#454] Simplify change detection
- [#457, #460] Change bundle path generation function

### Fixed
- [#353] `antigen-update` properly handles `--no-local-clone`
- [#419] Don't require confirmation when cleaning up
- [#439, #442, #438] Fix `antigen-selfupdate` failing with sym-links
- [#441, #440] `antigen-init` command checks input
- [#453, #452] Respect `_ANTIGEN_COMPDUMP` configuration

Thanks everyone who reported issues and provided feedback.

## [1.4.1] - 2017-02-26

### Changed
Expand Down Expand Up @@ -352,6 +417,7 @@ This setup further improves cache performance (`~0.02s`). It's fully optional.
- Added CHANGELOG.md
- Following [Semantic Versioning](http://semver.org/)

[2.0.0]: https://github.com/zsh-users/antigen/compare/v1.4.1...v2.0.0
[1.4.1]: https://github.com/zsh-users/antigen/compare/v1.4.0...v1.4.1
[1.4.0]: https://github.com/zsh-users/antigen/compare/v1.3.5...v1.4.0
[1.3.5]: https://github.com/zsh-users/antigen/compare/v1.3.4...v1.3.5
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
develop
v2.0.0
6 changes: 3 additions & 3 deletions bin/antigen.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ _ZCACHE_BUNDLE=${_ZCACHE_BUNDLE:-false}

_payload="#-- START ZCACHE GENERATED FILE
#-- GENERATED: $(date)
#-- ANTIGEN develop
#-- ANTIGEN v2.0.0
$(functions -- _antigen)
antigen () {
[[ \"\$ZSH_EVAL_CONTEXT\" =~ \"toplevel:*\" || \"\$ZSH_EVAL_CONTEXT\" =~ \"cmdarg:*\" ]] && \
Expand All @@ -858,7 +858,7 @@ compdef () {}\NL"
_payload+=$_sources
_payload+="typeset -aU _ANTIGEN_BUNDLE_RECORD;\
_ANTIGEN_BUNDLE_RECORD=("$(print ${(qq)_ANTIGEN_BUNDLE_RECORD})")\NL"
_payload+="_ANTIGEN_CACHE_LOADED=true ANTIGEN_CACHE_VERSION='develop'\NL"
_payload+="_ANTIGEN_CACHE_LOADED=true ANTIGEN_CACHE_VERSION='v2.0.0'\NL"

# Cache omz/prezto env variables. See https://github.com/zsh-users/antigen/pull/387
if [[ -n "$ZSH" ]]; then
Expand Down Expand Up @@ -1448,7 +1448,7 @@ antigen-version () {
revision=" ($(git --git-dir=$_ANTIGEN_INSTALL_DIR/.git rev-parse --short '@'))"
fi
echo "Antigen develop$revision"
echo "Antigen v2.0.0$revision"
}
#compdef _antigen
Expand Down

0 comments on commit 5a70b51

Please sign in to comment.