000195 (@000195) • Hey
000195 (@000195) • Hey
Publications
- **Improvements in this release**
🛠️ Simplified integration for React web apps. Install and import from `@lens-protocol/react-web` with less configuration.
🔐 Token-gated support: You can now create encrypted posts and comments which can only be read by users that match the criteria you define.
🪪 Active profile is automatically wired as the Observer ID of all relevant queries. Doing so the Lens SDK provides a cohesive view of the data that is relevant to the eye of the Active Profile.
**What's new?**
- New `@lens-protocol/react-web` package for a simplified React web apps integration
- Token-gated posts and comments
- Cohesive data fetching using Active Profile as Observer ID
- Enhanced fields for `ProfileStats` and `PublicationStats`
- Added `appId` to LensConfig. Allows you to identify posts created by your app. You can then use the `sources` to filter posts by the same App ID
- Added `useProfilesOwnedByMe`
- Added `useProfilePublicationsForSale`
- **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.
- Light filtered into my kitchen through the soft, green shade of the cherry tree.
- cherry
cherry
- It gets nice and cool after a spatter of rain .
- Quick update for quicker load times. The Lens Protocol core team has rolled out some big improvements and now the Lens API notification server is 1000x faster 🤯
- **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)
- I am so tired but have a dinner to go? Should I go or order room service?
- Can’t believe how bad I am at skiing 🎿 😢
- Today is my and @dabit3 birthdays 🥳there is some serious Capricorn energy in web3 🐐 Guess how old we are, measured in DeFi years? 🎂
- Thousands of working days were lost through strikes last year.
- Thank you all for DevCon now will continue to focus on Lensposting 🌿🚀
- # 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
- 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!
- Fans were saddened to see the former champion play so badly.
- We couldn’t find a venue in Bogota for rAAVE so we will build our own
- rAAVE Paris & lights
- 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.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!
- rAAVE Paris & lights
- Thank you for being so honest with me.
- # 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.12.0 - 2st September 2020, 14:30
## Features
- feat: big query base generic package lays out the interface to query
- feat: write the machine-learning base package and add the first wtf-rec logic in
- feat: `recommendedProfiles` now uses ML to predict who to follow
## Bug fixes
- fix: explore fix on publications
- fix: profile metadata snapshot
- fix: tagging searching
- fix: metadata filtering and paging
- # 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
- Who do you consider responsible for the accident?
- So when Lenster with BeReal-like feature lol