Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency pigeon to v22 #398

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 24, 2024

This PR contains the following updates:

Package Type Update Change
pigeon (source) dev_dependencies major ^10.0.1 -> ^22.0.0

Release Notes

flutter/packages (pigeon)

v22.6.0

Compare Source

  • [swift] Adds includeErrorClass to SwiftOptions.

v22.5.0

Compare Source

  • [swift] Adds implementation for @ProxyApi.

v22.4.2

Compare Source

  • Updates README.md to replace the deprecated flutter pub run pigeon command with dart run pigeon.

v22.4.1

Compare Source

  • [dart] Fixes bug where special handling of ints is ignored if no custom types are used.

v22.4.0

Compare Source

  • Adds support for non-nullable types in collections.

v22.3.0

Compare Source

  • Adds support for enums and classes in collections.

v22.2.0

Compare Source

  • [kotlin] Adds implementation for @ProxyApi.

v22.1.0

Compare Source

  • Allows generation of classes that aren't referenced in an API.

v22.0.0

Compare Source

  • [dart] Changes codec to send int64 instead of int32.
  • Breaking Change [swift] Changes generic map to nullable keys of AnyHashable to conform to other platforms.
  • Adds tests to validate collections of ints.

v21.2.0

Compare Source

  • Removes restriction on number of custom types.
  • [java] Fixes bug with multiple enums.
  • [java] Removes Object from generics.
  • [objc] Fixes bug with multiple enums per data class.
  • Updates varPrefix and classMemberNamePrefix.
  • Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.

v21.1.0

Compare Source

  • Adds GObject (Linux) support.

v21.0.0

Compare Source

  • Breaking Change [cpp] Fixes style of enum names. References to enum values
    will need to be updated to EnumType.kValue style, instead of the previous
    EnumType.value.

v20.0.2

Compare Source

  • [java] Adds equals and hashCode support for data classes.
  • [swift] Fully-qualifies types in Equatable extension test.

v20.0.1

Compare Source

  • [cpp] Fixes handling of null class arguments.

v20.0.0

Compare Source

  • Moves all codec logic to single custom codec per file.
  • Breaking Change Limits the number of total custom types to 126.
    • If more than 126 custom types are needed, consider breaking up your definition files.
  • Fixes bug that prevented collection subtypes from being added properly.
  • [swift] Adds @unchecked Sendable to codec method.
  • [objc] [cpp] Fixes bug that prevented setting custom header import path.

v19.0.2

Compare Source

  • [kotlin] Adds the @JvmOverloads to the HostApi setUp method. This prevents the calling Java code from having to provide an empty String as Kotlin provides it by default

v19.0.1

Compare Source

  • [dart] Updates PigeonInstanceMangerApi to use the shared api channel code.

v19.0.0

Compare Source

  • Breaking Change [swift] Removes FlutterError in favor of PigeonError.
  • Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.

v18.0.1

Compare Source

  • Fixes unnecessary calls of toList and fromList when encoding/decoding data classes.
  • [kotlin] Changes to some code to make it more idiomatic.
  • Removes collisions with the word list.

v18.0.0

Compare Source

  • Adds message channel suffix option to all APIs.
  • Breaking Change [dart] Changes FlutterApi setup to setUp.

v17.3.0

Compare Source

  • [swift] Adds @SwiftClass annotation to allow choice between struct and class for data classes.
  • [cpp] Adds support for recursive data class definitions.

v17.2.0

Compare Source

  • [dart] Adds implementation for @ProxyApi.

v17.1.3

Compare Source

  • [objc] Fixes double prefixes added to enum names.

v17.1.2

Compare Source

  • [swift] Separates message call code generation into separate methods.

v17.1.1

Compare Source

  • Removes heap allocation in generated C++ code.

v17.1.0

Compare Source

  • [kotlin] Adds includeErrorClass to KotlinOptions.
  • Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.

v17.0.0

Compare Source

  • Breaking Change [kotlin] Converts Kotlin enum case generation to SCREAMING_SNAKE_CASE.
    • Updates writeEnum function to adhere to Kotlin naming conventions.
    • Improves handling of complex names with enhanced regex patterns.
    • Expands unit tests for comprehensive name conversion validation.
    • Migration Note: This change modifies the naming convention of Kotlin enum cases generated from the Pigeon package. It is recommended to review the impact on your existing codebase and update any dependent code accordingly.

v16.0.5

Compare Source

  • Adds ProxyApi to AST generation.

v16.0.4

Compare Source

  • [swift] Improve style of Swift output.

v16.0.3

Compare Source

  • [kotlin] Separates message call code generation into separate methods.

v16.0.2

Compare Source

  • [dart] Separates message call code generation into separate methods.

v16.0.1

Compare Source

  • [dart] Fixes test generation for missing wrapResponse method if only host Api.

v16.0.0

