Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion e2e/assets/corex/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1
2 changes: 1 addition & 1 deletion guides/MCP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
5 changes: 0 additions & 5 deletions guides/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion installer/lib/corex_new/generate.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion installer/lib/corex_new/patches.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion installer/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading