Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated-Elemente gelöscht #154

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# MarkItUp Changelog

## [4.0.0] Work in Progress

- Abschluß der Umstellung auf Namespace; als "deprecated" markierte Elemte entfernt
- Funktionen:
- `markitup_cache_update()` => `FriendsOfRedaxo\MarkItUp\Cache::update`
- `markitup_cache_defineButtons(...)` => `FriendsOfRedaxo\MarkItUp\Cache::defineButtons(...)`
- Klassen:
- `markitup_markdown` => `rex_markdown`
- `markitup_textile` => `FriendsOfRedaxo\MarkItUp\Textile`
- `markitup` => `FriendsOfRedaxo\MarkItUp\Markitup`
- `cache` => `FriendsOfRedaxo\MarkItUp\Cache`


## [3.8.0](https://github.com/FriendsOfREDAXO/markitup/releases/tag/3.8.0) – 11.04.2024

> Bitte unbedingt beachten. Mit diesem Release erfolgt die Umstellung auf den Namespace `FriendsOfRedaxo\MarkItUp`. Für eine kurze Übergangszeit stehen weiterhin die alten Klassennamen zur Verfügung, sind aber als "deprecated" markiert. Das soll die Umstellung erleichtern. Mit Relase 4.0 werden diese Convenience-Klassen entfallen. Release 4 ist für Ende Juni vorgesehen!
Expand Down
31 changes: 0 additions & 31 deletions functions/cache_markitup_profiles.php

This file was deleted.

6 changes: 0 additions & 6 deletions lib/MarkItUp.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,11 @@ public static function parseOutput(string $type, string $content): bool|string
* Der alte Code (bis V3.7) setze auf der eigenen Markdown-Klasse auf.
* Da Markdown in längst im REDAXO-Core steht (rex_markdown) und auch
* MarkItUp den Core-Vendor nutzt, kann man auch gleich auf rex_markdown gehen.
*
* TODO: alten Code entfernen
*/
$parser = rex_markdown::factory();
return self::replaceYFormLink($parser->parse($content));
// $parser = new Markdown();
// return self::replaceYFormLink($parser->text($content));
break;
case 'textile':
return self::replaceYFormLink(Textile::custom_parse($content));
break;
}

return false;
Expand Down
14 changes: 0 additions & 14 deletions lib/Markdown.php

This file was deleted.

14 changes: 0 additions & 14 deletions lib/deprecated/class.markitup.php

This file was deleted.

13 changes: 0 additions & 13 deletions lib/deprecated/class.markitup_markdown.php

This file was deleted.

16 changes: 0 additions & 16 deletions lib/deprecated/class.markitup_textile.php

This file was deleted.

Loading