Skip to content

Latest commit

 

History

History
783 lines (486 loc) · 19.4 KB

CHANGELOG.md

File metadata and controls

783 lines (486 loc) · 19.4 KB

Changelog

All notable changes to this project will be documented in this file.

[1.1.0-alpha.0] - 2023-10-19

Refactor

  • Add warpcast_url to FarcasterHandler in all modules
  • Extract proposal logic in meta gov farcaster

Miscellaneous Tasks

  • Update warpcast channel for meta gov to nouns

[1.0.4-alpha.0] - 2023-10-18

Refactor

  • 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 with ok_or in retrieving hash

Miscellaneous Tasks

  • Update crons schedule in wrangler.toml

[1.0.3] - 2023-10-18

Bug Fixes

  • Solve some minor issues and update dependencies

Refactor

  • Update discord webhook bot names and avatars

[1.0.2] - 2023-10-18

Bug Fixes

  • Solve some minor issues and update dependencies

[1.0.2-alpha.3] - 2023-10-18

Bug Fixes

  • Add avatar URL to webhook execution for discord

[1.0.2-alpha.2] - 2023-10-18

Refactor

  • Simplify bot usernames in webhook executions

[1.0.2-alpha.1] - 2023-10-18

Miscellaneous Tasks

  • Update deploy command in workflow

[1.0.2-alpha.0] - 2023-10-18

Bug Fixes

  • Add username to webhook JSON in discord handlers

[1.0.1] - 2023-10-18

Miscellaneous Tasks

  • Simplify environment conditional in deploy.yml

[1.0.0] - 2023-10-18

Documentation

  • Update README with better project information
  • Create CONTRIBUTING.md for project guidelines

Miscellaneous Tasks

  • Add configurations for multiple environments in wrangler.toml
  • Improve dev vars example for better readability
  • Add wrangler vars files to .gitignore

[1.0.0-beta.0] - 2023-10-18

Refactor

  • Replace log crates with built-in worker console log
  • Update logging level from Debug to Trace

Revert

  • Replace log crates with built-in worker console log

[1.0.0-alpha.57] - 2023-10-16

Bug Fixes

  • Corrected API endpoint url in prop lot farcaster
  • Update cache key in lil nouns farcaster
  • Add check for empty cast hash before making request

Refactor

  • Improve JSON construction in FarCaster handlers

[1.0.0-alpha.56] - 2023-10-16

Miscellaneous Tasks

  • Update deploy environment setup

[1.0.0-alpha.55] - 2023-10-16

Features

  • Post farcaster votes and comments as thread replay casts

Miscellaneous Tasks

  • Update GitHub deploy workflow for environment handling

[1.0.0-alpha.54] - 2023-10-11

Miscellaneous Tasks

  • Add more directories to .dockerignore
  • Update Dockerfile to simplify copying commands

[1.0.0-alpha.53] - 2023-10-11

Revert

  • Update build command in wrangler.toml

[1.0.0-alpha.52] - 2023-10-11

Documentation

  • Add development guide to README

Miscellaneous Tasks

  • Specify Rust version in Cargo.toml
  • Update package.json with engine versions
  • Add Docker setup for Rust project
  • Update build command in wrangler.toml
  • Update dev script in package.json
  • Add .dev.vars.example file and update Dockerfile

Revert

  • Update dev script in package.json

[1.0.0-alpha.51] - 2023-10-10

Bug Fixes

  • Update lil nouns voting descriptions in discord handler

Refactor

  • Add Link utility to lil nouns FarcasterHandler

[1.0.0-alpha.50] - 2023-10-09

Refactor

  • Change Vote id type to String on lil nouns module

Revert

  • Disable lil nouns in development environment

[1.0.0-alpha.49] - 2023-10-09

Miscellaneous Tasks

  • Disable lil nouns in development environment

[1.0.0-alpha.48] - 2023-10-09

Refactor

  • Update logging for error handling
  • Combine ProposalQuery and VoteQuery into single struct for lil nouns

Documentation

  • Update social media follow badge in README

Miscellaneous Tasks

  • Combine ProposalQuery and VoteQuery for lil nouns

[1.0.0-alpha.47] - 2023-10-08

Bug Fixes

  • Update prop house vote message to include proposal title

[1.0.0-alpha.46] - 2023-10-07

Miscellaneous Tasks

  • Add Lil Nouns deploy secrets to GitHub workflow

[1.0.0-alpha.45] - 2023-10-07

Features

  • Add LilNouns module with GraphQL fetcher and handlers

Refactor

  • 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

Miscellaneous Tasks

  • Add new Lil Nouns GraphQL schema
  • Add Lil Nouns GraphQL queries for proposals and votes
  • Add configuration for Lil Nouns in wrangler.toml

