[GitHub] [avro] sarutak opened a new pull request, #2484: Minor: [Doc] Fix wrong heading level of Single-object encoding in the doc

2023-09-04 Thread via GitHub


sarutak opened a new pull request, #2484:
URL: https://github.com/apache/avro/pull/2484

   ## What is the purpose of the change
   
   This PR fixes the heading level of Single-object encoding in the doc.
   Currently, `Single-object encoding` is a sub section of `JSON Encoding` but 
it seems wrong.
   
   ## Verifying this change
   
   Confirmed the layout is fixed with the following command.
   ```
   docker run --rm -v $(pwd):/src -p 1313:1313 jakejarvis/hugo-extended:latest 
--source doc/ server --buildDrafts --buildFuture --bind 0.0.0.0 
--navigateToChanged
   ```
   
   Then, we can find `Single-object encoding` in the table of contents.
   
![table-of-content](https://github.com/apache/avro/assets/4736016/4a264e63-ef22-47fa-b323-6c298228cd3f)
   
   ## Documentation
   
   - Does this pull request introduce a new feature? (no)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [avro] dependabot[bot] opened a new pull request, #2483: Bump thiserror from 1.0.47 to 1.0.48 in /lang/rust

2023-09-04 Thread via GitHub


dependabot[bot] opened a new pull request, #2483:
URL: https://github.com/apache/avro/pull/2483

   Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.47 to 
1.0.48.
   
   Release notes
   Sourced from https://github.com/dtolnay/thiserror/releases";>thiserror's 
releases.
   
   1.0.48
   
   Improve implementation of displaying Path values in a generated Display 
impl (https://redirect.github.com/dtolnay/thiserror/issues/251";>#251, 
thanks https://github.com/mina86";>@​mina86)
   
   
   
   
   Commits
   
   https://github.com/dtolnay/thiserror/commit/5c5f342a5e601e4bfb49c8c095cb57c9f14eb0c8";>5c5f342
 Release 1.0.48
   https://github.com/dtolnay/thiserror/commit/490f0cad16768797489c3310d1aa70f325bfacc2";>490f0ca
 Merge pull request https://redirect.github.com/dtolnay/thiserror/issues/254";>#254 from 
dtolnay/gatlink
   https://github.com/dtolnay/thiserror/commit/1a5dbc70fe4122f438b3b46702a10301e351c29d";>1a5dbc7
 Add link to GAT PR
   https://github.com/dtolnay/thiserror/commit/de580887e2d54b359307c78957ffd34bc5a3a09a";>de58088
 Ignore uninlined_format_args pedantic clippy lint in test
   https://github.com/dtolnay/thiserror/commit/ae642d1aff31a630d3147e83383f447bca00a15e";>ae642d1
 Format clippy allow attribute with rustfmt
   https://github.com/dtolnay/thiserror/commit/b97fc530d9e5953bcacf66afe985e677e1d9885a";>b97fc53
 Remove doc_markdown suppression because clippy bug was fixed
   https://github.com/dtolnay/thiserror/commit/140eb0342a7b507e6456148d698dc838cac79bcc";>140eb03
 Ignore needless_lifetimes clippy lint
   https://github.com/dtolnay/thiserror/commit/1f5cbd701ed0977b0649f055549becd8181970c4";>1f5cbd7
 Ignore manual_let_else pedantic clippy lint
   https://github.com/dtolnay/thiserror/commit/080cac54d4f426634856bc2a4e23d54e6bd5f912";>080cac5
 Ignore uninlined_format_args pedantic clippy lint
   https://github.com/dtolnay/thiserror/commit/134695a70645ac5afb22c8328e9db306359ad9e0";>134695a
 Merge pull request https://redirect.github.com/dtolnay/thiserror/issues/252";>#252 from 
dtolnay/safedisplay
   Additional commits viewable in https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48";>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thiserror&package-manager=cargo&previous-version=1.0.47&new-version=1.0.48)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [avro] dependabot[bot] opened a new pull request, #2482: Bump syn from 2.0.29 to 2.0.31 in /lang/rust

2023-09-04 Thread via GitHub


dependabot[bot] opened a new pull request, #2482:
URL: https://github.com/apache/avro/pull/2482

   Bumps [syn](https://github.com/dtolnay/syn) from 2.0.29 to 2.0.31.
   
   Release notes
   Sourced from https://github.com/dtolnay/syn/releases";>syn's 
releases.
   
   2.0.31
   
   Parse generics and where-clause on const items (https://redirect.github.com/rust-lang/rust/issues/113521";>rust-lang/rust#113521)
   
   2.0.30
   
   Parse unnamed struct/union type syntax (https://redirect.github.com/rust-lang/rust/issues/49804";>rust-lang/rust#49804)
   
   
   
   
   Commits
   
   https://github.com/dtolnay/syn/commit/b20e2c8245f739dffc8095b4406bdff4cc179972";>b20e2c8
 Release 2.0.31
   https://github.com/dtolnay/syn/commit/0cfdca72d287ac66d8c4bafa799ff28ef8b64c51";>0cfdca7
 Merge pull request https://redirect.github.com/dtolnay/syn/issues/1503";>#1503 from 
dtolnay/constverbatim
   https://github.com/dtolnay/syn/commit/8cdfd091983748f53563dd29f55ec9ef7f7f5670";>8cdfd09
 Parse const item with generics as Verbatim
   https://github.com/dtolnay/syn/commit/b80156edee107e322e767f00ecf76acdcf87d938";>b80156e
 Adjust implementation of where-clause parsing on const items
   https://github.com/dtolnay/syn/commit/d73386e36a2823293f1117f563266bc6d11db2b9";>d73386e
 Parse where-clause on const item without value expr
   https://github.com/dtolnay/syn/commit/38051877c1e0cffb6558341599301d5c6c3dfc47";>3805187
 Update CStr literal link
   https://github.com/dtolnay/syn/commit/57514554e33aa6b4b9bd957cd0dbc1cab8c327ad";>5751455
 Link to issue for tail call syntax
   https://github.com/dtolnay/syn/commit/5ede892c24bafd2cfb6288b0cd621476e6872af9";>5ede892
 Merge pull request https://redirect.github.com/dtolnay/syn/issues/1500";>#1500 from 
dtolnay/dupexclude
   https://github.com/dtolnay/syn/commit/f3727bf1b7c9aa18f3af1dc6c32cbf95aa5761d2";>f3727bf
 Detect duplication between excluded files and dirs
   https://github.com/dtolnay/syn/commit/ecfbe2ecd455589bfc8815312a1620fea581a585";>ecfbe2e
 Detect duplicate entries in exclusion lists
   Additional commits viewable in https://github.com/dtolnay/syn/compare/2.0.29...2.0.31";>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=syn&package-manager=cargo&previous-version=2.0.29&new-version=2.0.31)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [avro] sarutak opened a new pull request, #2481: AVRO-3851: [Rust] Validate default value for record fields and enum on parsing

2023-09-04 Thread via GitHub


sarutak opened a new pull request, #2481:
URL: https://github.com/apache/avro/pull/2481

   AVRO-3851
   
   ## What is the purpose of the change
   This PR proposes to improve the functionality of parsing default values for 
record fields and enums.
   
   Currently, default values for record fields are validated on parsing only if 
their types are `union`.
   It's nice to apply such validation for other types.
   Similarly, default values for `enum` are not also validated on parsing now.
   
   So this PR changes parser functionality to validate default values for 
record fields and enums.
   
   ## Verifying this change
   Added new tests.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? (no)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (AVRO-3851) Validate default value for record fields and enums on parsing

2023-09-04 Thread Kousuke Saruta (Jira)
Kousuke Saruta created AVRO-3851:


 Summary: Validate default value for record fields and enums on 
parsing
 Key: AVRO-3851
 URL: https://issues.apache.org/jira/browse/AVRO-3851
 Project: Apache Avro
  Issue Type: Improvement
  Components: rust
Reporter: Kousuke Saruta


Currently, default values for record fields are not validated on parsing except 
for union type fields.
Similarly, default values for enum are not also validated on parsing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [avro] sarutak closed pull request #2476: AVRO-3850: [Rust] Don't publish Cargo.lock

2023-09-04 Thread via GitHub


sarutak closed pull request #2476: AVRO-3850: [Rust] Don't publish Cargo.lock
URL: https://github.com/apache/avro/pull/2476


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org