From deed6f1841057d3978ab1bcd9f6cf0b339b0ce77 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 20 Aug 2017 13:54:12 -0700 Subject: [PATCH 1/8] add section to migration docs for important v4 beta 2 changes --- docs/4.0/migration.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index bfb75a08b71c..56779fdcbace 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -6,9 +6,11 @@ group: migration toc: true --- -{% callout info %} -**Heads up!** This will be in flux as work on the v4 alphas progresses. Until then consider it incomplete, and we'd love pull requests to help keep it up to date. -{% endcallout %} +## Beta 2 changes +While in beta, we aim to have no breaking changes. However, things don't always go as planned. Below are the breaking changes to bear in mind when moving from Beta 1 to Beta 2. + +- Removed `$badge-color` variable and it's usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary. + ## Summary From 0cd1046965ee02c15ad1aac3210bc1add60ababa Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 21 Aug 2017 11:58:29 +0300 Subject: [PATCH 2/8] Update migration.md --- docs/4.0/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 56779fdcbace..3c9dc9dc2ea1 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -9,7 +9,7 @@ toc: true ## Beta 2 changes While in beta, we aim to have no breaking changes. However, things don't always go as planned. Below are the breaking changes to bear in mind when moving from Beta 1 to Beta 2. -- Removed `$badge-color` variable and it's usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary. +- Removed `$badge-color` variable and its usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary. ## Summary From cf43680e5c01d60b4ab4124aa21e1be88713d31d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 21 Aug 2017 13:56:44 -0700 Subject: [PATCH 3/8] Update migration.md --- docs/4.0/migration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 3c9dc9dc2ea1..a5313e6bbed1 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -10,6 +10,7 @@ toc: true While in beta, we aim to have no breaking changes. However, things don't always go as planned. Below are the breaking changes to bear in mind when moving from Beta 1 to Beta 2. - Removed `$badge-color` variable and its usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary. +- Renamed `grayscale()` function to `gray()` to avoid breaking conflict with the CSS native `grayscale` filter. ## Summary From 9f5bd1da1311dd3bd5925b3bdf759eafe9ba109c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 21 Aug 2017 18:21:23 -0700 Subject: [PATCH 4/8] Update migration.md --- docs/4.0/migration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index a5313e6bbed1..20bcd4b1dc9f 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -11,6 +11,7 @@ While in beta, we aim to have no breaking changes. However, things don't always - Removed `$badge-color` variable and its usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary. - Renamed `grayscale()` function to `gray()` to avoid breaking conflict with the CSS native `grayscale` filter. +- Renamed `.table-inverse`, `.thead-inverse`, and `.thead-default` to `.*-dark` and `.*-light`, matching our color schemes used elsewhere. ## Summary From 2281511cd0b2dab8ebeffb4d2d73d8a393460154 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 22 Aug 2017 10:52:11 -0700 Subject: [PATCH 5/8] responsive table break --- docs/4.0/migration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 20bcd4b1dc9f..472e3eaad5bb 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -12,6 +12,7 @@ While in beta, we aim to have no breaking changes. However, things don't always - Removed `$badge-color` variable and its usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary. - Renamed `grayscale()` function to `gray()` to avoid breaking conflict with the CSS native `grayscale` filter. - Renamed `.table-inverse`, `.thead-inverse`, and `.thead-default` to `.*-dark` and `.*-light`, matching our color schemes used elsewhere. +- Responsive tables now generate classes for each grid breakpoint. This breaks from Beta 1 in that the `.table-responsive` you've been using is more like `.table-responsive-md`. You may now use `.table-responsive` or `.table-responsive-{sm,md,lg,xl}` as needed. ## Summary From 3b762fecc56c661c4b0d666c14e0eb410230042e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 22 Aug 2017 10:56:04 -0700 Subject: [PATCH 6/8] headings, pointer events --- docs/4.0/migration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 472e3eaad5bb..2a5bbc9f8f75 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -9,11 +9,17 @@ toc: true ## Beta 2 changes While in beta, we aim to have no breaking changes. However, things don't always go as planned. Below are the breaking changes to bear in mind when moving from Beta 1 to Beta 2. +### Breaking + - Removed `$badge-color` variable and its usage on `.badge`. We use a color contrast function to pick a `color` based on the `background-color`, so the variable is unnecessary. - Renamed `grayscale()` function to `gray()` to avoid breaking conflict with the CSS native `grayscale` filter. - Renamed `.table-inverse`, `.thead-inverse`, and `.thead-default` to `.*-dark` and `.*-light`, matching our color schemes used elsewhere. - Responsive tables now generate classes for each grid breakpoint. This breaks from Beta 1 in that the `.table-responsive` you've been using is more like `.table-responsive-md`. You may now use `.table-responsive` or `.table-responsive-{sm,md,lg,xl}` as needed. +### Highlights + +- Introduced new `pointer-events` usage on modals. The outer `.modal-dialog` passes through events with `pointer-events: none` for custom click handling (making it possible to just listen on the `.modal-backdrop` for any clicks), and then counteracts it for the actual `.modal-content` with `pointer-events: auto`. + ## Summary From 86da81ea219ac6162e35303ce63368b12cb4e2c3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 4 Sep 2017 15:31:46 -0700 Subject: [PATCH 7/8] mention bower drop --- docs/4.0/migration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 2a5bbc9f8f75..82fa877734a7 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -15,6 +15,7 @@ While in beta, we aim to have no breaking changes. However, things don't always - Renamed `grayscale()` function to `gray()` to avoid breaking conflict with the CSS native `grayscale` filter. - Renamed `.table-inverse`, `.thead-inverse`, and `.thead-default` to `.*-dark` and `.*-light`, matching our color schemes used elsewhere. - Responsive tables now generate classes for each grid breakpoint. This breaks from Beta 1 in that the `.table-responsive` you've been using is more like `.table-responsive-md`. You may now use `.table-responsive` or `.table-responsive-{sm,md,lg,xl}` as needed. +- Dropped Bower support as the package manager has been deprecated for alternatives (e.g., Yarn or npm). [See bower/bower#2298](https://github.com/bower/bower/issues/2298) for details. ### Highlights From fdd1203c59476234dd061b0de500febc3fbe1660 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 5 Sep 2017 20:22:56 -0700 Subject: [PATCH 8/8] jquery 3 mention --- docs/4.0/migration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 82fa877734a7..544ccbe29a7f 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -15,7 +15,8 @@ While in beta, we aim to have no breaking changes. However, things don't always - Renamed `grayscale()` function to `gray()` to avoid breaking conflict with the CSS native `grayscale` filter. - Renamed `.table-inverse`, `.thead-inverse`, and `.thead-default` to `.*-dark` and `.*-light`, matching our color schemes used elsewhere. - Responsive tables now generate classes for each grid breakpoint. This breaks from Beta 1 in that the `.table-responsive` you've been using is more like `.table-responsive-md`. You may now use `.table-responsive` or `.table-responsive-{sm,md,lg,xl}` as needed. -- Dropped Bower support as the package manager has been deprecated for alternatives (e.g., Yarn or npm). [See bower/bower#2298](https://github.com/bower/bower/issues/2298) for details. +- Dropped Bower support as the package manager has been deprecated for alternatives (e.g., Yarn or npm). [See bower/bower#2298](https://github.com/bower/bower/issues/2298) for details. +- Bootstrap now requires jQuery 3.0.0 or higher. ### Highlights