Skip to content

Releases: PhpGt/Sync

Sync as symlinks

07 Jul 16:52
5d1ee6a
Compare
Choose a tag to compare

In this minor release, a new feature is added: sync a directory/file by symlinking it in place. This is built specifically to address a common web development pattern: serving content from outside of the web root, without having to synchronise all files/directories every time there's a change.

What's Changed

Full Changelog: v1.2.9...v1.2.10

Limit dependency version

12 Apr 18:18
9ed3ac2
Compare
Choose a tag to compare

This minor patch release limits the version of a third party dependency to avoid backwards breaking changes.

Wildcard by default

13 Oct 20:12
47e6865
Compare
Choose a tag to compare

Without supplying a pattern to match against, this patch release introduces the wildcard glob: #18

CI and type safety

30 Sep 11:16
711ac05
Compare
Choose a tag to compare

This patch release improves static analysis by introducing stricter types, along with bumping the version of php-actions scripts that are used for CI.

PHP.Gt/Cli compatibility (second change)

15 Feb 12:04
863c606
Compare
Choose a tag to compare

For backwards compatibility, this patch release was split into two. Now, exceptions are caught when trying to get an argument value from a parameter that has not been set.

This does not change the functionality of the repository, just the way the integration happens between Sync and Cli.

PHP.Gt/Cli compatibility

15 Feb 10:23
eebe9f6
Compare
Choose a tag to compare

This patch release makes the repository compatible with an upcoming change to PHP.Gt/Cli, which uses PHP's native type checking instead of a null-checked parameter. Without this fix in place, PHP would throw an exception if the second parameter of ArgumentValueList::get() was passed a null value.

Github actions

27 Jan 15:55
7da560e
Compare
Choose a tag to compare

No new functionality in this patch release, just an improved CI runner now hosted on Github Actions.

Have fun!

Pattern argument defaults to null

14 Nov 09:19
Compare
Choose a tag to compare

The introduction of the new pattern attribute unlocked a lot of possibilities, but a glob pattern is not always required on simple usages so this argument has now been made completely optional.

Pass pattern on CLI

01 Nov 12:41
Compare
Choose a tag to compare

This small release makes it possible to pass in a glob pattern to the sync command to only sync files that match the provided pattern.

sync source_dir dest_dir --pattern '**/*.js'

Bin script exposed

17 Jul 21:09
Compare
Choose a tag to compare

For easy use of the sync functionality, installing this repo via composer will now link the sync bin script into the vendor/bin/ directory. The autoloader has been simplified too along with a few bumps in dependencies.