04_04_2024 (@04_04_2024) • Hey
04_04_2024 (@04_04_2024) • Hey
Publications
- Very few of those interviewed spoke positively about their childhood.
- **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.
- How to make chicken legs
How to make chicken legs
- **Improvements in this release**
We have added several new hooks in this release to help our community, highlights below 👇
📰 Ability to collect a publication
✅ Enabled approving modules (gas efficient with support for EIP-1559 gas estimation)
🪞 A new feature that allows you to see who mirrored a publication
💬 Expanded the filtering of feed, with explore publications and comments data
**What's new?**
Added **`useCollect`** hook enables the collection of publications
Added **`useApproveModule`** and internal toolings for EIP-1559 gas estimation Added **`useWhoMirroredPublication`** hook Added **`metadataFilter`** to **`useFeed`**, **`useExplorePublications`** and **`useComments`** Added **`IStorageProvider`** **`StorageSubscription`** **`StorageProviderSubscriber`** and **`IObservableStorageProvider`** to the package exports
Removed the **`walletType`** argument from the **`login`** method of **`useWalletLogin`** hook Removed **`IStorageProvider.subscribe`** method (use **`IObservableStorageProvider`** when custom subscription logic is required)
- Lens devs keep shipping 🛳️ 💨. A lot of cool things have been added with 1.26.0.
**Features**
·Ability to create Nft galleries
·Added support for data availability for mirror with signed typed data (staging only)
·Add support for data availability for comment with signed typed data (staging only)
·Added support for 'ar://' protocol in metadata
·Added support for 'ar://' protocol in metadata
·Added support authentication with EIP1271-compatible smart wallets
·Added indexes to the database
·Added support for MultirecipientFeeCollectModule
·Added support for AaveFeeCollectModule
·Added support for ERC4626FeeCollectModule
·Added more relays to load balance to spread out traffic
·Enabled **hasTxHashBeenIndexed** to be accessible without auth token
·Moved the Follow Proxy action to RabbitMQ.
·Moved the Collect Proxy action to RabbitMQ.
·Removed Internal endpoints
·Rewrote the notification service to improve performance
·Removed wallets from showing in the **of** follower list
·Handle validation internal extensions
·Lensqueue granular error handling
·Rabbitmq metrics and alerts
·Improved speed latency on redis
·Improved Estimate of gas
·Improved Contain memory spikes
·Whitelisted new apps for gasless transactions
**Bug fixes**
·Added optional pretty name to whitelisted currencies
·Added block timestamp to indexer
·Added optional pretty name to whitelisted currencies
·Fixed typo in GraphQL schema doc
·Fixed collect records mismatch on the backend
·Fixed typo in GraphQL schema doc
·Fixed nft population in nft gallery
·Fixed Internal error counts
·Fixed typo in GraphQL schema doc
·Gated working on the dispatcher
·Resolved issue on collect modules circular references
·Resolved issue: When using the **whoMirroredPublicationId** field in the request and querying a publication with multiple mirrors by the same profile profiles repeated in the response
·Resolved issue on collect modules circular references
·Resolved uncaught exceptions for graphql validation errors
·Redis expiry times made dynamic
·Resolved deadlocks on db
·Stopped supporting kovan, rinkeby and ropsten testnets
·Validation metadata fixes
**Breaking changes**
·**Feed** and **feedHighlights** now require auth to call them
**Breaking changes actioned**
·ACTIONED: breaking change: **timeline has been removed**
- In Bulk and On Demand Queries with Lens BigQuery
🔗 Codebase - https://github.com/dabit3/lens-bigquery-with-node.js
🔗 Docs - https://docs.lens.xyz/docs/public-big-query
In this video, I'll introduce the Lens BigQuery API, demonstrate its capabilities using the Google Cloud Dashboard, and guide you through building a JavaScript project from scratch to query and store data locally.
By the end of this tutorial you should have a good understanding of how to use the API to query all of the available data sets.
- Gm from St Moritz
- Would be epic to see if meme creation apps could add also the possibility to add music into the meme, that could unlock some cool new meme templates
- Today is my and @dabit3 birthdays 🥳there is some serious Capricorn energy in web3 🐐 Guess how old we are, measured in DeFi years? 🎂
- Should I go skiing today? ⛷
- Can’t believe how bad I am at skiing 🎿 😢
- I am so tired but have a dinner to go? Should I go or order room service?
- Love this app to see my Lens follower base and NFTs I own. Very useful to connect Lens users based on the NFTs they own. Try it https://social.mashmesh.knn3.xyz/dashboard/lens/stani.lens Build at ETHBogota 🇨🇴
- I'm really excited at the prospect of working abroad.
- How do you feel today?
- Posted my first ever video to Lenstube 🥳
GM Arweave. The beginning of an era.
https://lenstube.xyz/watch/0x28a2-0x80
- Posted my first ever video to Lenstube 🥳
GM Arweave. The beginning of an era.
https://lenstube.xyz/watch/0x28a2-0x80
- You know something? I've never really enjoyed Christmas.
- # 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!
- We are all early 🌱
- # 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
- The flowers were a small acknowledgement of your kindness.
- Oh very funny! You expect me to believe that?
- 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.7.0 + 1.8.0 - August 19th, 2022, 10:00
Features
- feat: dispatcher public API! (whitelisted apps)
- feat: upgrade relay npm package
- feat: extra info for claiming
- feat: worldcoin integration https://human.withlens.app/
- feat: worldcoin on chain identity is now on the profile
- feat: improve graceful shutdown of pods
Posted using the dispatcher!
- # 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
- 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!
- So… who is having a merge party this week?