Upgrade core dependencies to current stable versions - #12
Merged
Merged
Conversation
Move the stack onto Clojure 1.12, Ring 1.15, and current database, logging, and security libraries. Adapt Migratus to next.jdbc, keep session cookie keys as byte arrays, lazily load the Timbre Sentry appender, and route `lein migrate` through the app CLI so it works under the default -dev-main entrypoint. Co-authored-by: Chad Stovern <chadhs@users.noreply.github.com>
Document the Java/Leiningen/Postgres prerequisites, local secrets from profiles_example, role-matched database setup, and a clearer run/test path after the dependency upgrades. Co-authored-by: Chad Stovern <chadhs@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the Leiningen dependency stack from ~2019 pins to current stable releases, with compatibility fixes for Migratus/next.jdbc, Ring cookie keys, and Timbre’s Sentry appender. Also refreshes the README for local Java 17+ / Postgres setup.
Dependency upgrades
Compatibility / docs fixes
{:jdbcUrl ...}for next.jdbclein migrateruns the app--migrateCLI (works with-dev-main)Test plan
lein migrateexits cleanlylein with-profile test test— 28 assertions, 0 failureslein uberjar+ jar--migrate/--helpRuntime note: Java 17+ required (Ring 1.14+/Jetty 12). CI uses Java 21.