This commit is contained in:
Jon Ruskin 2019-02-09 11:01:31 -07:00
Родитель b9adc77f2e
Коммит ccd1d410b8
3 изменённых файлов: 27 добавлений и 5 удалений

Просмотреть файл

@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## 2.0.0 - 2019-02-09
**This is a major release and includes breaking changes to the configuration and cached record file formats**
### Added
- New `migrate` command to automatically update configuration and cached record file formats
- New extensible reporting infrastructure
- New base command and source classes to abstract away implementation details
### Changes
- Cached dependency metadata files are now stored entirely as YAML, with `.dep.yml` extension
- The Bundler dependency source is now identified in configuration files and output as `bundler` instead of `rubygem`
- Refactored sources for better consistency between classes
- Refactored commands for better consistency between classes
- Command outputs have changed for better consistency
- Updated Dependency classes for better integration with `licensee`
### Fixed
- Licensed no longer exits on errors when evaluating dependency sources or finding dependencies
- The Bundler dependency source correctly finds the `bundler` gem as a dependency in more cases
## 1.5.2 - 2018-12-27
### Changes
@ -112,4 +133,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Initial release :tada:
[Unreleased]: https://github.com/github/licensed/compare/1.5.2...HEAD
[Unreleased]: https://github.com/github/licensed/compare/2.0.0...HEAD

Просмотреть файл

@ -12,11 +12,12 @@ Licensed is **not** a complete open source license compliance solution. Please u
Licensed is in active development and currently used at GitHub. See the [open issues](https://github.com/github/licensed/issues) for a list of potential work.
## Migrating to 2.x
## Licensed v2
Licensed 2.x is incompatible with configuration files and cached records from 1.x. Migrating to 2.x is easy using the `licensed migrate` command.
Licensed v2 includes many internal changes intended to make licensed more extensible and easier to update in the future. While not too much has changed externally, v2 is incompatible with configuration files and cached records from previous versions. Fortunately, migrating is easy using the `licensed migrate` command.
See the [migration documentation](./docs/migrating_to_newer_versions.md) for more info, or run `licensed help migrate`.
See [CHANGELOG.md](./CHANGELOG.md) for more details on whats changed.
See the [migration documentation](./docs/migrating_to_newer_versions.md) for more info on migrating to v2, or run `licensed help migrate`.
## Installation

Просмотреть файл

@ -1,6 +1,6 @@
# frozen_string_literal: true
module Licensed
VERSION = "1.5.2".freeze
VERSION = "2.0.0".freeze
def self.previous_major_versions
major_version = Gem::Version.new(Licensed::VERSION).segments.first