- Members of struct
ft_sdk::RenderedEmailare now public. impl Debug, Clone, PartialEq, Hash, serde::Deserializeonft_sdk::RequiredAppUrl- added
ft_sdk::Config::{from_request_for_key, into}()
- added
ft_sdk::RequiredAppUrl
- made
ft_sdk::AppUrl { scheme, host }public.
- added
ft_sdk::AppUrl::root() - BREAKING: bump
ft-systo 0.3.0
- BREAKING:
ft_sys::diesel_sqlite::Cursornow returns results in the same order as returned by DB. This is a breaking change as the order of results returned byCursoris now different.
- added feature named
beta, am going to add stuff behind beta feature flag before moving them to stable. removing beta stuff or changing beta stuff will not be considered breaking change. - beta: added
ft_sdk::Default::{check, get}()
- Added
ft_sdk::Defaultextractor
- fix: no double slash in
ft_sdk::AppUrl::join("/")
- BREAKING:
ft_sdk::AppUrlnow doesn't store the path as single parameter, instead is a struct with named values. To extract just the url, you will have to doft_sdk::AppUrl { url, .. } = ft_sdk::AppUrlin your handler, instead of the oldft_sdk::AppUrl(url) = ft_sdk::AppUrl. - BREAKING:
ft_sdk::AppUrl::join()takes just a singleAsRef<str>, the path, host and scheme are no longer needed. - re-exporting
ft_sdk::Sqlitefromft_sys ft_sdk::Schemeworks around thewasm+proxy://scheme bug in fastn- implemented
AsRef<str>on few of the extractors
- added
rust-version = "1.85"toCargo.tomlto make it clear that we are using 1.85 as the minimum supported version. - bumped ft-derive to 0.2.1
- bumped ft-sys to 0.2.1
- bumped ft-sys-shared to 0.2.1
- added
rust-version = "1.85"toCargo.tomlto make it clear that we are using 1.85 as the minimum supported version.
- added
rust-version = "1.85"toCargo.tomlto make it clear that we are using 1.85 as the minimum supported version.
- added
rust-version = "1.85"toCargo.tomlto make it clear that we are using 1.85 as the minimum supported version.
ft_sdk::Jsonmarks its wrapped value public- BREAKING: Minimum Supported Rust Version is now 1.85 (because we are using switching to 2024 edition), 2024 is also the minimum supported edition.
- if you are using
#![forbid(unsafe_code)in your crate, you will have to remove it :-( because we extensively useno_mangleand in 2024 edition it is nowunsafe. ft-deriveversion bump to 0.2.0
- BREAKING: Minimum Supported Rust Version is now 1.85 (because we are using switching to 2024 edition), 2024 is also the minimum supported edition.
- exporting
ft_sdk::Jsonextractor
- fix: handle
/url inft_sdk::AppUrl - added
ft_sdk::{uuid, uuid_without_dashes}()functions to generate uuids
- bumped
ft-deriveto 0.1.2
- bumped
synfrom 1.0 to 2.0
- breaking: upgraded
ft_sysandft_sys_commonto 0.2.0 - re-exports
ft_sys_common::{CancelEmailError, EmailContent, RenderedEmail, SendEmailError} - added
ft_sdk::{WasmPackage, MainPackage}"extractors"
- breaking: upgraded
ft_sys_commonto 0.2.0 (ft-sysre-exportsft_sys_common::Email) - removed
ft_sys::{SendError, CancelError}(moved toft_sys_shared)
- breaking:
ft_sys_common::Email- changed from
Vec<>tosmallvec::SmallVec<>for the fields - removed
subject,body_htmlandbody_textfields, content is managed viaft_sys_common::EmailContentnow - added
ft_sys_common::{CancelEmailError, EmailContent, RenderedEmail, SendEmailError}
- changed from
- added
ft_sys_common::Email::new() - hidden docs for
host-onlyfeatureft_sys_common::EmailHandle::{new, inner}()
- BREAKING: removed
ft_sdk::send_email(), addedft_sdk::email::{send, cancel}(). Not moving to 0.3 as 0.2 was just released an hour ago. - re-exported
ft_sys_shared::{Email, EmailAddress, EmailHandle} - added
ft_sdk::Configextractor - bump
ft-systo 0.1.7 - bump
ft-sys-sharedto 0.1.8
- bump
ft-sys-sharedto 0.1.8
host-only:EmailHandle::inner()
- added feature
host-only, should only be used by host implementations and not by wasm app builders. host-only:EmailHandle::new()
- Downgrade rusqlite to 0.31 as needed by fastn etc
- added
ft_sys_shared::{Email, EmailAddress, EmailHandle}
- BREAKING: renamed
ft_sdk::Mountpoint->ft_sdk::AppUrl<KEY="current-app">, the inner value is now anOption<String>instead ofString. - Added
ft_sdk::AppUrl::{join, is_set}() - Added
ft_sdk::Result<T>alias toResult<T, ft_sdk::Error>. - Added
ft_sdk::Schemeextractor.
- bumped
ft-systo0.1.6
- upgraded
dieselfrom2.1to2.2
- bumped
ft-systo0.1.5 - bumped
ft-sys-sharedto0.1.4
- bumped
ft-sys-sharedto0.1.4
impl TryFrom<&SqliteRawValue> for Vec<u8>acceptsSqliteRawValue::Text()
- fixed
ft_sdk::data::browser_redirect_with_cookie(), it was not setting cookie earlier.
- Due to mistake in previous release, the ft-sys and ft-sys-shared were not upgraded to latest versions.
- Decoupled session store from
auth-providerfeature.ft_sdk::sessionmodule can be used to interact with the session store - Move
ft_sdk::auth::SessionIDtoft_sdk::SessionID. Theft_sdk::sessionreplacesft_sdk::auth::session - add
ft_sdk::SessionDatawhich can only be constructed throughSessionId::data()and is used to interact with the session store. ft_sdk::utils::uuid_v8function to generate uuids.- Impl
Displayforft_sdk::PlainText. - Derive
Cloneforft_sdk::Cookieandft_sdk::Host - Added
ft_sdk::auth::provider::user_data_by_idconvenience function to get user data by id. - Added
ft_sdk::auth::ProviderData::first_emailto get the first email ( verified or unverified) of the user. - Removed
ft_sdk::auth::provider::LoginError::SetUserIDErrorand addedft_sdk::auth::provider::LoginError::SessionError - Added
ft_sdk::data::browser_redirect_with_cookie(): redirect and set-cookie do not work well together, this function be used to work around that issue. - Bumped
ft-systo0.1.4 - Bumped
ft-sys-sharedto `0.1.3
- Bumped
ft-sys-sharedto0.1.3
- Added
ft_sys_shared::TRACKER_KEYconstant
- fix: fill
UserData::emailwith user's verified emails (or unverified emails if no verified email is present). - fix: use
fastn_user.identitycolumn to fillUserData::identity. - make
ft_sdk::auth::user_data_by_querypublic.
- Bug fix: Cookie related bug introduced in previous release.
- Bug fix:
fastn-sid-1cookie was found when we tryft_sdk::Cookie<"fastn-sid">.
- removed
ft_sdk::processor::redirect()in favor offt_sdk::processor::{temporary,permanent}_redirect() - the
ft_sdk::processor::*_redirecthelpers return redirect response instead of json response
- added default
Stringtoft_sdk::Query<const KEY: &'static str, T = String>so its easy to migrate fromft-sdk: 0.1.6.
- removed migration framework. we are adding migration feature to fastn core itself, so no need to maintain it here.
- support for optional query parameters in
ft_sdk::Query. - ft-derive 0.1.1
- removed migration proc macro
- added
#[serde(default)]toft_sdk::auth::ProviderData - added
#[derive(Default)toft_sdk::auth::ProviderData - added
#[derive(Debug)toft_sdk::auth::{UserId, SessionID, Counter}
ft_sdk::auth::provider::user_data_by_custom_attribute: get the user that matching the provided custom key.- make
fastn_user::identitynullable,fastn_user::datanon-nullable andfastn_session::datanon-nullable. - updated
dieselrequirement to">=2, <2.2", we do not yet work with recently released diesel-2.2.
- added
ft_sdk::auth_provider::update_user() ft_sdk::auth_provider::create_user()no longer returnssession id, instead returns theuser idof the created user. also it does not automatically log user in, call toft_sdk::auth_provider::login()is now required to explicitly log user in.- added
ft_sdk::data::binary()andft_sdk::data::download()helpers to construct http responses.
- updated
ft-systo0.1.3 - bring back
ft_sdk::auth::user_data_by_query, used by few things behind feature flag
- removed
auth-providers,sqlite-defaultandpostgres-defaultfeatures andft_sys::Connection
- updated
ft-systo0.1.2 - added migration framework
- added support for
fastn_user,fastn_session,fastn_email_queuetables - added auth and auth provider framework
- removed
ft_sdk::{CookieExt, Query, QueryExt, JsonBody, JsonBodyExt} - removed
ft_sdk::In - removed
ft_sdk::Layoutframework - added
ft_sdk::send_email - added
ft_sdk::server_error!(),ft_fdk::not_found!(),ft_sdk::unauthorised!() - added from_request extractors for
cookie,form,headers,hidden,host,path,optional,mountpoint,query,required - added
ft_sdk::{processor, form, data}for handling http requests - added
ft-derive, and re-exportedft_sdk::{form, processor, wrapped_processor, data, migration}!() - added
ft_sdk::dbg_query - added
ft_sdk::Rngto generate random numbers
Initial release with these macros:
{form, processor, wrapped_processor, data, migration}!(). Should
be used via ft-sdk.
- upgraded
ft-sys-sharedto0.1.2 - re-organised code using feature flags
- added sqlite backend
- renamed ft_sys::diesel to ft_sys::diesel_pg
- removed
ft_sys::env::ud, useft_sdk::auth::udinstead ft_sys::println!works in non wasm also- removed non-working
ft_sys::http::{get,post}and addedft_sys::http::send - created
ft_sys::{Connection, ConnectionError}
No change, this is good enough for wider use so bumping to 0.1.2.
- added
SESSION_KEY
- changed
UserData.usernametoUserData.identity - added
DatabaseErrorKind - changed
DbError::DatabaseError(replacedcodewithkind)
- Added
impl rusqlite::ToSql for SqliteRawValue
- Added sqlite related types.
- Updated: ft-sys
0.1.0 -> 0.1.1
- Added:
ft_sys::env::random() -> f64to generate a random number.
- Initial Release
- Initial Release
- Initial Release