Luffy
ac900e0df4
docs: update repository links and sync cn readme ( #1711 )
2025-07-01 10:29:55 +02:00
Kévin Dunglas
40ee7929a1
chore: bump deps ( #1708 )
2025-07-01 10:29:21 +02:00
Alexander Stecher
fb10b1e8f0
feat: worker matching ( #1646 )
...
* Adds 'match' configuration
* test
* Adds Caddy's matcher.
* Adds no-fileserver test.
* Prevents duplicate path calculations and optimizes worker access.
* trigger
* Changes worker->match to match->worker
* Adjusts tests.
* formatting
* Resets implementation to worker->match
* Provisions match path rules.
* Allows matching multiple paths
* Fixes var
* Formatting.
* refactoring.
* Adds 'match' configuration
* test
* Adds Caddy's matcher.
* Adds no-fileserver test.
* Prevents duplicate path calculations and optimizes worker access.
* trigger
* Changes worker->match to match->worker
* Adjusts tests.
* formatting
* Resets implementation to worker->match
* Provisions match path rules.
* Allows matching multiple paths
* Fixes var
* Formatting.
* refactoring.
* Update frankenphp.go
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
* Update caddy/workerconfig.go
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
* Update caddy/workerconfig.go
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
* Update caddy/module.go
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
* Update caddy/module.go
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
* Fixes suggestion
* Refactoring.
* Adds 'match' configuration
* test
* Adds Caddy's matcher.
* Adds no-fileserver test.
* Prevents duplicate path calculations and optimizes worker access.
* trigger
* Changes worker->match to match->worker
* Adjusts tests.
* formatting
* Resets implementation to worker->match
* Provisions match path rules.
* Allows matching multiple paths
* Fixes var
* Formatting.
* refactoring.
* Adds docs.
* Fixes merge removal.
* Update config.md
* go fmt.
* Adds line ending to static.txt and fixes tests.
* Trigger CI
* fix Markdown CS
---------
Co-authored-by: Alliballibaba <alliballibaba@gmail.com >
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
2025-07-01 10:27:11 +02:00
demouth
94c3fac556
docs: removed unnecessary triple backtick block ( #1709 )
2025-07-01 07:01:15 +02:00
Thérage Kévin
fcc5299a20
docs: add precision on where to add max_wait_time configuration ( #1640 )
...
* Adding precision on where to add max_wait_time configuration
* Adding precision on where to add max_wait_time configuration
* fix review
2025-06-30 22:08:08 +02:00
Alexandre Daubois
92abb16bc0
docs: add French translation for extensions ( #1705 )
2025-06-30 16:54:43 +02:00
Alexandre Daubois
94ac4b4935
chore: use modern ZPP macros in the extension generator ( #1703 )
2025-06-30 14:50:36 +02:00
Alexandre Daubois
29c88c0fec
feat: use modern ZEND_PARSE_PARAMETERS_NONE() macro ( #1704 )
2025-06-30 14:50:11 +02:00
Kévin Dunglas
80de1f8bc7
chore: bump deps ( #1702 )
2025-06-30 14:36:26 +02:00
Alexandre Daubois
93f2384749
docs: add extension and extension generator docs ( #1652 )
2025-06-30 14:29:25 +02:00
Marc
db9c8446ef
feat(static): add brotli and xz extensions ( #1647 )
2025-06-30 13:32:46 +02:00
Alexandre Daubois
995c829247
feat: add logs on up and down scaling threads ( #1695 )
2025-06-30 12:01:25 +02:00
Alexandre Daubois
96400a85d0
feat(worker): make maximum consecutive failures configurable ( #1692 )
2025-06-30 09:38:18 +02:00
Alexandre Daubois
58fde42654
fix: improve generated C extension code ( #1698 )
2025-06-30 09:23:21 +02:00
Kévin Dunglas
291dd4eed9
chore!: uniformize thread attribute name in logs ( #1699 )
2025-06-29 09:33:06 +02:00
Alexandre Daubois
30ef5f6657
chore: use filepath.Separator instead of hardcoded separator ( #1685 )
2025-06-27 14:36:31 +02:00
Alexandre Daubois
8d88c13795
chore: remove TODO items not relevant anymore ( #1694 )
2025-06-27 14:36:09 +02:00
Alexandre Daubois
d2a1b619a5
feat: expose SSL_CIPHER env var ( #1693 )
2025-06-27 14:27:20 +02:00
Alexandre Daubois
9e3b47c52f
fix(extgen): capitalize cgo handle function call ( #1696 )
2025-06-27 14:26:09 +02:00
Kévin Dunglas
abfd893d88
feat: FrankenPHP extensions ( #1651 )
...
* feat: add helpers to create PHP extensions (#1644 )
* feat: add helpers to create PHP extensions
* cs
* feat: GoString
* test
* add test for RegisterExtension
* cs
* optimize includes
* fix
* feat(extensions): add the PHP extension generator (#1649 )
* feat(extensions): add the PHP extension generator
* unexport many types
* unexport more symbols
* cleanup some tests
* unexport more symbols
* fix
* revert types files
* revert
* add better validation and fix templates
* remove GoStringCopy
* small fixes
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
* try to fix tests
* fix CS
* try some workarounds
* try some workarounds
* ingore TestRegisterExtension
* exclude cgo tests in Docker images
* fix
* workaround...
* race detector
* simplify tests and code
* make linter happy
* feat(gofile): use templates to generate the Go file (#1666 )
---------
Co-authored-by: Alexandre Daubois <2144837+alexandre-daubois@users.noreply.github.com >
2025-06-25 10:18:22 +02:00
Alexandre Daubois
bbc3e49d6f
ci: remove unneeded echoes ( #1683 )
2025-06-25 10:17:53 +02:00
Alexandre Daubois
2712876e95
ci(docker): authenticate GitHub API calls ( #1680 )
2025-06-24 16:51:21 +02:00
Alexandre Daubois
b2435183f4
feat: add support for SERVER_ROOT to provide a different app root ( #1678 )
2025-06-23 20:47:58 +02:00
Kévin Dunglas
cfb9d9f895
chore: bump deps ( #1665 )
2025-06-20 17:36:05 +02:00
Kévin Dunglas
5c69109011
chore: remove SPC_PHP_DEFAULT_OPTIMIZE_CFLAGS which doesn't exist annymore ( #1669 )
...
* chore(static): remove SPC_PHP_DEFAULT_OPTIMIZE_CFLAGS, which doesn't exist anymore
* dont use pre-built packages on ARM
* CS
2025-06-20 17:35:30 +02:00
Kévin Dunglas
12f469e701
chore: bump deps ( #1643 )
2025-06-19 19:10:59 +02:00
Max
71aebbe0e7
perf: add popular proxy headers ( #1661 )
...
* perf: add popular proxy headers
* X-Real-IP => X-Real-Ip
2025-06-19 14:05:26 +02:00
Marc
34a0255c15
fix: fix php-server command bug when built with nobrotli tag
2025-06-18 09:43:54 +02:00
Marc
9bd314d2fb
feat(static): add HTTP/3 support for curl, add amqp and lz4 extensions ( #1631 )
...
* add amqp, ast, brotli, lz and xz extensions
* brotli and xz are not released yet
* retrigger CI
2025-06-10 10:51:41 +02:00
Rob Landers
3afb709f02
link directly to try_files in performance docs ( #1633 )
2025-06-09 16:57:48 +02:00
Alexander Stecher
82aeb128bc
refactor: split caddy.go ( #1629 )
...
* Splits modules.
* trigger build
---------
Co-authored-by: Alliballibaba <alliballibaba@gmail.com >
2025-06-07 11:09:41 +02:00
Marc
6749ddbde5
ci: remove leading v from parsed version ( #1626 )
2025-06-03 15:01:24 +02:00
Kévin Dunglas
82ba882a4e
chore: prepare release 1.7.0
caddy/v1.7.0
v1.7.0
2025-06-03 10:04:05 +02:00
Kévin Dunglas
4b1679e70f
chore: bump deps
2025-06-02 17:36:51 +02:00
David Buchmann
75ce2e22c2
docs: clarify Mercure URLs ( #916 )
...
* clarify mercure URLs
* Update docs/mercure.md
Co-authored-by: David Buchmann <david@liip.ch >
* Update mercure.md
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
2025-06-02 16:04:56 +02:00
Marc
5a43e9f4de
feat: make frankenphp directive optional in Caddyfile ( #1601 )
...
* make frankenphp directive optional, thanks @francislavoie
* get rid of global variable
* update workers when adding to app
* suggestions
* goto instead of continue outer?
* remove empty frankenphp directives
* update config to reflect the optional frankenphp directive
* AI translations
* restore eol newlines
* don't double check for duplicate worker name
* add short form for php_server worker too
* translations
* AI hates EOL newlines now?
* suggestion to check for nil
* suggestion to use else if block
2025-06-02 15:55:55 +02:00
Alexandre Daubois
5542044376
feat: allow omitting value with the --watch flag of php-server ( #1595 )
2025-06-02 15:54:01 +02:00
Marc
52b65311c2
ci: get package tag version from binary instead ( #1606 )
...
* get package tag version from binary instead
* capture output for better debugging instead
2025-06-01 23:55:50 +02:00
MaximAL
2dc8048ad2
docs: optimize PNG images losslessly: 2 → 1.3 MiB (−36%) ( #1623 )
2025-06-01 21:47:08 +02:00
Rob Landers
a59b649dac
fix: headers before flushing ( #1622 )
...
* add tests
* fix test
* attempt to send headers when flushing
* Update testdata/only-headers.php
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
2025-06-01 14:58:36 +02:00
Indra Gunawan
68a4548bf4
skip worker name default value assignment on unmarshal ( #1607 )
2025-05-31 10:25:47 +02:00
Kévin Dunglas
6f049f9a9c
ci: minor cleanup ( #1619 )
...
* ci: minor cleanup
* add .golangci.yaml
2025-05-31 08:01:38 +02:00
Kévin Dunglas
340b1fd1c2
docs: improve compilation instructions
2025-05-30 14:05:08 +02:00
wu
c9329bd717
docs: fix typo in French laravel.md ( #1617 )
2025-05-30 14:04:29 +02:00
Kévin Dunglas
f54a1fa85e
fix: prevent cert install warning in Docker images
2025-05-30 14:03:50 +02:00
Kévin Dunglas
b4115ca9a2
fix: linking on OpenBSD
2025-05-29 08:23:17 +02:00
Kévin Dunglas
14469d4a0a
chore: fix typo in test comment
2025-05-27 10:10:39 +02:00
Kévin Dunglas
ee394756b1
chore: prepare release 1.6.2
caddy/v1.6.2
v1.6.2
2025-05-23 10:41:10 +02:00
Laury S.
5a260c430a
chore: improve style of the default index.php file ( #1598 )
...
* feat: improve style of index.php file
* feat: remove assets folder
* Update index.php
* Update index.php
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
2025-05-23 10:24:57 +02:00
Kévin Dunglas
b6fcab5a95
ci: always login to Docker if not a Pull Request ( #1599 )
2025-05-23 00:53:03 +02:00