Comments (3)
Hi 👋 The general idea is:
- stable Apollo versions (3.8 right now) are conservative when it comes to Kotlin versions and will always use latest stable (or even older one if there's no reason to upgrade)
- alphas/beta use latest KGP but target stable
apiVersion
/languageVersion
.- On JVM projects, there should be no issue using
apollo:4.0.0-beta.6
with Kotlin1.9.x
. - It's a bit less clear on Native/JS because there's no
languageVersion
support for native (related Youtrack)
- On JVM projects, there should be no issue using
What we've seen so far is that KMP projects usually need to track the Kotlin version pretty closely because that part of the ecosystem is moving quite fast. If it's slowing down we'll consider being more conservative for alphas/betas as well but being able to use latest build tools while targetting older binaries seems pretty important for the ecosystem overall. I wouldn't give up on this without trying it a bit more. If you have specific issues, please share them so we can make sure the ecosystem evolves smoothly.
from apollo-kotlin.
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Kotlin usage and allow us to serve you better.
from apollo-kotlin.
@damianpetla for the record, I asked the question of languageVersion
support for non-JVM at KotlinConf and looks like it's not coming any time soon.
One argument is that K/N users need to update their KGP version frequently to track Xcode releases so supporting older versions is not very high on the todo list.
As for us, I think we'll continue doing the following:
- update KGP as soon as possible and set languageVersion = n - 1
- gives ~1 year of upgrade time for JVM
- non-JVM users will have to update KGP in their build before they can update to the latest Apollo version. They can obviously keep using the older versions of Apollo.
f you see any compatibility issue on the JVM, please raise them and we'll investigate.
from apollo-kotlin.
Related Issues (20)
- Update apollo graphQL 3.X to use com.squareup.okio:okio:3.9.0 HOT 1
- Introduce a custom `ApolloResponse.toString()` HOT 1
- Manage the order of certain interceptors in ApolloClient.Builder
- HttpCache configuration HOT 5
- AppSync Subscription: How to change AWS AppSyncWsProtocol authorization, header in URL dynamically for already created Client Instance. HOT 3
- Get Operation name in HTTP Interceptor HOT 3
- [IJ/AS plugin] Internal error: NullPointerException HOT 2
- Cronet request lifecycle not behaving correctly with Apollo. HOT 13
- How to handle HTTP error with combination of valid graphql response HOT 5
- [IJ Plugin] Warn when .graphqlrc files are present HOT 2
- Crash when use policy HOT 6
- [IJ Plugin] Cache viewer icon has wrong color in "new ui" theme HOT 2
- [IJ Plugin] UI for 'Go to declaration' is too wide HOT 2
- A request with any enum having `rawValue = null` hangs forever HOT 12
- Cache sharing between instances of ApolloStore HOT 3
- question: why are the auto-generated cache ids not optimized like in the JavaScript version HOT 3
- ErrorBoundary HOT 1
- Suspense HOT 1
- Enabling apollo metadata generation for multi-module codegen causes build cache misses HOT 2
- Apply com.apollographql.apollo3 plugin will break the dependencies in Kotlin Multiplatform according to IDEA HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-kotlin.