This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

New Releases

v1.1

MDL v1.3 adds some fixes that have been committed since 1.2.1, as well as a new feature.

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

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.

Full 1.3.0 changelist.

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

A short lead description about this content page. Text here can also be bold or italic and can even be split over multiple paragraphs.

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

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 mocking std::function (#2350)
  • MockFunction is now templated for use with other function classes, besides std::function (662fe38)
  • ACTION macros now support more than 10 arguments (63713e1)

Matchers

  • New matchers
  • New actions
  • Added Matcher<std::string_view> specialization that internally stores a string instead of string_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
    • --gtest_brief shows only test failures in output (#2751)
    • --gtest_fail_fast stops test execution on first failure (1ced315)
  • Failures in SetUpTestSuite and TearDownTestSuite now cause tests to fail rather than log (9ed99c6)
  • Uninstantiated TEST_P and TYPED_TEST_P now fail unless allowlisted using GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST (d442089, a13a062, 0b024bd, 3e79d36, ec94d9f)

Output

  • Added specialized printing for std::any, std::optional, and std::variant (#2742)
  • Added recursive printing for std::unique_ptr and std::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

Misc