M3UAndroid
M3UAndroid copied to clipboard
fix(deps): update dependency com.squareup.wire:wire-runtime to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.squareup.wire:wire-runtime | 4.9.2 -> 5.3.1 |
Release Notes
square/wire (com.squareup.wire:wire-runtime)
v5.3.1
2025-03-05
Gradle plugin
- Better remote cache support (#3295)
- Avoid eagerly resolving the configuration (#3302 by [Kartikaya Gupta][staktrace])
v5.3.0
2025-02-14
Common
- Add support for weak imports in ProtoParser and ProtoFileElement (#3247 by [paul35621][paul35621])
- Add Gradle and CLI options to load the protobuf schema exhaustively (#3254 by [Damian Wieczorek][damianw])
Swift
- Fix conformance to ProtoMessage for heap allocated protos (#3260 by [Dimitris Koutsogiorgas][dnkoutso])
Gradle plugin
- Removed usage of internal Gradle APIs in the Wire Gradle plugin which were crashing in Gradle
8.13.
v5.2.1
2025-01-07
JVM generation
- Fix support for mutable messages in Wire's Kotlin Generator. (#3233 by [Rahul Ravikumar][tikurahul])
v5.2.0
2025-01-06
Common
- Enforce recursion limit when parsing nested groups. (#3119)
CLI wire-compiler
- It is now possible to set multiple targets. (#3106 & #3107)
- The option
opaque_typesintroduced in4.9.2for the Wire Gradle plugin is now available on CLI. (#3147)
JVM generation
- KotlinPoet has been updated to
2.0.0which dramatically changes how generated Kotlin files are wrapped. This is neither a source nor a binary breaking changes. - A new
@WireEnclosingTypeannotation is now applied to generated types so R8 doesn't prune too much. (#3123) - Split the redact method into chunks when a type has more than 100 fields to avoid compilation error. (#3214 by [Damian Wieczorek][damianw])
- Add support for mutable messages in Wire's Kotlin Generator. (#3217 by [Rahul Ravikumar][tikurahul])
- You can opt-in by adding
mutableTypes = trueon your Kotlin target. This is unsafe and we do not recommend that you use it unless you have a sound use-case for it.
- You can opt-in by adding
- Wire is now using Palantir's JavaPoet instead of Square's JavaPoet.
Swift
- Fix buffer overflow and data corruption when a type has more than 5 layers of nesting (#3203 by [Eric Amorde][amorde])
v5.1.0
2024-09-11
Common
- Support for Kotlin
2.0.20. (#3093) srcDir(String)has been undeprecated. (#3039)- Some loggings now happen at the debug level, instead of info. (#3041)
- Remove some unactionable warnings on Kotlin/JS (#3047)
- Propagate the deprecated flag on EnumType after pruning by wire-gradle-plugin (#3076 by [Aaron Edwards][aaron-edwards])
- Introduce
ProtoReader32, a specialization for Kotlin/JS (#3077) This is an alternative toProtoReader, which usesLongas a cursor. It originates as an optimization for Kotlin/JS, whereLongcursors are prohibitively expensive. - Fix Gradle project isolation issue when reading a property (#3078 by [Aurimas][liutikas])
- Change the recursion limit to match grpc's default (#3091)
Kotlin
- New enum option
enum_modeto take precedence over theenumModeoption added in5.0.0-alpha02. Use this if you want to migrate your enums granularly. (#2993) - Don't throw if reading trailers fail (#3087)
Swift
- Avoid crash when parsing an empty repeated
[packed=true]for fixed-length types. (#3044 by [Sasha Weiss][sashaweiss-signal])
v5.0.0
2024-07-15
Common
- Prevent conflicts for options of different types but with similar names (#3005)
- Support all Gradle entries for file collections (#2946)
srcDir(String)has been deprecated in favor ofsrcDir(Any)which better leverages Gradle to handle dependencies.
v4.9.11
2024-10-09
Common
- Fix Gradle project isolation issue when reading a property (#3078 by [Aurimas][liutikas])
v4.9.9
2024-04-02
Common
- Backport JSON serialization for Android SDK below 26 (#2881 by [Damian Wieczorek][damianw])
v4.9.8
2024-03-18
Common
- Retain imports for types used in maps (#2864)
v4.9.7
2024-02-12
Common
- Support all struct types for JSON encoding (#2824 by [Arnaud Frugier][quanturium])
v4.9.6
2024-02-02
Common
- Add public dependencies when encoding the schema (#2801 by [Michael Peyper][mpeyper])
Kotlin
- Fix RealGrpcCall timeout (#2816 by [Jeff Gulbronson][JGulbronson])
v4.9.5
2024-01-27
Common
- Fix over pruning imports when only option types are being extended in a file (#2800 by [Michael Peyper][mpeyper])
v4.9.4
2024-01-26
Common
- Added
linuxArm64target to wire-runtime module (#2733 by [Shay Oinif][ShayOinif]) - Add
ProtoReaderAPI for length-delimited stream reads (#2747 by [Jake Wharton][JakeWharton])- You can now call
ProtoReader#nextLengthDelimitedto read and return the length of the next message in a length-delimited stream.
- You can now call
- Ensure
ConsoleWireLoggerdoes not print anything if in quiet mode (#2754 by [Dimitris Koutsogiorgas][dnkoutso]) - Provide a built in public
EmptyWireLoggerFactoryclass (#2776 by [Dimitris Koutsogiorgas][dnkoutso]) - Stop logging includes and excludes (#2777)
- Implement equals/hash for Duration and Instant on native and JS (#2781)
- Prune imports no longer used by retained entities in the schema (#2797 by [Michael Peyper][mpeyper])
Kotlin
- Generate Grpc
SERVICE_NAMEas const (#2773 by [Marius Volkhart][MariusVolkhart]) - Use
%NinKotlinGeneratorto ensure names are escaped (#2784 by [Egor Andreevich][Egorand]) - Add
escapeKotlinKeywordsparameter to Kotlin target (#2785 by [Egor Andreevich][Egorand])- You can now set
escapeKotlinKeywords = truewithin ourkotlin {}targets to escape Kotlin keywords with backticks rather than having them suffixed with an_.
- You can now set
- Don't retransmit a
PipeDuplexRequestBody(#2791)- We had crashes that occurred when OkHttp attempted to retry sending the request body of a gRPC streaming connection.
Swift
- Remove deprecated cruft (#2721 by [Adam Lickel][lickel])
- Always qualify names for types that conflict with common Swift types (#2764 by [Dimitris Koutsogiorgas][dnkoutso])
- Fix edge case for heap based messages using a redacted description field (#2772 by [Dimitris Koutsogiorgas][dnkoutso])
- Change
unknownFieldstype to[UInt32: Data]from justData. (#2789 by [Dimitris Koutsogiorgas][dnkoutso]) - Introduce a
ProtoExtensibleprotocol that all messages that have been extended conform to. (#2790 by [Dimitris Koutsogiorgas][dnkoutso])
Announcement
Wire 5.0 is happening soon. This will happen:
SchemaHandler.Factory#create()will be removed. Override its counterpart for painless migrationSchemaHandler.Factory#create(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String, options: Map<String, String>).- The module
wire-grpc-serverwill be extracted into its own repository: https://github.com/square/wire-grpc-server/- Here is how one should migrate: // TODO
v4.9.3
2023-11-23
- Breaking: Encoding and decoding of negative
Int32s was broken in Swift and did not match protobuf spec. NegativeInt32s are now correctly encoded as unsignedInt64s. Prior versions of Wire that have serialized a proto containing negativeInt32fields will not be correctly decoded using this version onwards. - Fix: Swift
ProtoDefaultedwas incorrectly applied in cross-module contexts - Fix: Message's Builder won't break compilation on multiplatform projects.
- Fix: No hanging anymore on gRPC when receiving an unexpected response.
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.