v1.1
MDL v1.3 adds some fixes that have been committed since 1.2.1, as well as a new feature.
New: prevent automatic upgrading
@AlexanderOtavka added the ability to disable auto-upgrading! This is useful if you want to manage the component lifecycle yourself, such as if you’re integrating with a framework.
In order to do this, register an event listener for the mdl-componentupgrading
event. Once you receive an event, you can choose whether or not to cancel it, giving you control on a per-component basis.
Bug fixes and improvements
- @chajath added an option to disable JS layout switching
- @MitchLillie improved tab handling to allow more types of links
- @leocaseiro added the
mdl-card--border
option tomdl-card__supporting-text
(4ee5202
) - @enniel fixed a bug with spinners and some documentation typos
- @pndewit fixed a bug with vertical alignment in radios
- @ko22009 fixed several unit tests
- @hanyuzhou2006 fixed a bug in ripples
- @Abradoks improved support for older browsers in radios
Thank you to all the contributors, and sorry if I missed anyone above!
MDC-Web and plans for the future
As you may have noticed, an alpha for Material Components for the web (MDC-Web) was recently released.
MDC-Web started life as version 2 of Material Design Lite, but has since evolved into a project of its own, with a broader team and a strong focus on providing a high-quality Material Design implementation for all of the web.
Here are some of the highlights of what you can expect:
- Modular components, served as independent NPM packages (as well as a large all-in-one meta-package)
- Manual lifecycle control, with an opt-in auto-init option
- Stronger focus on progressive enhancement, performance, and accessibility
- Internals built with low-level architecture to facilitate integration into frameworks
- Still fully vanilla: no polyfills or frameworks needed
The project is still in its alpha stage, so expect to find a lot of missing components, and to see significant churn as we make changes based on your feedback!
What happens to Material Design Lite?
Material Design Lite (v1) will remain available, with limited support. We don’t have the resources to fully maintain both projects, so we won’t be doing any further development on MDL ourselves.
That said, we’ll do our best to be around to fix critical bugs and accept PRs from the community, as well as release those in new versions. This model has worked well ever since we started the v2 work that eventually resulted in MDC-Web, with new components, new features, and many bugfixes contributed since then.
With this approach, we plan to give developers time to migrate to MDC-Web as the project matures and the community grows.
Downloads:
material-design-lite-1.3.0.zip
MD5: c6ec30e0470491e58ad2c69aefcbfce9
SHA1: 123dd0c30b2aa03fc37ae8216276547461dd115c
SHA256: ce746c6483c357da5642915c38b01b03d124c37565855b6f60b7d87e74228fea
material-design-lite-1.3.0.tar.gz
MD5: 18201311fc4c71b581ca717f4ead3992
SHA1: 3aff5e0ec9e31ad1a8e57e9365c7ac113f1d6def
SHA256: 4b4ab9845dba0e6a6fda172d69aff6da72c3e429dc1f3d30fa0935d315f40cb6
v0.9-beta
GoogleTest will not accept patches of new features to v1.11.0.
We recommend building GoogleTest from the latest commit instead.
Exceptional critical bug fixes may be considered.
Documentation
- Contents significantly updated
- Files moved into docs (
4892835
) - Now using GitHub pages (
1a5a78b
,d9c309f
,c3fc92f
) - Added Bazel quickstart (
32ad3c8
) - Added CMake quickstart (
d4e3b8c
)
Mocking
MOCK_METHOD
now handles noexcept correctly (#2498)MOCK_METHOD
now supports ref-qualifiers (d89b363
)MOCK_METHOD
now supports returning function pointers (1f9edcd
)DoAll
now accepts move-only arguments (48ec640
)MockFunction
can now be used for mockingstd::function
(#2350)MockFunction
is now templated for use with other function classes, besidesstd::function
(662fe38
)ACTION
macros now support more than 10 arguments (63713e1
)
Matchers
- New matchers
- New actions
ReturnRoundRobin
(37f3227
)
- Added
Matcher<std::string_view>
specialization that internally stores astring
instead ofstring_view
(6f5fd0d
) - String matchers now accept
string_view
input (13a433a
) DoubleNearPredFormat
matcher now fails on impractically small epsilons (b5687db
)Truly
matcher now explains failures (0c400f6
)- Matchers can now be implemented without extending
MatcherInterface
(c13c27a
) - Added output messages for skipped tests (#2517, #2767)
Behavior
- New flags
- Failures in
SetUpTestSuite
andTearDownTestSuite
now cause tests to fail rather than log (9ed99c6
) - Uninstantiated
TEST_P
andTYPED_TEST_P
now fail unless allowlisted usingGTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST
(d442089
,a13a062
,0b024bd
,3e79d36
,ec94d9f
)
Output
- Added specialized printing for
std::any
,std::optional
, andstd::variant
(#2742) - Added recursive printing for
std::unique_ptr
andstd::shared_ptr
(6b2e749
) - Printing incomplete types is now supported (
f8304d7
) - Start timestamps in XML/JSON output now use millisecond precision (
af1e75c
) - Added more structured information about test suite to XML/JSON output on environment failures (
ac1d60c
)
Build & Test
- CMake minimum increased to 2.8.12 (#3094)
- GoogleTest is now using Kokoro CI instead of Travis and AppVeyor