Skip to content

Commit 34fad11

Browse files
authored
feat: version 2.0.0 (#462)
* Merges beta changelog entries into a singular `2.0.0` entry * Updates the version to `2.0.0` * Fixes the codecov badge
1 parent be20db0 commit 34fad11

File tree

4 files changed

+45
-78
lines changed

4 files changed

+45
-78
lines changed

CHANGELOG.md

Lines changed: 42 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,53 @@
1-
## [2.0.0-beta.11]
2-
🚨 Breaking Changes 🚨
3-
* `RelevanceIndicator` has been deprecated
4-
5-
🔄 Updated 🔄
6-
* `HelpButton` now sizes itself according to specification
7-
8-
## [2.0.0-beta.10]
9-
🛠️ Fixed 🛠️
10-
* Ensure builds targeting web do not utilize any `macos_window_utils` code
11-
* Ensure builds targeting web are themed correctly
12-
13-
🔄 Updated 🔄
14-
* `MacosTypography` white and black are now factory constructors called `darkOpaque()` and `lightOpaque()` to reflect
15-
Apple's naming conventions.
16-
* `PushButton` now uses the correct `body` text style instead of the incorrect `headline`
17-
* `Toolbar` now uses the correct `title3` text style instead of the incorrect `headline`
18-
* `MacosTheme` sets the global typography, per theme, more efficiently
19-
20-
## [2.0.0-beta.9]
21-
* `ResizablePane` can now disallow the usage of its internal scrollbar via the `ReziablePane.noScrollBar` constructor.
22-
23-
## [2.0.0-beta.8]
24-
✨ New ✨
25-
* `MacosFontWeight` allows using Apple-specific font weights like `w510`, `w590`, and `w860`.
26-
27-
🛠️ Fixed 🛠️
28-
* `MacosTypography.black` and `MacosTypography.white` now conform to specification by using `MacosColors.labelColor`
29-
30-
## [2.0.0-beta.7]
31-
✨ New ✨
32-
* You can now call `MacosTypography.of(context)` as a shorthand for retrieving the typography used in your `MacosTheme`.
33-
34-
🔄 Updated 🔄
35-
* `MacosAlertDialog` now defines `primaryButton` and `secondaryButton` to be of type `PushButton`.
36-
* `MacosAlertDialog` now requires that `primaryButton` and `secondaryButton` to have `controlSize`s of `ControlSize.large`.
37-
* `MacosAlertDialog` docs now suggest that `appIcon` should be of size 64x64.
38-
39-
## [2.0.0-beta.6]
40-
🔄 Updated 🔄
41-
* `MacosCheckbox` appearance more closely matches its native counterpart.
1+
## [2.0.0]
2+
### 🚨 Breaking Changes 🚨
3+
* Migrate `macos_ui` to [macos_window_utils](https://pub.dev/packages/macos_window_utils), which provides the following benefits:
4+
* Window animation smoothness is drastically improved, particularly when miniaturizing and deminiaturizing the application window.
5+
* Some visual artifacts that occurred while the window was being (de)miniaturized (such as the application's shadow going missing) no longer occur.
6+
* The sidebar remains transparent when the app's brightness setting mismatches the OS setting.
7+
* Wallpaper tinting is now supported.
8+
* To migrate an existing application, please refer to the “Modern window look” section in the README.
429

43-
## [2.0.0-beta.5]
44-
🚨 Breaking Changes 🚨
10+
* Support for Flutter 3.10 and Dart 3
4511
* `PushButton` has been updated to support the `ControlSize` enum.
4612
* The `buttonSize` property has been changed to `controlSize`.
4713
* Buttons can now be any of the following sizes: mini, small, regular, or large.
48-
* `PushButton.isSecondary` is now `PushButton.secondary`.
49-
50-
🔄 Updated 🔄
51-
* `PushButton`'s secondary and disabled colors more closely match their native counterparts.
52-
53-
## [2.0.0-beta.4]
54-
🛠️ Fixed 🛠️
55-
* `ToolBar`s in use where a `SideBar` is not present will now have their title's avoid the traffic lights (native window controls).
56-
57-
## [2.0.0-beta.3]
58-
✨ New ✨
59-
* Added support for `weekdayAbbreviations` and `monthAbbreviations` to `MacosDatePicker`.
60-
* Added support for `dateFormat` to `MacosDatePicker`.
61-
* Added support for `startWeekOnMonday` to `MacosDatePicker`.
62-
63-
🛠️ Fixed 🛠️
64-
* Better UX of the click on the calendar elements in `MacosDatePicker`
14+
* `PushButton.isSecondary` is now `PushButton.secondary`.
15+
* `MacosAlertDialog`: `primaryButton` and `secondaryButton` are now declared to be of type `PushButton`.
16+
* `RelevanceIndicator` has been deprecated
17+
* `MacosTypography` white and black are now factory constructors called `darkOpaque()` and `lightOpaque()` to reflect
18+
Apple's naming conventions.
6519

66-
## [2.0.0-beta.2]
67-
✨New ✨
20+
### ✨ New ✨
6821
* `MacosSwitch` has been completely rewritten and now matches the native macOS switch in appearance and behavior.
6922
* A `ControlSize` enum has been introduced, which will allow widgets to more closely match their native counterparts.
23+
* `MacosTypography`
24+
* You can now call `MacosTypography.of(context)` as a shorthand for retrieving the typography used in your `MacosTheme`.
25+
* `MacosFontWeight` allows using Apple-specific font weights like `w510`, `w590`, and `w860`.
26+
* Localization
27+
* Added support for `weekdayAbbreviations` and `monthAbbreviations` to `MacosDatePicker`.
28+
* Added support for `dateFormat` to `MacosDatePicker`.
29+
* Added support for `startWeekOnMonday` to `MacosDatePicker`.
30+
31+
### 🔄 Updated 🔄
32+
* `MacosColor` has been updated with some previously missing elements.
33+
* `PushButton`
34+
* Now uses the correct `body` text style instead of the incorrect `headline`
35+
* `PushButton`'s secondary and disabled colors more closely match their native counterparts.
36+
* `MacosCheckbox` appearance more closely matches its native counterpart.
37+
* `MacosAlertDialog`
38+
* `primaryButton` and `secondaryButton` are now required to have `controlSize`s of `ControlSize.large`.
39+
* Docs now suggest that `appIcon` should be of size 64x64.
40+
* `Toolbar` now uses the correct `title3` text style instead of the incorrect `headline`
41+
* `MacosTheme` sets the global typography more efficiently
42+
* `HelpButton` now sizes itself according to specification
43+
* `ResizablePane` can now disallow the usage of its internal scrollbar via the `ReziablePane.noScrollBar` constructor.
7044

71-
🔄 Updated 🔄
72-
* Some previously missing elements of the `MacosColor` class have been added.
73-
74-
## [2.0.0-beta.1]
75-
🚨 Breaking Changes 🚨
76-
* Migrate `macos_ui` to [macos_window_utils](https://pub.dev/packages/macos_window_utils), which provides the following benefits:
77-
* Window animation smoothness is drastically improved, particularly when miniaturizing and deminiaturizing the application window.
78-
* Some visual artifacts that occurred while the window was being (de)miniaturized (such as the application's shadow going missing) no longer occur.
79-
* The sidebar remains transparent when the app's brightness setting mismatches the OS setting.
80-
* Wallpaper tinting is now supported.
81-
* Support Flutter 3.10 and Dart 3
82-
83-
To migrate an existing application, please refer to the “Modern window look” section in the README.
45+
### 🛠️ Fixed 🛠️
46+
* Clicking on the calendar elements in `MacosDatePicker` has better UX
47+
* `ToolBar`s in use where a `SideBar` is not present will now have their title's avoid the traffic lights (native window controls).
48+
* `MacosTypography.darkOpaque()` and `MacosTypography.lightOpaque()` now conform to specification by using `MacosColors.labelColor`
49+
* Ensure builds targeting web do not utilize any `macos_window_utils` code
50+
* Ensure builds targeting web are themed correctly
8451

8552
## [1.12.5]
8653
* Fixed a bug where the `Sidebar.key` parameter wasn't used, which caused certain layouts to be unachievable.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Guides, codelabs, and other documentation can be found at https://macosui.dev
1212
[![Flutter Analysis](https://github.com/GroovinChip/macos_ui/actions/workflows/flutter_analysis.yml/badge.svg?branch=stable)](https://github.com/GroovinChip/macos_ui/actions/workflows/flutter_analysis.yml)
1313
[![Pana Analysis](https://github.com/GroovinChip/macos_ui/actions/workflows/pana_analysis.yml/badge.svg)](https://github.com/GroovinChip/macos_ui/actions/workflows/pana_analysis.yml)
1414
[![codecov](https://github.com/GroovinChip/macos_ui/actions/workflows/codecov.yaml/badge.svg)](https://github.com/GroovinChip/macos_ui/actions/workflows/codecov.yaml)
15-
[![codecov](https://codecov.io/gh/GroovinChip/macos_ui/branch/dev/graph/badge.svg?token=1SZGEVVMCH)](https://codecov.io/gh/GroovinChip/macos_ui)
15+
[![codecov](https://codecov.io/gh/macosui/macos_ui/branch/dev/graph/badge.svg?token=1SZGEVVMCH)](https://codecov.io/gh/macosui/macos_ui)
1616

1717
<img src="https://imgur.com/44iJB7H.png" width="75%"/>
1818

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ packages:
150150
path: ".."
151151
relative: true
152152
source: path
153-
version: "2.0.0-beta.11"
153+
version: "2.0.0"
154154
macos_window_utils:
155155
dependency: transitive
156156
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: macos_ui
22
description: Flutter widgets and themes implementing the current macOS design language.
3-
version: 2.0.0-beta.11
3+
version: 2.0.0
44
homepage: "https://macosui.dev"
55
repository: "https://github.com/GroovinChip/macos_ui"
66

0 commit comments

Comments
 (0)