Compare Source

  • [java] Adds VoidResult type for Void returns.
  • Breaking Change [java] Updates all Void return types to use new VoidResult.

v15.0.3

Compare Source

  • Fixes new lint warnings.

v15.0.2

Compare Source

  • Prevents optional and non-positional parameters in Flutter APIs.
  • [dart] Fixes named parameters in test output of host API methods.

v15.0.1

Compare Source

v15.0.0

Compare Source

  • Breaking Change [kotlin] Updates Flutter API to use new errorClassName.

v14.0.1

Compare Source

  • Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
  • Updates issue_tracker link.

v14.0.0

Compare Source

  • Breaking change [dart] Renames locally defined host API variables.
    • [dart] Host api static field codec changed to pigeonChannelCodec.
  • [dart] Adds named parameters to host API methods.
  • [dart] Adds optional parameters to host API methods.
  • [dart] Adds default values for class constructors and host API methods.
  • Adds isEnum and isClass to TypeDeclarations.
  • [cpp] Fixes FlutterError generation being tied to ErrorOr.

v13.1.2

Compare Source

  • Adds compatibility with analyzer 6.x.

v13.1.1

Compare Source

  • [kotlin] Removes unnecessary ;s in generated code.

v13.0.0

Compare Source

  • Breaking Change [objc] Eliminates boxing of non-nullable primitive types
    (bool, int, double). Changes required:
    • Implementations of host API methods that take non-nullable
      primitives will need to be updated to match the new signatures.
    • Calls to Flutter API methods that take non-nullable primitives will need to
      be updated to pass unboxed values.
    • Calls to non-nullable primitive property methods on generated data classes
      will need to be updated.
    • WARNING: Current versions of Xcode do not appear to warn about
      implicit NSNumber * to BOOL conversions, so code that is no longer
      correct after this breaking change may compile without warning. For example,
      myGeneratedClass.aBoolProperty = @​NO can silently set aBoolProperty to
      YES. Any data class or Flutter API interactions involving bools should
      be carefully audited by hand when updating.

v12.0.1

Compare Source

  • [swift] Adds protocol for Flutter APIs.

v12.0.0

Compare Source

  • Adds error handling on Flutter API methods.
  • Breaking Change [kotlin] Flutter API methods now return Result<return-type>.
  • Breaking Change [swift] Flutter API methods now return Result<return-type, FlutterError>.
  • Breaking Change [java] Removes Reply class from all method returns and replaces it with Result.
    • Changes required: Replace all Reply callbacks with Result classes that contain both success and failure methods.
  • Breaking Change [java] Adds NullableResult class for all nullable method returns.
    • Changes required: Any method that returns a nullable type will need to be updated to return NullableResult rather than Result.
  • Breaking Change [java] Renames Host API setup method to setUp.
  • Breaking Change [objc] Boxes all enum returns to allow for nil response on error.
  • Breaking Change [objc] Renames <api>Setup to SetUp<api>.

v11.0.1

Compare Source

  • Adds pub topics to package metadata.

v11.0.0

Compare Source

  • Adds primitive enum support.
  • [objc] Fixes nullable enums.
  • Breaking Change [objc] Changes all nullable enums to be boxed in custom classes.
  • Breaking Change [objc] Changes all enums names to have class prefix.
  • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

docs-page bot commented Aug 24, 2024

To view this pull requests documentation preview, visit the following URL:

starknetdart.dev/~398

Documentation is deployed and generated using docs.page.

Copy link
Contributor

coderabbitai bot commented Aug 24, 2024

Walkthrough

The secure_store package has been updated by changing the version of the pigeon dependency in its pubspec.yaml file, moving from ^10.0.1 to ^22.0.0. This change signifies a significant upgrade to the pigeon library, impacting code generation capabilities within the package.

Changes

File Change Summary
packages/secure_store/pubspec.yaml Updated pigeon dependency from ^10.0.1 to ^22.0.0

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant SecureStore
    participant Pigeon

    User->>SecureStore: Request to store data
    SecureStore->>Pigeon: Generate code for storage
    Pigeon-->>SecureStore: Return generated code
    SecureStore-->>User: Confirm data stored
Loading

Poem

🐰 In fields of code, with hops so fleet,
A change was made, oh what a treat!
From version ten to twenty-two,
New features blossom, fresh and new.
With every leap and every bound,
Our secure store gains solid ground! 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 59920c6 and f9b2692.

Files selected for processing (1)
  • packages/secure_store/pubspec.yaml (1 hunks)
Additional comments not posted (1)
packages/secure_store/pubspec.yaml (1)

20-20: Verify compatibility and test integration with pigeon v22.0.0.

The update from ^10.0.1 to ^22.0.0 is a major version change and may introduce breaking changes or new features. Ensure that the codebase is compatible with this version and thoroughly test the integration to avoid potential issues.

@lesnitsky lesnitsky closed this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant