Skip to content

Latest commit

 

History

History
150 lines (120 loc) · 5.16 KB

CHANGELOG.md

File metadata and controls

150 lines (120 loc) · 5.16 KB

Changelog

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

1.0.0-alpha5 - 2023-11-01

Changed

  • Blocklist __gnuc_va_list to fix build on some Linux systems
  • Bump bindgen to 0.68 and disable default features to reduce dependency footprint (credits to @zombiepigdragon)

1.0.0-alpha4 - 2022-01-19

Added

  • Explicitly include security/openpam.h on FreeBSD
  • Add CI for FreeBSD via cirrus-ci

Changed

  • Slightly optimize include setting in Cargo.toml
  • Split up platform-specific adaptions in build.rs to handle FreeBSD/NetBSD with OpenPAM
  • Bump bindgen to 0.59 (and switch from deprecated functions)

1.0.0-alpha3 - 2021-03-28

Changed

  • Depend on bindgen ^0.55 to force macro constants to be generated as signed integers
  • Don't derive Copy for PamHandle

1.0.0-alpha2 - 2020-05-03

Changed

  • Pin bindgen version for now to avoid accidental changes in the bindings
  • Move CI to azure pipelines (and remove .travis.yml)

Removed

  • Remove module functions pam_sm_* as these are not supposed to be called but rather implemented by modules

1.0.0-alpha1 - 2019-11-12

Changed

  • Complete rewrite based on bindgen
    • Only expose raw APIs as is convention
    • Easier multi-platform handling
  • Update to rust edition 2018
  • Update libc dependency (0.2.39 -> ^0.2)
  • Fix clippy lints

0.5.6 - 2018-07-04

Fixed

  • Fixed NULL pointer usage in wrapped::get_env function when pam_getenv fails

0.5.5 - 2018-03-21

Added

  • Implement pam_get_user

Changed

  • Added cache: cargo directive to speedup CI
  • Updated libc dependency (0.2.33 -> 0.2.39)

0.5.4 - 2017-11-30

Changed

  • Only provide official support for Rust stable, beta and nightly (mainly through travis)
  • Updated libc dependency (0.2.20 -> 0.2.33)

Fixed

  • Only link pam_misc on Linux

0.5.3 - 2017-02-18

Fixed

  • Fixed readonly flag in pam_misc_setenv
  • Added some null checks for some wrapped functions

0.5.2 - 2017-02-18

Fixed

  • Fixed missing link argument to pam_misc

0.5.1 - 2017-02-17

Fixed

  • Fixed compilation failure on Rust 1.4.0
  • Fixed wrong category

0.5.0 - 2017-02-17

Added

  • Added travis-ci badge to Cargo.toml
  • Added categories to Cargo.toml

Changed

  • Changed raw::pam_getenvlist's return type back to *const *const c_char
  • Made wrapped functions safe and changed arguments to use better types

Fixed

  • Fixed raw::pam_misc_dropenv and wrapped::misc_dropenv's return type

0.4.3 - 2017-01-20

Added

  • Added license badge to README.md

Changed

  • Updated libc dependency (0.2.9 -> 0.2.20)
  • Moved documentation to docs.rs

Removed

  • Removed obsolete dependencies (gcc & pkg-config)
  • Removed .travis-update-gh-pages.sh and obsolete rust versions from .travis.yml

0.4.1 - 2016-04-11

Changed

  • Relicense under MIT/Apache-2.0

0.4.0 - 2016-04-11

Added

  • Better travis-ci integration
    • Test on 1.4.0-1.6.0, stable, beta and nightly
    • Use containers for faster builds

Changed

  • Updated libc dependency (0.2.2 -> 0.2.9)
  • Changed wrapped/{strerror, getenv} to return Option<&'static str> instead of *const c_char

0.3.0 - 2015-12-08

Added

  • CHANGELOG.md

Changed

  • Updated libc dependency (0.1.8 -> 0.2.2)
  • PamHandle from empty struct to zero variant enum (as recommended in the Rust Book)