Releases: landrok/activitypub
Releases · landrok/activitypub
ActivityPhp 0.5.0
Server features
- Add support for a more tolerant type validation for instance
- Add support for cache customization for instance
- Add support for PHP 8.0
ActivityPhp 0.4.1
Features
- Add optional padding for HTTP signature verification @swentel
- Add support for GH actions
- Add a (fresh) TypeConfiguration stack
ActivityPhp 0.4.0
Features
- Official support for PHP 7.4
- Add ontology management (Peertube)
API changes
- Add a toJson() method for all Activity Streams instances
ActivityPub 0.3.0
Features
- Support for PHP 7.4
- HTTP signatures verification
- Add dialects management
- Add dialects configuration for server instance and a real world example
- Add HTTP timeout parameter for instance configuration
- Add port parameter
for instance configuration - Handles now accepts "." character
- WebFinger discovery supports Pleroma
- Better validation messages for rejected properties
API changes
Changes on properties validators:
- attachment nows supports AS2 objects
- mediaType now accepts null value
- object and id now accept OStatus tag
- href now accepts AS2 Link objects
Fixed
- Fix Laravel 5.8 install
- Fix namespace conflicts for external facades
ActivityPub 0.2.0
Features
Namespace
Change library global namespace from ActivityPub
to ActivityPhp
Type factory
ActivityPhp\Type::create()
can now be called with an array.
ActivityPhp\Type::create([
'type' => 'Person',
'name' => 'A name'
])
is equivalent to :
ActivityPhp\Type::create(
'Person',
['name' => 'A name']
)
Type copying
You can now copy a type:
$original = ActivityPhp\Type::create([
'type' => 'Person',
'name' => 'A name'
]);
$copy = $original->copy();
Properties validators
Based on real world tests, some property validators have been modified:
name
,content
now accepts null valuesattachment
,tag
,to
,bto
,cc
,bcc
now accepts empty arraysattributedTo
andurl
now supports arrays
Server
Server features (Manual):
- External WebFinger discovery
- External profiles discovery
- Public outbox browsing
- Support for Mastodon handles
Add a minimal server stack of configurations (Manual):
- logger
- caching
- basic instance
ActivityPub 0.1.0
Features
- All ActivityStreams 2.0 Core and Extended types are implemented with a set of standard methods
- All types properties have dedicated validators
- Support for extending defined types and validators
- Type factory using
ActivityPub\Type::create()
method - A very basic website for documentation