kingbd71 (@kingbd71) • Hey
kingbd71 (@kingbd71) • Hey
Publications
- **Lens SDK 1.1 - Improvements in this release**
1) Momoka support
2) Self-funded transactions fallback
3) Bi-directional pagination traversing
4) Supports limited free collects
5) Several `LensClient` improvements
6) Bug fixes and minor improvements
**What's new?**
**Momoka support**
The Lens SDK React hooks now support Momoka publications. To start using Momoka today just upgrade to `@lens-protocol/react-web@latest` and the SDK will take care of the rest.
The Lens SDK will choose Momoka posts over on-chain posts automatically based on your collect settings. It will also know when comments and mirrors need to be on Momoka infrastructure based on the referencing publication.
**Self-funded transactions fallback**
Occasionally gasless transactions might not be available for a given profile. To provide continuity in your user experience you can now fallback to execute transactions using the user's funds to cover gas costs. More documentation is available here: https://docs.lens.xyz/docs/self-funded-transactions
**Bi-directional pagination traversing**
It's now possible to traverse paginated results in both directions (older and newer results).
This allows you to implement functionalities such as "pull to refresh" on a mobile app or fetch newer feed entries. See this example as a reference: https://github.com/lens-protocol/lens-sdk/blob/main/examples/web-wagmi/src/discovery/UseFeed.tsx#L63
**Supports limited free collects**
Last month we launched a new collect module called `SimpleCollectModule`. In this SDK release, you can leverage all its potential. For example, you can define a Free Collect with a limited number of NFTs to be minted.
**`LensClient` improvements**
We added `client.authentication.verify` and `client.authentication.getAccessToken` methods to enable extraction and verification of someone's API credentials.
- Did you like the souvenirs sold by the locals?
- Do you like it
Do you like it
- Guess where
- What could be interesting usecases for ChatGPT and Lens?
- Never underestimate the power of napping
- Everyone is using Orb bc its the best mobile experience. My question is that should Orb focus on original vision of building on-chain professional network or pivot to general Lens app? Asking because many are using Orb for generally accessing Lens on mobile
- Some of the studies show positive results, whereas others do not.
- Such learning methods encourage too great a reliance upon the teacher.
- # 1.10.0 - August 24th 2022, 11:00
## Features
- feat: allow unknown collect modules (sandbox incoming)
- feat: allow unknown follow modules (sandbox incoming)
- feat: allow unknown reference modules (sandbox incoming)
- feat: improve error tracing
- feat: whitelist orbs and social3 for relay
- feat: bake in retries of the relay on proxyActions
- feat: add `getWhoReactedPublication` so you can fetch who reacted to a publication
- feat: enable `fastest` in relay mode to avoid going into secondary nodes
- feat: prod API dashboard deployment
## Bug fixes
- fix: issue sometimes getting back reactions
- fix: extra checks if only followers can collect the free collect
- # 1.16.1 - 27th September - 3rd October 2022, 20:00pm
## Features
- feat: add more profiles to curated list
- feat: add ability for others to see each other timeline
- feat: whitelist stems for relay
- feat: make profile searching exact match on handle
- feat: add `https://theshr.xyz/` to gasless
- feat: add memester to gasless
- feat: add caching to the degree of seperation
- feat: add more handles to curated
- feat: add caching to reference module
## Fixes
- fix: take out expensive stats query for now
- The need to produce the most exciting newspaper story obsesses most journalists.
- # 1.3.0 - July 6th, 2022 15:45
## Features
- feat: on hidden it should not bring them back on `timeline`, `search` and `profiles`
- feat: add follower fees into global stats
- feat: extend refresh token to be valid for 7 days to allow mobile apps better UX
- feat: expose `sns` and push everywhere for third parties
- feat: add `profilePublicationRevenue` and `profileFollowRevenue`
- feat: huge refactor to make backend a monorepo
- feat: add dev-portal-api
- feat: add sns notification service to listen for streams of data
- feat: be more aggressive on the indexer if our node provider is down and never give up
- feat: improve error handling and tracing when indexer throws
- feat: internal API if publication hidden do not allow comments or mirrors
- feat: add source onto free text claim handles column
## Bug fixes
- fix sync issue related with NFT profile
- fix: when commenting on post pull in the `appId` if we can fetch it before the insert
- fix: issue with timestamp coming back as `ms` sometimes and `unix` sometimes
- fix: count was wrong for getting comments on publication
- fix: issue with app id not be populated on publications
- fix: `ipfs_internal_uploads_pkey` PK issue
- fix: devportal: refactor how users are added in app creation and update
- fix: resolve issue with approval followers total count
- fix: resolve validation on metadata version
- fix: throw error if `txId` is not defined
- fix: make `profileId` nullable on `ReactionFieldResolverRequest` to make querying it easier on mirrors
- fix: Error: Property 'token_id' doesn't exist.
- fix: on the indexer to handle the bug found on prod contract
- fix: issue with nft sql
- refactor: indexer events clean up and more resource friendly
- fix: bring back hidden publication when query by publication or query by tx for publication
- fix: indexer bug if resync falls over it could end up skipping blocks without checking
- fix: resolve sql error `updateProfileImageURIOnChainQuery`
- fix: resolve trigger count to on conflict do nothing on some insert cases
- fix: internal profile metadata updating
- fix: profile metadata attributes added validation
## Breaking changes
- breaking: `profileRevenue` has now changed to `profilePublicationRevenue` to make the schema clear with the new added `profileFollowRevenue`
### Actioned
- breaking change: `hasCollected` is `deprecated` you should use the `hasCollectedByMe` field resolver on the publication, this will be removed from on 1st of July 2022
- breaking change: `hasMirrored` is `deprecated` and you should use the `mirrors` field resolver passing in the profile id the user is active on, this lives on the publication, this will be removed from on 1st of July 2022
- # 1.15.0 and 1.16.0 - 22nd September 2022, 13:30
## Features
- feat: degree of seperation reference module
- feat: add field resolvers for `canComment` and `canMirror`
## Bug fixes
- fix: resolve tagging snapshots
- fix: expose alt tag and cover when snapshotting
- fix: invalidating cache for collects!
- RELEASE - 1.6.0 - August 11th, 2022, 15:00
Features
- feat: metadata v2 support - https://docs.lens.xyz/docs/metadata-standards
- feat: ability to filter on metadata v2 on publication queries
- feat: create a cron for migration so we can execute them in code on box without ssh
- feat: map dedicated lens infura to help with infura public gateway issue
- feat: add notification id in the notification response to help client side caching
- feat: expose endpoint to bring back all the tags filtered by popular and app
- feat: profile and publications syncer now have different crons and x3 load allowance
feat: Integration with ENS to enable the offchain resolve.
back dated feature log:
- feat: ens on-chain identity now in the database
- feat: sybil.org linking for on-chain data https://github.com/Uniswap/sybil-list/blob/master/verified.json
- feat: `onChainIdentity` now exists on `Profile`
- feat: publication stats > `totalAmountOfComments` is a global stat of the amount of comments, if your filtering on sources some comments may not be included in what your trying to show. This means the count number would be wrong. We now have have a field resolver on the `PublicationStats` type which will return the total amount of comments for the sources you specified:
1) commentsTotal(forSources: ["app1", "app2”])
2)postsTotal(forSources: ["app8"])
3) mirrorsTotal(forSources: ["app8"])
4) publicationsTotal(forSources: ["app9"])
- RELEASE - 1.9.1 - August 22nd, 2022, 16:00
Features
- feat: all dApps on testnet can use gasless + dispatcher within the API freely! Happy building!
- # 1.12.1 - 5th September 2022, 13:00
## Features
- feat: make explore default time 24 hours not 1 week to try to explore more publications and make it more fun for UIs
- feat: add new explore filter which is `CURATED_PROFILES` to allow discovery on known good content profiles
- feat: order collects by default profiles first then collected times to make profiles be top
- feat: order followers by default profiles first then follow time to make discovery better and wallet fall at the bottom
- feat: make random on explore a bit better instead of random everything use only its context it got back
- I had the operation on the recommendation of my doctor.
- @wagmi.lens have you had an opportunity to look at https://ethdos.xyz/blog yet? wen zk anonymous social graph integration with lens!!