diff --git a/CHANGELOG.md b/CHANGELOG.md index a7c1a5f9..ffc774d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.1.1 + +### Fixed + +- **Toast**: Sanitize action URLs; dispose toast group on hook destroy. +- **Menu**: Fix submenu subscription accumulation. +- **DataTable**: Harden sort and selection against forged client params. +- **Pagination**: Validate page URLs; omit unsafe `data-to`. +- **Redirect**: Validate redirect destination schemes. +- **Combobox**, **Date Picker**: Reduce unnecessary re-renders. +- **MCP**: Security hardening. +- **Docs**: Restore `mix corex.new` on Hexdocs. + ## 0.1.0 Initial Corex stable release. diff --git a/e2e/assets/corex/VERSION b/e2e/assets/corex/VERSION index 6e8bf73a..17e51c38 100644 --- a/e2e/assets/corex/VERSION +++ b/e2e/assets/corex/VERSION @@ -1 +1 @@ -0.1.0 +0.1.1 diff --git a/guides/MCP.md b/guides/MCP.md index 13db7ba8..5c78882b 100644 --- a/guides/MCP.md +++ b/guides/MCP.md @@ -121,7 +121,7 @@ config :corex, debug: true | Loopback-only access | on | Non-loopback clients receive 403 unless you opt in | | `allow_remote_access: true` | off | Allows non-loopback IPs; logs a warning at plug init. Restrict with a firewall or VPN. Never use in production. | | `config :corex, mcp_verbose_errors: false` | off | Tool failures return a generic message to MCP clients; full exceptions stay in server logs | -| `config :corex, debug: true` | off | Enables verbose MCP JSON-RPC debug logging on `Corex.MCP.Server` | +| `config :corex, debug: true` | off | Enables verbose MCP JSON-RPC debug logging in server logs | Example for local debugging only: diff --git a/guides/update.md b/guides/update.md index ed180b83..e3ef847b 100644 --- a/guides/update.md +++ b/guides/update.md @@ -42,8 +42,3 @@ Compare `assets/corex/VERSION` in your app with the version in `mix deps` after For a full manual install path (first-time setup), see [Manual installation](manual_installation.html). -## Controlled components (0.1.0) - -These components support `controlled` with matching `on_*_change` handlers: accordion, angle slider, checkbox, collapsible, date picker, dialog, listbox, pagination, radio group, select, switch, tabs, tags input, toggle, and toggle group. - -Other stateful components use assign-driven defaults (`value`, `open`, `paths`, etc.) without `controlled` for now. diff --git a/installer/lib/corex_new/generate.ex b/installer/lib/corex_new/generate.ex index faf2c5c7..8d9f38c5 100644 --- a/installer/lib/corex_new/generate.ex +++ b/installer/lib/corex_new/generate.ex @@ -301,7 +301,7 @@ defmodule Corex.New.Generate do defp write_design_version!(dest) do version = case Mix.Project.config()[:version] do - nil -> "0.1.0" + nil -> "0.1.1" v -> to_string(v) end diff --git a/installer/lib/corex_new/patches.ex b/installer/lib/corex_new/patches.ex index aaf716c9..287f6326 100644 --- a/installer/lib/corex_new/patches.ex +++ b/installer/lib/corex_new/patches.ex @@ -448,7 +448,7 @@ defmodule Corex.New.Patches do end defp corex_dep_constraint do - version = Mix.Project.config()[:version] || "0.1.0" + version = Mix.Project.config()[:version] || "0.1.1" "\"~> #{version}\"" end diff --git a/installer/mix.exs b/installer/mix.exs index e48ebc2f..5cdf407e 100644 --- a/installer/mix.exs +++ b/installer/mix.exs @@ -6,7 +6,7 @@ end defmodule Corex.New.MixProject do use Mix.Project - @version "0.1.0" + @version "0.1.1" @phoenix_version "1.8.4" @scm_url "https://github.com/corex-ui/corex" diff --git a/mix.exs b/mix.exs index 08292f67..9df47608 100644 --- a/mix.exs +++ b/mix.exs @@ -8,7 +8,7 @@ defmodule Corex.MixProject do end end - @version "0.1.0" + @version "0.1.1" @elixir_requirement "~> 1.17" def project do diff --git a/package.json b/package.json index df298fd6..cd8f970e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "corex", - "version": "0.1.0", + "version": "0.1.1", "description": "The official JavaScript client for the Corex Phoenix Hooks.", "license": "MIT", "module": "./priv/static/corex.mjs",