Skip to content

Releases: kapxapot/plasticode

v0.8

15 Feb 12:25

Choose a tag to compare

v0.8 Pre-release
Pre-release

This release contains some major changes:

  • Upgraded to PHPUnit 9.
  • Totally revamped DI container initialization.
  • Introduced own mapping providers.
  • Created own autowiring DI container which shortens the wiring config significantly.
  • Renamed and reorganized the file structure, "Generic" and "Core" subfolders are used now.
  • Page building switched to <h1..6> tags instead of paragraphs.

Collections:

  • Added NumericCollection for numbers. sum() and max() functions are moved to it.
  • Added StringCollection, which is recommended to use instead of string[].
  • Added collect() method that gathers elements into a collection.
  • Added removeFirst(), tail(), shuffle(), join() and cleanMap() functions.
  • Added stringize() and numerize() functions to extract/convert to string/numeric collections.
  • trimEnd() renamed to trimTail().

Other changes and enhancements:

  • Settings revamp.
  • Further container eradication.

v0.7

19 Jul 07:12

Choose a tag to compare

v0.7 Pre-release
Pre-release
  • "src/Testing" excluded from testing & test coverage.
  • CSS tweaks.
  • News/pages support (via NewsSource) - ready for blogging.
  • Collapse blocks are scrolled into view on opening.
  • Text editor fixes.
  • No logging is done if the log file name is empty.
  • Minor Linker changes.
  • Validation error produces 400 response instead of 500.
  • EventDispatcher revamp (callables).
  • API access modes: full, read, read_one.
  • Bug fix in user validation.
  • Test dummies reorganized.
  • Event system tests.
  • Twig translator extension - ready for UI localization.
  • Angular modal improvements.
  • disqus_url falls back to canonical_url.

v0.6.2

19 May 08:05

Choose a tag to compare

v0.6.2 Pre-release
Pre-release
  • Added ParsingHydrator with embedded ParserInterface.
  • Removed getEntityById() from Db.
  • Added pluralAlias() to DbModelInterface/DbModel (used for checking access rights as it operates with plural names) with test.
  • Query->all() and getIterator() now return DbModelCollection instead of Collection.
  • SearchableRepositoryInterface returns DbModelCollection instead of Collection.
  • Removed getAll() from IdiormRepository.
  • Added basic TaggedRepositoryInterface.
  • Renamed Collection methods for converting to ScalarCollection to scalarize() that accepts property name/callable.
  • Collection::empty() now returns static (with no caching).
  • Moved ids() from Collection to DbModelCollection.
  • Added nextId() method to DbModelCollection (for mocks).
  • Added max() to ScalarCollection.
  • Added basic ArrayCollection with tests.
  • Added basic TaggedCollection.
  • Added ContentsItemCollection that is used in parsing.
  • Added PageCollection (temp?), RoleCollection, UserCollection.
  • Revamped Access and added tests.
  • Added rel=canonical to the layout (use 'canonical_url' to set it).
  • Added more gentle Strings::stripTags() that doesn't mash together text blocks.
  • Added base TagsConfig and embedded it in Linker.
  • Made AppContext private in Controller and MenuRepository private in AppContext (to resolve conflicts in Warcry).
  • Marked ChildEntityGenerator as deprecated.
  • "stamp" methods removed from Created/Updated traits, logic moved to Stamps.
  • Added isOrphan() and hasParent() to Parented trait.
  • Added repository mocks and seeders for roles and users.
  • Added some DbModelCollection tests.
  • Added ScalarCollection tests.

v0.6.1

05 May 08:30

Choose a tag to compare

v0.6.1 Pre-release
Pre-release
  • Warcry revamped up to index page working.
  • Associations stable.
  • Moved generic collections to \Plasticode\Collections\Basic.
  • Added DbModelCollection & ScalarCollection.
  • Added DbModelInterface.
  • Added TagsConfigInterface for configuring tag tabs.
  • Added functions isCallable() & isScalar().
  • Removed MenuRepository from base controller, menus are provided by AppContext now.
  • Rewritten File functions so they work both for Unix & Windows paths.
  • Revamped SortStep & Sort.
  • Renamed Sort::multi() to Sort::byMany().
  • Description & CachedDescription traits are not used and marked as deprecated.
  • New and changed model traits: Linkable, Parented, Tagged.
  • New Query methods: apply, applyIf, applyIfElse, page.
  • New Arrays method: adopt.
  • Replaced \Closure with callable where it makes sense.
  • Renamed Collection->distinct() to Collection->distinctBy(). Specialized collections have their specific distinct().

0.6.0

14 Apr 20:58

Choose a tag to compare

0.6.0 Pre-release
Pre-release
  • Repositories.
  • Hydrators.
  • Proxies.
  • [Associations] stabilized.

0.5.0

06 Mar 18:22

Choose a tag to compare

0.5.0 Pre-release
Pre-release
  • The parsing engine is totally rewritten. It allows customization and expansion using tag and link mappers.
  • Introduced some repositories.
  • Added tests. Total test coverage is 22%. Parsing engine test coverage is 100%.

0.4.0

06 Dec 18:26

Choose a tag to compare

0.4.0 Pre-release
Pre-release
  • Query sort order revamp (no need for base queries anymore).
  • Some tests & fixes.

0.3.1

24 Sep 09:58

Choose a tag to compare

0.3.1 Pre-release
Pre-release

Twitch API v5 update

0.3.0

17 Sep 07:38

Choose a tag to compare

0.3.0 Pre-release
Pre-release
Publish fixes

More notice fixes

17 Jul 08:56

Choose a tag to compare

More notice fixes Pre-release
Pre-release
0.2.2

Notices fix in Date