Skip to content

pficommon 4.0.0 Release Notes

Latest
Compare
Choose a tag to compare
@ysk24ok ysk24ok released this 27 Nov 06:15
· 27 commits to master since this release
0162aa8

pficommon 4.0.0 Release Notes

Date: 2020/11/27

Download

Download Link: https://github.com/retrieva/pficommon/releases/download/4.0.0/pficommon-4.0.0.tar.bz2

Overview

pficommon 4.0.0:

  • supports gcc >= 4.8.5 and discards support of C++03. Programs which depends on pficommon 4.0.0 is no longer able to be compiled with -std=c++03 option.
  • makes following functions and classes deprecated, which are introduced in STL after C++11.
    • pfi::lang::bind
    • pfi::lang::cref
    • pfi::lang::function
    • pfi::lang::mem_fn
    • pfi::lang::reference_wrapper
    • pfi::lang::ref
    • pfi::lang::shared_ptr
    • pfi::data::unordered_map
    • pfi::data::unordered_set
  • breaks API compatibility with 3.0.1. Please recompile and relink your programs using pficommon when upgrading pficommon to 4.0.0.

Improvements

  • #217 Added move constructor and move assignment operator to pfi::system::mmapper so that clang++ can compile it
  • #219 Fixed some compilation errors on clang++

Backward incompatibility

  • #206 Replaced std::auto_ptr with std::unique_ptr
  • #211 Deleted dependency to std::tr1::unordered_map and std::tr1::unordered_set
  • #212 Deleted dependency to std::tr1::functional
  • #213 Deleted dependency to std::tr1::memory
  • #216 Deleted pfi::visualization
  • #218 Replaced implementation of pfi::lang::reference_wrapper with std::reference_wrapper, deleted pfi::lang::get_pointer(const pfi::lang::reference_wrapper<T>) and clarfied pfi::lang::bind pfi::lang::mem_fn pfi::lang::reference_wrapper pfi:lang::ref pfi::lang::cref are deprecated
  • #220 The first template parameter of pfi::lang::enable_if and pfi::lang::disable_if has changed from class to bool
  • #221 Replaced implementation of pfi::lang::algorithm::copy_if with std::algorithm::copy_if and clarified pfi::lang::algorithm::copy_if is deprecated.

Documentation

  • #215 Updated supported gcc version in README.md, and clarified pfi::data::unordered_map and pfi::data::unordered_set are deprecated, etc
  • #222 Fixed a typo and a wrong function name in documents, and clarified that pfi::lang::function is deprecated, etc

Development improvements

  • #204 Added patches/fcgi.patch to make CI pass
  • #205 Enabled c++11 mode in CI
  • #207 Made CI run with gcc5, 6, 7, 8 and 9
  • #208 Made CI run with gcc4.9
  • #210 Made CI run on CentOS7 and CentOS8
  • #214 Added a Dockerfile to build and serve documents