All notable changes to this project will be documented in this file.
- Add
warpcast_url
toFarcasterHandler
in all modules - Extract proposal logic in meta gov farcaster
- Update warpcast channel for meta gov to nouns
- Change proposal and idea ids to string in caches
- Replace unwrap with error handling in farcaster handlers
- Remove unnecessary condition check before HTTP request
- Replace
unwrap_or
withok_or
in retrieving hash
- Update crons schedule in
wrangler.toml
- Solve some minor issues and update dependencies
- Update discord webhook bot names and avatars
- Solve some minor issues and update dependencies
- Add avatar URL to webhook execution for discord
- Simplify bot usernames in webhook executions
- Update deploy command in workflow
- Add username to webhook JSON in discord handlers
- Simplify environment conditional in
deploy.yml
- Update README with better project information
- Create
CONTRIBUTING.md
for project guidelines
- Add configurations for multiple environments in
wrangler.toml
- Improve dev vars example for better readability
- Add wrangler vars files to
.gitignore
- Replace
log
crates with built-inworker
console log - Update logging level from Debug to Trace
- Replace
log
crates with built-inworker
console log
- Corrected API endpoint url in prop lot farcaster
- Update cache key in lil nouns farcaster
- Add check for empty cast hash before making request
- Improve JSON construction in FarCaster handlers
- Update deploy environment setup
- Post farcaster votes and comments as thread replay casts
- Update GitHub deploy workflow for environment handling
- Add more directories to
.dockerignore
- Update Dockerfile to simplify copying commands
- Update
build
command inwrangler.toml
- Add development guide to README
- Specify Rust version in
Cargo.toml
- Update
package.json
withengine
versions - Add Docker setup for Rust project
- Update
build
command inwrangler.toml
- Update
dev
script inpackage.json
- Add
.dev.vars.example
file and updateDockerfile
- Update
dev
script inpackage.json
- Update lil nouns voting descriptions in discord handler
- Add Link utility to lil nouns FarcasterHandler
- Change Vote id type to String on lil nouns module
- Disable lil nouns in development environment
- Disable lil nouns in development environment
- Update logging for error handling
- Combine ProposalQuery and VoteQuery into single struct for lil nouns
- Update social media follow badge in README
- Combine ProposalQuery and VoteQuery for lil nouns
- Update prop house vote message to include proposal title
- Add Lil Nouns deploy secrets to GitHub workflow
- Add LilNouns module with GraphQL fetcher and handlers
- Update code structure for clarity and consistency
- Update Proposal and Vote structures to add detail on Lil Nouns
- Add new functions to handle Discord messages for Lil Nouns
- Implement handling for new Lil Nouns proposals and votes
- Add HTTP request handling function in Lil Nouns farcaster
- Change data type of Lil Nouns proposal id in Vote struct to usize
- Add new Lil Nouns GraphQL schema
- Add Lil Nouns GraphQL queries for proposals and votes
- Add configuration for Lil Nouns in
wrangler.toml
- Add timestamp to link generation
- Add pnpm package manager installation step to deploy workflow
- Add link generation utility
- Move panic hook configuration to utils module
- Improve error handling in link generator
- Add
Link
utils toFarcasterHandler
for Prop Lot URL generation. - Update discord and farcaster event descriptions for prop lot
- Update vote and proposal message format and add Link utility support
- Add
.editorconfig
for coding consistency
- Update warp cast channel settings
- Update
get_wallet_handle
function for clarity
- Update abstain vote terminology in farcaster
- Update FarcasterHandler to accept dynamic channel key
- Update vote description formatting in farcaster
- Truncate and append ellipsis to lengthy comments on prop lot farcaster
- Update vote description format in prop lot farcaster
- Move utils into mod directory for improved structure
- Move
get_domain_name
function to new module - Update ENS Utils and add
get_domain_field
function - Update provider creation logic for ENS utility
- Replace wallet address fetching method
- Change prop lot idea title to uppercase in comment description of farcaster
- Update farcaster notification message for prop lot
- Update comment description format for prop lot farcaster
- Improve string truncation in farcaster of prop lot
- Update vote choice categorization in discord and farcaster handlers of meta gov
- Add MetaGov webhook and token to deploy workflow
- Rename
from
methods tonew_from_env
- Create GraphQL queries for snapshot data
- Add MetaGov module for fetching and handling proposals and votes
- Add proposal and vote handling in DiscordHandler of meta gov
- Updated visibility and added proposal reference to Vote in
meta_gov
module - Integrate MetaGov into startup process
- Implement handling for new proposals and votes
- Improve module initialization and clean up imports
- Change data type of choice and remove metadata for meta gov fetcher
- Add function to extract proposal information on meta gov handler
- Remove duplicate code in meta gov discord handler
- Add environment based handler initializations
- Add a function to extract proposal information on meta gov farcaster
- Add GraphQL schema for data queries in Snapshot
- Add meta gov dev environment variables
- Add new configurable variables to dev environment
- Enable Farcaster, Prop House, and Prop Lot functionalities
- Enable channel key for Farcaster handlers
- Replace incorrect quotation marks in string formatting
- Add
rustfmt.toml
configuration file
- Refactor code to improve readability
- Move handlers into respective module directories
- Move Discord handlers into separate modules
- Update notification string formatting in discord handlers
- Add Farcaster handler in prop lot module
- Add Handler trait to
prop_lot
module - Update Discord and Farcaster handler to use async traits
- Integrate Handler trait with PropLot struct
- Optimize imports and modify fetcher in
prop_lot
module - Update visibility of Idea, Vote, Comment struct and their methods
- Improve format and remove unused variables in FarcasterHandler
- Update
async_trait
definition for Handlers - Improve code modularity and caching utility
- Implement Handler trait for DiscordHandler
- Add FarcasterHandler to manage incoming requests in Prop House
- Update farcaster for better readability
- Update struct and function visibility in fetcher
- Update handlers to support multiple types
- Update PropLot to support multiple handlers
- Add Warp Cast tokens to deploy workflow
- Update
Cargo.toml
with author details - Update
kv_namespaces
and var binding inwrangler
config
- Remove
fundingAmount
field from prop house query
- Update community ID value data type in
wrangler.toml
- Switch fetching of Discord Webhooks URLs to secrets
- Update
wrangler.toml
configuration fordev
environment - Add
skip_serializing_none
option to queries in prop house fetcher
- Remove redundant main function in lib
- Add
unbound
usage model towrangler
config - Add environment variables to
wrangler.toml
- Add Ethereum Mainnet RPC URL to
wrangler.toml
- Simplify workflow by removing unused secrets
- Update ethers to disable default features
- Enable
logpush
, disableworkers_dev
in config forwrangler
- Update error handling in webhook execution
- Rename function and add address helper functions
- Update handlers to improve user-friendly naming
- Add utility for resolving ENS from Ethereum addresses
- Add ENS support for handlers in prop lot and prop house
- Update deployment configuration in GitHub Actions
- Improve cache access efficiency for setup dates
- Update cache retrieval to avoid panic
- Improve error handling in PropLot and PropHouse initialization
- Update cron function for better error handling
- Update codebase to use PropHouse and PropLot structs
- Add cache checking before fetching data
- Remove unnecessary logging in handlers and cache
- Update cache
has
method to use store list - Update debug statement in start function
- Simplify logging in fetcher modules
- Revise graphql queries and fetcher for prop house
- Add Cloudflare API token to GitHub workflows
- Update
deploy
script inpackage.json
- Add Clone trait to struct in fetchers for performance optimization
- Improve caching for auctions, proposals, votes, ideas, and comments
- Remove unused dependencies from
Cargo.toml
- Add metadata to
Cargo.toml
- Update deployment command in GitHub Actions
- Update deployment command in GitHub Actions
- Remove HTML parsing from property description
- Update wrangler dev command in
package.json
- Update
kv_namespaces
configuration inwrangler.toml
- Improve error handling and logging in fetchers
- Add debug logging to cache operations
- Update
build
command inwrangler.toml
- Add new kv_namespace to wrangler.toml
- Move
kv_namespaces
toenv.dev
inwrangler.toml
- Update key names for prop lot and prop house setup
- Improve cache handling for ideas, votes, comments
- Add info logs in Prop Lot and Prop House setup checks
- Update caching strategy in prop house handler
- Update to fetch all ideas in vote and comment handlers
- Improve caching and fetching logic in prop house module
- Improve logging for fetch and handler operations
- Add logging to DiscordHandler operations
- Update data type in prop lot module
- Add
dev
environment inwrangler.toml
- Remove redundant worker-build steps from deploy workflow
- Update API token reference in deployment workflow
- Add KV namespace binding to wrangler.toml
- Update deployment settings in GitHub Actions
- Add cron
triggers
towrangler.toml
- Improve error handling for Prop Lot and Prop House setup
- Update triggers for Deploy & Publish Workflow
- Update Cache struct to hold KvStore directly
- Update DiscordHandler and GraphQLFetcher to remove lifetime notations
- Move secret environment variables to deploy workflow
- Add PNPM dependencies maintenance to dependabot
- Optimize worker-build installation in GitHub workflows
- Replace incorrect field mapping in Prop House comment model
- Remove caching system from project
- Update fetcher functions to use worker env
- Update fetcher to use GraphQLFetcher struct
- Add caching functionality to enhance performance
- Move code into
lib.rs
for modularity and error handling - Update caching and fetching mechanism
- Update the
pnpm-lock.yaml
andCargo.lock
files - Update DiscordHandler to use a custom in-memory cache system
- Update formatting and date variable in prop handlers
- Add
package.json
for LilNouns bots project - Add
wrangler.toml
configuration for deployment - Add
wasm-pack
and additional dependencies inCargo.toml
- Add
node_modules
to.gitignore
- Update
package.json
for deployment and development - Add
wasm32
target to Cargo configuration - Update and rearrange dependencies
- Update
dev
script inpackage.json
- Add
.wrangler
to.gitignore
- Update build process in GitHub Actions workflow
- Update build command in GitHub Actions workflow
- Add deployment workflow for GitHub Actions
- Update cache set and get operations for efficiency
- Update caching functions to use map and collect methods
- Update notification messages for clarity and tracking
- Add new fields to Proposal and Vote in Prop House fetcher
- Update notification handling for new Prop House proposals and votes
- Move handler functions to DiscordHandler structs
- Convert Prop House auction description from HTML to Markdown
- Change default sorting in Prop Lot fetcher to oldest
- Add author id and body to Prop Lot comment struct
- Update vote and comment Prop Lot handler methods
- Add auction field to Prop House query
- Update code to handle new proposals and votes
- Add fetch functions to reduce code duplication
- Update codebase to use generic caching system
- Add proposal title and link votes to proposals for Prop House
- Improve proposal and vote logging on Prop House
- Improve cache flexibility and performance
- Add batch insertion capability to improve caching performance
- Switch storage engine from
sled
torocksdb
- Update caching process and improve logging
- Update async code for clarity and simplicity
- Remove
sled
dependency fromCargo.toml
- Add report files to
.gitignore
- Update dependencies and remove unneeded ones
- Remove unnecessary clone method and handle string conversion
- Limit visibility of fetch and cache functions
- Add caching to GitHub Actions workflow
- Update Prop Lot Query struct and GraphQL query for simplicity
- Change
id
data type fromi32
toisize
and refactor Idea - Add vote fetching functionality to Prop Lot fetcher module
- Add comments fetching in Prop Lot module
- Add caching for votes and comments for Prop Lot
- Simplify async result handling in
setup
andstart
for Prop Lot - Add caching for votes and comments of Prop Lot
- Update Prop House query to increase maintainability
- Update Prop House fetcher for granular queries
- Add caching for proposals and votes
- Add status badges to README
- Update
Cargo.toml
to include.graphql
files - Add VoteFragment and VoteQuery to Prop Lot query
- Add
README.md
for project description
- Update test execution tool in Github workflow
- Add issue templates for bug report and feature request
- Add
FUNDING.yml
for sponsorship information
- Add dependabot configuration for GitHub Actions and Cargo
- Add stale bot configuration
- Add GitHub
build
workflow with concurrency and auto-release
- Implement global caching functionality
- Add caching functionality for fetched auctions and ideas
- Add command line interface to manage setup process
- Add
handler
module toprop_house
andprop_lot
- Add handling for new ideas in
prop_lot
module - Add
prop_house
auction handling and cache optimisation
- Update
main
function to fetch ideas from Prop Lot GraphQL API - Enhance error handling in
fetch_prop_lot_ideas
function - Improve and modularize Prop Lot fetching logic
- Add Prop House fetcher module
- Add
prop_house
module and fetch auction Ids - Add Cache implementation for data persistence
- Add 30 seconds timeout for GraphQL requests
- Update main loop, centralize setup logic
- Improve error handling in fetchers and setup functions
- Improve
prop_lot
setup function to simplify async call - Improve
prop_house
setup function to simplify error handling - Add logging and start command to main
- Add functionality to handle new auctions in Prop House
- Add functionality to handle new ideas in Prop Lot
- Improve error handling in Cache module
- Add error logging for idea and auction handling failures
- Improve error handling in cache setting
- Add author display to idea creation message
- Add new LICENSE file for repository (#1)
- Initialize Rust project for
lilnouns-bots
- Add GraphQL schema for Prop Lot
- Add the PropLot query to GraphQL
- Create GraphQL schema for Prop House
- Add new Prop House query in GraphQL
- Add
tmp
to.gitignore
- Add
git-cliff
configuration and initial CHANGELOG.md
- Update formatting for code readability