Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/cargo/rustix-0.36.16
Browse files Browse the repository at this point in the history
  • Loading branch information
gagbo authored Jul 9, 2024
2 parents ef9874a + b35960a commit c9c654b
Show file tree
Hide file tree
Showing 27 changed files with 1,005 additions and 828 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/audit.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/audit_rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Audit Rust code

on:
push:
branches: ["**"]
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "**/deny.toml"
schedule:
- cron: "43 1 * * *"
workflow_dispatch:

jobs:
rust_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- uses: EmbarkStudios/cargo-deny-action@v1
with:
credentials: https://fiberplanebot:${{ secrets.PRIVATE_GITHUB_TOKEN }}@github.com/
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ jobs:
# Skip linting on main, since it's not critical and should've already
# been checked before merging
if: ${{ github.ref != 'refs/heads/main' }}
uses: actions-rs/clippy-check@v1
uses: giraffate/clippy-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --workspace
github_token: ${{ secrets.GITHUB_TOKEN }}
filter_mode: nofilter
fail_on_error: true
clippy_flags: --all-features --workspace

- name: Run tests
run: cargo test --verbose
Expand Down Expand Up @@ -70,7 +72,7 @@ jobs:
- name: Save providers
if: ${{ github.ref == 'refs/heads/main' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fiberplane-providers
path: artifacts/*.wasm
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ jobs:
run: |
cargo xtask build all --exclude=sample
- name: Create archive
run: tar -cvzf providers.tgz artifacts/

- name: Attach providers to release
uses: meeDamian/github-release@2.0
uses: softprops/action-gh-release@v1
with:
allow_override: true
token: ${{ secrets.GITHUB_TOKEN }}
files: providers:artifacts/
files: providers.tgz
fail_on_unmatched_files: true

- name: Cargo login
uses: actions-rs/cargo@v1
Expand Down
57 changes: 42 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,42 @@

All notable changes to this project will be documented in this file.

The format of this file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
The format of this file is based on
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

Please note that while we use [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
for the `providers` repository as a whole, individual crates published from this
repository may skip versions to stay in lockstep with the other crates. This
means that individual crates do not strictly follow _SemVer_ although their
versioning remains _compatible with_ SemVer, i.e. they will not contain breaking
changes if the major version hasn't changed.
Please note that while we use
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) for the `providers`
repository as a whole, individual crates published from this repository may skip
versions to stay in lockstep with the other crates. This means that individual
crates do not strictly follow _SemVer_ although their versioning remains
_compatible with_ SemVer, i.e. they will not contain breaking changes if the
major version hasn't changed.

## [Unreleased]
## unreleased

TBD
## [1.0.0-beta.13] - 2024-03-01

- Updated dependencies

## [1.0.0-beta.12] - 2024-02-23

- Updated dependencies

## [1.0.0-beta.11] - 2024-02-09

- Updated dependencies

## [1.0.0-beta.8] - 2024-02-05

- Updated dependencies

## [1.0.0-beta.7] - 2024-01-05

- Fix new clippy warnings to pass a stricter CI

## [1.0.0-beta.6]

- Updated dependencies

## [1.0.0-beta.4]

Expand All @@ -23,14 +47,16 @@ TBD

## [1.0.0-beta.3] - 2023-06-14

- Prometheus provider: decrease step size in order to add more details to lines in graphs.
- Prometheus provider: decrease step size in order to add more details to lines
in graphs.

### Added

- Added provider for Parseable.
- Added support for `ArrayField` schema specification. As long as `T` has a
`QuerySchema` derive, you can use `Vec<T>` in structs that derive
`QuerySchema`. Serialization to URL-encoded query uses the ["bracket"
notation](https://docs.rs/serde-querystring/0.2.1/serde_querystring/index.html#brackets-mode).
`QuerySchema`. Serialization to URL-encoded query uses the
["bracket" notation](https://docs.rs/serde-querystring/0.2.1/serde_querystring/index.html#brackets-mode).
(#31)

### Changed
Expand All @@ -41,15 +67,16 @@ TBD
provider.
- Rename Event in the providers module to ProviderEvent (#28)
- Providers set up their own panic handlers to provide better information in
case of panics (instead of letting WASM runtime default panic handling
setup) (#35)
case of panics (instead of letting WASM runtime default panic handling setup)
(#35)

### Fixed

- Fixed required fields in schemas generated using the `QuerySchema` macro.
- Fixed support for the `checked_by_default` and `supports_suggestions`
annotations in the `ConfigSchema` and `QuerySchema` macros.
- Fixed lacking `create_cells()` implementation for Elasticsearch and Loki providers
- Fixed lacking `create_cells()` implementation for Elasticsearch and Loki
providers

## [1.0.0-beta.1] - 2023-02-14

Expand Down
Loading

0 comments on commit c9c654b

Please sign in to comment.