This is a maintenance release that removes residual users functionality that now has been fully extracted into its own [shiftuser](https://pypi.org/project/shiftuser/1.0.0/) library.
**Note:** this version contains an issue with `./cli run` command. Please upgrade directly to version `0.8.1` that addresses this issue.
This is a major release that introduces some breaking changes and some new features. Here is what's changed:
* The main one is that the users feature is now gone. The functionality was extracted into a separate [`shiftuser`](https://github.com/projectshift/shift-user) package.
* In development mode restart timer is now desabled by default. Set `TIME_RESTARTS=True` is you want to measure your bootstrap time
* In development mode you can now pass SSL context to `./cli run` command that can be set either to `adhoc` or `cert_path,pk_path` to run dev server wit hhttps
* Signing your python interpreter functionality was removed from both the CLI and documentation. It stopped working for Mac users some time ago with new OSX releases
This is another bugfix release that addresses some of the issues:
* You can now use boiler without installing flask in cases when you just want to use the CLI functionality ((https://github.com/projectshift/shift-boiler/issues/92))
* More meaninful error messages when a user forgot to create a `.env` file to hold sensitive secrets ((https://github.com/projectshift/shift-boiler/issues/93))
* Introduction of BaseConfig in project skeleton to hold cong settings shared between environments ((https://github.com/projectshift/shift-boiler/issues/94))
This is a minor release that mostly deals with keeping dependencies up to date.
Minor patch release that moves browsersync detection functionality fom custom
`dev_proxy()` jinja function to application bootstrap and makes it globally
available as `g.dev_proxy`. The original jinja function still works and now uses
this new functionality.
Minor bug fix release to fix issues with logging feature, as described in (https://github.com/projectshift/shift-boiler/issues/90)
Minor bugfix release. Updated `User` model to change `flask_login` integration methods (`is_authenticated`, `is_active` and `is_anonymous`) from being methods to being properties to conform with [user mixins interfaces](https://flask-login.readthedocs.io/en/latest/_modules/flask_login/mixins.htmlUserMixin).
Minor bugfix release that fixes issues with `setup.py` where a `python-dotenv` dependency is being used before it is acually available via `install_requires`, as described in (https://github.com/projectshift/shift-boiler/issues/88)
Further iterations of pagination improvements.
Bugfix release: fixing minor pagination issues on collections module and doing some extra regression tests.
Hotfix release to fix installation issues in `setup.py`
* Adds a pagination generation feature to navigation between pages, as per (https://github.com/projectshift/shift-boiler/issues/36)
* Fixes minor issue with IPython import in CLI when it doesn't exist which caused an exception to appear in stack traces.
* User service now notifies Principal when user logs in or out.
Minor improvements to sentry integration feature.
Introduces integration with [Sentry](https://sentry.io/) via a feature switch.
Introduces some breaking changes to users functionality:
* Twitter OAuth authentication was removed ((https://github.com/projectshift/shift-boiler/issues/83)).
* Finalize social login step was removed ((https://github.com/projectshift/shift-boiler/issues/85)). We now skip this step and register/add new keys to profile directly which is a better user experience flow.
* Social provider tokens/expirations are no longer stored in user profile ((https://github.com/projectshift/shift-boiler/issues/54)). For that reason some assistance methods have been removed from user model as well.
* Flash messages are now disabled by default throughout user flow as they do interfere with async-driven auth flows
* An issue has been discovered with bootstrapping tests. This has been resolved is well.
Minor security release. Catches an issue described in (https://github.com/projectshift/shift-boiler/issues/84) when social provider is misconfigured and does not return user id.
Minor bugfix release. Fixes error in user CLI commands and boiler CLI app getter. Minor documentation improvements and dependencies updates.
Minor maintenance release that adds `python-dotenv` to the list of boiler dependencies.
It will now be installed automatically regardless of whether you use flask or not.
Minor bugfix release with changes to database CLI. Prefer this version over `v0.6.1`
**Simplified app bootsrap**
In this release we improved our bootstrap process. Now it is more straightforward and resembles traditional flask app configuration more. In addition it provides globally accessible instance of your app available from your project's `app` module.
Some changes might be required to your existing project's `app.py` file if you are upgrading:
from boiler import bootstrap
def create_app(*args, **kwargs):
''' Create application '''
app = bootstrap.create_app(__name__, *args, **kwargs)
from boiler import bootstrap
app = bootstrap.create_app(__name__, config=bootstrap.get_config())
As you can see everything is now at module level and your app will be initialized upon importing, which makes it globally accessible.
**Configuration system updates**
This version inroduces breaking changes to configuration system where we move away from environment-specific config files in favour of .env files and environment variables to lod your sensitive credentials like secret keys, database and 3rd party acces credentials, as outlined in (https://github.com/projectshift/shift-boiler/issues/77)
This is a breaking change that will require you to update how your app is configured, bootstrapped and run. Please refer to [configuration docs](config.md) for an explanation of how new system operates.
You will also need to update your project requirements to incude a `python-dotenv` as a dependency.
**Default project name**
When initializing a new project the default project skeleton was renamed from being called `project` to being called `backend`. This is a minor change that should not matter for existing projects.
**Boiler CLI updates**
Minor changes and bugfixes to boiler cli tool and dependencies installation.
This new release updates boiler to use new version of shiftschema (0.2.0) that introduces some breaking changes to validators and filters where previously validation context was being used, now we always get in a model and context is reserved for manually injecting additional validation context.
Because of this, we had to update our validators in user domain. You will need to update your filters and validators code as well when moving to this version.