Update dependencies

phoenix 1.8.3 => 1.8.4
This commit is contained in:
Claudio Ortolina
2026-02-23 17:49:57 +00:00
parent e58888bbc7
commit 07c121aacc
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -198,7 +198,7 @@ mix usage_rules.search_docs "Enum.zip" --query-by title
- `Ecto.Schema` fields always use the `:string` type, even for `:text`, columns, ie: `field :name, :string`
- `Ecto.Changeset.validate_number/2` **DOES NOT SUPPORT the `:allow_nil` option**. By default, Ecto validations only run if a change for the given field exists and the change value is not nil, so such as option is never needed
- You **must** use `Ecto.Changeset.get_field(changeset, :field)` to access changeset fields
- Fields which are set programatically, such as `user_id`, must not be listed in `cast` calls or similar for security purposes. Instead they must be explicitly set when creating the struct
- Fields which are set programmatically, such as `user_id`, must not be listed in `cast` calls or similar for security purposes. Instead they must be explicitly set when creating the struct
- **Always** invoke `mix ecto.gen.migration migration_name_using_underscores` when generating migration files, so the correct timestamp and conventions are applied
<!-- phoenix:ecto-end -->
@@ -382,7 +382,7 @@ mix usage_rules.search_docs "Enum.zip" --query-by title
<div id="tasks" phx-update="stream">
<div class="hidden only:block">No tasks yet</div>
<div :for={{id, task} <- @stream.tasks} id={id}>
<div :for={{id, task} <- @streams.tasks} id={id}>
{task.name}
</div>
</div>