1## [1.3.1] - 2022-02-03 2 3### Added 4- Added missing `clang_getToken` function 5 6## [1.3.0] - 2021-10-31 7 8### Added 9- Added support for `clang` 13.0.x 10- Added support for `clang` 12.0.x 11- Added support for the Haiku operating system 12 13## [1.2.2] - 2021-09-02 14 15### Fixed 16- Fixed handling of paths that contain characters that have special meaning in 17glob patterns (e.g., `[` or `]`) 18 19## [1.2.1] - 2021-08-24 20 21### Changed 22- Updated build script to check the install location used by the 23[Scoop](https://scoop.sh/) command-line installer on Windows 24 25### Fixed 26- Updated build script to support environments where the `PATH` environment 27variable is not set 28 29## [1.2.0] - 2021-04-08 30 31### Changed 32- Changed `Clang::find` to prefer target-prefixed binaries when a `-target` 33argument is provided (e.g., if the arguments `-target` and 34`x86_64-unknown-linux-gnu` are provided, a target-prefixed Clang executable 35such as `x86_64-unknown-linux-gnu-clang` will be preferred over a non-target 36prefixed Clang executable) 37 38### Fixed 39- Fixed build script to split paths in environment variables (e.g., 40`LD_LIBRARY_PATH`) using the appropriate separator for the platform (previously 41`:` was used as the separator but some platforms such as Windows use `;`) 42 43## [1.1.1] - 2021-02-19 44 45### Changed 46- Bumped `libloading` version to `0.7` 47 48## [1.1.0] - 2021-02-09 49 50### Changed 51- Added Visual Studio LLVM component directory to search paths on Windows 52([#121](https://github.com/KyleMayes/clang-sys/issues/121)) 53 54### Added 55- Added support for `clang` 11.0.x 56 57## [1.0.3] - 2020-11-19 58 59### Fixed 60- Fixed `Clang::find` panicking when `llvm-config` or `xcode-build` don't output anything to `stdout` 61 62## [1.0.2] - 2020-11-17 63 64### Fixed 65- Fixed `Clang::find` to properly search directories returned by the 66`llvm-config --bindir` and `xcodebuild -find clang` commands 67- Improved version selection algorithm in the case where there are multiple 68instances of `libclang` with the highest version found; previously the lowest 69priority instance would be selected instead of the highest priority instance 70(e.g., the versions found by searching the fallback directories were preferred 71over the versions found by searching the `llvm-config --prefix` directory) 72 73## [1.0.1] - 2020-10-01 74 75### Changed 76- Improved panic error message when calling an unloaded function 77 78## [1.0.0] - 2020-07-14 79 80### Changed 81- Bumped `libloading` version to `0.6.0` 82- Updated build script to not print warnings about failures to execute 83`llvm-config` and `xcode-select` unless an instance of `libclang` is not found 84 85### Added 86- Added support for `clang` 10.0.x 87 88### Removed 89- Removed `gte_clang_*` Cargo features (these were an implementation detail) 90 91## [0.29.3] - 2020-03-31 92 93### Added 94- Added ability to determine version of runtime-linked instance of `libclang` 95 96## [0.29.2] - 2020-03-09 97 98### Added 99- Revert unnecessary increase of minimum version of `libc` and `libloading` 100 101## [0.29.2] - 2020-03-09 102 103### Added 104- Revert unnecessary increase of minimum version of `libc` and `libloading` 105 106## [0.29.1] - 2020-03-06 107 108### Added 109- Added support for finding instances of `libclang` matching `libclang-*.so.*` 110 111## [0.29.0] - 2020-02-17 112 113### Changed 114- Wrapped function pointer fields in `Option` in the `CXCursorAndRangeVisitor` 115and `IndexerCallbacks` structs (to permit nullability and to avoid undefined 116behavior caused by `Default` implementations for these structs which returns a 117zeroed value) 118 119### Added 120- Added support for `clang` 9.0.x 121- Added missing `CXCallingConv_AArch64VectorCall` variant to `CXCallingConv` enum 122- Added missing `clang_CompileCommand_getNumMappedSources` function 123 124## [0.28.1] - 2019-07-28 125 126### Changed 127- Bumped `glob` version to `0.3.0` 128- Improved error message when an invocation of an executable is not successful 129- Allowed `LIBCLANG_PATH` to refer to a specific `libclang` instance (e.g., 130 `/usr/local/lib/libclang.so.10`) 131 132### Fixed 133- Fixed 134 [`libclang-cpp`](https://github.com/llvm-mirror/clang/commit/90d6722bdcbc2af52306f7e948c556ad6185ac48) 135 being linked instead of `libclang` 136 137## [0.28.0] - 2019-02-17 138 139### Changed 140- Changed `llvm-config` to be first search candidate on macOS 141 142### Added 143- Added support for `clang` 8.0.x 144 145### Removed 146- Removed `assert-minimum` feature 147- Removed version detection for libraries without versions embedded in the filename 148 149## [0.27.0] - 2019-01-10 150 151### Changed 152- Added version detection for libraries without versions embedded in the filename 153 154### Added 155- Added `assert-minimum` feature (see `README.md` for details) 156 157## [0.26.4] - 2018-12-29 158 159### Changed 160- Added shared library path to `SharedLibrary` struct 161 162## [0.26.3] - 2018-11-14 163 164### Changed 165- Disable default features of `libc` dependency 166 167## [0.26.2] - 2018-11-03 168 169### Fixed 170- Fixed dynamic linking on macOS 171 172## [0.26.1] - 2018-10-10 173 174### Fixed 175- Fixed support for finding libraries in `bin` directories on Windows 176 177## [0.26.0] - 2018-10-07 178 179### Changed 180- Added support for finding libraries with version suffixes on Linux when using runtime linking (e.g., `libclang.so.1`) 181 182## [0.25.0] - 2018-10-06 183 184### Changed 185- Added support for versioned libraries on BSDs 186 187## [0.24.0] - 2018-09-15 188 189### Changed 190- Reworked finding of libraries (see `README.md` for details) 191 192### Added 193- Added support for `clang` 7.0.x 194 195## [0.23.0] - 2018-06-16 196 197### Changed 198- Changed `Clang::find` to skip dynamic libraries for an incorrect architecture on Windows 199 200## [0.22.0] - 2018-03-11 201 202### Added 203- Added support for `clang` 6.0.x 204- Bumped `libc` version to `0.2.39` 205- Bumped `libloading` version to `0.5.0` 206 207## [0.21.2] - 2018-02-17 208 209### Changed 210- Added original errors to error messages 211- Added support for searching for libraries in `LD_LIBRARY_PATH` directories 212 213## [0.21.1] - 2017-11-24 214 215### Changed 216- Improved finding of versioned libraries (e.g., `libclang-3.9.so`) 217 218### Fixed 219* Fixed compilation failures on the beta and nightly channels caused by a [compiler bug](https://github.com/KyleMayes/clang-sys/pull/69) 220 221## [0.21.0] - 2017-10-11 222 223### Changed 224* Replaced `bitflags` usage with constants which avoids crashes on 32-bit Linux platforms 225 226## [0.20.1] - 2017-09-16 227 228### Fixed 229- Fixed static linking 230 231## [0.20.0] - 2017-09-14 232 233### Added 234- Added support for `clang` 5.0.x 235- Added `clang` as a link target of this package 236- Added dummy implementations of `is_loaded` for builds with the `static` Cargo feature enabled 237 238## [0.19.0] - 2017-07-02 239 240### Changed 241- Bumped `bitflags` version to `0.9.1` 242- Added `args` parameter to `Clang::new` function which passes arguments to the Clang executable 243 244## [0.18.0] - 2017-05-16 245 246### Changed 247- Improved finding of versioned libraries (e.g., `libclang.so.3.9`) 248 249## [0.17.0] - 2017-05-08 250 251### Changed 252- Changed storage type of include search paths from `Vec<PathBuf>` to `Option<Vec<PathBuf>>` 253 254## [0.16.0] - 2017-05-02 255 256### Changed 257- Bumped `libloading` version to `0.4.0` 258 259## [0.15.2] - 2017-04-28 260 261### Fixed 262- Fixed finding of `libclang.so.1` on Linux 263 264## [0.15.1] - 2017-03-29 265 266### Fixed 267- Fixed static linking when libraries are in [different directories](https://github.com/KyleMayes/clang-sys/issues/50) 268 269## [0.15.0] - 2017-03-13 270 271### Added 272- Added support for `clang` 4.0.x 273 274### Changed 275- Changed functions in the `Functions` struct to be `unsafe` (`runtime` feature only) 276- Changed `Clang::find` method to ignore directories and non-executable files 277- Changed `Clang::find` to skip dynamic libraries for an incorrect architecture on FreeBSD and Linux 278- Bumped `bitflags` version to `0.7.0` 279 280## [0.14.0] - 2017-01-30 281 282### Changed 283- Changed all enum types from tuple structs to raw integers to avoid 284 [segmentation faults](https://github.com/rust-lang/rust/issues/39394) on some platforms 285 286## [0.13.0] - 2017-01-29 287 288### Changed 289- Changed all opaque pointers types from tuple structs to raw pointers to avoid 290 [segmentation faults](https://github.com/rust-lang/rust/issues/39394) on some platforms 291 292## [0.12.0] - 2016-12-13 293 294### Changed 295- Altered the runtime linking API to allow for testing the presence of functions 296 297## [0.11.1] - 2016-12-07 298 299### Added 300- Added support for linking to Clang on Windows from unofficial LLVM sources such as MSYS and MinGW 301 302## [0.11.0] - 2016-10-07 303 304### Changed 305- Changed all enums from Rust enums to typed constants to avoid 306 [undefined behavior](https://github.com/KyleMayes/clang-sys/issues/42) 307 308## [0.10.1] - 2016-08-21 309 310### Changed 311- Changed static linking on FreeBSD and macOS to link against `libc++` instead of `libstd++` 312 313## [0.10.0] - 2016-08-01 314 315### Changed 316- Added `runtime` Cargo feature that links to `libclang` shared library at runtime 317- Added `from_raw` method to `CXTypeLayoutError` enum 318- Added implementations of `Deref` for opaque FFI structs 319- Changed `Default` implementations for structs to zero out the struct 320 321## [0.9.0] - 2016-07-21 322 323### Added 324- Added documentation bindings 325 326## [0.8.1] - 2016-07-20 327 328### Changed 329- Added `CLANG_PATH` environment variable for providing a path to `clang` executable 330- Added usage of `llvm-config` to search for `clang` 331- Added usage of `xcodebuild` to search for `clang` on macOS 332 333## [0.8.0] - 2016-07-18 334 335### Added 336- Added support for `clang` 3.9.x 337 338### Changed 339- Bumped `libc` version to `0.2.14` 340 341### Fixed 342- Fixed `LIBCLANG_PATH` usage on Windows to search both the `bin` and `lib` directories 343- Fixed search path parsing on macOS 344- Fixed search path parsing on Windows 345- Fixed default search path ordering on macOS 346 347## [0.7.2] - 2016-06-17 348 349### Fixed 350- Fixed finding of `clang` executables when system has executables matching `clang-*` 351 (e.g., `clang-format`) 352 353## [0.7.1] - 2016-06-10 354 355### Changed 356- Bumped `libc` version to `0.2.12` 357 358### Fixed 359- Fixed finding of `clang` executables suffixed by their version (e.g., `clang-3.5`) 360 361## [0.7.0] - 2016-05-31 362 363### Changed 364- Changed `Clang` struct `version` field type to `Option<CXVersion>` 365 366## [0.6.0] - 2016-05-26 367 368### Added 369- Added `support` module 370 371### Fixed 372- Fixed `libclang` linking on FreeBSD 373- Fixed `libclang` linking on Windows with the MSVC toolchain 374- Improved `libclang` static linking 375 376## [0.5.4] - 20160-5-19 377 378### Changed 379- Added implementations of `Default` for FFI structs 380 381## [0.5.3] - 2016-05-17 382 383### Changed 384- Bumped `bitflags` version to `0.7.0` 385 386## [0.5.2] - 2016-05-12 387 388### Fixed 389- Fixed `libclang` static linking 390 391## [0.5.1] - 2016-05-10 392 393### Fixed 394- Fixed `libclang` linking on macOS 395- Fixed `libclang` linking on Windows 396 397## [0.5.0] - 2016-05-10 398 399### Removed 400- Removed `rustc_version` dependency 401- Removed support for `LIBCLANG_STATIC` environment variable 402 403### Changed 404- Bumped `bitflags` version to `0.6.0` 405- Bumped `libc` version to `0.2.11` 406- Improved `libclang` search path 407- Improved `libclang` static linking 408 409## [0.4.2] - 2016-04-20 410 411### Changed 412- Bumped `libc` version to `0.2.10` 413 414## [0.4.1] - 2016-04-02 415 416### Changed 417- Bumped `libc` version to `0.2.9` 418- Bumped `rustc_version` version to `0.1.7` 419 420## [0.4.0] - 2016-03-28 421 422### Removed 423- Removed support for `clang` 3.4.x 424 425## [0.3.1] - 2016-03-21 426 427### Added 428- Added support for finding `libclang` 429 430## [0.3.0] - 2016-03-16 431 432### Removed 433- Removed build system types and functions 434 435### Added 436- Added support for `clang` 3.4.x 437 438### Changed 439- Bumped `bitflags` version to `0.5.0` 440- Bumped `libc` version to `0.2.8` 441 442## [0.2.1] - 2016-02-13 443 444### Changed 445- Simplified internal usage of conditional compilation 446- Bumped `bitflags` version to `0.4.0` 447- Bumped `libc` version to `0.2.7` 448- Bumped `rustc_version` version to `0.1.6` 449 450## [0.2.0] - 2016-02-12 451 452### Added 453- Added support for `clang` 3.8.x 454 455## [0.1.2] - 2015-12-29 456 457### Added 458- Added derivations of `Debug` for FFI structs 459 460## [0.1.1] - 2015-12-26 461 462### Added 463- Added derivations of `PartialOrd` and `Ord` for FFI enums 464 465## [0.1.0] - 2015-12-22 466- Initial release 467