Skip to content

Commit

Permalink
Merge branch 'main' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
bconn98 authored Apr 4, 2024
2 parents d7b01f3 + f688e38 commit 825609f
Show file tree
Hide file tree
Showing 30 changed files with 1,442 additions and 222 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,23 @@ jobs:
env:
RUSTFLAGS: -D warnings

changelog-lint:
name: Changelog Lint
runs-on: ubuntu-latest
steps:
- name: Markdown Linting Action
uses: avto-dev/markdown-lint@v1
with:
rules: /lint/rules/changelog.js
config: --config /lint/config/changelog.yml
args: 'CHANGELOG.md'

docs-lint:
name: Docs Lint
runs-on: ubuntu-latest
steps:
- name: Markdown Linting Action
uses: avto-dev/markdown-lint@v1
with:
config: .markdownlint.yml
args: docs/Configuration.md README.md
args: '**.md'
ignore: 'CHANGELOG.md'
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust_versions: ["stable", "1.67"]
rust_versions: ["stable", "1.69"]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout the source code
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust_versions: ["stable", "1.67"]
rust_versions: ["stable", "1.69"]
steps:
- name: Checkout the source code
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ Cargo.lock
.idea/
*.iml
.vscode/
info.log
log/
1 change: 0 additions & 1 deletion .markdownlint.yml

This file was deleted.

199 changes: 144 additions & 55 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Change Log

## [1.3.0]

### New

* Add debug and release formatters
* Documentation on configuring the tool
* Code Coverage CI
* CVE Audit CI
* EditorConfig CI
* Code Owners
* NO_COLOR, CLICOLOR, CLICOLOR_FORCE controls
* Example of inline configuration with file rotation
* Time Based Trigger

### Changed

* Update minimum supported rust to 1.69 for CVE-2020-26235
* Update `arc-swap` to `1.6`
* Update `log` to `0.4.20`
* Update `humantime` to `2.1`
* Update `serde_yaml` to `0.9`
* Update `toml` to `0.8`
* Update `derivative` to `2.2`
* Update `tempfile` to `3.8`
* Moved `level` field before `message` in json format
* Legacy test moved to examples


### Fixed

* README typo regarding building for dev on windows
* Apply editorconfig
* Swap rustfmt configuration to `imports_granularity="Crate"` over deprecated `merge_imports = true`

## [1.2.0]

### Changed
Expand All @@ -12,12 +46,12 @@

## [1.1.1]

### New
### Added

### Changed

* Removed palaver
* Update `parking_lot` to `0.11`.
* Update `parking_lot` to `0.11`
* Update minimum supported rust to 1.49 for `parking_lot`

### Fixed
Expand All @@ -26,17 +60,17 @@

## [1.1.0]

### New
### Added

* Added example of compile-time config
* Add gettid for `PatternEncoder`
* Example of compile-time config
* `gettid` for `PatternEncoder`
* Better rotation benchmark statistics
* Add tty_only option to `ConsoleAppender`
* `tty_only` option to `ConsoleAppender`

### Changed

* Update `arc_swap` to `1.2`.
* Update `thread_id` to `4`.
* Update `arc_swap` to `1.2`
* Update `thread_id` to `4`
* Update docs for `FixedWindow::build`
* Drop `Regex` dependency

Expand All @@ -47,7 +81,7 @@

## [1.0.0]

### New
### Added

* Custom error handling
* Allow parsing of config from string
Expand All @@ -65,22 +99,23 @@

## [0.13.0]

### New
### Added

### Changed

* Update `serde-xml-rs` to `0.4`.
* Update `parking_lot` to `0.11`.
* Update `serde-xml-rs` to `0.4`
* Update `parking_lot` to `0.11`

### Fixed

* Fix bug where both `pattern_encoder` and `json_encoder` features need to be active to use either.
* Fix bug where both `pattern_encoder` and `json_encoder` features need to be
active to use either

## [0.12.0]

### New
### Added

* Derived `Clone` for `Handle`.
* Derived `Clone` for `Handle`

### Changed

Expand All @@ -91,99 +126,153 @@

## [0.11.0]

A performance issue was discovered with gzip and rolling logs, the `background_rotation` feature was
added to mitigate this by spawning a background thread to perform the rotation in. Shout out to @yakov-bakhmatov
A performance issue was discovered with gzip and rolling logs, the
`background_rotation` feature was added to mitigate this by spawning a
background thread to perform the rotation in. Shout out to @yakov-bakhmatov
for the PR!

