-
-
Notifications
You must be signed in to change notification settings - Fork 6
Migrate From V1 to V2
Mat Lipe edited this page May 19, 2020
·
2 revisions
There are many breaking changes when going from V1 to V2. While this list likely will not cover all of them, here are some tips for updating existing projects from V1 to V2.
This has been completely re-imagined to remove the 4 levels of abstracts and complex data retrieval in favor of automatic registering and data retrieval.
- There is no more
Lipe\Lib\Meta\Meta_Class_Abstract
class. - There is no more
Lipe\Lib\Meta\Meta_Repo
class. - No more need for
get_keys
in meta classes. - No more need for
get_meta_data
orget_meta
in meta classes. - Continued use of
Lipe\Lib\Post_Type\Post_Object_Trait
will automatically pull from the newLipe\Lib\Meta\Repo
class. - Any massaging of returned data from the meta classes is now handled on a case by case based outside of the meta repo.
Some Util classes have been moved to more appropriate namespaces and/or been refactored. This solves the long term issue with Util
becoming a dumping namespace.
-
Lipe\Lib\Util\CSS_Modules
has been moved toLipe\Lib\Theme\CSS_Modules
. -
Lipe\Lib\Util\Class_Names
has been moved toLipe\Lib\Theme\Class_Names
. -
Lipe\Lib\Util\Api
has been moved toLipe\Lib\Api\Api