From 1bc6158cd85160d0aba8543594db6fc2f948f207 Mon Sep 17 00:00:00 2001 From: Luis Cordova Date: Thu, 25 Sep 2014 08:27:10 -0500 Subject: [PATCH] note special case for ~1 cases referenced from https://github.com/symfony/symfony-docs/pull/4267/files#r18030609 --- doc/01-basic-usage.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/01-basic-usage.md b/doc/01-basic-usage.md index 803032606..5d703bd38 100644 --- a/doc/01-basic-usage.md +++ b/doc/01-basic-usage.md @@ -94,6 +94,11 @@ breaks until 2.0, that works well. Another way of looking at it is that using > like `~1.2` would not install it. As said above `~1.2` only means the `.2` > can change but the `1.` part is fixed. +> **Note:** The `~` operator has an exception on its behavior for the major +> release number. This means for example that `~1` is the same as `~1.0` as +> it will not allow the major number to increase trying to keep backwards +> compatibility. + ### Stability By default only stable releases are taken into consideration. If you would like