Skip to content

Releases: PoLaKoSz/Port.hu

v3.0.0

28 Jul 09:54
Compare
Choose a tag to compare
Fix code formatting and add new composer command: run-tidy

v3.0.0-alpha.2

26 Jul 15:18
Compare
Choose a tag to compare
v3.0.0-alpha.2 Pre-release
Pre-release

🐛 Bugfix 🐛

The website architecture was updated so the PortMovie model's

  • getYear() and
  • getOriginalTitle()
    methods now fixed.

⚠️ Breaking change ⚠️

  • Changed 'Deserializer' class postfix to 'Parser'
  • Removed static keyword from the parser's methods

🕐 Performance 🕐

  • Improved MoviePageParser performance with loading 'DOMDocument' only once in the convert function

Fix: QuickSearch without year

13 Jan 10:34
Compare
Choose a tag to compare
Pre-release

Bugfix and other

  • getYear() now returns -1 if no year found for the given movie
  • Adds a hasYear() method to the QuickSearchResult model
  • Prettified code

⚠️ Breaking change ⚠️

  • Adds a new bool parameter to the QuickSearchResult constructor ($hasYear)

Fix: MoviePage without year

08 Jan 10:48
Compare
Choose a tag to compare
Pre-release

Bugfix and other

  • getYear() now returns -1 if no year found for the given movie (instead of Notice: Undefined offset: 0 in ...
  • Adds a hasYear() method to the PortMovie model
  • Prettified code

⚠️ Breaking change ⚠️

  • Adds a new bool parameter to the PortMovie constructor ($hasYear)

Fix: QuickSearch

06 Jan 02:33
Compare
Choose a tag to compare

Bugfix

  • QuickSearch was broken due to json response change

⚠️ Breaking change ⚠️

  • QuickSearch now returns an array of QuickSearchResult instead of PortMovie
  • PortMovie no longer has the CAT const

v1.2.1: Fix : QuickSearchDeserializer not found

29 Aug 09:16
Compare
Choose a tag to compare

Bugfix

  • Class PoLaKoSz\PortHu\QuickSearchDeserializer not found (in QuickSearch class)

QuickSearch

29 Aug 07:49
Compare
Choose a tag to compare

Feature

QuickSearch is the same when You open https:/port.hu/ and click the search icon (fast but not really detailed results)

Usage

use PoLaKoSz\PortHu\QuickSearch;
...
$search = new QuickSearch();

// returns an Array of PortMovie object
$movies = $search->get( 'Viskó' );

var_dump( $movie );

Initial release

28 Aug 14:32
Compare
Choose a tag to compare
v1.0.0

Initial commit