Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into align-adapter-api
Browse files Browse the repository at this point in the history
  • Loading branch information
koushiro committed Nov 5, 2024
2 parents c52efb0 + 259a19e commit 6b03f47
Show file tree
Hide file tree
Showing 111 changed files with 1,363 additions and 931 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_bindings_ocaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/checkout@v4

- name: Cache OPAM dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.opam
key: ${{ runner.os }}-opam-${{ hashFiles('bindings/ocaml/dune-project') }}
Expand All @@ -51,7 +51,7 @@ jobs:
${{ runner.os }}-opam-doc-
- name: Cache Dune build artifacts
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: bindings/ocaml/_build
key: ${{ runner.os }}-dune-${{ hashFiles('bindings/ocaml/**/*.{ml,mli,opam}') }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci_integration_object_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ jobs:
- name: Cargo clippy
working-directory: integrations/object_store
run: cargo clippy --all-targets --all-features -- -D warnings

- name: Cargo test
working-directory: integrations/object_store
run: cargo test
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ jobs:
cabal update
- name: Setup cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-cabal
with:
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
- uses: actions/checkout@v4

- name: Cache OPAM dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.opam
key: ${{ runner.os }}-opam-doc-${{ hashFiles('bindings/ocaml/dune-project') }}
Expand All @@ -291,7 +291,7 @@ jobs:
${{ runner.os }}-opam-
- name: Cache Dune build artifacts
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: bindings/ocaml/_build
key: ${{ runner.os }}-dune-doc-${{ hashFiles('bindings/ocaml/**/*.{ml,mli,opam}') }}
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/test_benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Benchmark Test

on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- "core/src/**"
- "core/benches/**"
- "!core/src/docs/**"
- ".github/workflows/test_benchmark.yml"
# `workflow_dispatch` is needed by codspeed for first time trigger
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
benchmark:
runs-on: ubuntu-latest
if: github.event_name == 'push' || !github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: ./.github/actions/setup
- name: Setup codspeed
run: cargo install cargo-codspeed
- name: Setup Memory env
uses: ./.github/services/memory/memory
- name: Install codpseed-criterion-compat
working-directory: core
run: cargo add --dev --rename criterion --features async,async_tokio [email protected]
- name: Build the benchmark targets
working-directory: core
run: cargo codspeed build --features tests,services-memory
- name: Run the benchmarks
uses: CodSpeedHQ/action@v3
env:
OPENDAL_TEST: memory
with:
working-directory: core
run: cargo codspeed run
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

<!-- Release notes generated using configuration in .github/release.yml at main -->

## [v0.50.2] - 2024-11-04

### Added
* feat(services/ftp): List dir shows last modified timestamp by @erickguan in https://github.com/apache/opendal/pull/5213
* feat(bindings/d): add D bindings support by @kassane in https://github.com/apache/opendal/pull/5181
* feat(bindings/python): add sync `File.readline` by @TennyZhuang in https://github.com/apache/opendal/pull/5271
* feat(core/services-azblob): support user defined metadata by @jorgehermo9 in https://github.com/apache/opendal/pull/5274
* feat(core/services-s3): try load endpoint from config by @TennyZhuang in https://github.com/apache/opendal/pull/5279
### Changed
* refactor(bin/oli): use `clap_derive` to reduce boilerplate code by @koushiro in https://github.com/apache/opendal/pull/5233
### Fixed
* fix: add all-features flag for opendal_compat doc build by @XmchxUp in https://github.com/apache/opendal/pull/5234
* fix(integrations/compat): Capability has different fields by @Xuanwo in https://github.com/apache/opendal/pull/5236
* fix(integration/compat): Fix opendal 0.50 OpList has new field by @Xuanwo in https://github.com/apache/opendal/pull/5238
* fix(integrations/compat): Fix dead loop happened during list by @Xuanwo in https://github.com/apache/opendal/pull/5240
### Docs
* docs: Move our release process to github discussions by @Xuanwo in https://github.com/apache/opendal/pull/5217
* docs: change "Github" to "GitHub" by @MohammadLotfiA in https://github.com/apache/opendal/pull/5250
### CI
* ci(asf): Don't add `[DISCUSS]` prefix for discussion by @Xuanwo in https://github.com/apache/opendal/pull/5210
* build: enable services-mysql for Java and Python bindings by @tisonkun in https://github.com/apache/opendal/pull/5222
* build(binding/python): Support Python 3.13 by @Zheaoli in https://github.com/apache/opendal/pull/5248
### Chore
* chore(bin/*): remove useless deps by @koushiro in https://github.com/apache/opendal/pull/5212
* chore: tidy up c binding build and docs by @tisonkun in https://github.com/apache/opendal/pull/5243
* chore(core/layers): adjust await point to simplify combinator code by @koushiro in https://github.com/apache/opendal/pull/5255
* chore(core/blocking_operator): deduplicate deprecated `is_exist` logic by @simonsan in https://github.com/apache/opendal/pull/5261
* chore(deps): bump actions/cache from 3 to 4 by @dependabot in https://github.com/apache/opendal/pull/5262
* chore: run object_store tests in CI by @jorgehermo9 in https://github.com/apache/opendal/pull/5268

## [v0.50.1] - 2024-10-20

### Added
Expand Down
6 changes: 3 additions & 3 deletions bin/oay/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/oay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.41.12"
version = "0.41.13"

[features]
default = ["frontends-webdav", "frontends-s3"]
Expand Down
Loading

0 comments on commit 6b03f47

Please sign in to comment.