2.11.0
New
- The built-in
OptionalConverterFactory
is now public to allow installing it before other converters which consume all types (e.g., Moshi, Gson, Jackson, etc.).
Fixed
- Ensure that exceptions thrown from failure to parse method annotations can be observed by multiple threads/callers. Previously only the first caller would see the actual parsing exception and other callers would get a cryptic
ClassCastException
.
0.74.0-rc.5
- Implement onKeyLongPress in Bridgeless (f345fcf3e8)
- Implement
onKeyDown
in Bridgeless (b14f7d58e3) - Implement onConfigurationChanged in Bridgeless (b2e1db0fbf)
- Implement
onNewIntent
in Bridgeless (5d711f83b5) - Implement onWindowFocusChange in Bridgeless (7b40c8ee5f)
- Expose ReactDelegate in ReactActivity (62ebe557b8)
- Support reload() in ReactDelegate (d97741af60)
- Implement multiple view manager lookup for the interop layer (15a5638c62 by @gabrieldonadel)
- Copy boost headers needed by
rrc_text
andrrc_textinput
(ad9f0b0ab8 by @j-piasecki)
- Warn users during "pod install" if XCode is too old (1021448d7c by @NickGerleman)
- Create custom message handler for synthetic page (652c74104a by @byCedric)
- Fix InteropUIBlockListener to support react-native-view-shot on Bridgeless (24a3dade29 by @cortinico)
- Fix Android HorizontalScrollView fling when content length less than ScrollView length (7d180d7127 by @NickGerleman)
- Fixed prefab header paths for
rrc_text
andrrc_textinput
(623bbe6bd6 by @j-piasecki) - Fix build from source for hermes-engine (a1171f79f8 by @cortinico)
Hermes dSYMS:
Generate a new project:
npx react-native@next init RN0740RC5 --version 0.74.0-rc.5
- You can view the status of upcoming 0.74.x releases in the React Native 0.74 Releases GitHub project.
- To help you upgrade to this version, you can use the Upgrade Helper ⚛️.
- See changes from this release in the changelog.
If you find an issue, please let us know by opening a new Bug Report! Please specify with system you tried it on (ex. macos, windows).
Bonus points: It would be even better if you could swap things around: e.g. instead of using a fresh new app, using a real project with more complex code. Or, try using native libraries that use the New Architecture!
2.10.0
New
-
Support using
Unit
as a response type. This can be used for non-body HTTP methods likeHEAD
or body-containing HTTP methods likeGET
where the body will be discarded without deserialization. -
kotlinx.serialization converter!
This was imported from github.com/JakeWharton/retrofit2-kotlinx-serialization-converter/ and remains unchanged from its 1.0.0 release.
The Maven coordinates are
com.squareup.retrofit2:converter-kotlinx-serialization
. -
JAXB 3 converter!
The Maven coordinates are
com.squareup.retrofit2:converter-jaxb3
. -
@Header
,@Headers
, and@HeaderMap
can now set non-ASCII values through theallowUnsafeNonAsciiValues
annotation property. These are not technically compliant with the HTTP specification, but are often supported or required by services. -
Publish a BOM of all modules. The Maven coordinates are
com.squareup.retrofit2:retrofit-bom
. -
Invocation
now exposes the serviceClass<?>
and the instance on which the method was invoked. This disambiguates the source when service inheritence is used. -
A response type keeper annotation processor is now available for generating shrinker rules for all referenced types in your service interface. In some cases, it's impossible for static shrinker rules to keep the entirety of what Retrofit needs at runtime. This annotation processor generates those additional rules. For more info see its README.
Changed
- Add shrinker rules to retain the generic signatures of built-in types (
Call
,Response
, etc.) which are used via reflection at runtime. - Remove backpressure support from RxJava 2 and 3 adapters. Since we only deliver a single value and the Reactive Streams specification states that callers must request a non-zero subscription value, we never need to honor backpressure.
- Kotlin
Retrofit.create
function now has a non-null lower bound. Even if you specified a nullable type before this function would never return null. - Suspend functions now capture and defer all
Throwable
subtypes (not justException
subtypes) to avoid Java'sUndeclaredThrowableException
when thrown synchronously. - Eagerly reject
suspend fun
functions that returnCall<Body>
. These are never correct, and should declare a return type ofBody
directly. - Support for Java 14-specific and Java 16-specific reflection needed to invoke default methods on interfaces have been moved to separate versions of a class through a multi-release jar. This should have no observable impact other than the jar now contains classes which target Java 14 and Java 16 bytecode that might trip up some static analysis tools which are not aware of multi-release jars.
- Parameter names are now displayed in exception messages when available in the underlying Java bytecode.
- Jackson converter now supports binary formats by using byte streams rather than character streams in its implementation. Use the
create(ObjectMapper, MediaType)
overload to supply the value of theContent-Type
header for your format.
Fixed
- Do not include synthetic methods when doing eager validation.
- Use per-method rather than per-class locking when parsing annotations. This eliminates contention when multiple calls are made in quick succession at the beginning of the process lifetime.
0.74.0-rc.4
- Implement
getJSCallInvokerHolder()
for Bridgeless Catalyst Instance (c6076bca97)
- Add inspector proxy device message middleware API (3f41fb5d5b by @byCedric)
- Fallback to query parameter based
user-agent
when header is unset (c62be78d99 by @byCedric)
- Allow the activityIndicator to be controlled from JS in bridgeless mode (9aeb9f2f94 by @cipolleschi)
- Update
@react-native-community/cli
to 13.6.2 (bc745cb6ff by @szymonrybczak)
- Add missing
registerCallableModule
TypeScript definitions (6bc95b2074 by @Kudo) - Allow Inspector proxy to inline source maps on LAN connections (3dee6d31b9 by @byCedric)
- Fix Bridgeless React Context test in OSS (bdca260679)
- Fix bug where absolute nodes were not insetted correctly in certain cases (3341ab7cc0 by @joevilches)
- Properly handle RR and CMD+M in Bridgeless Mode (e9f66d9c0c by @cortinico)
- Bring back the UNSET constant to TextAttributeProps. (9700540bec by @dmytrorykun)
Hermes dSYMS:
Generate a new project:
npx react-native@next init RN0740RC4 --version 0.74.0-rc.4
- You can participate in the conversation on the status of this release in the working group.
- To help you upgrade to this version, you can use the upgrade helper ⚛️.
- See changes from this release in the changelog.
Let us know how it went by posting a comment in the working group discussion! Please specify with system you tried it on (ex. macos, windows).
Bonus points: It would be even better if you could swap things around: instead of using a fresh new app, use a more complex one - or use a different library that is already leveraging the new architecture!
0.72.12
- Rename BUILD_FROM_SOURCE to RCT_BUILD_HERMES_FROM_SOURCE (a215805eb7 by @cipolleschi)
- [0.72] Fix flipper for Xcode 15.3 (a316e0154e by @cipolleschi)
- Fix component stacks for tsx, ts, and jsx files (dd311c9782)
- Fix flags for new arch (0724c2769a by @cipolleschi)
You can file issues or pick requests against this release here
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file.
0.74.0-rc.3
- Add inspector proxy
nativeNetworkInspection
target capability flag (f3ce7cd76e by @byCedric)
- Implement cursor style prop (73664f576a by @Saadnajmi)
- Expose
react_render_textlayoutmanager
via prefab. (642b4e5c2c by @tomekzaw) - Expose
rrc_text
via prefab. (1c69100a2b by @tomekzaw) - Expose
rrc_textinput
via prefab. (adc9e5b0fa by @tomekzaw)
- Support .tsx, .ts, and .jsx in component stacks (adaf5eba3e by @rickhanlonii)
- Fix registration of ViewManagers in new renderer when not using lazyViewManagers. (fb9872d4fe by @javache)
- NullPointerException is no longer ignored in MessageQueueThreadHandler (5f45700bd0 by @javache)
- RCTRedBox not appearing in Bridgeless when metro is not running (4adef35e97 by @okwasniewski)
Hermes dSYMS:
Generate a new project:
npx react-native@next init RN0740RC3 --version 0.74.0-rc.3
- You can participate in the conversation on the status of this release in the working group.
- To help you upgrade to this version, you can use the upgrade helper ⚛️.
- See changes from this release in the changelog.
Let us know how it went by posting a comment in the working group discussion! Please specify with system you tried it on (ex. macos, windows).
Bonus points: It would be even better if you could swap things around: instead of using a fresh new app, use a more complex one - or use a different library that is already leveraging the new architecture!
0.73.6
- Rename
BUILD_FROM_SOURCE
toRCT_BUILD_HERMES_FROM_SOURCE
(51b80477c7 by @cipolleschi)
- Fix component stacks for tsx, ts, and jsx files (28f604a97d by @lunaleaps)
- Prevent unwanted border animation(d979491 by @sammy-SC)
- Fix flipper for Xcode 15.3 (9d22a7fd0e by @cipolleschi)
Hermes dSYMS:
You can file issues or pick requests against this release here
To help you upgrade to this version, you can use the upgrade helper ⚛️
You can find the whole changelog history in the changelog.md file.