[1.0.0-alpha.44] - 2023-10-05

Refactor

  • Add timestamp to link generation

[1.0.0-alpha.43] - 2023-10-05

Miscellaneous Tasks

  • Add pnpm package manager installation step to deploy workflow

[1.0.0-alpha.42] - 2023-10-05

Features

  • Add link generation utility

Refactor

  • Move panic hook configuration to utils module
  • Improve error handling in link generator
  • Add Link utils to FarcasterHandler 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

Miscellaneous Tasks

  • Add .editorconfig for coding consistency

[1.0.0-alpha.41] - 2023-09-29

Refactor

  • Update warp cast channel settings

[1.0.0-alpha.40] - 2023-09-28

Refactor

  • Update get_wallet_handle function for clarity

[1.0.0-alpha.39] - 2023-09-28

Refactor

  • Update abstain vote terminology in farcaster
  • Update FarcasterHandler to accept dynamic channel key

[1.0.0-alpha.38] - 2023-09-28

Refactor

  • Update vote description formatting in farcaster

[1.0.0-alpha.37] - 2023-09-28

Refactor

  • 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

[1.0.0-alpha.36] - 2023-09-28

Refactor

  • Change prop lot idea title to uppercase in comment description of farcaster

[1.0.0-alpha.35] - 2023-09-28

Refactor

  • Update farcaster notification message for prop lot
  • Update comment description format for prop lot farcaster
  • Improve string truncation in farcaster of prop lot

[1.0.0-alpha.34] - 2023-09-28

Refactor

  • Update vote choice categorization in discord and farcaster handlers of meta gov

[1.0.0-alpha.33] - 2023-09-28

Miscellaneous Tasks

  • Add MetaGov webhook and token to deploy workflow

[1.0.0-alpha.32] - 2023-09-28

Refactor

  • Rename from methods to new_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

Miscellaneous Tasks

  • 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

[1.0.0-alpha.31] - 2023-09-27

Refactor

  • Enable channel key for Farcaster handlers

[1.0.0-alpha.30] - 2023-09-26

Refactor

  • Replace incorrect quotation marks in string formatting

Miscellaneous Tasks

  • Add rustfmt.toml configuration file

Styling

  • Refactor code to improve readability

[1.0.0-alpha.29] - 2023-09-26

Refactor

  • 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

Miscellaneous Tasks

  • Add Warp Cast tokens to deploy workflow

[1.0.0-alpha.28] - 2023-09-26

Miscellaneous Tasks

  • Update Cargo.toml with author details
  • Update kv_namespaces and var binding in wrangler config

[1.0.0-alpha.27] - 2023-09-25

Refactor

  • Remove fundingAmount field from prop house query

[1.0.0-alpha.26] - 2023-09-25

Miscellaneous Tasks

  • Update community ID value data type in wrangler.toml

[1.0.0-alpha.25] - 2023-09-25

Refactor

  • Switch fetching of Discord Webhooks URLs to secrets

Miscellaneous Tasks

  • Update wrangler.toml configuration for dev environment
  • Add skip_serializing_none option to queries in prop house fetcher

[1.0.0-alpha.24] - 2023-09-25

Refactor

  • Remove redundant main function in lib

Miscellaneous Tasks

  • Add unbound usage model to wrangler config
  • Add environment variables to wrangler.toml
  • Add Ethereum Mainnet RPC URL to wrangler.toml
  • Simplify workflow by removing unused secrets

[1.0.0-alpha.23] - 2023-09-25

Miscellaneous Tasks

  • Update ethers to disable default features
  • Enable logpush, disable workers_dev in config for wrangler

[1.0.0-alpha.22] - 2023-09-24

Refactor

  • Update error handling in webhook execution
  • Rename function and add address helper functions
  • Update handlers to improve user-friendly naming

[1.0.0-alpha.21] - 2023-09-24

Refactor

  • Add utility for resolving ENS from Ethereum addresses
  • Add ENS support for handlers in prop lot and prop house

[1.0.0-alpha.20] - 2023-09-23

Miscellaneous Tasks

  • Update deployment configuration in GitHub Actions

[1.0.0-alpha.19] - 2023-09-23

Refactor

  • 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

Miscellaneous Tasks

  • Add Cloudflare API token to GitHub workflows
  • Update deploy script in package.json

[1.0.0-alpha.18] - 2023-09-23

Refactor

  • Add Clone trait to struct in fetchers for performance optimization
  • Improve caching for auctions, proposals, votes, ideas, and comments

Miscellaneous Tasks

  • Remove unused dependencies from Cargo.toml
  • Add metadata to Cargo.toml

Revert

  • Update deployment command in GitHub Actions

