Releases: mpiorowski/rusve
v1.2.0
What's Changed
More secure auth using direct connection from auth to users service for creating a new user.
Showcase of service-to-service async connection between notes service and users service to get the profile for each note.
- feat/auth jwt by @mpiorowski in #75
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- New utils service for handling files and emails
- Fiels setup rdy for any S3 implementation, also Cloudflare R2
- Emails send using Sendgrid
- A little rework auth logic, for the Google Cloud Run serverless work (the http + grpc server did not place nice inside of it)
- feat/auth jwt to users by @mpiorowski in #72
- Feature - Files and Emails Utils service by @mpiorowski in #73
- feat/auth rewrite by @mpiorowski in #74
Full Changelog: v1.0.0...v1.1.0
v1.0.0
The biggest one
So yeah, that was a big one, it took some time, but I am really happy with the results. So, what's changed? Three biggest one:
- I decided to remove the Go part completely and move it to my other project SGSG. Why? Much easier to maintain, update and work on it. The idea is, the Go project is a simpler version, SQLite, no serverless, no modules. This one is a little more complicated, spited backend, GCP deployments, etc... And it perfectly fits with the languages it uses.
- Second one is, I removed the third party's dependency for oauth, and wrote it myself with the use of amazing rust libs. The reason was, while I was testing a lot of them, Supabase, Firebase, Pocketbase, Auth2, name it, I noticed that they only bring troubles, they tied You. So, I decided to try writing it by my own, and it turns out there are amazing libs that helps you with that and it's not that hard.
- Last one, new subscription flow, moved everything to backend, which is amazing, cos now You can connect to it from any device and got a working subscription flow.
Smaller changes:
- seperate service for auth using http axum
- server-side pagination
- new fronted written using JSDocs (try it, its amazing, fully typed without s build)
- backend error validation
- frontend shallow routing
- streamed data for photos and images
- new way to handle env variables
- new authorization flow
- new client -> server auth using rsa keys
Readme is not yet updated for this changes, wait for it :)
What's Changed
- Abstract common logic for clients by @ZackarySantana in #50
- Bump protobufjs from 6.11.3 to 6.11.4 in /client by @dependabot in #51
- Bump rustls-webpki from 0.101.3 to 0.101.4 in /service-notes-rust by @dependabot in #54
- Bump rustls-webpki from 0.101.3 to 0.101.4 in /service-users-rust by @dependabot in #53
- Bump rustls-webpki from 0.100.1 to 0.100.2 in /service-utils-rust by @dependabot in #52
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /service-utils-go by @dependabot in #58
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /service-users-go by @dependabot in #57
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /service-notes-go by @dependabot in #56
- Bump postcss from 8.4.27 to 8.4.31 in /client by @dependabot in #55
- Bump zod from 3.21.4 to 3.22.3 in /client by @dependabot in #59
- Bump google.golang.org/grpc from 1.54.0 to 1.56.3 in /service-notes-go by @dependabot in #60
- Bump google.golang.org/grpc from 1.55.0 to 1.56.3 in /service-utils-go by @dependabot in #61
- Bump google.golang.org/grpc from 1.55.0 to 1.56.3 in /service-users-go by @dependabot in #62
- Bump openssl from 0.10.55 to 0.10.60 in /service-utils-rust by @dependabot in #63
- Bump vite from 4.4.9 to 4.4.12 in /client by @dependabot in #64
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /service-users-go by @dependabot in #66
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /service-utils-go by @dependabot in #67
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /service-notes-go by @dependabot in #68
- Reduce scope by @mpiorowski in #65
- feat/env variables by @mpiorowski in #69
- feat/authorization header by @mpiorowski in #70
- feat/multiple providers by @mpiorowski in #71
New Contributors
- @ZackarySantana made their first contribution in #50
Full Changelog: v0.23.0...v1.0.0
v0.23.0
Big Update
Cleaning the entire app in preparation for telemetry.
Rust
- Transitioned everything to PostgreSQL and dropped ORM in favor of pure
tokio-postgres
, which is amazing, with direct streaming from SQL. - Implemented structured logging using the
tracing
crate. - Performed migration using the
refinery
crate. - Improving proficiency with Rust traits! :)
Go
- Upgraded to the new version 1.21.
- Also migrated everything to PostgreSQL.
- Added structured logging using the
slog
library. - Cleaned up the code and added the missing function to delete from the bucket.
- Improved the Docker deployment process for cleaner deployments.
Client
- Cleaned up the hooks entry point.
- Implemented structured logging using the
pino
library. - Added an 'EDIT' function for notes.
What's Changed
- Bump word-wrap from 1.2.3 to 1.2.4 in /client by @dependabot in #47
- Bump semver from 6.3.0 to 6.3.1 in /client by @dependabot in #48
- feat/rewrite to postgres by @mpiorowski in #49
Full Changelog: v0.22.0...v0.23.0
v0.22.0
What's Changed
- Simplify the auth process with firebase.
- Everything is done using form actions, no api endpoints in the whole app.
- This ensures a more secure flow.
- Form actions allow very easy use of settings cookies and redirecting
- The main
hooks.server.ts
also become much more simple thanks to all of this. (Svelte rocks)
- Bump openssl from 0.10.54 to 0.10.55 in /service-notes-rust by @dependabot in #45
- Bump openssl from 0.10.54 to 0.10.55 in /service-utils-rust by @dependabot in #44
- Bump openssl from 0.10.54 to 0.10.55 in /service-users-rust by @dependabot in #43
- Cleaned up auth, zero external api by @mpiorowski in #46
Full Changelog: v0.20.3...v0.22.0
v0.20.3
- First iteration of another level of security, a oauth2 token added to the metadata as RS256 key imple.
- Moved Svelte server files into special
lib/server
folder, this way we make sure they will not be executed on the client.
Full Changelog: v0.19.2...v0.20.3
v0.19.2
What's Changed
- Added seperate service, utils, to handle files and emails, using postgres.
- Cleaned up folder naming, fix files transfers with uuidv7.
- Added utils as the only service using postgres by @mpiorowski in #42
Full Changelog: v0.18.1...v0.19.2
v0.18.1
What's Changed
- Rewrite whole note service for both Rust and Go to use MySQL
- Rewrite all ids to use the newest uuid v7
- All ids are send as bytes via gRPC, much easier to work with them
- Rust using mysql-async crate
- Connected it to PlanetScale, which is much better / faster then Neon
- Users services stays as PostgreSQL, so we have both options
- Change notes services to MySQL - using PlanetScale by @mpiorowski in #40
- chore/cleaning by @mpiorowski in #41
Full Changelog: v0.17.0...v0.18.1
v0.17.0
What's Changed
- Fully working PubSub Pull for both Rust and Go
- Rust email rework by @mpiorowski in #39
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- Added files func to Go services.
- Merged Utils service into Users services both for go and rust.
- Made the switch between Rust and Go global, every service now depends on it.
- Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 in /service-notes-go by @dependabot in #37
- feature/go files and emails by @mpiorowski in #38
Full Changelog: v0.15.0...v0.16.0