Skip to content

Releases: navapbc/template-application-rails

v0.4.0

20 Mar 18:06
Compare
Choose a tag to compare

Summary

Rails 7.2 update, Ruby 3.4 update, drop user roles, and misc. package updates.

⚠️ Migration notes

User Roles

When updating the template in this version, if you wish to keep user role
support, revert the changes in these files:

  • <APP_NAME>/db/migrate/20240410213056_create_user_roles.rb (deleted in
    this change)
  • <APP_NAME>/db/schema.rb (user_tables removed)

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.4.0

v0.3.1

13 Feb 22:50
d87e062
Compare
Choose a tag to compare

Summary

Fix local database setting oversight from v0.3.0, resolve various vulnerability
warnings (mostly by catching up on 6-12 months of package/language updates) and
better integrate with template-infra out of the box.

On that last point, this template now cleanly combines with template-infra
v0.15.3.

What's Changed

New Contributors


Full Changelog: v0.3.0...v0.3.1

v0.3.0

14 Jan 19:22
62fd48e
Compare
Choose a tag to compare

Summary

This release switches to using the Platform CLI tool for managing the template. This requires a manual migration step for users of previous version of the template that wish to update, for guidance see https://navapbc.github.io/platform-cli/getting-started/migrating-from-legacy-template/

What's Changed

  • Support Platform CLI by @doshitan in #54
    • Notably, the Docker Compose files that were previously installed to the root of the project have been moved into the app directory and existing services renamed. The Docker Compose database settings have also changed, with the user and database name shifting from app_rails to app. This will likely require some further tweaks in your project.

Full Changelog: v0.2.1...v0.3.0

v0.2.1

14 Jan 19:03
95f5ab6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.2.0

25 Jun 18:39
9d6d8a4
Compare
Choose a tag to compare

Release Notes

#28 was not included in any releases, but if you updated your project to main after installing v0.1.0, you will need to update to this release and then reset your database:

  1. Change to your application directory
  2. Run: make db-reset

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

23 May 23:09
777b8ed
Compare
Choose a tag to compare

New features

This is the initial release of this template. These PRs cover the bulk of the functionality included in the initial release:

  • Generate a new rails app #3
  • Add template-only-bin scripts #6
  • Customize rails application #2

#3 and #6 set the stage for all of the functionality added in #2, which customizes the default rails app boilerplate and adds opinionated changes to:

  • Code quality
    • rspec for testing
    • rubocop for linting
    • optimized docker build pipeline
  • Developer experience
    • consistent and reproducible dev workflows using a Makefile
    • a developer sandbox page to test frontend changes
    • database migration introspection
    • mock production that can be run locally
    • per-environment database seeding
  • Frontend configuration
    • sass stylesheets
    • USWDS, including custom form builder
    • breadcrumbs
    • flash
    • header
    • language toggle
    • sidebar layout
  • External integrations with AWS
    • auth using Cognito
    • storage using S3
    • notifications using SES
    • database using RDS with Postgresql IAM Auth
  • Auth
    • authn using devise
    • authz using pundit
    • user and user_role scaffolding
    • implemented flows:
      • create user
      • forgot password
      • update password
      • verify email
      • update email
      • add mfa using authenticator TOTP
      • remove mfa
  • Internationalization
    • support for translated routes
    • locale directory structure
  • Software architecture patterns
    • adapters pattern
    • services pattern
    • form objects pattern

New Contributors

Full Changelog: initial commit...v0.1.0