[1.0.0-alpha.17] - 2023-09-22

Miscellaneous Tasks

  • Update deployment command in GitHub Actions

[1.0.0-alpha.16] - 2023-09-22

Refactor

  • Remove HTML parsing from property description

Miscellaneous Tasks

  • Update wrangler dev command in package.json

[1.0.0-alpha.15] - 2023-09-21

Refactor

  • Update kv_namespaces configuration in wrangler.toml

[1.0.0-alpha.14] - 2023-09-21

Refactor

  • Improve error handling and logging in fetchers
  • Add debug logging to cache operations

Miscellaneous Tasks

  • Update build command in wrangler.toml
  • Add new kv_namespace to wrangler.toml

[1.0.0-alpha.13] - 2023-09-21

Miscellaneous Tasks

  • Move kv_namespaces to env.dev in wrangler.toml

[1.0.0-alpha.12] - 2023-09-21

Refactor

  • 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

Miscellaneous Tasks

  • Add dev environment in wrangler.toml
  • Remove redundant worker-build steps from deploy workflow
  • Update API token reference in deployment workflow
  • Add KV namespace binding to wrangler.toml

[1.0.0-alpha.11] - 2023-09-21

Miscellaneous Tasks

  • Update deployment settings in GitHub Actions
  • Add cron triggers to wrangler.toml

[1.0.0-alpha.10] - 2023-09-21

Refactor

  • Improve error handling for Prop Lot and Prop House setup

Miscellaneous Tasks

  • Update triggers for Deploy & Publish Workflow

[1.0.0-alpha.9] - 2023-09-21

Refactor

  • Update Cache struct to hold KvStore directly
  • Update DiscordHandler and GraphQLFetcher to remove lifetime notations

Miscellaneous Tasks

  • Move secret environment variables to deploy workflow
  • Add PNPM dependencies maintenance to dependabot
  • Optimize worker-build installation in GitHub workflows

[1.0.0-alpha.8] - 2023-09-21

Bug Fixes

  • Replace incorrect field mapping in Prop House comment model

Refactor

  • 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 and Cargo.lock files
  • Update DiscordHandler to use a custom in-memory cache system
  • Update formatting and date variable in prop handlers

Miscellaneous Tasks

  • Add package.json for LilNouns bots project
  • Add wrangler.toml configuration for deployment
  • Add wasm-pack and additional dependencies in Cargo.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 in package.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

[1.0.0-alpha.7] - 2023-09-19

Refactor

  • Update cache set and get operations for efficiency
  • Update caching functions to use map and collect methods
  • Update notification messages for clarity and tracking

[1.0.0-alpha.6] - 2023-09-18

Refactor

  • 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

Miscellaneous Tasks

  • Add auction field to Prop House query

[1.0.0-alpha.5] - 2023-09-18

Refactor

  • 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 to rocksdb
  • Update caching process and improve logging
  • Update async code for clarity and simplicity

Miscellaneous Tasks

  • Remove sled dependency from Cargo.toml
  • Add report files to .gitignore
  • Update dependencies and remove unneeded ones

[1.0.0-alpha.4] - 2023-09-17

Refactor

  • Remove unnecessary clone method and handle string conversion
  • Limit visibility of fetch and cache functions

Miscellaneous Tasks

  • Add caching to GitHub Actions workflow

[1.0.0-alpha.3] - 2023-09-17

Refactor

  • Update Prop Lot Query struct and GraphQL query for simplicity
  • Change id data type from i32 to isize 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 and start 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

Documentation

  • Add status badges to README

Miscellaneous Tasks

  • Update Cargo.toml to include .graphql files
  • Add VoteFragment and VoteQuery to Prop Lot query

[1.0.0-alpha.2] - 2023-09-15

Documentation

  • Add README.md for project description

Miscellaneous Tasks

  • Update test execution tool in Github workflow

[1.0.0-alpha.1] - 2023-09-15

Documentation

  • Add issue templates for bug report and feature request
  • Add FUNDING.yml for sponsorship information

Miscellaneous Tasks

  • Add dependabot configuration for GitHub Actions and Cargo
  • Add stale bot configuration
  • Add GitHub build workflow with concurrency and auto-release

[1.0.0-alpha.0] - 2023-09-15

Features

  • Implement global caching functionality
  • Add caching functionality for fetched auctions and ideas
  • Add command line interface to manage setup process
  • Add handler module to prop_house and prop_lot
  • Add handling for new ideas in prop_lot module
  • Add prop_house auction handling and cache optimisation

Refactor

  • 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

Documentation

  • Add new LICENSE file for repository (#1)

Miscellaneous Tasks

  • 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

Styling

  • Update formatting for code readability