Download Latest Version Fruit 3.7.1 source code.tar.gz (240.5 kB)
Email in envelope

Get an email when there's a new version of Fruit

Home / v3.7.0
Name Modified Size InfoDownloads / Week
Parent folder
Fruit 3.7.0 source code.tar.gz 2022-12-03 240.0 kB
Fruit 3.7.0 source code.zip 2022-12-03 465.3 kB
README.md 2022-12-03 1.4 kB
Totals: 3 Items   706.7 kB 0

New features

  • Arguments passed to factories are longer required to be assignable types, as long as they're movable (e.g. std::unique_ptr<T> can now be used as a factory parameter).
  • Improved the bazel configuration for Fruit. Now it detects compiler features automatically (as Fruit already did when built with CMake) instead of using a hardcoded configuration. This allows using Fruit with bazel in different environments (e.g. on Windows where MSVC needs a different config).

Bug fixes

  • Fix or silence new clang-tidy warnings to make Fruit compile without warnings with '-W -Wextra' with recent versions of Clang (up to Clang 15)
  • Fruit is now compatible with Windows headers that define max() as a macro (https://github.com/google/fruit/issues/127)

Documentation

  • Added documentation on how to depend on Fruit for projects using bazel.

Internal changes

  • Fruit now uses Github actions for continuous integration, instead of Travis CI and Appveyor.
  • Updated the CI configuration to test with the latest versions of compilers and operating systems (up to GCC 12, Clang 15, MSVC 2022, Ubuntu 22.10, Windows Server 2022, MacOS 12).

Installation

As usual, see the installation instructions here for how to compile from source and for links to pre-built binary packages for various Linux distributions.

Source: README.md, updated 2022-12-03