You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

152 lines
11 KiB
Markdown

11 years ago
### 1.0.0-alpha7 ()
* Break: For forward compatibility, you should change your deployment scripts to run `composer install --no-dev`. The install command will install dev dependencies by default starting in the next release
* Break: The `update` command now has --dev enabled by default. --no-dev can be used to update without dev requirements, but it will create an incomplete lock file and is discouraged
* Added `preferred-install` config option to always enable --prefer-source or --prefer-dist
* Added wildcard support in the update whitelist, e.g. to update all packages of a vendor do `composer update vendor/*`
* Added `archive` command to archive the current directory or a given package
* Added `proprietary` as valid license identifier for non-free code
* Added a `php-64bit` platform package that you can require to force a 64bit php
* Added a `lib-ICU` platform package
* Added zip/dist local cache to speed up repetitive installations
* Added `post-autoload-dump` script event
* Added `Event::getDevMode` to let script handlers know if dev requirements are being installed
* Added `discard-changes` config option to control the default behavior when updating "dirty" dependencies
* Added `use-include-path` config option to make the autoloader look for files in the include path too
* Added `cache-ttl`, `cache-files-ttl` and `cache-files-maxsize` config option
* Added `cache-dir`, `cache-files-dir`, `cache-repo-dir and `cache-vcs-dir` config option
* Added support for using http(s) authentication to non-github repos
* Added support for using multiple autoloaders at once (e.g. PHPUnit + application both using Composer autoloader)
* Added support for .inc files for classmap autoloading (legacy support, do not do this on new projects!)
* Added --no-dev flag to `install` and `update` commands
* Added --stability (-s) flag to create-project to lower the required stability
* Added --no-progress to `install` and `update` to hide the progress indicators
* Added --available (-a) flag to the `show` command to display only available packages
* Added --name-only (-N) flag to the `show` command to show only package names (one per line, no formatting)
* Added --optimize-autoloader (-o) flag to optimize the autoloader from the `install` and `update` commands
* Added PHP 5.2 compatibility to the autoloader configuration files so they can be used to configure another autoloader
* Fixed handling of platform requirements of the root package when installing from lock
* Fixed handling of require-dev dependencies
* Fixed handling of unstable packages that should be downgraded to stable packages when
* Fixed parsing of the `~` operator combined with unstable versions
* Fixed the `require` command corrupting the json if the new requirement was invalid
* Fixed support of aliases used together with `<version>#<reference>` constraints
* Improved performance of classmap generation
* Improved mercurial support in various places
* Improved lock file format to minimize unnecessary diffs
* Improved the `config` command to support all options
* Improved the coverage of the `validate` command
* Tons of minor bug fixes and improvements
### 1.0.0-alpha6 (2012-10-23)
12 years ago
* Schema: Added ability to pass additional options to repositories (i.e. ssh keys/client certificates to secure private repos)
* Schema: Added a new `~` operator that should be prefered over `>=`, see http://getcomposer.org/doc/01-basic-usage.md#package-versions
* Schema: Version constraints `<x.y` are assumed to be `<x.y-dev` unless specified as `<x.y-stable` to reduce confusion
* Added `config` command to edit/list config values, including --global switch for system config
* Added OAuth token support for the GitHub API
* Added ability to specify CLI commands as scripts in addition to PHP callbacks
* Added --prefer-dist flag to force installs of dev packages from zip archives instead of clones
* Added --working-dir (-d) flag to change the working directory
* Added --profile flag to all commands to display execution time and memory usage
* Added `github-protocols` config key to define the order of prefered protocols for github.com clones
* Added ability to interactively reset changes to vendor dirs while updating
* Added support for hg bookmarks in the hg driver
* Added support for svn repositories not following the standard trunk/branch/tags scheme
* Fixed git clones of dev versions so that you end up on a branch and not in detached HEAD
* Fixed "Package not installed" issues with --dev installs
* Fixed the lock file format to be a snapshot of all the package info at the time of update
* Fixed order of autoload requires to follow package dependencies
* Fixed rename() failures with "Access denied" on windows
* Improved memory usage to be more reasonable and not grow with the repository size
* Improved performance and memory usage of installs from composer.lock
* Improved performance of a few essential code paths
* Many bug small fixes and docs improvements
### 1.0.0-alpha5 (2012-08-18)
12 years ago
* Added `dump-autoload` command to only regenerate the autoloader
* Added --optimize to `dump-autoload` to generate a more performant classmap-based autoloader for production
* Added `status` command to show if any source-installed dependency has local changes, use --verbose to see changed files
* Added --verbose flag to `install` and `update` that shows the new commits when updating source-installed dependencies
* Added --no-update flag to `require` to only modify the composer.json file but skip the update
* Added --no-custom-installers and --no-scripts to `install`, `update` and `create-project` to prevent all automatic code execution
* Added support for installing archives that contain only a single file
* Fixed APC related issues in the autoload script on high load websites
* Fixed installation of branches containing capital letters
* Fixed installation of custom dev versions/branches
* Improved the coverage of the `validate` command
* Improved PEAR scripts/binaries support
* Improved and fixed the output of various commands
* Improved error reporting on network failures and some other edge cases
* Various minor bug fixes and docs improvements
### 1.0.0-alpha4 (2012-07-04)
12 years ago
12 years ago
* Break: The default `minimum-stability` is now `stable`, [read more](https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion)
* Break: Custom installers now receive the IO instance and a Composer instance in their constructor
12 years ago
* Schema: Added references for dev versions, requiring `dev-master#abcdef` for example will force the abcdef commit
12 years ago
* Schema: Added `support` key with some more metadata (email, issues, forum, wiki, irc, source)
12 years ago
* Schema: Added `!=` operator for version constraints in `require`/`require-dev`
* Added a recommendation for package names to be `lower-cased/with-dashes`, it will be enforced for new packages on Pacakgist
12 years ago
* Added `require` command to add a package to your requirements and install it
12 years ago
* Added a whitelist to `update`. Calling `composer update foo/bar foo/baz` allows you to update only those packages
12 years ago
* Added support for overriding repositories in the system config (define repositories in ~/.composer/config.json)
* Added `lib-*` packages to the platform repository, e.g. `lib-pcre` contains the pcre version
* Added caching of GitHub metadata (faster startup time with custom GitHub VCS repos)
12 years ago
* Added caching of SVN metadata (faster startup time with custom SVN VCS repos)
12 years ago
* Added support for file:// URLs to GitDriver
12 years ago
* Added --self flag to the `show` command to display the infos of the root package
12 years ago
* Added --dev flag to `create-project` command
* Added --no-scripts to `install` and `update` commands to avoid triggering the scripts
* Added `COMPOSER_ROOT_VERSION` env var to specify the version of the root package (fixes some edge cases)
* Added support for multiple custom installers in one package
12 years ago
* Added files autoloading method which requires files on every request, e.g. to load functional code
* Added automatic recovery for lock files that contain references to rewritten (force pushed) commits
* Improved PEAR repositories support and package.xml extraction
12 years ago
* Improved and fixed the output of various commands
12 years ago
* Fixed the order of installation of requirements (they are always installed before the packages requiring them)
* Cleaned up / refactored the dependency solver code as well as the output for unsolvable requirements
12 years ago
* Various bug fixes and docs improvements
12 years ago
### 1.0.0-alpha3 (2012-05-13)
12 years ago
12 years ago
* Schema: Added `require-dev` for development-time requirements (tests, etc), install with --dev
12 years ago
* Schema: Added author.role to list the author's role in the project
12 years ago
* Schema: Added `minimum-stability` + `@<stability>` flags in require for restricting packages to a certain stability
* Schema: Removed `recommend`
* Schema: `suggest` is now informational and can use any description for a package, not only a constraint
* Break: vendor/.composer/autoload.php has been moved to vendor/autoload.php, other files are now in vendor/composer/
12 years ago
* Added caching of repository metadata (faster startup times & failover if packagist is down)
12 years ago
* Added removal of packages that are not needed anymore
12 years ago
* Added include_path support for legacy projects that are full of require_once statements
* Added installation notifications API to allow better statistics on Composer repositories
12 years ago
* Added support for proxies that require authentication
* Added support for private github repositories over https
12 years ago
* Added autoloading support for root packages that use target-dir
12 years ago
* Added awareness of the root package presence and support for it's provide/replace/conflict keys
* Added IOInterface::isDecorated to test for colored output support
* Added validation of licenses based on the [SPDX registry](http://www.spdx.org/licenses/)
12 years ago
* Improved repository protocol to have large cacheable parts
12 years ago
* Fixed various bugs relating to package aliasing, proxy configuration, binaries
* Various bug fixes and docs improvements
12 years ago
### 1.0.0-alpha2 (2012-04-03)
12 years ago
* Added `create-project` command to install a project from scratch with composer
* Added automated `classmap` autoloading support for non-PSR-0 compliant projects
* Added human readable error reporting when deps can not be solved
* Added support for private GitHub and SVN repositories (use --no-interaction for CI)
* Added "file" downloader type to download plain files
* Added support for authentication with svn repositories
* Added autoload support for PEAR repositories
* Improved clones from GitHub which now automatically select between git/https/http protocols
* Improved `validate` command to give more feedback
* Improved the `search` & `show` commands output
* Removed dependency on filter_var
* Various robustness & error handling improvements, docs fixes and more bug fixes
### 1.0.0-alpha1 (2012-03-01)
12 years ago
* Initial release