### New
### Added

* `background_rotation` feature which rotates and compresses log archives in a background thread.
* `background_rotation` feature which rotates and compresses log archives in a
background thread

### Changed

* Deprecate xml feature in preparation for removal.
* Simplify and increase visibility of docs.
* Swap some synchronization primitives to use `parking_lot` implementations.
* Deprecate xml feature in preparation for removal
* Simplify and increase visibility of docs
* Swap some synchronization primitives to use `parking_lot` implementations

### Fixed


## [0.10.0]

This is a big release as we're moving to rust 2018 edition!

### New
### Added

* More badges in the readme.
* More badges in the readme

### Changed

* Use rust 2018 edition.
* Use rust 2018 edition
* Minimum rust version is 1.38.0
* Update `arcswap`, `serde-value` and `serde-xml-rs`.
* Update `arcswap`, `serde-value` and `serde-xml-rs`

### Fixed

* Deprecate len method on rolling_file.
* Windows build issue after 2018 edition.
* Deprecate len method on rolling_file
* Windows build issue after 2018 edition

## [0.9.0]

### New
### Added

* `Logger` is now public.
* `PatternEncoder` now has the pid.
* Many config structs are now `Clone` and `Debug` for convenience.
* JSON logger example added.
* File logging example added.
* `Logger` is now public
* `PatternEncoder` now has the pid
* Many config structs are now `Clone` and `Debug` for convenience
* JSON logger example added
* File logging example added

### Fixed

* Hierarchical Changelog
* No longer looking for maintainer.
* No longer looking for maintainer

## [0.8.3] - 2019-04-02

### Fixed

* Fixed Cargo.toml badge.
* Fixed Cargo.toml badge

## [0.8.2] - 2019-04-02

### Changed

* Switched from crossbeam's `ArcCell` to arc-swap's `ArcSwap` internally.
* Upgraded toml to 0.5.
* Switched from crossbeam's `ArcCell` to arc-swap's `ArcSwap` internally
* Upgraded toml to 0.5

## [0.8.1] - 2018-10-17

### New
### Added

* Support thread IDs in both JSON and pattern encoders.
* Support thread IDs in both JSON and pattern encoders

### Changed

* Upgraded to serde_yaml 0.8.
* Upgraded to serde_yaml 0.8

## [0.8.0] - 2017-12-25

### New
### Added

* XML-formatted config files are now supported.
* Added the `Append::flush` method.
* XML-formatted config files are now supported
* `Append::flush` method

### Changed

* Upgraded to log 0.4.
* Upgraded to log 0.4

## [0.7.0] - 2017-04-26

### Added

### Changed

* Update to serde 1.0

## [0.6.3] - 2017-04-05

## Older
### Added

Look at the [release tags] for information about older releases.
### Changed

* Fix console appender to actually log to stdout when requested

## [0.6.2] - 2017-03-01

### Added

### Changed

* Fix handling of non-0 bases in rolling file appender

## [0.6.1] - 2017-02-11

### Added

* Add TOML support back in

### Changed

## [0.6.0] - 2017-02-10

### Added

* Enable most features by default. This increases compile times a bit, but is
way less confusing for people since components aren't randomly missing
* Restructure config deserialization. A log4rs config can now be embedded in
other config structures and deserialized by downstream users

### Changed

* Update to serde 0.9
* Use serde_derive instead of manual codegen
* Drop TOML support. The toml crate hasn't yet been released with support for
serde 0.9, but we'll add support back when that lands

## [0.5.2] - 2016-11-25

### Added

* Make Deserializers Clone

### Changed

## [0.5.1] - 2016-11-20

### Added

### Changed

[Unreleased]: https://github.com/sfackler/log4rs/compare/v0.9.0...HEAD
[0.9.0]: https://github.com/sfackler/log4rs/compare/v0.8.2...v0.9.0
[0.8.3]: https://github.com/sfackler/log4rs/compare/v0.8.2...v0.8.3
[0.8.2]: https://github.com/sfackler/log4rs/compare/v0.8.1...v0.8.2
[0.8.1]: https://github.com/sfackler/log4rs/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/sfackler/log4rs/compare/v0.7.0...v0.8.0
[release tags]: https://github.com/sfackler/log4rs/releases
* Update serde_yaml
* Fix file modification time checks in config reloader
Loading

0 comments on commit 825609f

Please sign in to comment.