This file is used to list changes made in each version of the gem.
The devcontainer release.
- Add devcontainer support (
.devcontainer/with Dockerfile, compose.yml, devcontainer.json). - Add Claude Code generator for devcontainer (native installation).
- Add
BunJS engine support. - Add
bin/dcandbin/dcrscripts to wrapdocker composecommands.
- Split DockerGenerator in multiple sub-generators for individual versioning.
- Merge all keepfiles into
.modulorails.yml. - Force overwrite of keepfile and config files.
- Speed-up git hooks by checking if regeneration is needed in
refresh_generations.sh. - Add
Modulorails.deprecatorfor Rails 7.2+ compatibility. - Wrap health_check initializer in
reloader.to_prepareblock. - Update Rubocop rules:
- Allow
class_methods/includedblocks in Concerns to breakMetrics/BlockLength. - Allow commented lines to break
Layout/LineLength.
- Allow
- Update generators for devcontainers (Sidekiq, GitLab CI).
- Update production.rb template for Rails 8.
- Replace old
Dockerfile.prodwith Rails-standard one.
- Fix typo in
database.ymltemplate for test database. - Fix removal of rails server's pidfile in docker entrypoint.
- Configuration options:
config.staging_url,config.review_base_url,config.production_url,config.no_auto_update. Modulorails::SelfUpdateGenerator.- Infrastructure generators (use Moduloproject 3.0, available later):
DockerGeneratorand all sub-generatorsGitlabciGeneratorClaudeCodeGeneratorModuloprojectGeneratorSidekiqGenerator
- Update templates according to new standards:
- Optimize layers in Dockerfile.prod.
- Remove root privileges in Dockerfile.prod.
- Exec Docker
CMDin entrypoints. - Configure Puma and Redis.
- Remove docker-compose.prod.
- Rename docker-compose.yml to compose.yml.
- Remove version from compose.yml.
- Auto-stop staging container after 7 days.
- Use
railschart in Gitlab CI templates. - Move entrypoints locations to
binto be rails-standard. - Rewrite Dockerfile.prod for Rails 7.2+ to be more rails-standard.
- Version Docker generator.
- Add a generator for project initialization:
- Add default configuration for production and staging environments.
- Add default locale configuration to application.rb.
- Add a generator for Git hooks.
- Update service template to use keyword arguments and add
attr_readers. - Add optional
dataargument towith_transaction. - Deprecate
Modulorails::BaseService#logandModulorails::LogsForMethodService. - Add a common base for all generators.
- Released then yanked for critical bugs.
- Fix auto-update.
- Remove custom from standard health_check checks.
- Update Postgres version from 15 to 16 in templates.
- Fix template of
Dockerfile.prodto install valid version ofbundler. - Check required Ruby version of next Modulorails version before auto-update.
- Remove Modulorails::Validators::DatabaseConfiguration since, with Docker Compose, it is no more necessary.
- Fix missing symbol in docker and gitlabci generators.
- Update templates according to new devops standards:
- Add exec commands in entrypoints.
- Upgrade PG and Redis version in docker-compose files.
- Upgrade PG and Redis version in test stage in CI.
- Add default SECRET_KEY_BASE and optional
yarn installinDockerfile.prodtemplates. - Add templates for Kubernetes values files.
- Append sidekiq in Kubernetes values files in Sidekiq generator.
- Update redis configuration in generators.
- Update mailcatcher docker image for better compatibility with ARM64.
- Remove possible suffix
Servicein service generator. - Update rubocop configuration in template.
- Add a generator to add Sidekiq to a project.
- Update docker generator to use valid names for environment variables.
- Update rubocop configuration.
The 'audit' release.
- Add bundler-audit in CI.
- Make the rubocop configuration work during CI.
- Fix generation of .gitlab-ci.yml for PG databases.
- Remove deprecated
--deploymentflag from Dockerfile.prod
The 'new project' release.
- Add lot of Rubocop rules.
- Fix rubocop offenses for the gem.
- Ensure Modulorails will work with Moduloproject.
- Add
webpacker,importmapandjsbundlingversions toModulorails::Data.
Fix error in with_transaction: uninitialized constant Modulorails::BaseService::ErrorData.
First Rubocop rules.
- Add Style/StringLiterals, Style/QuotedSymbols and Lint/SymbolConversion.
The Rubocop release.
- Add Modulorails helper
powered_by. - Add
Modulorails::BaseService,Modulorails::LogsForMethodService,Modulorails::SuccessDataandModulorails::ErrorData. - Add Rubocop dependency with empty configuration.
- Ensure the compatibility of the gem with Ruby 3.0 and Ruby 3.1.
Fixes, updates and health_check release.
- Update generators for Docker and Gitlab CI.
- Move all generators under the
modulorailsnamespace. - Add dependency to
health_checkgem. - Fix error on database configuration validator when no database.yml exists.
- Rescue if httparty can't post to configuration.endpoint.
- Add dockerfiles to test on many Ruby versions.
- Add appraisal to test on many Rails versions.
Docker release.
- Add generator for Docker.
- Use templates for Gitlabci generator.
Gitlab-ci generator.
- Fixes the Ruby version put in the generated
.gitlab-ci.yml.
Auto-update fixes.
- Run
bundle installto update theGemfile.lockon auto-update.
Minor fixes.
- Fixes some errors occuring on a project where database can not be accessed.
Auto-update release.
- Add auto-update feature.
Initial release.
- Send configuration to intranet.
- Write CI/CD templates.
- Check database configuration.